/* =========================================================================
   Clínica Veterinaria Dr. Munini - Stylesheet
   Friendly veterinary design language. Soft sage greens + warm terracotta.
   Typography: Fredoka (display) + Nunito (body)
   ========================================================================= */

:root {
  /* Brand greens */
  --green:        #4A7C4A;   /* primary brand green - large UI */
  --green-700:    #356B35;   /* buttons, links, headings (AA on white ~5.8:1) */
  --green-800:    #2B562B;
  --green-900:    #1F3D1F;   /* deepest heading text */

  /* Surfaces */
  --sage-50:      #F2F6EE;   /* page background */
  --sage-100:     #E4EDDB;   /* tinted surfaces */
  --cream:        #FDFCF8;   /* card surface */
  --cream-alt:    #F8FBF4;   /* alt section bg */

  /* Warm accent (terracotta) */
  --terracotta:    #B14E22;  /* CTA bg, white text passes AA */
  --terracotta-700:#8F3D18;  /* hover + accent text on light (~6.9:1 on sage-50) */
  --terracotta-800:#74320F;

  /* Text */
  --text:        #2A3326;    /* body text */
  --text-soft:   #5A6552;    /* muted */

  /* Lines */
  --border:      #DCE5D2;
  --border-soft: #E8EFE0;

  /* Status */
  --error:   #9B2C2C;
  --error-bg:#FBE9E9;

  /* Typography */
  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  /* Radius (one soft scale) */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Shadows (tinted to background hue) */
  --shadow-sm: 0 2px 8px rgba(42, 51, 38, 0.07);
  --shadow-md: 0 10px 28px rgba(42, 51, 38, 0.10);
  --shadow-lg: 0 18px 44px rgba(42, 51, 38, 0.14);

  /* Layout */
  --container: 1180px;
  --container-narrow: 760px;
  --header-h: 76px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.95rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--text);
  background: var(--sage-50);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--green-900);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.3rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 1.25rem + 1.5vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.4rem); }
h1 em, h2 em { font-style: italic; color: var(--terracotta-700); }

p { margin: 0 0 1rem; }

a {
  color: var(--green-700);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1.5px;
}
a:hover { color: var(--terracotta-700); text-decoration-color: var(--terracotta); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1rem; padding-left: 1.2rem; }
address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--terracotta-700);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ============ Skip link ============ */
.skip-link {
  position: absolute;
  left: 0;
  top: -200px;
  z-index: 3000;
  background: var(--green-700);
  color: #fff;
  padding: 0.8rem 1.2rem;
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ============ Layout helpers ============ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2.2rem);
}
.container-narrow { max-width: var(--container-narrow); }

.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;
}

.section { padding: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.section-alt { background: var(--cream-alt); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.875rem, 0.83rem + 0.2vw, 0.95rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-700);
  margin: 0 0 0.6rem;
}

