/* Hanna Pet Wellness Center: site styles. Brand rules live in CLAUDE.md. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #132A6E;
  --teal-deep: #0E7C78;
  --teal: #12A8A3;
  --apricot: #F2A65A;
  --apricot-dark: #B4610F;
  --cream: #FBF7F0;
  --white: #fff;
  --text-soft: #46527a;
  --line: rgba(19, 42, 110, .1);

  --radius-card: 34px;
  --radius-sm: 20px;
  --shadow: 0 10px 30px rgba(19, 42, 110, .06), 0 1px 3px rgba(19, 42, 110, .05);
  --btn-grad: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  --glow:
    radial-gradient(ellipse 80% 60% at 0% 0%, rgba(18, 168, 163, .16), transparent 70%),
    radial-gradient(ellipse 55% 45% at 100% 100%, rgba(242, 166, 90, .14), transparent 70%);

  --font-head: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --gutter: 20px;
  --bar-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font: 400 1rem/1.6 var(--font-body);
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--apricot); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

h1, h2, h3 { font-family: var(--font-head); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 em, h2 em, h3 em { font-style: italic; color: var(--teal-deep); }
h1 { font-size: clamp(2.1rem, 8.5vw, 3.6rem); }
h2 { font-size: clamp(1.75rem, 6vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.i { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 56px 0; }
.section--glow { background: var(--glow); }
.section-head { max-width: 640px; margin-bottom: 28px; }
.section-head p { color: var(--text-soft); }
.eyebrow {
  display: block; margin-bottom: 10px;
  font: 700 .75rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal-deep);
}
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 14px 28px;
  border: 0; border-radius: 999px; cursor: pointer;
  font: 700 .95rem/1 var(--font-body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn--primary { background: var(--btn-grad); color: var(--white); box-shadow: 0 8px 20px rgba(14, 124, 120, .28); }
.btn--primary:hover { color: var(--white); transform: translateY(-1px); box-shadow: 0 10px 24px rgba(14, 124, 120, .34); }
.btn--ghost { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--line), var(--shadow); }
.btn--ghost:hover { color: var(--teal-deep); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.text-link .i { width: 1em; height: 1em; }

/* Header */
.site-header { position: relative; z-index: 20; background: rgba(251, 247, 240, .96); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand-logo img { width: 210px; height: auto; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
  margin-right: -10px; border: 0; background: none; color: var(--navy); cursor: pointer; border-radius: 12px;
}
.nav-toggle .i { width: 26px; height: 26px; }
.nav-toggle .i-close, .nav-open .nav-toggle .i-menu { display: none; }
.nav-open .nav-toggle .i-close { display: block; }
.site-nav { display: none; }
.nav-open .site-nav {
  display: block; position: absolute; top: 100%; left: 0; right: 0;
  background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 16px 30px rgba(19, 42, 110, .08);
}
.site-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 16px; }
.site-nav a {
  display: block; padding: 14px 4px; border-bottom: 1px solid var(--line);
  color: var(--navy); font-weight: 700; text-decoration: none;
}
.site-nav a[aria-current="page"] { color: var(--teal-deep); }
.header-cta { display: none; }

@media (min-width: 900px) {
  .brand-logo img { width: 250px; }
  .nav-toggle { display: none; }
  .site-nav, .nav-open .site-nav { display: block; position: static; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; gap: 28px; padding: 0; }
  .site-nav a { padding: 6px 0; border: 0; border-bottom: 2px solid transparent; font-size: .95rem; }
  .site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--teal); }
  .header-cta { display: inline-flex; min-height: 44px; padding: 10px 20px; font-size: .8rem; }
}

/* Hero (home) */
.hero {
  position: relative; overflow: hidden; padding: 20px 0 32px; text-align: center;
  border-radius: 0 0 32px 32px;
  background:
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(242, 166, 90, .28), transparent 70%),
    radial-gradient(ellipse 70% 60% at 0% 0%, rgba(18, 168, 163, .22), transparent 70%),
    linear-gradient(180deg, #DCEFEB 0%, #E9F4F0 55%, #F5EDE2 100%);
}
.hero .eyebrow { display: none; margin-bottom: 6px; }
/* "Hanna Pet Wellness Center" is about 12.7em wide: size it to the screen so it stays on one line */
.hero h1 { font-size: min(3.25rem, calc((100vw - 48px) / 13)); white-space: nowrap; margin-bottom: .3em; }
.tagline { font-size: 1rem; line-height: 1.5; color: var(--text-soft); margin: 0 auto 8px; max-width: 34ch; }

