/* =========================================================
   Silverbrook Goat Farm — stylesheet
   Palette: forest green, terracotta, wheat gold, cream
   ========================================================= */

:root{
  --forest:        #2e4a3d;
  --forest-dark:   #1c2e26;
  --forest-light:  #3f6350;
  --terracotta:    #c1673b;
  --terracotta-dark:#a8532d;
  --wheat:         #e0a83e;
  --wheat-light:   #f4d99b;
  --cream:         #faf6ee;
  --cream-dark:    #f1e9d8;
  --ink:           #2b2621;
  --ink-soft:      #5a5347;
  --white:         #ffffff;
  --line:          #e7ddc9;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(43,38,33,0.08);
  --shadow-md: 0 12px 32px rgba(43,38,33,0.12);
  --shadow-lg: 0 24px 60px rgba(28,46,38,0.18);
}

*,*::before,*::after{ box-sizing: border-box; }
/* Guard the native `hidden` attribute against being overridden by an
   author display rule on the same element (e.g. a `.btn` class setting
   display:inline-flex) — [hidden] must always win. */
[hidden]{ display:none !important; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  color: var(--forest-dark);
  line-height:1.15;
  margin: 0 0 .5em;
  font-weight: 600;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
.container{
  width:100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
section{ position: relative; }
.section-pad{ padding: 96px 0; }
@media (max-width: 768px){ .section-pad{ padding: 64px 0; } }

/* ---------- utility ---------- */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family: var(--font-body);
  font-weight:700;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-size:.75rem;
  color: var(--terracotta);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width:26px; height:2px;
  background: var(--wheat);
  display:inline-block;
}
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.section-head p{ font-size: 1.05rem; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 15px 30px;
  border-radius: 50px;
  font-weight:700;
  font-size:.95rem;
  border: 2px solid transparent;
  cursor:pointer;
  transition: all .25s ease;
  white-space:nowrap;
}
.btn-primary{ background: var(--terracotta); color:#fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover{ background: var(--terracotta-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-outline{ background: transparent; border-color: rgba(255,255,255,.55); color:#fff; }
.btn-outline:hover{ background: rgba(255,255,255,.12); border-color:#fff; transform: translateY(-2px); }
.btn-forest{ background: var(--forest); color:#fff; }
.btn-forest:hover{ background: var(--forest-dark); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost{ background: transparent; border-color: var(--forest); color: var(--forest); }
.btn-ghost:hover{ background: var(--forest); color:#fff; }
.btn-sm{ padding: 10px 20px; font-size:.85rem; }

.badge{
  display:inline-flex; align-items:center; gap:6px;
  background: var(--cream-dark);
  color: var(--forest);
  font-weight:700; font-size:.72rem;
  letter-spacing:.06em; text-transform:uppercase;
  padding: 6px 14px; border-radius: 50px;
}

/* ---------- top bar ---------- */
.topbar{
  background: var(--forest-dark);
  color: rgba(255,255,255,.85);
  font-size:.82rem;
}
.topbar .container{
  display:flex; align-items:center; justify-content:space-between;
  padding-top:9px; padding-bottom:9px;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left{ display:flex; gap:22px; flex-wrap:wrap; }
.topbar a:hover{ color: var(--wheat-light); }
.topbar-left span{ display:inline-flex; align-items:center; gap:7px; }
.topbar-social{ display:flex; gap:14px; }
.topbar-social a{
  width:26px; height:26px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.08);
  transition: background .2s;
}
.topbar-social a:hover{ background: var(--terracotta); }

/* ---------- header / nav ---------- */
.site-header{
  position: sticky; top:0; z-index: 1000;
  background: rgba(250,246,238,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.scrolled{ box-shadow: var(--shadow-sm); }
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 16px 0;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:48px; height:48px; border-radius:50%;
  background: var(--forest);
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.brand-mark svg{ width:28px; height:28px; }
.brand-text{ display:flex; flex-direction:column; line-height:1.1; }
.brand-text strong{ font-family: var(--font-display); font-size:1.28rem; color: var(--forest-dark); }
.brand-text span{ font-size:.68rem; letter-spacing:.16em; text-transform:uppercase; color: var(--terracotta); font-weight:700; }
.logo-badge{ height:58px; width:auto; flex-shrink:0; display:block; filter: drop-shadow(0 2px 6px rgba(28,46,38,.18)); }
.footer-brand .logo-badge{ height:80px; width:auto; margin-bottom:16px; }

.main-nav{ display:flex; align-items:center; gap:26px; }
.main-nav a{
  font-weight:600; font-size:.95rem; color: var(--ink);
  position:relative; padding: 6px 0;
}
.main-nav a::after{
  content:""; position:absolute; left:0; bottom:0; width:0; height:2px;
  background: var(--terracotta); transition: width .25s ease;
}
.main-nav a:hover::after,
.main-nav a.active::after{ width:100%; }
.main-nav a.active{ color: var(--terracotta); }

.header-cta{ display:flex; align-items:center; gap:18px; }
.header-icon-link{
  position:relative; display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%; color: var(--forest-dark);
  transition: background .2s, color .2s;
}
.header-icon-link:hover{ background: var(--cream-dark); color: var(--terracotta); }
.cart-badge{
  position:absolute; top:-2px; right:-2px;
  background: var(--terracotta); color:#fff;
  font-size:.65rem; font-weight:700; line-height:1;
  min-width:16px; height:16px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  padding: 0 3px;
}
.nav-toggle{
  display:none; flex-direction:column; gap:5px; background:none; border:none; cursor:pointer; padding:8px;
}
.nav-toggle span{ width:26px; height:2px; background: var(--forest-dark); border-radius:2px; }

@media (max-width: 980px){
  .main-nav{
    position:fixed; inset: 0 0 0 auto; width: min(320px,84vw); height:100vh;
    background: var(--cream); flex-direction:column; align-items:flex-start;
    padding: 100px 32px 40px; gap: 26px;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%); transition: transform .35s ease;
  }
  .main-nav.open{ transform: translateX(0); }
  .nav-toggle{ display:flex; }
  .header-cta .btn{ display:none; }
}

/* ---------- hero ---------- */
.hero{
  background: linear-gradient(160deg, var(--forest-dark) 0%, var(--forest) 55%, var(--forest-light) 100%);
  position:relative; overflow:hidden;
  color:#fff;
}
.hero::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 18% 30%, rgba(255,255,255,.07), transparent 40%),
                     radial-gradient(circle at 85% 75%, rgba(224,168,62,.18), transparent 45%);
}
.hero-grid{
  position:relative; z-index:2;
  display:grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items:center;
  padding: 88px 0 70px;
}
.hero-copy .eyebrow{ color: var(--wheat-light); }
.hero-copy .eyebrow::before{ background: var(--wheat-light); }
.hero-copy h1{
  color:#fff;
  font-size: clamp(2.3rem, 4.6vw, 3.7rem);
  margin-bottom: .4em;
}
.hero-copy h1 em{ color: var(--wheat-light); font-style: normal; }
.hero-copy p{ color: rgba(255,255,255,.82); font-size:1.1rem; max-width: 520px; }
.hero-actions{ display:flex; gap:16px; margin-top: 32px; flex-wrap:wrap; }
.hero-stats{
  display:flex; gap: 34px; margin-top: 48px; flex-wrap:wrap;
}
.hero-stats div strong{ display:block; font-family:var(--font-display); font-size:1.7rem; color:#fff; }
.hero-stats div span{ font-size:.8rem; color: rgba(255,255,255,.68); text-transform:uppercase; letter-spacing:.06em; }

.hero-art{ position:relative; }
.hero-art img{ width:100%; height:auto; filter: drop-shadow(0 30px 45px rgba(0,0,0,.28)); }
.hero-badge-card{
  position:absolute; left:-18px; bottom:14px;
  background:#fff; color: var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display:flex; align-items:center; gap:14px;
  max-width: 230px;
}
.hero-badge-card .ico{
  width:44px;height:44px;border-radius:50%;
  background: var(--wheat-light); display:flex;align-items:center;justify-content:center; flex-shrink:0;
}
.hero-badge-card strong{ display:block; font-size:.95rem; color:var(--forest-dark); }
.hero-badge-card span{ font-size:.78rem; color:var(--ink-soft); }

@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; padding-top: 56px; }
  .hero-art{ order:-1; max-width: 420px; margin: 0 auto; }
  .hero-badge-card{ position:static; margin-top:18px; max-width:none; }
}

/* wave divider */
.wave{ display:block; width:100%; line-height:0; }
.wave svg{ width:100%; height:70px; display:block; }

/* ---------- page hero (inner pages) ---------- */
.page-hero{
  background: linear-gradient(160deg, var(--forest-dark), var(--forest));
  color:#fff; padding: 68px 0 90px; position:relative; overflow:hidden;
}
.page-hero::after{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 88% 20%, rgba(224,168,62,.22), transparent 40%);
}
.page-hero .container{ position:relative; z-index:2; }
.page-hero h1{ color:#fff; font-size: clamp(2rem,4vw,2.9rem); margin-bottom:.3em; }
.breadcrumb{ display:flex; gap:10px; align-items:center; color: rgba(255,255,255,.72); font-size:.9rem; font-weight:600; }
.breadcrumb a:hover{ color:#fff; }
.breadcrumb .sep{ opacity:.5; }
.breadcrumb .current{ color: var(--wheat-light); }

/* ---------- about ---------- */
.about-grid{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 64px; align-items:center; }
.about-art{ position:relative; }
.about-art img{ width:100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.about-exp{
  position:absolute; bottom:-24px; right:-24px;
  background: var(--terracotta); color:#fff;
  border-radius: var(--radius-md);
  padding: 20px 24px; box-shadow: var(--shadow-lg);
  text-align:center;
}
.about-exp strong{ display:block; font-family:var(--font-display); font-size:2rem; }
.about-exp span{ font-size:.75rem; text-transform:uppercase; letter-spacing:.06em; }
.about-seal{
  position:absolute; top:-22px; left:-22px; width:108px; height:108px;
  filter: drop-shadow(0 8px 16px rgba(28,46,38,.25));
  transform: rotate(-10deg);
}
@media (max-width: 900px){ .about-seal{ left:6px; top:-18px; width:88px; height:88px; } }
.about-list{ display:grid; gap:16px; margin: 28px 0 32px; }
.about-list li{ display:flex; gap:14px; align-items:flex-start; color: var(--ink-soft); font-weight:500; }
.about-list .tick{
  width:26px;height:26px;border-radius:50%; flex-shrink:0; margin-top:2px;
  background: var(--forest); color:#fff; display:flex; align-items:center; justify-content:center;
}
@media (max-width: 900px){
  .about-grid{ grid-template-columns:1fr; gap: 60px; }
  .about-exp{ right:10px; }
}

/* ---------- stats strip ---------- */
.stats-strip{
  background: var(--forest-dark);
  color:#fff;
}
.stats-grid{
  display:grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  padding: 56px 0;
  text-align:center;
}
.stats-grid .num{
  font-family: var(--font-display); font-size: clamp(2rem,3.4vw,2.8rem);
  color: var(--wheat-light); display:flex; align-items:center; justify-content:center; gap:4px;
}
.stats-grid .label{ color: rgba(255,255,255,.72); font-size:.85rem; text-transform:uppercase; letter-spacing:.05em; margin-top:6px; }
@media (max-width:768px){ .stats-grid{ grid-template-columns: repeat(2,1fr); } }

/* ---------- cards: services ---------- */
.grid-3{ display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.grid-2{ display:grid; grid-template-columns: repeat(2,1fr); gap: 30px; }
.grid-4{ display:grid; grid-template-columns: repeat(4,1fr); gap: 26px; }
@media (max-width: 980px){ .grid-3, .grid-4{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px){ .grid-3, .grid-2, .grid-4{ grid-template-columns: 1fr; } }

.service-card{
  background:#fff; border-radius: var(--radius-md);
  padding: 36px 30px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  height:100%;
}
.service-card:hover{ transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.service-card .ico{
  width:60px; height:60px; border-radius: 16px;
  background: var(--cream-dark);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 22px; color: var(--forest);
}
.service-card:hover .ico{ background: var(--terracotta); color:#fff; }
.service-card h3{ font-size: 1.2rem; margin-bottom:.4em; }
.service-card p{ font-size:.95rem; margin-bottom: 1.2em; }
.service-card .more{ font-weight:700; font-size:.88rem; color: var(--terracotta); display:inline-flex; align-items:center; gap:6px; }
.service-card .more svg{ transition: transform .2s; }
.service-card:hover .more svg{ transform: translateX(4px); }

.service-card.dark{ background: var(--forest); border-color: var(--forest); color:#fff; }
.service-card.dark p{ color: rgba(255,255,255,.78); }
.service-card.dark .ico{ background: rgba(255,255,255,.12); color: var(--wheat-light); }
.service-card.dark h3{ color:#fff; }

/* ---------- why choose / features ---------- */
.feature-row{ display:flex; gap:20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.feature-row:last-child{ border-bottom:none; }
.feature-row .ico{
  width:52px;height:52px;border-radius:14px; flex-shrink:0;
  background: var(--wheat-light); color: var(--forest-dark);
  display:flex; align-items:center; justify-content:center;
}
.feature-row h4{ margin-bottom:.25em; font-size:1.05rem; }
.feature-row p{ margin:0; font-size:.92rem; }

/* ---------- breeds ---------- */
.breed-card{
  background:#fff; border-radius: var(--radius-md); overflow:hidden;
  box-shadow: var(--shadow-sm); border:1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.breed-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.breed-card .art{
  background: linear-gradient(150deg, var(--cream-dark), var(--wheat-light));
  padding: 26px; display:flex; align-items:center; justify-content:center;
}
.breed-card .art img{ width: 118px; height:auto; }
.breed-card .body{ padding: 22px 22px 26px; }
.breed-card h3{ font-size:1.08rem; margin-bottom:.3em; }
.breed-card p{ font-size:.88rem; margin-bottom:.8em; }
.breed-tags{ display:flex; gap:8px; flex-wrap:wrap; }
.breed-tags span{
  font-size:.72rem; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  background: var(--cream-dark); color: var(--forest); padding:5px 10px; border-radius:50px;
}

/* ---------- gallery ---------- */
.gallery-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.gallery-item{
  border-radius: var(--radius-md); overflow:hidden; position:relative;
  box-shadow: var(--shadow-sm); aspect-ratio: 4/3;
}
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.gallery-item:hover img{ transform: scale(1.08); }
.gallery-cap{
  position:absolute; inset:auto 0 0 0; padding: 18px;
  background: linear-gradient(to top, rgba(28,46,38,.86), transparent);
  color:#fff; transform: translateY(8px); opacity:0; transition: all .25s ease;
}
.gallery-item:hover .gallery-cap{ opacity:1; transform: translateY(0); }
.gallery-cap strong{ display:block; font-family: var(--font-display); font-size:1.05rem; }
.gallery-cap span{ font-size:.78rem; color: var(--wheat-light); }
@media (max-width: 900px){ .gallery-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery-grid{ grid-template-columns: 1fr; } }

/* ---------- testimonials ---------- */
.testi-wrap{
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 56px;
  position:relative;
}
.testi-track{ overflow:hidden; }
.testi-slides{ display:flex; transition: transform .5s ease; }
.testi-slide{ min-width:100%; display:grid; grid-template-columns: auto 1fr; gap: 28px; align-items:flex-start; }
.testi-slide .avatar{
  width:74px;height:74px;border-radius:50%; background: var(--forest);
  display:flex; align-items:center; justify-content:center; color:#fff; flex-shrink:0;
  font-family: var(--font-display); font-size:1.4rem; font-weight:700;
}
.testi-slide .quote{ font-family: var(--font-display); font-size:1.25rem; color: var(--forest-dark); margin-bottom:16px; }
.testi-slide .who strong{ display:block; color: var(--forest-dark); }
.testi-slide .who span{ font-size:.85rem; color: var(--terracotta); font-weight:600; }
.testi-stars{ color: var(--wheat); margin-bottom:10px; letter-spacing:2px; }
.testi-nav{ display:flex; gap:12px; margin-top: 32px; justify-content:center; }
.testi-nav button{
  width:44px;height:44px;border-radius:50%; border: 2px solid var(--forest);
  background:transparent; color: var(--forest); cursor:pointer; display:flex; align-items:center; justify-content:center;
  transition: all .2s;
}
.testi-nav button:hover{ background: var(--forest); color:#fff; }
@media (max-width: 700px){ .testi-wrap{ padding: 32px 22px; } .testi-slide{ grid-template-columns:1fr; text-align:center; } .testi-slide .avatar{ margin:0 auto; } }

/* ---------- CTA banner ---------- */
.cta-banner{
  background: linear-gradient(135deg, var(--terracotta), var(--terracotta-dark));
  border-radius: var(--radius-lg);
  padding: 56px 60px;
  display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap;
  color:#fff; position:relative; overflow:hidden;
}
.cta-banner::before{
  content:""; position:absolute; inset:0;
  background-image: radial-gradient(circle at 90% 10%, rgba(255,255,255,.16), transparent 45%);
}
.cta-banner > *{ position:relative; z-index:2; }
.cta-banner h2{ color:#fff; margin-bottom:.2em; font-size: clamp(1.5rem,2.6vw,2.1rem); }
.cta-banner p{ color: rgba(255,255,255,.85); margin:0; }
.cta-banner .btn-primary{ background:#fff; color: var(--terracotta-dark); }
.cta-banner .btn-primary:hover{ background: var(--cream); }

/* ---------- blog ---------- */
.post-card{
  background:#fff; border-radius: var(--radius-md); overflow:hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
  display:flex; flex-direction:column; height:100%;
}
.post-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post-card .thumb{ aspect-ratio: 16/10; overflow:hidden; }
.post-card .thumb img{ width:100%; height:100%; object-fit:cover; }
.post-card .body{ padding: 24px 24px 28px; display:flex; flex-direction:column; flex:1; }
.post-meta{ display:flex; gap:14px; font-size:.78rem; color: var(--terracotta); font-weight:700; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; }
.post-card h3{ font-size:1.12rem; margin-bottom:.5em; }
.post-card p{ font-size:.92rem; flex:1; }
.post-card .more{ font-weight:700; font-size:.86rem; color:var(--forest); display:inline-flex; align-items:center; gap:6px; margin-top:8px; }

/* ---------- team ---------- */
.team-card{ text-align:center; }
.team-card .art{
  border-radius: var(--radius-md); overflow:hidden; margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
}
.team-card .art img{ width:100%; }
.team-card h4{ margin-bottom:.15em; }
.team-card span{ color: var(--terracotta); font-weight:700; font-size:.85rem; }
.team-social{ display:flex; gap:10px; justify-content:center; margin-top:12px; }
.team-social a{ width:32px;height:32px;border-radius:50%; background: var(--cream-dark); display:flex;align-items:center;justify-content:center; color:var(--forest); transition: all .2s; }
.team-social a:hover{ background: var(--forest); color:#fff; }

/* ---------- forms ---------- */
.form-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field.full{ grid-column: 1 / -1; }
.form-field label{ font-size:.85rem; font-weight:700; color: var(--forest-dark); }
.form-field input, .form-field select, .form-field textarea{
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 13px 16px; font-family: var(--font-body); font-size:.95rem;
  background:#fff; color: var(--ink); resize: vertical;
  transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus{
  outline:none; border-color: var(--terracotta);
}
.form-note{ font-size:.82rem; color: var(--ink-soft); margin-top:6px; }
.form-success{
  display:none; background: var(--forest); color:#fff; padding: 14px 18px; border-radius: var(--radius-sm);
  margin-top: 16px; font-weight:600; font-size:.9rem; align-items:center; gap:10px;
}
.form-success.show{ display:flex; }
@media (max-width:700px){ .form-grid{ grid-template-columns:1fr; } }

/* ---------- contact info + map ---------- */
.contact-info-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-bottom: 56px; }
.info-card{
  background:#fff; border-radius: var(--radius-md); padding: 28px; text-align:center;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.info-card .ico{
  width:56px;height:56px;border-radius:50%; margin: 0 auto 16px;
  background: var(--cream-dark); color: var(--forest); display:flex; align-items:center; justify-content:center;
}
.info-card h4{ margin-bottom:.3em; }
.info-card p{ margin:0; font-size:.92rem; }
.map-frame{
  border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
@media (max-width:820px){ .contact-info-grid{ grid-template-columns:1fr; } }

/* ---------- FAQ accordion ---------- */
.faq-item{ border-bottom: 1px solid var(--line); }
.faq-q{
  width:100%; text-align:left; background:none; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-size:1.05rem; color: var(--forest-dark); font-weight:600;
}
.faq-q .plus{ flex-shrink:0; width:30px;height:30px;border-radius:50%; background: var(--cream-dark); display:flex;align-items:center;justify-content:center; transition: all .25s; color: var(--forest); }
.faq-item.open .faq-q .plus{ background: var(--terracotta); color:#fff; transform: rotate(45deg); }
.faq-a{ max-height:0; overflow:hidden; transition: max-height .3s ease; }
.faq-a p{ padding: 0 4px 22px; margin:0; }
.faq-item.open .faq-a{ max-height: 240px; }

/* ---------- footer ---------- */
.site-footer{ background: var(--forest-dark); color: rgba(255,255,255,.72); }
.footer-top{ padding: 76px 0 46px; }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand p{ color: rgba(255,255,255,.64); font-size:.92rem; }
.footer-social{ display:flex; gap:12px; margin-top: 18px; }
.footer-social a{
  width:38px;height:38px;border-radius:50%; background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center; color:#fff; transition: background .2s;
}
.footer-social a:hover{ background: var(--terracotta); }
.footer-col h4{ color:#fff; font-family: var(--font-display); font-size:1.05rem; margin-bottom: 20px; }
.footer-col ul{ display:grid; gap: 12px; }
.footer-col a{ font-size:.92rem; color: rgba(255,255,255,.68); transition: color .2s; }
.footer-col a:hover{ color: var(--wheat-light); }
.footer-contact li{ display:flex; gap:12px; align-items:flex-start; font-size:.9rem; color: rgba(255,255,255,.72); }
.footer-newsletter{ display:flex; margin-top:16px; border-radius: 50px; overflow:hidden; background: rgba(255,255,255,.08); }
.footer-newsletter input{
  flex:1; background:transparent; border:none; padding: 13px 18px; color:#fff; font-family: var(--font-body); font-size:.9rem;
}
.footer-newsletter input::placeholder{ color: rgba(255,255,255,.5); }
.footer-newsletter input:focus{ outline:none; }
.footer-newsletter button{
  border:none; background: var(--terracotta); color:#fff; padding: 0 20px; cursor:pointer; font-weight:700;
  display:flex; align-items:center; justify-content:center;
}
.footer-bottom{
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 22px 0; font-size:.85rem;
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px;
}
.footer-bottom a{ color: rgba(255,255,255,.6); }
.footer-bottom a:hover{ color:#fff; }
.footer-legal{ display:flex; gap: 18px; }
@media (max-width: 980px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .footer-grid{ grid-template-columns: 1fr; } }

/* ---------- back to top ---------- */
.to-top{
  position: fixed; right: 22px; bottom: 22px; z-index: 900;
  width:48px;height:48px;border-radius:50%; background: var(--forest);
  color:#fff; display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-md); border:none; cursor:pointer;
  opacity:0; visibility:hidden; transform: translateY(12px);
  transition: all .25s ease;
}
.to-top.show{ opacity:1; visibility:visible; transform:none; }
.to-top:hover{ background: var(--terracotta); }

/* ---------- reveal animation ----------
   Content is visible by default (.reveal alone). JS opts elements into the
   hidden pre-animation state (.reveal.pre) only once it can guarantee they
   will be revealed (IntersectionObserver, or a safety timeout as backup).
   This means the page is fully readable even if JS fails or never fires. */
.reveal.pre{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.pre.in{ opacity:1; transform:none; }

/* ---------- misc page blocks ---------- */
.split-cta{ display:grid; grid-template-columns: 1fr 1fr; }
.process-step{ text-align:center; position:relative; padding: 0 12px; }
.process-step .num{
  width:64px;height:64px;border-radius:50%; background: var(--forest); color:#fff;
  display:flex;align-items:center;justify-content:center; font-family:var(--font-display); font-size:1.4rem;
  margin: 0 auto 18px; box-shadow: var(--shadow-md);
}
.process-line{ position:absolute; top:32px; left:calc(50% + 40px); width:calc(100% - 80px); height:2px; background: var(--line); }
@media (max-width: 820px){ .process-line{ display:none; } }

.page-section-alt{ background: var(--cream-dark); }
.pill-list{ display:flex; gap:10px; flex-wrap:wrap; }
.pill-list span{ background:#fff; border:1px solid var(--line); padding:8px 16px; border-radius:50px; font-size:.85rem; font-weight:600; color: var(--forest-dark); }
