/* Dogs Connect landing pages - shared design tokens and components.
   Brand source: enrichment/brand/brand-tokens.json + the live Unbounce pages (see ../../brand-guide.md). */

@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Open Sans";
  src: url("../fonts/open-sans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --teal: #66a9bd;
  --teal-dark: #4e99b4;
  --teal-deep: #2f6f84;      /* teal text on white, passes 4.5:1 */
  --teal-ink: #1f5566;
  --teal-tint: #e8f2f5;
  --charcoal: #3f4144;
  --ink: #212934;
  --black: #111111;
  --grey: #eeeeee;
  --grey-light: #f6f6f6;
  --line: #d8d8d8;
  --white: #ffffff;
  --btn: #2f6f84;            /* button fill: white text passes 4.5:1 */
  --btn-hover: #245a6c;
  --font-head: "Josefin Sans", "Trebuchet MS", Arial, sans-serif;
  --font-body: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --radius: 10px;
  --radius-pill: 999px;
  --shadow: 0 6px 24px rgba(33, 41, 52, 0.10);
  --shadow-lift: 0 14px 34px rgba(33, 41, 52, 0.16);
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--teal-ink); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; max-width: 68ch; }
.accent { color: var(--teal-deep); }
.on-dark .accent, .band--teal .accent { color: var(--white); }
.label {
  font-family: var(--font-head);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.82rem;
  color: var(--teal-deep);
  margin-bottom: 0.9rem;
}

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }
.container--narrow { max-width: 820px; }
section { padding: 5.5rem 0; }
.center { text-align: center; }
.center p, .center h2, .center .label { max-width: none; margin-left: auto; margin-right: auto; }
.center p { max-width: 62ch; }

.band--grey { background: var(--grey-light); }
.band--teal { background: var(--teal-deep); color: var(--white); }
.band--dark { background: var(--charcoal); color: var(--white); }
.band--teal h2, .band--teal h3, .band--dark h2, .band--dark h3 { color: var(--white); }
.band--teal .label, .band--dark .label { color: #bfe3ee; }
.band--teal a:not(.btn), .band--dark a:not(.btn) { color: var(--white); }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--white);
  padding: 0.75rem 1rem; z-index: 300;
}
.skip:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 2px 14px rgba(33, 41, 52, 0.08); }
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: var(--header-h);
}
.site-header__logo img { height: 52px; width: auto; }
.site-header--centred .site-header__inner { justify-content: center; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.02em;
  line-height: 1.1;
  padding: 1rem 1.9rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--btn); color: var(--white);
  border: 2px solid var(--btn);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--btn-hover); border-color: var(--btn-hover); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn svg { width: 1.05em; height: 1.05em; flex: none; margin-top: -0.15em; }
.btn--sm { font-size: 0.92rem; padding: 0.7rem 1.2rem 0.55rem; }
.btn--light { background: var(--white); color: var(--teal-ink); border-color: var(--white); }
.btn--light:hover { background: var(--teal-tint); border-color: var(--teal-tint); color: var(--teal-ink); }
.btn--ghost { background: transparent; color: var(--teal-ink); border-color: var(--teal-deep); }
.btn--ghost:hover { background: var(--teal-tint); color: var(--teal-ink); border-color: var(--teal-deep); }
.band--teal .btn--ghost, .band--dark .btn--ghost { color: var(--white); border-color: var(--white); }
.band--teal .btn--ghost:hover, .band--dark .btn--ghost:hover { background: rgba(255,255,255,0.14); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.center .btn-row { justify-content: center; }
.cta-note { font-size: 0.9rem; margin-top: 0.9rem; opacity: 0.85; }

/* Hero */
.hero {
  position: relative;
  /* The Unbounce hero used a washed-out 845px photo behind the text. It is too small to
     stretch across a desktop screen without blurring, so the hero is a soft brand gradient. */
  background: linear-gradient(180deg, #ffffff 0%, var(--teal-tint) 100%);
  padding: 3.5rem 0 4rem;
  text-align: center;
}
.hero > .container { position: relative; }
.hero h1 { margin-bottom: 1rem; }
.hero h1 .accent { display: block; }
.hero__proof {
  display: inline-flex; align-items: center; gap: 0.7rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill);
  padding: 0.4rem 1.1rem 0.4rem 0.45rem; margin: 0 auto 1.1rem;
  font-size: 0.92rem; font-weight: 600; color: var(--ink); line-height: 1.3; text-align: left;
  box-shadow: 0 2px 10px rgba(33,41,52,0.06);
}
.hero__proof img { width: 44px; height: 44px; flex: none; }
.hero__sub { font-size: 1.15rem; max-width: 46ch; margin: 0 auto 1.6rem; color: var(--ink); }
.hero__meta { font-size: 0.92rem; margin: 1.1rem auto 0; color: var(--charcoal); max-width: 52ch; }

/* Media strip */
.media { padding: 2.2rem 0; }
.media__inner { display: flex; align-items: center; justify-content: center; gap: 2rem 3rem; flex-wrap: wrap; }
.media__label { font-family: var(--font-head); font-weight: 600; font-style: italic; margin: 0; font-size: 1.05rem; }
.media__logos { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; justify-content: center; }
.media__logos img { height: 34px; width: auto; }

/* Split layout */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split__media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; }
.split__media--plain img { box-shadow: none; border-radius: 0; }