.section-head {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  text-align: center;
}
.section-head .eyebrow { margin-bottom: 0.5rem; }
.section-lead { color: var(--text-soft); font-size: 1.0625rem; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(0.95rem, 0.9rem + 0.2vw, 1.05rem);
  padding: 0.9rem 1.7rem;
  border-radius: var(--r-pill);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.1;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary {
  background: var(--terracotta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(177, 78, 34, 0.18);
}
.btn-primary:hover { background: var(--terracotta-700); color: #fff; transform: translateY(-2px); }

.btn-green {
  background: var(--green-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-green:hover { background: var(--green-800); color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border-color: var(--green-700);
}
.btn-outline:hover { background: var(--green-700); color: #fff; }

.btn-ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.7);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.15); color: #fff; }

.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.95rem; }
.btn-block { width: 100%; }

/* ============ Header / nav ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}
.site-header.scrolled {
  background: rgba(253, 252, 248, 0.97);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding-block: 0.6rem;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand-logo { width: 230px; height: auto; }

.nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  padding: 0;
}
.nav-list a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.4rem 0.2rem;
  position: relative;
}
.nav-list a:hover { color: var(--green-700); }
.nav-list a[aria-current="page"] { color: var(--green-700); }
.nav-list a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0.2rem; right: 0.2rem; bottom: -2px;
  height: 3px;
  background: var(--terracotta);
  border-radius: 3px;
}
.nav-cta { flex-shrink: 0; }
.nav-cta .btn { text-decoration: none; color: #fff; }
.nav-cta-mobile { display: none; margin-top: 1rem; }
.nav-cta-mobile .btn { width: 100%; }

/* Hamburger - stays above overlay */
.nav-toggle {
  display: none;
  position: relative;
  width: 48px; height: 48px;
  background: var(--green-700);
  border: none;
  border-radius: var(--r-sm);
  cursor: pointer;
  z-index: 1100;
  padding: 0;
}
.nav-toggle-bar {
  position: absolute;
  left: 12px; right: 12px;
  height: 3px;
  background: #fff;
  border-radius: 3px;
  transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
}
.nav-toggle-bar:nth-child(1) { top: 15px; }
.nav-toggle-bar:nth-child(2) { top: 22px; }
.nav-toggle-bar:nth-child(3) { top: 29px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { top: 22px; transform: rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  background:
    radial-gradient(1100px 480px at 88% -12%, rgba(177, 78, 34, 0.10), transparent 60%),
    radial-gradient(900px 520px at -5% 110%, rgba(74, 124, 74, 0.16), transparent 55%),
    var(--sage-50);
  padding: clamp(2rem, 1rem + 4vw, 4rem) 0 clamp(2.5rem, 1.5rem + 3vw, 4rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.hero-content h1 { margin-bottom: 1rem; }
.hero-sub {
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  color: var(--text-soft);
  max-width: 540px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 1.25rem;
}
.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.4rem;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.hero-trust li { display: flex; align-items: center; gap: 0.45rem; }
.hero-trust .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--green-700);
  flex-shrink: 0;
}
.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 960 / 760;
  object-fit: cover;
}
.hero-badge-card {
  position: absolute;
  left: -14px;
  bottom: 22px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  max-width: 200px;
}
.hero-badge-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--green-700);
  line-height: 1;
}
.hero-badge-lbl {
  font-size: 0.85rem;
  color: var(--text-soft);
  line-height: 1.25;
}

/* ============ Trust strip ============ */
.trust-strip {
  background: var(--green-700);
  color: #fff;
  padding: clamp(1.5rem, 1rem + 1.5vw, 2.2rem) 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; gap: 0.2rem; }
.trust-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem);
  color: #fff;
  line-height: 1.1;
}
.trust-num .star { color: #F5C26B; font-size: 0.85em; }
.trust-label {
  font-size: clamp(0.875rem, 0.83rem + 0.2vw, 1rem);
  color: #E1ECDA;
}

/* ============ Services bento ============ */
.serv-bento {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.serv-feature {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.serv-feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.serv-feature-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.serv-feature-body { padding: 1.5rem; }
.serv-feature-body h3 { margin-bottom: 0.5rem; }
.serv-feature-body p { color: var(--text-soft); margin-bottom: 1rem; }

.serv-card {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.serv-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--green); }
.serv-card h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.serv-card p { margin: 0; color: var(--text-soft); font-size: 0.975rem; }
.serv-card-cta { background: var(--sage-100); border-color: var(--border); }
.serv-card-cta .serv-link { margin-top: 0.75rem; }

.serv-ico-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  background: var(--sage-100);
  border-radius: var(--r-md);
  margin-bottom: 0.75rem;
}
.serv-feature-body .serv-ico-wrap { background: var(--sage-100); }
.serv-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--green-700);
  text-decoration: none;
  font-size: 0.975rem;
}
.serv-link:hover { color: var(--terracotta-700); text-decoration: underline; }

/* ============ About split ============ */
.about-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
}
.about-media img {
  width: 100%;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  aspect-ratio: 900 / 720;
  object-fit: cover;
}
.about-content h2 { margin-bottom: 1rem; }
.ticks {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.75rem;
}
.ticks li {
  position: relative;
  padding-left: 2.2rem;
  font-weight: 600;
  color: var(--text);
}
.tick-ico {
  position: absolute;
  left: 0; top: 0.1rem;
  width: 24px; height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green-700);
  color: #fff;
  border-radius: 50%;
}
.tick-ico svg { width: 16px; height: 16px; }

/* ============ Why list ============ */
.why-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  counter-reset: why;
}
.why-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 1rem;
  align-items: start;
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}
.why-item:hover { transform: translateY(-3px); }
.why-ico {
  width: 52px; height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-100);
  color: var(--green-700);
  border-radius: var(--r-md);
}
.why-ico svg { width: 28px; height: 28px; }
.why-item h3 { margin-bottom: 0.35rem; }
.why-item p { margin: 0; color: var(--text-soft); }

