/* Doggy Ji website, in the app's own look (lib/core/constants/colors.dart and the Home / Pet Care screens):
   light canvas #F8F9FA, white bordered cards, navy Nunito headings, Montserrat body, the teal
   "Shop Healthy Treats" gradient, the red Blood Bank card and the purple Pet Services card. */
:root {
  --teal: #23c1c3;
  --teal-btn: #0e7c7e;     /* DoggyjiColors.tealButton: white text on it passes contrast */
  --forest: #009688;
  --navy: #142c73;
  --muted: #64748b;
  --canvas: #f8f9fa;
  --card: #ffffff;
  --line: #e2e8f0;
  --red: #e53935;
  --shadow: 0 8px 24px rgba(20, 44, 115, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body { margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--navy); font: 16px/1.65 'Montserrat', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: 'Nunito', 'Montserrat', sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 900; letter-spacing: -.5px; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 800; }
p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--teal-btn); }
img { max-width: 100%; display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
section { padding: 64px 0; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-btn); margin-bottom: 10px; }
.center { text-align: center; }
.lead { font-size: 1.08rem; max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header: a floating pill, like the app's bottom dock */
header.top { position: sticky; top: 0; z-index: 20; padding: 12px 0 0; background: linear-gradient(var(--canvas) 70%, transparent); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 62px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 0 12px 0 18px; box-shadow: var(--shadow); position: relative; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 1.25rem; color: var(--navy); }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a.link { padding: 8px 14px; border-radius: 999px; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; }
.nav a.link:hover { background: rgba(35, 193, 195, .15); color: var(--teal-btn); }
.burger { display: none; background: none; border: 0; font-size: 1.5rem; color: var(--navy); cursor: pointer; }
@media (max-width: 820px) {
  .burger { display: block; }
  .nav ul { position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 12px; display: none; align-items: stretch; box-shadow: var(--shadow); }
  .nav ul.open { display: flex; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 14px; font-weight: 700; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--teal-btn); color: #fff; box-shadow: 0 8px 20px rgba(14, 124, 126, .28); }
.btn.white { background: #fff; color: var(--teal-btn); }
.btn.ghost { border-color: rgba(255, 255, 255, .7); color: #fff; background: transparent; }
.btn.outline { border-color: var(--teal-btn); color: var(--teal-btn); background: transparent; }
.btn.danger { background: var(--red); color: #fff; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }
.btn.small { padding: 9px 18px; font-size: .9rem; border-radius: 999px; }

/* Hero: the "Shop Healthy Treats" banner, at full size */
.hero { padding: 24px 0 24px; }
.hero .panel { background: linear-gradient(135deg, #1fb6b8 0%, #009688 55%, #00796b 100%); border-radius: 32px; color: #fff; padding: 56px 48px 0; overflow: hidden; position: relative; box-shadow: 0 18px 40px rgba(0, 150, 136, .28); }
.hero .grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 24px; align-items: end; }
.hero h1 { color: #fff; }
.hero h1 span { color: #fff7d6; }
.hero p.lead { color: rgba(255, 255, 255, .95); }
.hero .copy { padding-bottom: 56px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip { background: rgba(255, 255, 255, .2); border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .85rem; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .phones { display: flex; justify-content: center; gap: 0; align-self: end; }
.hero .phone { width: 235px; margin-bottom: -40px; }
.hero .phone + .phone { margin-left: -40px; margin-bottom: -80px; }
.hero .grid > *, .feature > *, .spot > * { min-width: 0; }
@media (max-width: 860px) {
  .hero .panel { padding: 36px 22px 0; border-radius: 26px; }
  .hero .grid { grid-template-columns: minmax(0, 1fr); }
  .hero .copy { padding-bottom: 8px; }
  .hero .phone { width: 150px; margin-bottom: -30px; }
  .hero .phone + .phone { margin-left: -30px; margin-bottom: -60px; }
}

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 14px; margin-top: 26px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px; text-align: center; }
.stat b { display: block; font-family: 'Nunito'; font-size: 1.5rem; color: var(--teal-btn); }
.stat span { font-size: .85rem; color: var(--muted); }

/* Phone and tablet frames */
.phone { border-radius: 34px; border: 8px solid #0f172a; background: #0f172a; box-shadow: 0 16px 40px rgba(15, 23, 42, .3); overflow: hidden; width: 250px; }
.phone img { width: 100%; height: auto; }
.tablet { border-radius: 22px; border: 10px solid #0f172a; background: #0f172a; box-shadow: 0 16px 40px rgba(15, 23, 42, .25); overflow: hidden; max-width: 760px; margin: 0 auto; }

/* Feature tiles, like the Home screen tiles */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 26px 0 30px; }
.tab { border: 1.5px solid var(--line); background: var(--card); color: var(--navy); border-radius: 999px; padding: 9px 18px; cursor: pointer; font-weight: 700; font-family: inherit; font-size: .9rem; }
.tab.on { background: rgba(35, 193, 195, .18); border-color: var(--teal); color: var(--teal-btn); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 26px 22px; text-align: center; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .ico { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-size: 1.8rem; margin: 0 auto 14px; }
.card p { margin: 0; font-size: .92rem; }

/* Colour cards from the Pet Care screen */
.feature { border-radius: 30px; color: #fff; padding: 48px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 32px; align-items: center; overflow: hidden; }
.feature.red { background: linear-gradient(135deg, #d32f2f, #b71c1c 60%, #e53935); box-shadow: 0 16px 36px rgba(211, 47, 47, .25); }
.feature.purple { background: linear-gradient(135deg, #6a1b9a, #8e24aa 60%, #9c27b0); box-shadow: 0 16px 36px rgba(123, 31, 162, .25); }
.feature h2, .feature h3 { color: #fff; }
.feature p { color: rgba(255, 255, 255, .92); }
.feature .eyebrow { color: rgba(255, 255, 255, .85); }
.feature ul { list-style: none; padding: 0; margin: 18px 0 0; }
.feature li { padding-left: 30px; position: relative; margin-bottom: 10px; color: rgba(255, 255, 255, .95); }
.feature li::before { content: '✓'; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: rgba(255, 255, 255, .25); font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
.feature .shot { display: flex; justify-content: center; margin-bottom: -90px; margin-top: 10px; }
.feature .shot .phone { width: 230px; }
.mini { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.mini span { background: rgba(255, 255, 255, .2); border-radius: 999px; padding: 7px 16px; font-weight: 700; font-size: .88rem; }
@media (max-width: 860px) { .feature { grid-template-columns: minmax(0, 1fr); padding: 32px 24px 0; } .feature .shot { margin-bottom: -60px; } }

.spot { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 30px; padding: 48px; }
.spot .shot { display: flex; justify-content: center; }
.spot ul { padding: 0; list-style: none; margin: 18px 0 0; }
.spot li { padding-left: 30px; position: relative; margin-bottom: 10px; color: var(--muted); }
.spot li::before { content: '✓'; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-btn); color: #fff; font-size: .75rem; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 860px) { .spot { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 28px 22px; } }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; counter-reset: s; text-align: left; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px 24px 22px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; top: -18px; left: 22px; width: 38px; height: 38px; border-radius: 50%; background: var(--teal); color: #06323a; font-weight: 900; display: grid; place-items: center; font-family: 'Nunito'; }
.step p { margin: 0; }

.band { background: linear-gradient(135deg, #142c73, #1b4965 55%, #0e7c7e); color: #fff; border-radius: 30px; padding: 44px; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px; }
.band h3 { color: #fff; margin-bottom: 6px; }
.band p { color: rgba(255, 255, 255, .85); margin: 0; font-size: .94rem; }

.gallery { display: flex; gap: 22px; overflow-x: auto; padding: 8px 4px 26px; scroll-snap-type: x mandatory; }
.gallery figure { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
.gallery .phone { width: 220px; }
.gallery figcaption { margin-top: 12px; font-weight: 700; font-size: .92rem; color: var(--navy); }

.faq { max-width: 780px; margin: 30px auto 0; }
.q { border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; background: var(--card); overflow: hidden; }
.q button { width: 100%; text-align: left; background: none; border: 0; padding: 18px 22px; font: 800 1rem 'Nunito', sans-serif; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; gap: 12px; }
.q .a { padding: 0 22px 18px; }
.q .a p { margin: 0; font-size: .95rem; }

.cta .panel { background: linear-gradient(135deg, #1fb6b8, #009688 55%, #00796b); border-radius: 32px; padding: 56px 24px; text-align: center; color: #fff; box-shadow: 0 18px 40px rgba(0, 150, 136, .25); }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, .95); }
.cta img.logo { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); }

footer { background: #0f172a; color: #cbd5e1; padding: 44px 0 28px; margin-top: 40px; }
footer a { color: #99f6e4; }
footer .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
footer h4 { color: #fff; font-size: 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 8px; }
footer p { color: #94a3b8; font-size: .9rem; }
footer .legal { border-top: 1px solid #1e293b; margin-top: 28px; padding-top: 18px; font-size: .82rem; color: #94a3b8; }
@media (max-width: 720px) { footer .cols { grid-template-columns: 1fr; } }

/* Document pages (privacy, delete account) */
.doc { padding: 36px 0 56px; }
.doc .wrap { max-width: 820px; }
.doc .sheet { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 40px; box-shadow: var(--shadow); }
@media (max-width: 600px) { .doc .sheet { padding: 24px 18px; border-radius: 22px; } }
.doc h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.doc h2 { font-size: 1.3rem; margin-top: 2.1rem; }
.doc h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.doc p, .doc li { color: #334155; }
.doc ul, .doc ol { padding-left: 1.3rem; }
.doc a { overflow-wrap: anywhere; }
.notice { border-radius: 16px; padding: 16px 20px; margin: 20px 0; border: 1px solid var(--line); background: var(--canvas); }
.notice.warn { border-color: #f5b5b5; background: #fdecec; }
.notice.ok { border-color: #b7e4c7; background: #eaf7ef; }
.notice p { margin: 0; color: var(--navy); }
.notice p + p { margin-top: .6em; }
.box { background: var(--canvas); border: 1px solid var(--line); border-radius: 20px; padding: 24px; margin: 22px 0; }
.who { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.who img, .who .av { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.who .av { background: rgba(35, 193, 195, .18); color: var(--teal-btn); display: grid; place-items: center; font: 900 1.6rem 'Nunito', sans-serif; }
label.f { display: block; font-weight: 700; margin: 16px 0 6px; font-size: .9rem; color: var(--navy); }
input.t, select.t, textarea.t { width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; color: var(--navy); font: inherit; }
input.t:focus, select.t:focus, textarea.t:focus { outline: 2px solid var(--teal); border-color: var(--teal); }
.err { color: var(--red); font-size: .88rem; margin-top: 6px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; color: var(--navy); }
.check input { margin-top: 5px; width: 18px; height: 18px; }
.seg { display: flex; gap: 6px; background: var(--canvas); border: 1px solid var(--line); border-radius: 999px; padding: 4px; margin-bottom: 8px; }
.seg button { flex: 1; border: 0; border-radius: 999px; padding: 10px 14px; background: none; font: 700 .92rem 'Montserrat', sans-serif; color: var(--muted); cursor: pointer; }
.seg button.on { background: #fff; color: var(--teal-btn); box-shadow: 0 2px 8px rgba(20, 44, 115, .12); }
table.k { width: 100%; border-collapse: collapse; margin: 14px 0 6px; font-size: .94rem; }
table.k th, table.k td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; color: #334155; }
table.k th { background: var(--canvas); font-family: 'Nunito'; color: var(--navy); }

.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