/* Tick list */
.ticks { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.ticks li { position: relative; padding-left: 2.1rem; margin-bottom: 0.75rem; max-width: 60ch; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--teal-deep) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.band--teal .ticks li::before, .band--dark .ticks li::before { background-color: var(--white); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f84' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.ticks--2col { columns: 2; column-gap: 3rem; }
.ticks--2col li { break-inside: avoid; }

/* Icon grid */
.icons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 2.5rem; }
.icons--3 { grid-template-columns: repeat(3, 1fr); }
.icon-item { text-align: left; }
.icon-item svg { width: 44px; height: 44px; margin-bottom: 0.9rem; color: #bfe3ee; }
.band--grey .icon-item svg, .icons--light .icon-item svg { color: var(--teal-deep); }
.icon-item h3 { font-size: 1.12rem; margin-bottom: 0.35rem; }
.icon-item p { font-size: 0.96rem; margin: 0; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); color: var(--charcoal);
  border-radius: var(--radius); padding: 1.9rem; text-align: left;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.card h3 { color: var(--ink); font-size: 1.18rem; }
.card p { font-size: 0.97rem; margin: 0; }
.card__num {
  font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--teal-deep);
  line-height: 1; margin-bottom: 0.6rem; display: block;
}
.card--media { padding: 0; overflow: hidden; }
.card--media img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.card--media .card__body { padding: 1.5rem 1.7rem 1.8rem; }

/* Steps (five phases) */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-top: 2.5rem; counter-reset: step; list-style: none; padding: 0; }
.steps li {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.1rem; text-align: center; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--ink);
  line-height: 1.25;
}
.steps li::before {
  counter-increment: step; content: counter(step);
  display: block; font-size: 2rem; font-weight: 700; color: var(--teal-deep); margin-bottom: 0.4rem;
}

/* Quote */
.quote { text-align: center; padding: 4.5rem 0; }
.quote blockquote {
  margin: 0 auto; max-width: 30em;
  font-family: var(--font-head); font-weight: 600; font-size: clamp(1.35rem, 2.6vw, 1.9rem); line-height: 1.3;
}
.quote cite { display: block; margin-top: 1.2rem; font-style: normal; font-family: var(--font-head); font-size: 1.1rem; }

