/* ============================================================
   Alhayah Pet Care Clinic — concept by Beans Digital
   Palette: warm cream / life teal / apricot
   Type: Fraunces (display serif) + Nunito Sans (body)
   ============================================================ */

@view-transition { navigation: auto; }

:root {
  --cream: #fbf6ec;
  --cream-2: #f3ead9;
  --card: #ffffff;
  --ink: #28332e;
  --muted: #68756e;
  --teal: #0e6b5c;
  --teal-dark: #0a4f45;
  --teal-soft: #dcefe9;
  --apricot: #e98f5f;
  --apricot-soft: #fbe7da;
  --line: #e4d9c6;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(40, 51, 46, 0.08);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Nunito Sans", system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.02rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; display: block; }
a { color: var(--teal); }

.wrap { width: min(1080px, 100% - 2.5rem); margin-inline: auto; }

/* ---------- concept banner ---------- */
.concept-banner {
  background: var(--teal-dark);
  color: #f2efe6;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.45rem 1rem;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(251, 246, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--ink);
  view-transition-name: brand-logo;
}
.logo .paw {
  width: 38px; height: 38px;
  background: var(--teal);
  border-radius: 50% 50% 50% 12px;
  display: grid;
  place-items: center;
  color: #fff;
  flex: none;
}
.logo .paw svg { width: 20px; height: 20px; fill: currentColor; }
.logo b {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.18rem;
  line-height: 1.1;
  display: block;
}
.logo small { display: block; font-size: 0.68rem; color: var(--muted); letter-spacing: 0.04em; }

.main-nav ul { list-style: none; display: flex; gap: 1.5rem; align-items: center; }
.main-nav a {
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--muted);
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--teal-dark); }
.main-nav a[aria-current="page"] { color: var(--teal); border-bottom-color: var(--apricot); }
.nav-cta {
  background: var(--apricot);
  color: #fff !important;
  padding: 0.55rem 1.2rem !important;
  border-radius: 999px;
  border-bottom: none !important;
  box-shadow: var(--shadow);
  transition: transform 0.2s, background 0.2s;
}
.nav-cta:hover { background: #d97b4a; transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  padding: 0.5rem 0.75rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: 1rem 1.25rem 1.5rem;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  text-align: center;
  padding: clamp(3.5rem, 9vw, 6.5rem) 0 clamp(3rem, 8vw, 5.5rem);
  background:
    radial-gradient(600px 300px at 12% 0%, var(--teal-soft), transparent 70%),
    radial-gradient(600px 320px at 88% 10%, var(--apricot-soft), transparent 70%),
    var(--cream);
  overflow: hidden;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-dark);
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}
.badge .star { color: var(--apricot); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.3rem, 7vw, 4.1rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 20ch;
  margin-inline: auto;
}
.hero h1 em { font-style: italic; color: var(--teal); }
.hero .lede {
  max-width: 58ch;
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: 1.08rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; margin-top: 2.2rem; }

.paw-trail { position: absolute; opacity: 0.12; color: var(--teal); }
.paw-trail svg { width: clamp(50px, 8vw, 90px); height: auto; fill: currentColor; }
.paw-trail.tl { top: 8%; left: 4%; transform: rotate(-20deg); }
.paw-trail.br { bottom: 10%; right: 5%; transform: rotate(15deg); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}
.btn-teal { background: var(--teal); color: #fff; box-shadow: var(--shadow); }
.btn-teal:hover { background: var(--teal-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--teal); color: var(--teal); }
.btn-outline:hover { background: var(--teal-soft); transform: translateY(-2px); }
.btn-apricot { background: var(--apricot); color: #fff; box-shadow: var(--shadow); }
.btn-apricot:hover { background: #d97b4a; transform: translateY(-2px); }

/* ---------- wave divider ---------- */
.wave { display: block; width: 100%; height: 50px; color: var(--cream-2); }
.wave.flip { transform: scaleY(-1); }

/* ---------- sections ---------- */
.section { padding: clamp(3rem, 8vw, 5rem) 0; }
.section.tint { background: var(--cream-2); }
.section-head { text-align: center; max-width: 64ch; margin: 0 auto 2.6rem; }
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 0.7rem;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  line-height: 1.15;
}
.section-head p { color: var(--muted); margin-top: 0.8rem; }

/* cards */
.grid {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.card:hover { transform: translateY(-5px); }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; }
.icon-teal { background: var(--teal-soft); color: var(--teal); }
.icon-apricot { background: var(--apricot-soft); color: var(--apricot); }
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; }
.card ul { margin: 0.8rem 0 0 1.15rem; color: var(--muted); font-size: 0.94rem; }
.card ul li { margin-bottom: 0.3rem; }

/* testimonials */
.reviews {
  display: grid;
  gap: 1.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}
.review {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
  position: relative;
}
.review::before {
  content: "“";
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--apricot);
  display: block;
  margin-bottom: 0.2rem;
}
.review p { font-size: 0.97rem; }
.review footer { margin-top: 1rem; font-size: 0.8rem; font-weight: 800; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; }
.review .stars { color: var(--apricot); font-size: 0.9rem; letter-spacing: 0.15em; margin-top: 0.4rem; }