/* ============ Testimonials ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
}
.testi-card {
  margin: 0;
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 1.5rem;
  border: 1px solid var(--border-soft);
  border-top: 4px solid var(--terracotta);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.stars { color: #E8A13C; letter-spacing: 2px; font-size: 1rem; }
.testi-card blockquote {
  margin: 0;
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.55;
}
.testi-card figcaption {
  display: flex;
  flex-direction: column;
  font-size: 0.925rem;
  color: var(--text-soft);
}
.testi-card figcaption strong { color: var(--green-700); font-family: var(--font-head); font-size: 1rem; }
.testi-card figcaption span { color: var(--text-soft); }

/* ============ Location CTA ============ */
.loc-cta {
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-900) 100%);
  color: #fff;
  padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0;
}
.loc-cta h2 { color: #fff; }
.loc-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.loc-info p { color: #E1ECDA; font-size: 1.0625rem; }
.loc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.hours-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-lg);
  padding: 1.5rem;
}
.hours-card h3 { color: #fff; margin-bottom: 0.85rem; }
.hours-list { margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.hours-list dt {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: #E1ECDA;
}
.hours-list dd { margin: 0; font-weight: 700; }
.hours-list > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  padding-bottom: 0.5rem;
}
.hours-list > div:last-of-type { border-bottom: none; }
.hours-note { margin: 0.75rem 0 0; font-size: 0.95rem; color: #E1ECDA; }
.hours-note a { color: #fff; font-weight: 700; }
.hours-addr { color: #fff; font-weight: 700; margin-top: 0.5rem; }

/* ============ FAQ ============ */
.faq-list { display: grid; gap: 0.75rem; }
.faq-item {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-q {
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.0625rem;
  color: var(--green-900);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-ico {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--terracotta-700);
  line-height: 1;
  flex-shrink: 0;
}
.faq-item[open] .faq-ico { transform: rotate(45deg); }
.faq-a { padding: 0 1.4rem 1.2rem; color: var(--text-soft); }
.faq-a p { margin: 0; }

/* ============ Page hero (sub-pages) ============ */
.page-hero {
  background:
    radial-gradient(900px 360px at 8% -20%, rgba(74, 124, 74, 0.16), transparent 60%),
    var(--sage-50);
  padding: 2.5rem 0 2rem;
}
.breadcrumbs { margin-bottom: 0.75rem; }
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0; margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}
.breadcrumbs li::after { content: "›"; margin-left: 0.5rem; color: var(--text-soft); }
.breadcrumbs li:last-child::after { content: ""; }
.breadcrumbs a { color: var(--green-700); text-decoration: none; font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.page-lead {
  font-size: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
  color: var(--text-soft);
  max-width: 720px;
  margin-top: 0.5rem;
}

/* ============ Services rows ============ */
.service-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-soft);
}
.service-row:first-of-type { padding-top: 0; }
.service-row:last-of-type { border-bottom: none; }
.service-ico {
  background: var(--sage-100);
  border-radius: var(--r-md);
  padding: 0.85rem;
  width: 110px; height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-body h3 { margin-bottom: 0.5rem; }
.service-body p { color: var(--text-soft); margin-bottom: 0.85rem; }
.service-tags {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0; margin: 0;
}
.service-tags li {
  background: rgba(74, 124, 74, 0.14);
  color: var(--green-800);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.875rem;
  padding: 0.3rem 0.85rem;
  border-radius: var(--r-pill);
}

/* ============ Steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  padding: 0;
}
.step {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--border-soft);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--terracotta);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 0.85rem;
}

/* ============ Team ============ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
}
.team-card {
  background: var(--cream);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  text-align: center;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}
.team-photo {
  width: 100%;
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 1rem;
  aspect-ratio: 4 / 3;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--terracotta-700);
  margin: 0 0 0.5rem;
}

/* ============ Values list ============ */
.values-list {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1rem;
}
.values-list li {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 1.2rem 1.5rem;
  border-left: 5px solid var(--green-700);
  font-size: 1.05rem;
}
.values-list strong { color: var(--green-900); font-family: var(--font-head); }

/* ============ Contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}
.contact-intro { color: var(--text-soft); margin-bottom: 1.5rem; }
.contact-methods {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}
.contact-methods li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.9rem;
  align-items: start;
}
.cm-ico {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--sage-100);
  color: var(--green-700);
  border-radius: var(--r-md);
  flex-shrink: 0;
}
.cm-ico svg { width: 22px; height: 22px; }
.contact-methods strong {
  font-family: var(--font-head);
  color: var(--green-900);
}

.contact-form-wrap {
  background: var(--cream);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}
.contact-form { display: grid; gap: 1.1rem; }
.form-required { font-size: 0.9rem; color: var(--text-soft); margin: 0; }
.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field label {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--green-900);
  font-size: 0.975rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.8rem 0.95rem;
  border: 2px solid var(--border);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: #8A9582; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--green-700);
  box-shadow: 0 0 0 3px rgba(74, 124, 74, 0.22);
}
.form-field input[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
}
.field-error {
  color: var(--error);
  font-size: 0.875rem;
  font-weight: 600;
  min-height: 1.2em;
}
.form-success {
  background: rgba(53, 107, 53, 0.12);
  border: 1px solid var(--green-700);
  color: var(--green-900);
  padding: 1rem;
  border-radius: var(--r-md);
  font-weight: 600;
  margin-top: 0.75rem;
}
.form-note {
  font-size: 0.875rem;
  color: var(--text-soft);
  margin: 0.5rem 0 0;
  text-align: center;
}

/* ============ Map ============ */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  height: 400px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ============ Footer ============ */
.site-footer {
  background: var(--green-900);
  color: #D6E5D6;
  padding-top: 2.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.95;
  width: 210px;
  margin-bottom: 0.85rem;
}
.footer-brand p { color: #C9DCC9; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 0.9rem; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  background: rgba(255, 255, 255, 0.10);
  color: #fff;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: background 0.2s ease;
}
.footer-social a:hover { background: rgba(255, 255, 255, 0.22); }
.footer-social svg { width: 20px; height: 20px; }
.footer-title { color: #fff; font-size: 1.05rem; margin-bottom: 0.85rem; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.footer-col a { color: #D6E5D6; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-contact .fc-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 0.6rem;
  align-items: start;
  margin-bottom: 0.6rem;
}
.fc-ico { color: #A8C9A8; display: inline-flex; }
.fc-ico svg { width: 20px; height: 20px; }
.footer-col p { color: #C9DCC9; }
.footer-map {
  display: inline-block;
  margin-top: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}
.footer-map:hover { text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  padding-block: 1.1rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.875rem;
  color: #B6CCB6;
  text-align: center;
}

/* ============ WhatsApp float ============ */
.whatsapp-float {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 1200;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #075E54;
  color: #fff;
  border-radius: var(--r-pill);
  padding: 0.6rem 1.1rem 0.6rem 0.65rem;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(7, 94, 84, 0.42);
  transition: transform 0.2s ease, background 0.2s ease;
}
.whatsapp-float:hover { transform: translateY(-2px) scale(1.03); background: #054A42; color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; flex-shrink: 0; }
.wf-label { color: #fff; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ============ Responsive ============ */

/* Tablet <= 1024px */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 480px; }
  .hero-badge-card { left: 0; }
  .serv-bento { grid-template-columns: 1fr 1fr; }
  .serv-feature { grid-column: 1 / -1; grid-row: auto; flex-direction: row; }
  .serv-feature-media { flex: 0 0 42%; }
  .serv-feature-media img { height: 100%; min-height: 220px; }
  .about-split { grid-template-columns: 1fr; }
  .about-media { max-width: 480px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .nav-list { gap: 1.1rem; }
}

/* Mobile <= 768px */
@media (max-width: 768px) {
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(82vw, 340px);
    background: var(--cream);
    border-left: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease, visibility 0.3s ease;
    visibility: hidden;
    padding: calc(var(--header-h) + 1rem) 1.5rem 1.5rem;
    z-index: 1050;
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateX(0); visibility: visible; }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    width: 100%;
  }
  .nav-list li { width: 100%; }
  .nav-list a {
    display: block;
    font-size: 1.15rem;
    padding: 0.7rem 0;
    width: 100%;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-cta-mobile { display: block; }

  .trust-grid { grid-template-columns: 1fr; gap: 1rem; }
  .serv-bento { grid-template-columns: 1fr; }
  .serv-feature { flex-direction: column; }
  .serv-feature-media { flex: none; }
  .why-list { grid-template-columns: 1fr; }
  .loc-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-ico { width: 90px; height: 90px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-logo { width: 190px; }
}

/* Small mobile <= 480px */
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .loc-row { flex-direction: column; align-items: stretch; }
  .loc-row .btn { width: 100%; }
  .hours-list > div { flex-direction: column; gap: 0.1rem; }
  .contact-form-wrap { padding: 1.25rem; }
  .wf-label { display: none; }
  .whatsapp-float { padding: 0.6rem; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
