/* Britt's Dog Grooming — site styles (South Padre Island theme) */

/* Inter (OFL, fonts/OFL-Inter.txt), latin subset, weights 400-700. The "Inter Fallback" faces are local
   fonts resized to Inter's metrics so the swap doesn't move text. */
@font-face {
  font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/inter-latin.woff2?v=9b6174d074") format("woff2");
}
@font-face {
  font-family: "Pacifico"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/assets/fonts/pacifico-latin.woff2?v=b8c1ea1acf") format("woff2");
}
@font-face {
  font-family: "Inter Fallback"; font-weight: 400 500;
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 106.98%; ascent-override: 90.56%; descent-override: 22.55%; line-gap-override: 0%;
}
@font-face {
  font-family: "Inter Fallback"; font-weight: 600 800;
  src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold");
  size-adjust: 101.63%; ascent-override: 95.32%; descent-override: 23.73%; line-gap-override: 0%;
}

:root {
  --teal: #0b6e8a;
  --teal-2: #0e98a6;
  --teal-ink: #084c61;
  --mint: #bfeef0;
  --mint-2: #e3f8f8;
  --coral: #ff8a65;
  --coral-2: #ff7a50;
  --coral-ink: #9a3412;
  --cream: #fdf6e9;
  --cream-2: #f6e7c8;
  --bg: #ffffff;
  --ink: #0d3140;
  --ink-2: #46626e;
  --line: #e8e0cf;
  --ok: #17784a;
  --err: #b42318;
  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 48, 46, .05), 0 10px 30px rgba(22, 48, 46, .07);
  --wrap: 1120px;
  --sans: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--sans); font-size: 1.0625rem; line-height: 1.6; color: var(--ink);
  background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-2); }
:focus-visible { outline: 3px solid var(--coral-2); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.narrow { max-width: 780px; }
.muted { color: var(--ink-2); }
.icon { width: 1.15em; height: 1.15em; flex: none; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--teal); color: #fff; padding: .7rem 1rem; z-index: 100; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem 1.25rem;
  border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.6rem; font-size: 1.08rem; }