/* FAQ */
.faq { max-width: 820px; margin: 2.5rem auto 0; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  background: none; border: 0; padding: 1.25rem 0; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); line-height: 1.3;
}
.faq__q::after {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f6f84' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 4v16M4 12h16'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.faq__q[aria-expanded="true"]::after { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq__a-inner { padding: 0 0 1.4rem; }
.faq__a p { font-size: 1rem; }
.faq__a p:last-child { margin-bottom: 0; }

/* Endorsement badges */
.badges { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
.badge { display: flex; align-items: center; gap: 1.3rem; }
.badge img { width: 104px; height: 104px; flex: none; object-fit: contain; }
.badge p { margin: 0; font-size: 0.95rem; }

/* Video */
.video { position: relative; aspect-ratio: 16 / 9; background: var(--black); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--portrait { aspect-ratio: 9 / 16; }
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem 1.5rem; margin-top: 2.5rem; }
.video-grid h3 { font-size: 1.05rem; margin: 0.9rem 0 0; }

/* Booking widget card */
.booking { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; max-width: 900px; margin: 0 auto; min-height: 640px; }
.booking__fallback { text-align: center; font-size: 0.92rem; margin: 1.2rem auto 0; }

/* Success bar */
.success-bar { background: var(--teal-deep); color: var(--white); text-align: center; padding: 0.9rem 1rem 0.7rem; font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: 0.06em; text-transform: uppercase; }

/* Review flag: unsourced detail waiting on the client. Must not ship. */
.todo { background: #fff3a3; color: #5c4600; padding: 0 0.3em; border-radius: 3px; font-weight: 600; }

/* Footer */
.site-footer { background: var(--black); color: var(--white); text-align: center; padding: 3.5rem 0 2.5rem; font-size: 0.92rem; }
/* Only a 120px logo file exists. Kept small so it stays sharp; needs a vector from the client. */
.site-footer img { height: 64px; width: auto; margin: 0 auto 1.2rem; }
.site-footer p { margin: 0 auto 0.6rem; max-width: none; }
.site-footer a { color: #bfe3ee; }
.site-footer__social { display: flex; justify-content: center; gap: 0.9rem; margin: 0.8rem 0 1.4rem; }
.site-footer__social a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--teal-deep); color: var(--white);
  display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s, transform 0.2s;
}
.site-footer__social a:hover { background: var(--teal); transform: translateY(-2px); }
.site-footer__social svg { width: 20px; height: 20px; }
.site-footer__tagline { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }

/* Scroll animation */
.fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: none; }
.no-js .fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade-up { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}

:focus-visible { outline: 3px solid var(--teal-ink); outline-offset: 3px; }
.band--teal :focus-visible, .band--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }

/* Tablet */
@media (max-width: 900px) {
  section { padding: 4.5rem 0; }
  .split { grid-template-columns: 1fr; gap: 2.2rem; }
  .split__media { order: -1; max-width: 560px; margin: 0 auto; }
  .icons, .icons--3 { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .badges { grid-template-columns: 1fr; gap: 1.6rem; }
}

/* Mobile */
@media (max-width: 600px) {
  :root { --header-h: 56px; }
  body { font-size: 1rem; }
  section { padding: 3.5rem 0; }
  .container { padding: 0 1.15rem; }
  h2 { font-size: 1.5rem; }
  .site-header__logo img { height: 40px; }
  .site-header .btn--sm { font-size: 0.8rem; padding: 0.6rem 0.9rem 0.45rem; }
  .hero { padding: 1.4rem 0 2.2rem; }
  .hero h1 { font-size: 1.85rem; margin-bottom: 0.8rem; }
  .hero h1 .accent { font-size: 0.82em; margin-bottom: 0.15em; }
  .hero__proof { font-size: 0.8rem; padding: 0.3rem 0.85rem 0.3rem 0.35rem; margin-bottom: 0.8rem; gap: 0.55rem; }
  .hero__proof img { width: 36px; height: 36px; }
  .hero__sub { font-size: 0.95rem; margin-bottom: 1.1rem; }
  .btn { width: 100%; min-height: 52px; font-size: 1rem; }
  .site-header .btn { width: auto; min-height: 0; }
  .btn-row { flex-direction: column; }
  .icons, .icons--3, .cards, .cards--2, .steps, .video-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .icons { grid-template-columns: 1fr 1fr; }
  .icon-item svg { width: 40px; height: 40px; }
  .card { padding: 1.5rem; }
  .ticks--2col { columns: 1; }
  .media__logos img { height: 24px; }
  .media__inner { gap: 1rem; }
  .badge img { width: 80px; height: 80px; }
  .booking { padding: 0.6rem; }
  /* Source photos top out near 850px wide: cap the phone slot so they are never drawn blurry. */
  .split__media { max-width: 310px; }
  .site-footer img { height: 40px; }
  .card--media img { max-width: 310px; margin: 0 auto; }
  .card--media { padding-top: 1rem; }
  .video-grid .video--portrait { max-width: 260px; margin: 0 auto; }
  .video-grid h3 { text-align: center; }
  .success-bar { font-size: 1.05rem; }
}
