/* S&E Doggy Days website: shared styles for every page. Palette and type match the app and the logo. */

/* Fonts are served from this site (not Google), so visitors' details aren't sent to a third party.
   All three are open-licence Google Fonts (SIL Open Font Licence). */
@font-face { font-family: "Allura"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/allura.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("fonts/cormorant-garamond.woff2") format("woff2"); }
@font-face { font-family: "Jost"; font-style: normal; font-weight: 400 600; font-display: swap; src: url("fonts/jost.woff2") format("woff2"); }

:root {
  --bg: #F3ECE1;
  --surface: #FBF8F2;
  --surface-2: #EEE5D7;
  --ink: #1F1A15;
  --muted: #6C5F51;
  --line: #E0D3BF;
  --gold: #AE8D5A;
  --gold-ink: #7C5F33;
  --gold-soft: #F0E3CB;
  --choc: #4A3022;
  --lab: #E6CFA5;
  --btn-bg: #4A3022;
  --btn-fg: #FBF8F2;
  --warn: #8F5C1C; --warn-soft: #F4E4C9;
  --shadow: 0 1px 2px rgba(74, 48, 34, .06), 0 10px 30px rgba(74, 48, 34, .08);
  --f-display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --f-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-script: "Allura", "Brush Script MT", cursive;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font-family: var(--f-body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--bg); }
