/* Vet Clinic — demo site stylesheet. No build step. Mobile-first. */
:root {
  --accent: #2E7D5B;
  --accent-700: #23634a;
  --accent-50: #e8f3ee;
  --accent-100: #d3e9de;
  --warn: #9a4b0b;
  --warn-50: #fdf1e3;
  --ink: #17231e;
  --muted: #4d5c55;
  --bg: #fbfcfb;
  --tint: #f1f6f3;
  --card: #ffffff;
  --line: #dce6e0;
  --on-accent: #ffffff;
  --shadow: 0 1px 2px rgba(23, 35, 30, .05), 0 8px 24px rgba(23, 35, 30, .07);
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1140px;
  --font: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #6cc79c;
    --accent-700: #8ad7b2;
    --accent-50: #15302a;
    --accent-100: #1c3d33;
    --warn: #f3b37a;
    --warn-50: #33240f;
    --ink: #e7efeb;
    --muted: #a6b6ae;
    --bg: #0e1714;
    --tint: #13201b;
    --card: #17251f;
    --line: #26392f;
    --on-accent: #0e1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .3);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-700); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 6vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.35rem, 3.2vw, 1.8rem); font-weight: 750; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
address { font-style: normal; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }
.muted { color: var(--muted); }
.muted-sm { color: var(--muted); font-weight: 500; font-size: .8em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 780px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: .8em 1.25em; border-radius: 999px; font: inherit; font-weight: 700; font-size: 1rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-700); color: var(--on-accent); }
.btn--ghost { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent-50); }
.btn--light { background: #fff; color: #23634a; }
.btn--light:hover { background: #e8f3ee; color: #23634a; }
.btn--outline-light { border-color: rgba(255, 255, 255, .8); color: #fff; }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px; min-height: 66px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand svg { width: 36px; height: 36px; flex: none; }
.brand:hover { color: var(--ink); }
.menu-btn { margin-left: auto; display: inline-flex; align-items: center; justify-content: center; background: none; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; color: var(--ink); cursor: pointer; }
.menu-btn svg { width: 22px; height: 22px; }
.nav { display: none; position: absolute; left: 0; right: 0; top: 66px; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px 16px 20px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
.nav.open { display: flex; }
.nav-link, .nav-phone { color: var(--ink); text-decoration: none; font-weight: 600; padding: 10px 12px; border-radius: 10px; }
.nav-link:hover, .nav-link[aria-current="page"] { background: var(--accent-50); color: var(--accent-700); }
.nav-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--accent); }
.nav-phone svg { width: 18px; height: 18px; }
.nav .btn { justify-content: center; margin-top: 8px; }
@media (min-width: 960px) {
  .menu-btn { display: none; }
  .nav { display: flex; position: static; flex-direction: row; align-items: center; margin-left: auto; padding: 0; background: none; border: 0; box-shadow: none; gap: 2px; }
  .nav-link { padding: 8px 12px; border-radius: 999px; font-size: .97rem; }
  .nav-phone { font-size: .97rem; margin-left: 6px; }
  .nav .btn { margin: 0 0 0 8px; padding: .65em 1.1em; font-size: .95rem; }
}

/* sections */
.section { padding: 56px 0; }
.section--tight { padding: 0 0 64px; }
.section--tint { background: var(--tint); }
@media (min-width: 900px) { .section { padding: 84px 0; } }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head p { color: var(--muted); }
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: .6em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--accent-50), var(--bg)); }
.hero-grid { display: grid; gap: 24px; padding-top: 40px; padding-bottom: 48px; align-items: center; }
.hero h1 { max-width: 14em; }
.hero-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .95rem; margin-top: 18px; }
.hero-note svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.hero-art { width: 100%; max-width: 420px; height: auto; justify-self: center; }
@media (min-width: 860px) { .hero-grid { grid-template-columns: 1.15fr 1fr; padding-top: 72px; padding-bottom: 80px; } }

.page-hero { background: var(--tint); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-top: 36px; padding-bottom: 40px; }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 60px; padding-bottom: 56px; } }
.crumbs { display: flex; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }

/* grids + cards */
.grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
.split { display: grid; gap: 32px; }
@media (min-width: 860px) { .split { grid-template-columns: 1fr 1fr; gap: 56px; } }
.feature__icon { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent-50); color: var(--accent); margin-bottom: 14px; flex: none; }
.feature__icon svg { width: 26px; height: 26px; }
.feature p, .svc-card p { color: var(--muted); margin: 0; }
.svc-card, .contact-card, .team-card, .form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.svc-card { display: flex; flex-direction: column; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s; }
.svc-card:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-2px); }
.svc-card .more { margin-top: auto; padding-top: 14px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: .95rem; }
.svc-card .more svg, .inline-ico { width: 16px; height: 16px; vertical-align: -3px; }
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } .svc-card:hover { transform: none; } html { scroll-behavior: auto; } }
.contact-card h2, .team-card h2 { font-size: 1.2rem; }
.contact-card p { color: var(--muted); margin-bottom: 0; }
.contact-card .big { display: block; font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; word-break: break-word; }
.addr { font-size: 1.1rem; margin-bottom: 1em; }

/* services page */
.side-layout { display: grid; gap: 32px; }
.side-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.side-nav a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); background: var(--card); }
.side-nav a:hover { border-color: var(--accent); color: var(--accent); }
@media (min-width: 960px) {
  .side-layout { grid-template-columns: 220px 1fr; gap: 56px; }
  .side-nav { flex-direction: column; flex-wrap: nowrap; position: sticky; top: 96px; align-self: start; }
  .side-nav a { border: 0; background: none; border-radius: 8px; }
}
.svc-block { display: grid; gap: 4px 20px; padding: 0 0 36px; margin-bottom: 36px; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
@media (min-width: 640px) { .svc-block { grid-template-columns: auto 1fr; } }
.svc-block p { color: var(--muted); }
.price { font-weight: 700; color: var(--ink) !important; margin: 14px 0 0; }
.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 4px; }

/* team */
.team-card .avatar { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 800; font-size: 1.3rem; margin-bottom: 14px; }
.avatar--sky { background: #3c6e9e !important; color: #fff !important; }
.avatar--sand { background: #9c6a3f !important; color: #fff !important; }
.avatar--mint { background: #5b8f7b !important; color: #fff !important; }
.team-card .role { color: var(--accent); font-weight: 700; margin-bottom: .6em; }
.team-card p:last-child { color: var(--muted); margin: 0; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; margin: 8px 0 16px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.tbl th, .tbl td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.tbl tr:last-child th, .tbl tr:last-child td { border-bottom: 0; }
.tbl th { font-weight: 600; }

/* callout */
.callout { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--accent-50); }
.callout p { margin: 0; }
.callout svg { width: 22px; height: 22px; flex: none; margin-top: 3px; }
.callout--warn { background: var(--warn-50); border-left: 4px solid var(--warn); }
.callout--warn svg { color: var(--warn); }

/* FAQ */
.qa { padding: 24px 0; border-bottom: 1px solid var(--line); }
.qa:first-child { padding-top: 0; }
.qa h2 { font-size: 1.2rem; }
.qa p:last-child, .qa ul:last-child { margin-bottom: 0; }

/* booking */
.form-layout { display: grid; gap: 40px; }
@media (min-width: 960px) { .form-layout { grid-template-columns: 1.5fr 1fr; gap: 56px; } }
.side-list { list-style: none; padding: 0; margin: 0 0 32px; display: grid; gap: 18px; }
.side-list li { display: flex; gap: 14px; }
.side-list svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 3px; }
.side-list strong { display: block; }
.side-list span { color: var(--muted); }
.form-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field.full { grid-column: 1 / -1; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 11px 12px; min-height: 46px; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-top: 18px; }
.form-foot p { margin: 0; color: var(--muted); font-size: .9rem; max-width: 26em; }
.thanks { text-align: center; padding: 24px 8px; }

/* CTA band */
.cta-band { display: grid; gap: 20px; background: #2E7D5B; color: #fff; border-radius: var(--radius); padding: 32px 24px; }
.cta-band h2 { color: #fff; }
.cta-band p { margin: 0; color: #e3f1ea; }
@media (min-width: 860px) { .cta-band { grid-template-columns: 1fr auto; align-items: center; padding: 40px 44px; } }

/* footer */
.site-footer { background: #13231c; color: #c9d8d0; padding: 56px 0 28px; font-size: .95rem; }
.site-footer a { color: #e7f2ec; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 12px; }
.site-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer .muted-sm { color: #9fb3a8; }
.hours-list li { display: flex; justify-content: space-between; gap: 12px; max-width: 280px; }
.hours-list span { white-space: nowrap; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.2fr .9fr 1.3fr 1.3fr; } }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid #2a3d33; margin-top: 40px; padding-top: 20px; font-size: .88rem; color: #9fb3a8; }