.btn-accent { background: var(--coral); color: #3a1304; box-shadow: 0 6px 16px rgba(255, 122, 80, .35); }
.btn-accent:hover { background: var(--coral-2); color: #3a1304; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--mint-2); color: var(--teal-ink); }
.btn-ghost { border-color: rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-light { background: #fff; color: var(--teal); border-color: var(--line); }
.btn[disabled] { opacity: .65; cursor: progress; transform: none; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; color: var(--ink); }
.brand-mark svg { width: 44px; height: 44px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 800; font-size: 1.35rem; letter-spacing: -.02em; color: var(--teal); }
.brand-sub { font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--mint); }
.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 600; padding: .3rem 0; border-bottom: 2px solid transparent; }
.nav a:not(.btn):hover, .nav a:not(.btn)[aria-current="page"] { color: var(--teal); border-bottom-color: var(--coral); }
.nav-phone { display: inline-flex; align-items: center; gap: .4rem; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; background: var(--ink); margin: 4px auto; border-radius: 2px; }

/* Hero */
.hero { background: radial-gradient(900px 480px at 85% 10%, var(--mint) 0%, rgba(191, 233, 223, 0) 65%), var(--cream); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-2); margin-bottom: .8rem; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.25rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; font-size: .98rem; }
.hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.hero-points .icon { color: var(--teal-2); }
.hero-art img { width: 100%; filter: drop-shadow(0 18px 30px rgba(15, 95, 92, .18)); }

/* Sections */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; background: #fff; }
.section-tint { background: var(--cream); }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head p:last-child { color: var(--ink-2); margin-bottom: 0; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step-n { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 800; font-size: 1.15rem; margin-bottom: 1rem; }
.step p, .card p { color: var(--ink-2); margin-bottom: 0; }

.cards { display: grid; gap: 1.4rem; }
.cards-4 { grid-template-columns: repeat(4, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card-icon { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--mint-2); color: var(--teal); margin-bottom: 1rem; }
.card-icon .icon { width: 28px; height: 28px; }
.card-service { background: var(--cream); box-shadow: none; display: flex; flex-direction: column; }
.card-service p { flex: 1; margin-bottom: 1rem; }
.more { font-weight: 700; text-decoration: none; }
.more::after { content: " \2192"; }
.more:hover { text-decoration: underline; }

/* FAQ */
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem; }
.faq summary { cursor: pointer; font-weight: 700; padding: 1.05rem 3rem 1.05rem 1.2rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.2rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--teal-2); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 1.2rem 1.1rem; margin: 0; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--teal); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; color: #d6efe9; max-width: 34em; }
.cta-actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* Inner pages */
.page-hero { background: radial-gradient(700px 320px at 90% 0%, var(--mint) 0%, rgba(191, 233, 223, 0) 70%), var(--cream); padding: clamp(2.2rem, 5vw, 3.8rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-404 { padding-block: clamp(4rem, 12vw, 8rem); border-bottom: 0; }
.crumbs { font-size: .9rem; color: var(--ink-2); margin-bottom: .8rem; }

.service-list { display: grid; gap: 1.4rem; }
.service { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 1.5rem 2.5rem; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2.2rem); }
.service h2 { font-size: 1.55rem; }
.service p { color: var(--ink-2); margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-weight: 500; }
.ticks li { display: flex; align-items: flex-start; gap: .5rem; }
.ticks .icon { color: var(--teal-2); margin-top: .22em; }
.chips { list-style: none; margin: 0 0 1.5rem; padding: 0; display: flex; flex-wrap: wrap; gap: .7rem; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1.1rem; font-weight: 600; }
.note { color: var(--ink-2); max-width: 46em; margin: 0; }

/* Booking form */
.contact-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 2rem; align-items: start; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { display: grid; gap: .35rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .95rem; padding: 0; }
.field legend { margin-bottom: .35rem; }
.opt { font-weight: 400; color: var(--ink-2); }
input, select, textarea {
  font: inherit; color: var(--ink); width: 100%; padding: .72rem .9rem; border: 1.5px solid #cfd8d5; border-radius: var(--radius-sm); background: #fff;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--mint); border-color: var(--teal-2); }
.choices { display: flex; flex-wrap: wrap; gap: .6rem; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span { display: inline-flex; flex-direction: column; padding: .55rem 1rem; border: 1.5px solid #cfd8d5; border-radius: var(--radius-sm); font-weight: 600; background: #fff; }
.choice small { font-weight: 400; color: var(--ink-2); font-size: .8rem; }
.choice input:checked + span { border-color: var(--teal); background: var(--mint-2); color: var(--teal-ink); }
.choice input:focus-visible + span { outline: 3px solid var(--coral-2); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); background: #e8f6ee; padding: .8rem 1rem; border-radius: var(--radius-sm); }
.form-status.err { color: var(--err); background: #fdecea; padding: .8rem 1rem; border-radius: var(--radius-sm); }
.form-note { font-size: .88rem; color: var(--ink-2); margin: 0; }
.aside { display: grid; gap: 1rem; }
.info { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.info h3 { font-size: 1.05rem; }
.info p, .info ul { margin: 0; color: var(--ink-2); }
.info ul { padding-left: 1.1rem; display: grid; gap: .35rem; }
.big-link { display: inline-flex; align-items: center; gap: .5rem; font-size: 1.3rem; font-weight: 800; text-decoration: none; }

/* Footer */
.site-footer { background: #073b4c; color: #d6efe9; padding: 3.2rem 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; }
.footer-brand p { margin-top: 1rem; max-width: 26em; }
.footer-h { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .9rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { color: #d6efe9; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .muted { color: #a9cfc8; }
.footer-base { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 2.5rem; padding: 1.2rem 0; font-size: .9rem; }
.footer-base p { margin: 0; }

.mobile-cta { display: none; }

@media (max-width: 980px) {
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .service { grid-template-columns: 1fr 1fr; }
  .service .btn { grid-column: 1 / -1; justify-self: start; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem; box-shadow: 0 20px 30px rgba(22, 48, 46, .12);
  }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .nav-cta { margin-top: 1rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 460px; margin-inline: auto; width: 100%; }
  .steps, .cards-3 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  body { padding-bottom: 76px; }
  .mobile-cta {
    display: flex; gap: .6rem; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .7rem 1rem calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
  }
  .mobile-cta .btn { flex: 1; }
}
@media (max-width: 560px) {
  .cards-4, .service, .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

/* ---- South Padre Island theme ---- */
:root { --sun: #ffc857; --script: "Pacifico", "Brush Script MT", cursive; }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; color: var(--teal-2); padding-right: .08em; }
.brand-name { font-family: var(--script); font-weight: 400; letter-spacing: 0; font-size: 1.55rem; line-height: 1.25; }
.brand-sub { font-size: .68rem; }

.wave { display: block; width: 100%; height: clamp(34px, 6vw, 80px); position: absolute; left: 0; pointer-events: none; }
.wave-bottom { bottom: -1px; }
.wave-top { top: -1px; }
.wave path { fill: #fff; }

.hero { position: relative; background: #8fc4e8; padding: clamp(2.5rem, 7vw, 6rem) 0 clamp(5rem, 13vw, 11rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 78%; }
.hero-inner { position: relative; }
.hero-card {
  max-width: 640px; background: rgba(255, 255, 255, .86); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2);
  border: 1px solid rgba(255, 255, 255, .7); border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.6rem); box-shadow: 0 24px 60px rgba(7, 59, 76, .25);
}
.hero-card h1 { font-size: clamp(2.1rem, 4.8vw, 3.4rem); }
.hero-card h1 .script { display: block; font-size: 1.12em; line-height: 1.3; }
.hero-card .lead { color: var(--ink); }
.hero-card .eyebrow { color: var(--teal); }

.section { position: relative; }
.section-sea { background: linear-gradient(180deg, #d9f4f5 0%, #bfeef0 100%); padding-block: clamp(5rem, 12vw, 9rem); }
.section-sea .card { border-color: rgba(11, 110, 138, .12); }
.section-sand { background: var(--cream); }
.why-head { display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center; margin-bottom: 2.2rem; }
.why-head .section-head { margin-bottom: 0; }
.why-van { width: 100%; max-width: 380px; justify-self: end; filter: drop-shadow(0 14px 22px rgba(7, 59, 76, .18)); }
.step { background: var(--cream); }
.step-n { background: var(--sun); color: #4a3300; }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tile { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--mint); aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.tile-big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .tile img { transition: none; } .tile:hover img { transform: none; } }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 1rem .8rem; color: #fff; font-weight: 700; font-size: .95rem;
  background: linear-gradient(180deg, rgba(7, 59, 76, 0) 0%, rgba(7, 59, 76, .78) 100%);
}
.tile-big figcaption { font-size: 1.15rem; padding: 3rem 1.3rem 1.1rem; }
.photo-note { margin: 1rem 0 0; font-size: .88rem; color: var(--ink-2); }

.cta-band { background: linear-gradient(120deg, #0b6e8a 0%, #0e98a6 60%, #19b5b0 100%); }
.cta-band .script { color: var(--sun); }
.site-footer { position: relative; padding-top: clamp(4.5rem, 9vw, 7rem); }
.site-footer .wave path { fill: #0e98a6; }
.page-hero { background: linear-gradient(180deg, #d9f4f5 0%, var(--cream) 100%); }

.credits { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
.credits li { display: grid; grid-template-columns: 160px 1fr; gap: 1.1rem; align-items: center; background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .8rem; }
.credits img { border-radius: 8px; width: 160px; height: 120px; object-fit: cover; }
.credits div { color: var(--ink-2); overflow-wrap: anywhere; }
.credits strong { color: var(--ink); }

@media (max-width: 820px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .tile-big { aspect-ratio: 4 / 3; grid-row: auto; }
  .why-head { grid-template-columns: 1fr; }
  .why-van { justify-self: center; max-width: 300px; }
  .hero-bg { object-position: 50% 100%; }
}
@media (max-width: 560px) {
  .credits li { grid-template-columns: 1fr; }
  .credits img { width: 100%; height: auto; aspect-ratio: 4 / 3; }
}