h1, h2, h3 { font-family: var(--f-display); font-weight: 600; line-height: 1.08; margin: 0; text-wrap: balance; font-variant-numeric: lining-nums; }
h1 { font-size: clamp(40px, 6vw, 68px); }
h2 { font-size: clamp(32px, 4.2vw, 46px); }
h3 { font-size: 24px; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-ink); font-weight: 500; }
.script { font-family: var(--f-script); color: var(--gold-ink); font-size: clamp(32px, 4vw, 44px); line-height: 1; }
.lede { font-size: 18px; color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.num { font-variant-numeric: lining-nums tabular-nums; }
/* Placeholders the owners must replace before the site goes live. */
.todo { background: var(--warn-soft); color: var(--warn); border-bottom: 1px dashed var(--warn); border-radius: 4px; padding: 0 5px; font-style: normal; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 12px 22px; border-radius: 999px; font: 500 15.5px var(--f-body); text-decoration: none; cursor: pointer; text-align: center; }
.btn:hover { border-color: var(--gold); }
.btn.primary { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.btn.primary:hover { filter: brightness(1.12); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; padding-block: 10px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo-crop { width: 76px; aspect-ratio: 820 / 841; overflow: hidden; border-radius: 8px; flex: none; }
.logo-crop img { display: block; width: 131.83%; max-width: none; margin: -1.83% 0 0 -15.85%; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-size: 15px; color: var(--muted); }
.nav a:hover { color: var(--ink); background: var(--surface-2); }
.nav .btn { margin-left: 8px; padding: 9px 18px; font-size: 14.5px; color: var(--btn-fg); }
.menu-btn { display: none; margin-left: auto; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; font: 500 15px var(--f-body); color: var(--ink); cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 10px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; font-size: 17px; }
  .nav .btn { margin: 8px 0 0; padding: 13px 18px; font-size: 16px; }
}

/* Sections */
section { padding-block: clamp(56px, 8vw, 104px); }
section.paper { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; max-width: 680px; }
.sec-head.center { margin-inline: auto; text-align: center; align-items: center; }
.rule { display: flex; align-items: center; gap: 14px; color: var(--gold); width: min(280px, 70%); }
.rule::before, .rule::after { content: ""; flex: 1; height: 1px; background: var(--gold); opacity: .7; }
.rule svg { width: 20px; height: 20px; flex: none; }

/* Hero */
.hero { padding-block: clamp(40px, 7vw, 88px) clamp(56px, 8vw, 100px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hero-logo { width: 100%; max-width: 440px; justify-self: center; border-radius: 24px; box-shadow: var(--shadow); display: block; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-logo { order: -1; max-width: 260px; }
  .hero-copy { text-align: center; align-items: center; }
  .hero-actions, .trust { justify-content: center; }
}

/* Feature grid + example report */
.features { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.feature-list { display: flex; flex-direction: column; gap: 22px; }
.feature { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; }
.feature .ic { width: 44px; height: 44px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
.feature .ic svg { width: 22px; height: 22px; }
.feature h3 { font-size: 22px; margin-bottom: 4px; }
.feature p { color: var(--muted); }
.report { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.report-h { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.map { display: block; width: 100%; height: auto; border-radius: 12px; background: var(--surface-2); }
.map .grid { stroke: var(--line); stroke-width: 1; }
.map .route { fill: none; stroke: var(--gold); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.map .start { fill: var(--choc); }
.map .end { fill: var(--surface); stroke: var(--gold); stroke-width: 3; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.stat { background: var(--surface-2); border-radius: 10px; padding: 8px 10px; }
.stat b { display: block; font-family: var(--f-display); font-size: 24px; font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }
.walknote { font-family: var(--f-display); font-size: 19px; font-style: italic; line-height: 1.4; border-left: 2px solid var(--gold); padding-left: 14px; }
@media (max-width: 820px) { .features { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 420px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Prices */
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 18px; }
.price { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.price .amt { font-family: var(--f-display); font-size: 46px; font-weight: 600; line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.price .amt small { font-family: var(--f-body); font-size: 14px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.price .meta { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.price p { color: var(--muted); font-size: 15px; }
.price .extra { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; }
.price.feat { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.price-note { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; counter-reset: step; }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--gold); display: flex; flex-direction: column; gap: 8px; }
.step::before { counter-increment: step; content: "Step " counter(step); font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-ink); }
.step p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* About */
.about { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.person { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.person .initial { width: 64px; height: 64px; border-radius: 50%; background: var(--lab); color: var(--choc); display: grid; place-items: center; font-family: var(--f-display); font-size: 34px; font-weight: 700; border: 1.5px solid var(--gold); }
.person p { color: var(--muted); }
@media (max-width: 680px) { .about { grid-template-columns: minmax(0, 1fr); } }

/* Area */
.area { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 56px); align-items: center; }
.area-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; padding: 5px 13px; border-radius: 999px; background: var(--surface-2); }
@media (max-width: 760px) { .area { grid-template-columns: minmax(0, 1fr); } }

/* FAQ */
.faq { max-width: 780px; margin-inline: auto; display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; position: relative; font-family: var(--f-display); font-size: 22px; font-weight: 600; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-family: var(--f-body); font-weight: 400; font-size: 26px; color: var(--gold-ink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 64ch; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info dl { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 18px; font-size: 16px; }
.contact-info dt { color: var(--muted); }
.contact-info dd { margin: 0; overflow-wrap: anywhere; }
form.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 500; color: var(--muted); }
.field input, .field textarea { width: 100%; font: 16px var(--f-body); color: var(--ink); padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--gold); outline: none; box-shadow: 0 0 0 3px var(--gold-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--choc); margin-top: 3px; flex: none; }
.thanks { text-align: center; align-items: center; padding-block: 40px; }
@media (max-width: 820px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .fields { grid-template-columns: minmax(0, 1fr); } }

/* Footer */
.site-foot { padding-block: 48px calc(40px + env(safe-area-inset-bottom, 0px)); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.site-foot .logo-crop { width: 96px; }
.site-foot nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; font-size: 15px; }
.site-foot nav a { color: var(--muted); text-decoration: none; }
.site-foot nav a:hover { color: var(--ink); }

@media (max-width: 820px) { html, body { overflow-x: hidden; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

/* Multi-page additions */
.nav a[aria-current="page"] { color: var(--ink); background: var(--gold-soft); }
.page-hero { padding-block: clamp(40px, 6vw, 76px) clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: clamp(38px, 5.4vw, 60px); }
.teasers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 14px; }
.teaser { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.teaser:hover { border-color: var(--gold); }
.teaser .meta { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-ink); }
.teaser b { font-family: var(--f-display); font-size: 34px; font-weight: 600; line-height: 1.1; font-variant-numeric: lining-nums tabular-nums; }
.teaser b small { font-family: var(--f-body); font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
.center-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin-top: 32px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 28px 40px; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.cta-band .sec-head { margin: 0; }
section.cta-band { background: var(--gold-soft); border-top: 1px solid var(--line); padding-block: clamp(44px, 6vw, 72px); }

/* Long-form text (privacy notice) */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: clamp(28px, 3.4vw, 36px); margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 21px; margin-top: 8px; }
.prose p, .prose li { color: var(--muted); max-width: 66ch; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose ul { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose a { color: var(--gold-ink); overflow-wrap: anywhere; }

/* Premium walks and group totals */
.prices.premium { max-width: 760px; }
.price .amt .from { margin: 0 6px 0 0; }
.price .group-total { font-size: 14px; color: var(--gold-ink); margin-top: -4px; }
.center-note { text-align: center; color: var(--muted); margin-top: 24px; }
.center-note a { color: var(--gold-ink); white-space: nowrap; }
.price-note.quote { display: block; max-width: 62ch; }
.price-note.quote a { color: var(--gold-ink); font-weight: 500; }

/* About us story */
.story { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.story .prose h2 { margin-top: 0; }
.values { list-style: none; margin: 0; padding: 22px; display: flex; flex-direction: column; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; }
.values li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; }
.values .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--gold-soft); color: var(--gold-ink); display: grid; place-items: center; }
.values .ic svg { width: 20px; height: 20px; }
.values strong { display: block; font-family: var(--f-display); font-size: 20px; font-weight: 600; line-height: 1.2; margin-bottom: 2px; }
.values li > span:last-child { color: var(--muted); font-size: 15px; }
@media (max-width: 820px) { .story { grid-template-columns: minmax(0, 1fr); } }