.card {
  background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow);
  padding: 28px 24px;
}
.hero-visual { display: flex; flex-direction: column; align-items: center; }
.hero-pets { position: relative; width: 170px; margin-bottom: -26px; filter: drop-shadow(0 14px 18px rgba(19, 42, 110, .14)); }

.offer { position: relative; z-index: 1; width: 100%; max-width: 330px; padding: 18px 18px 14px; text-align: center; border: 1.5px solid rgba(242, 166, 90, .45); }
.offer-badge {
  display: inline-block; margin-bottom: 6px; padding: 3px 11px; border-radius: 999px;
  background: rgba(242, 166, 90, .16); color: var(--apricot-dark);
  font: 700 .66rem/1.4 var(--font-body); letter-spacing: .14em; text-transform: uppercase;
}
.offer-title { font: 600 1.15rem/1.25 var(--font-head); margin: 0 0 14px; }
.offer-title em { color: var(--teal-deep); }
.offer .btn { min-height: 46px; padding: 12px 16px; font-size: .82rem; }
.terms { margin: 10px 0 0; font-size: .58rem; line-height: 1.45; color: var(--text-soft); }

@media (min-width: 600px) {
  .hero { border-radius: 0 0 48px 48px; }
  .hero .eyebrow { display: block; }
  .tagline { max-width: 46ch; }
  .hero-visual { flex-direction: row; justify-content: center; align-items: center; margin-top: 12px; }
  .hero-pets { width: 300px; margin: 0 -56px 0 0; }
  .offer { width: 290px; }
}
@media (min-width: 1080px) {
  .hero { padding: 48px 0 0; text-align: left; }
  .hero .wrap { max-width: 1280px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
  .hero-text { padding-bottom: 48px; }
  .hero h1 { font-size: min(3.25rem, calc((min(100vw, 1280px) - 620px) / 13)); }
  .tagline { margin: 0; font-size: 1.15rem; max-width: 46ch; }
  /* pets sit on the bottom edge of the hero, with the offer card in front of them */
  .hero-visual { align-self: end; margin-top: 0; }
  /* On wide screens the card moves right into the spare space (up to 120px, keeping 60px+ from the
     screen edge) while the pets stay put, so a gap opens between them. Narrower screens keep the overlap. */
  .hero-visual { --nudge: clamp(0px, calc((100vw - 1400px) / 2), 120px); }
  .hero-pets { width: 340px; align-self: flex-end; margin: 0 calc(var(--nudge) - 70px) 10px 0; }
  .offer { width: 280px; margin-bottom: 48px; margin-right: calc(-1 * var(--nudge)); }
}

/* Page heads (inner pages) */
.page-head { background: var(--glow); padding: 40px 0 36px; }
.page-head p { max-width: 58ch; color: var(--text-soft); font-size: 1.05rem; }
.page-head .btn-row { margin-top: 20px; }

/* Grids and cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.icon-badge {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%;
  background: rgba(18, 168, 163, .1); color: var(--teal-deep); box-shadow: inset 0 0 0 1.5px rgba(18, 168, 163, .25);
}
.icon-badge .i { width: 24px; height: 24px; }
.icon-badge--warm { background: rgba(242, 166, 90, .14); color: var(--apricot-dark); box-shadow: inset 0 0 0 1.5px rgba(242, 166, 90, .35); }

.service { display: flex; flex-direction: column; padding: 26px 24px; }
.service h3 { margin-bottom: .4em; }
.service p { color: var(--text-soft); font-size: .95rem; }
.service .text-link { margin-top: auto; }
.service ul { margin: 0 0 1em; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.service li { padding: 4px 12px; border-radius: 999px; background: var(--cream); font-size: .8rem; font-weight: 700; color: var(--navy); }

.mini { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--radius-sm); text-decoration: none; color: var(--navy); }
.mini .icon-badge { margin: 0; width: 44px; height: 44px; }
.mini .icon-badge .i { width: 20px; height: 20px; }
.mini strong { display: block; font-size: .95rem; line-height: 1.3; }
.mini strong + span { display: block; font-size: .82rem; color: var(--text-soft); line-height: 1.4; }
.mini:hover { color: var(--teal-deep); }
.after-grid { margin-top: 24px; }

/* Why choose us */
.why-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.why-list li { display: flex; gap: 16px; align-items: flex-start; padding: 20px; }
.why-list .icon-badge { margin: 0; width: 46px; height: 46px; }
.why-list h3 { font-size: 1.1rem; margin-bottom: .25em; }
.why-list p { margin: 0; color: var(--text-soft); font-size: .95rem; }
@media (min-width: 900px) { .why-list { grid-template-columns: repeat(2, 1fr); } }

/* Find us */
.find { display: grid; gap: 20px; }
.find-photo { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow); }
.find-photo img { width: 100%; aspect-ratio: 2.03; object-fit: cover; }
@media (min-width: 900px) { .find { grid-template-columns: 1.1fr 1fr; align-items: start; } }

