/* SNOUFAI – simple site (homepage + dog page) */
:root {
  --ink: #14213D;
  --navy: #1E2B68;
  --navy-dark: #162155;
  --text: #4A5468;
  --muted: #5B6478;
  --line: #E6E8EF;
  --field: #D5D9E4;
  --soft: #F6F7FB;
  --tint: #EEF1FB;
  --ok: #0B7F7D;
  --err: #C2362B;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: #fff; line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--navy); }
h1, h2, h3 { font-family: Outfit, Inter, sans-serif; color: var(--ink); margin: 0; }
p { margin: 0; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #7C8BD8; outline-offset: 2px; }

/* offer bar */
.offer-bar { background: var(--navy); color: #fff; text-align: center; font-size: 14px; padding: 9px 16px; line-height: 1.45; }
.offer-bar b { font-weight: 600; }
.offer-bar a { color: #fff; font-weight: 600; }

/* header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 22px Outfit, sans-serif; }
.brand img { width: 36px; height: 29px; object-fit: contain; }
.nav { display: flex; gap: 28px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 13px 26px; border-radius: 999px; font: 600 16px Inter, sans-serif; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: #C9CEDD; }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--tint); color: var(--navy); }
.btn-sm { min-height: 44px; padding: 10px 20px; font-size: 15px; }
.btn-lg { font-size: 17px; padding: 15px 28px; min-height: 54px; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 36px; }
.head h2 { font-size: 38px; font-weight: 700; line-height: 1.15; }
.head p { font-size: 17px; color: var(--muted); max-width: 560px; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--navy); letter-spacing: .05em; text-transform: uppercase; }

/* hero */
.hero { padding: 80px 0 96px; background: var(--soft); }
.hero-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: 56px; line-height: 1.08; font-weight: 700; }
.hero .lead { font-size: 19px; color: var(--text); max-width: 500px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.small { font-size: 14px; color: var(--muted); }
.hero-pic { background: #fff; border-radius: 28px; padding: 40px 28px; display: flex; align-items: center; justify-content: center; }
.hero-pic img { width: 100%; max-width: 520px; height: auto; }
.limited { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; background: #FFF1E8; color: #8A3B12; font-size: 14px; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.limited svg { flex: none; }

/* pet chooser + steps */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pet { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: border-color .15s, transform .15s; }
.pet:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--ink); }
.pet h3 { font-size: 24px; margin-top: 6px; }
.pet p { color: var(--muted); }
.pet .go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--navy); }
.step { background: #fff; border-radius: 22px; padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.num { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.step h3 { font-size: 21px; margin-top: 8px; }
.step p { color: var(--muted); }

/* proof */
.proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; align-items: center; }
.proof img { width: 100%; height: 380px; object-fit: cover; border-radius: 24px; }
.proof-copy { display: flex; flex-direction: column; gap: 16px; }
.proof-copy h2 { font-size: 38px; line-height: 1.15; }
.proof-copy p { font-size: 17px; color: var(--text); }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks li::before { content: '✓'; color: var(--ok); font-weight: 700; }
.ticks li.no::before { content: '–'; color: #8A92A6; }
.ticks li.no { color: #6B7388; }

/* faq */
.faq { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 22px; padding: 4px 28px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 600; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 16px; font-size: 24px; font-weight: 400; color: var(--navy); }
.faq details[open] summary::after { content: '–'; }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* closing band */
.band { background: var(--navy); border-radius: 28px; padding: 56px 40px; display: flex; flex-direction: column; gap: 14px; align-items: center; text-align: center; }
.band h2 { color: #fff; font-size: 38px; }
.band p { color: #D5DAF0; font-size: 17px; }
.band .btn { margin-top: 8px; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot b { font-family: Outfit, sans-serif; font-size: 18px; color: var(--ink); display: block; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--muted); }
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 56px; height: 56px; border-radius: 50%; background: #1E7B4F; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(20,33,61,.25); }
.wa-float:hover { color: #fff; background: #17643F; }

/* dog page */
.page-head { padding: 64px 0 36px; background: var(--soft); text-align: center; }
.page-head h1 { font-size: 48px; line-height: 1.1; }
.page-head p { font-size: 18px; color: var(--text); margin-top: 10px; }
.picks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pick { background: #fff; border: 1.5px solid var(--line); border-radius: 26px; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.pick.main { border: 2px solid var(--navy); }
.pick-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.pick h2 { font-size: 28px; }
.tag { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--navy); white-space: nowrap; }
.tag.dark { background: var(--navy); color: #fff; }
.pick img { width: 100%; height: 190px; object-fit: contain; }
.pick .desc { color: var(--text); }
.price { border-top: 1px solid var(--line); padding-top: 16px; margin-top: auto; }
.price strong { font: 700 32px Outfit, sans-serif; display: block; line-height: 1.2; }
.price s { color: #8A92A6; font-size: 18px; font-weight: 500; margin-left: 8px; }
.price span { font-size: 14px; color: var(--muted); }

.book { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: start; }
.book-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 96px; }
.book-side h2 { font-size: 38px; line-height: 1.15; }
.book-side > p { font-size: 17px; color: var(--text); }
.summary { background: var(--soft); border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; }
.summary span { color: var(--muted); }
.summary .ref-line { color: var(--ok); font-weight: 600; }
.book-side .pic { background: var(--soft); border-radius: 18px; padding: 20px; }
.book-side .pic img { width: 100%; height: 150px; object-fit: contain; }

.form { border: 1.5px solid var(--line); border-radius: 26px; padding: 32px; display: flex; flex-direction: column; gap: 22px; background: #fff; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .lab { font-size: 14px; font-weight: 600; color: var(--ink); padding: 0; margin-bottom: 10px; display: block; }
.swatches { display: flex; gap: 14px; flex-wrap: wrap; }
.swatch { position: relative; }
.swatch input, .sizes input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch span { display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); cursor: pointer; box-shadow: 0 0 0 1px rgba(0,0,0,.08); transition: box-shadow .15s; }
.swatch input:checked + span { box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--navy); }
.swatch input:focus-visible + span { outline: 3px solid #7C8BD8; outline-offset: 5px; }
.colour-name { font-size: 14px; color: var(--muted); margin-top: 8px; }
.sizes { display: flex; gap: 10px; flex-wrap: wrap; }
.sizes label { position: relative; }
.sizes span { min-width: 72px; min-height: 52px; padding: 6px 10px; border: 1.5px solid var(--field); border-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 600; cursor: pointer; line-height: 1.2; }
.sizes small { font-weight: 400; font-size: 11px; color: var(--muted); margin-top: 2px; }
.sizes input:checked + span { border: 2px solid var(--navy); background: var(--tint); color: var(--navy); }
.sizes input:focus-visible + span { outline: 3px solid #7C8BD8; outline-offset: 2px; }
.hint { font-size: 13px; color: var(--muted); margin-top: 8px; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.field label { font-size: 14px; font-weight: 600; display: block; margin-bottom: 6px; }
.field label i { font-style: normal; font-weight: 400; color: var(--muted); }
.in { width: 100%; height: 50px; border: 1.5px solid var(--field); border-radius: 12px; padding: 0 14px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.in:focus { border-color: var(--navy); outline: none; box-shadow: 0 0 0 3px rgba(30,43,104,.15); }
.in[aria-invalid="true"] { border-color: var(--err); }
.in.code { text-transform: uppercase; letter-spacing: .05em; }
.in.code::placeholder { text-transform: none; letter-spacing: 0; }
.err { color: var(--err); font-size: 13px; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.ok-msg { color: var(--ok); font-size: 13px; font-weight: 600; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.form .btn { width: 100%; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.form-error { background: #FDECEA; color: #8C2219; border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.form-error:empty { display: none; }
.ref-banner { display: flex; gap: 10px; align-items: flex-start; background: #EEF7F6; color: var(--ink); border-radius: 14px; padding: 12px 16px; font-size: 15px; }

@media (max-width: 860px) {
  .nav { display: none; }
  .hero-grid, .grid3, .proof, .picks, .book, .fields { grid-template-columns: minmax(0, 1fr); }
  .hero { padding: 40px 0 56px; }
  .hero-grid { gap: 24px; }
  .hero-pic { order: -1; padding: 24px 16px; }
  .hero h1 { font-size: 38px; }
  .hero .lead { font-size: 17px; }
  .section { padding: 56px 0; }
  .head h2, .proof-copy h2, .band h2, .book-side h2 { font-size: 28px; }
  .page-head { padding: 40px 0 24px; }
  .page-head h1 { font-size: 36px; }
  .proof img { height: 240px; }
  .band { padding: 40px 22px; border-radius: 22px; }
  .form, .pick { padding: 22px 18px; border-radius: 20px; }
  .faq { padding: 4px 18px; }
  .book-side { position: static; }
  .ctas .btn { flex: 1 1 100%; }
  .foot .wrap { flex-direction: column; align-items: flex-start; }
  .wrap { padding: 0 16px; }
}

/* dog + cat products */
.products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prod { text-decoration: none; color: var(--ink); border: 1.5px solid var(--line); border-radius: 24px; padding: 28px; display: flex; flex-direction: column; gap: 10px; background: #fff; transition: border-color .15s, transform .15s; }
.prod:hover { border-color: var(--navy); transform: translateY(-2px); color: var(--ink); }
.prod-pic { background: var(--soft); border-radius: 18px; height: 220px; display: flex; align-items: center; justify-content: center; padding: 20px; margin-bottom: 8px; }
.prod-pic img { max-width: 100%; max-height: 180px; width: auto; height: auto; }
.prod-pic-cat { background: #F4F0FF; }
.prod-pic svg { max-width: 100%; height: auto; }
.prod-tag { align-self: flex-start; font-size: 13px; font-weight: 600; padding: 4px 12px; border-radius: 999px; background: #FFF1E8; color: #8A3B12; }
.prod-tag-new { background: #EDE7FE; color: #5B21B6; }
.prod h3 { font-size: 26px; }
.prod p { color: var(--muted); }
.prod .prod-price { color: var(--ink); font-size: 15px; }
.prod .go { margin-top: auto; padding-top: 8px; font-weight: 600; color: var(--navy); }
.vet-line { text-align: center; margin-top: 28px; color: var(--muted); }
.offer-bar a { color: #fff; font-weight: 600; }
@media (max-width: 860px) {
  .products { grid-template-columns: minmax(0, 1fr); }
  .prod-pic { height: 170px; }
  .bar-sep { display: none; }
}

/* ---- dog pre-book pop-up ---- */
.bk-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.bk-ready .bk-modal:not(.is-open) { display: none; }
html:not(.bk-ready) .bk-modal { position: static; display: block; padding: 48px 20px; }
html:not(.bk-ready) .bk-overlay, html:not(.bk-ready) .bk-close { display: none; }
.bk-overlay { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(3px); }
.bk-panel { position: relative; background: #fff; border-radius: 24px; width: min(1080px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 40px 36px 32px; box-shadow: 0 30px 80px rgba(15, 23, 42, .35); overscroll-behavior: contain; }
.bk-panel .book-side { position: static; }
.bk-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid #DDE3EF; background: #fff; color: #1E2B68; font-size: 26px; line-height: 1; cursor: pointer; z-index: 3; }
.bk-close:hover { background: #F3F5FA; }
body.bk-lock { overflow: hidden; }
.live-collar { position: relative; width: 100%; aspect-ratio: 1200 / 546; container-type: inline-size; }
.book-side .pic .live-collar img { width: 100%; height: 100%; object-fit: contain; display: block; }
.live-name { position: absolute; left: 51.5%; top: 85.5%; transform: translate(-50%, -50%) rotate(-.6deg); display: inline-flex; align-items: center; gap: .3em; font-family: Outfit, Inter, sans-serif; font-weight: 700; font-size: 4.3cqw; letter-spacing: .03em; color: #fff; white-space: nowrap; text-shadow: 0 1px 1px rgba(0, 0, 0, .35); pointer-events: none; }
.live-name .paw { width: .95em; height: .95em; fill: currentColor; }
.pic-note { text-align: center; font-size: 13px; color: #667085; margin-top: 6px; }
@media (max-width: 720px) {
  .bk-modal { padding: 0; align-items: flex-end; }
  .bk-panel { border-radius: 20px 20px 0 0; max-height: 94vh; padding: 24px 16px 20px; }
  .bk-panel .book { gap: 20px; }
  .bk-panel .book-side > p, .bk-panel .book-side .small { display: none; }
  .bk-panel .book-side h2 { font-size: 24px; padding-right: 48px; }
  .bk-panel .book { display: flex; flex-direction: column; align-items: stretch; }
  .bk-panel .book-side { display: contents; }
  .bk-panel .book-side .pic { position: sticky; top: -24px; z-index: 4; padding: 8px 12px; margin: 0 -4px; background: #F3F5FA; box-shadow: 0 8px 16px rgba(15, 23, 42, .08); }
  .bk-panel .book-side .live-collar { max-width: 300px; margin: 0 auto; }
  .bk-panel .pic-note { display: none; }
  .bk-panel .form { order: 5; }
  .bk-panel .summary { order: 9; }
  .bk-close { position: fixed; top: calc(6vh + 10px); right: 12px; z-index: 10; box-shadow: 0 4px 12px rgba(15, 23, 42, .15); }
}