/* steps (numbered) */
.steps { counter-reset: step; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--apricot);
  display: block;
  margin-bottom: 0.5rem;
}
.step h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; margin-bottom: 0.4rem; }
.step p { color: var(--muted); font-size: 0.94rem; }

/* hours */
.hours-table { width: 100%; border-collapse: collapse; font-size: 0.97rem; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.hours-table th, .hours-table td { text-align: left; padding: 0.8rem 1.1rem; border-bottom: 1px solid var(--cream-2); }
.hours-table th { color: var(--muted); font-weight: 700; width: 45%; }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: none; }
.hours-table tr.today th, .hours-table tr.today td { color: var(--teal); font-weight: 800; background: var(--teal-soft); }

/* split */
.split {
  display: grid;
  gap: 2.4rem;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  align-items: start;
}

/* CTA band */
.cta-band {
  background: var(--teal);
  color: #f4f1e8;
  text-align: center;
  padding: clamp(2.8rem, 7vw, 4.5rem) 0;
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  max-width: 24ch;
  margin-inline: auto;
}
.cta-band p { margin: 0.9rem auto 0; max-width: 54ch; color: #d8e8e2; }
.cta-band .btn { margin-top: 1.6rem; }

/* map */
.map-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-frame iframe { width: 100%; height: 360px; border: 0; }

/* contact list */
.contact-list { list-style: none; display: grid; gap: 1rem; }
.contact-list li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.4rem;
  font-size: 0.97rem;
  box-shadow: var(--shadow);
}
.contact-list b { display: block; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--apricot); margin-bottom: 0.25rem; }
.contact-list a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); font-weight: 700; }
.contact-list a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* footer */
.site-footer {
  background: var(--teal-dark);
  color: #cfe0da;
  padding: 2.8rem 0 2rem;
  margin-top: 3rem;
  font-size: 0.92rem;
}
.site-footer .cols {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  margin-bottom: 1.8rem;
}
.site-footer h4 { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 1.05rem; margin-bottom: 0.7rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.4rem; }
.site-footer a { color: #cfe0da; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .legal {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.2rem;
  font-size: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  justify-content: space-between;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(14, 107, 92, 0.35);
  transition: transform 0.2s;
}
.wa-float:hover { transform: translateY(-3px); }
.wa-float svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 480px) { .wa-float span { display: none; } .wa-float { padding: 0.8rem; } }

/* reveal (JS only; content visible without JS) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .card, .btn, .wa-float { transition: none; }
}

/* inner page hero */
.page-hero {
  text-align: center;
  padding: clamp(2.8rem, 7vw, 4.2rem) 0 clamp(2rem, 5vw, 3rem);
  background:
    radial-gradient(500px 240px at 15% 0%, var(--teal-soft), transparent 70%),
    radial-gradient(500px 260px at 85% 10%, var(--apricot-soft), transparent 70%),
    var(--cream);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.2rem);
  line-height: 1.1;
  max-width: 22ch;
  margin-inline: auto;
}
.page-hero h1 em { font-style: italic; color: var(--teal); }
.page-hero p { color: var(--muted); margin: 1rem auto 0; max-width: 60ch; }

.note {
  font-size: 0.82rem;
  color: var(--muted);
  border: 1.5px dashed var(--line);
  border-radius: 14px;
  padding: 0.85rem 1.1rem;
  margin-top: 1.5rem;
  background: var(--card);
}