.info { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.info li { display: flex; gap: 14px; align-items: flex-start; }
.info .i { color: var(--teal-deep); margin-top: 3px; }
.info strong { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.phones { display: grid; gap: 2px; }
.phones a, .info a { font-weight: 700; color: var(--navy); text-decoration: none; }
.phones a:hover, .info a:hover { color: var(--teal-deep); text-decoration: underline; }
address { font-style: normal; }

/* Travel steps */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: 14px; }
.steps li { counter-increment: step; position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 22px 22px; }
.steps li::before {
  content: counter(step); flex: none; display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--btn-grad); color: var(--white); font: 600 1.2rem/1 var(--font-head);
}
.steps h3 { font-size: 1.15rem; margin: 8px 0 .25em; }
.steps p { margin: 0; color: var(--text-soft); font-size: .95rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { flex-direction: column; } }

.note {
  display: flex; gap: 14px; align-items: flex-start; margin-top: 18px; padding: 18px 20px;
  border-radius: var(--radius-sm); background: rgba(242, 166, 90, .12); border: 1.5px solid rgba(242, 166, 90, .4);
}
.note .i { color: var(--apricot-dark); margin-top: 2px; }
.note p { margin: 0; }
.fine { font-size: .82rem; color: var(--text-soft); margin-top: 14px; }

/* Contact */
.contact-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.contact-grid .card h2 { font-size: 1.5rem; }
.map {
  position: relative; display: grid; place-items: center; min-height: 340px; margin-bottom: 16px;
  border-radius: var(--radius-sm); overflow: hidden; background: var(--glow), #eef3f1;
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.big-phones { display: grid; gap: 10px; margin-bottom: 18px; }
.big-phones a {
  display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-radius: var(--radius-sm);
  background: var(--cream); color: var(--navy); text-decoration: none; font-weight: 700; font-size: 1.1rem;
}
.big-phones a span { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); font-weight: 700; }
.big-phones a:hover { background: rgba(18, 168, 163, .1); }
.big-phones .i { color: var(--teal-deep); }
.pay { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pay li { padding: 8px 16px; border-radius: 999px; background: var(--cream); font-weight: 700; font-size: .9rem; }
.sign-photo { border-radius: var(--radius-sm); margin: 4px 0 16px; }

/* Closing CTA band */
.cta-band { text-align: center; }
.cta-band .card { padding: 40px 24px; background: var(--white) var(--glow); }
.cta-band p { color: var(--text-soft); max-width: 46ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { padding: 44px 0 32px; border-top: 1px solid var(--line); font-size: .92rem; }
.site-footer .wrap { display: grid; gap: 24px; }
@media (min-width: 900px) { .site-footer .wrap { grid-template-columns: 1.3fr 1fr 1fr; } }
.wordmark { font: 600 1.6rem/1 var(--font-head); letter-spacing: -.01em; color: var(--navy); margin: 0 0 6px; text-transform: lowercase; }
.wordmark em { color: var(--teal-deep); }
.footer-desc { color: var(--text-soft); margin: 0; }
.site-footer h2 { font: 700 .75rem/1.4 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { color: var(--navy); }
.copyright { grid-column: 1 / -1; color: var(--text-soft); font-size: .8rem; margin: 8px 0 0; }

/* Sticky action bar (phones) */
.action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(19, 42, 110, .08);
}
.action-bar .btn { min-height: 48px; padding: 12px 8px; gap: 8px; font-size: .8rem; letter-spacing: .06em; white-space: nowrap; }
body { padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom)); }
@media (min-width: 900px) { .action-bar { display: none; } body { padding-bottom: 0; } }
