/* ============================================================
   KALRO Livestock Farm Naivasha — Design System
   Signature idea: "The Field Ledger" — KALRO is a research
   institute as much as a farm, so numbers (prices, yields,
   ages, stats) are set in a mono "record" face with tabular
   rules, and each breed carries a circular pedigree seal —
   nodding to certification & research rigor, not just sales.
   ============================================================ */

:root {
  /* Color */
  --forest:        #1E3A2F;
  --forest-dark:    #12261C;
  --forest-tint:    #26463A;
  --gold:           #C49B4A;
  --gold-light:     #E3C77E;
  --cream:          #F5F2EB;
  --cream-dark:     #EAE4D4;
  --white:          #FFFFFF;
  --charcoal:       #202821;
  --muted:          #667065;
  --line:           rgba(32, 40, 33, 0.12);
  --line-on-dark:   rgba(245, 242, 235, 0.18);

  /* Type */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'Space Mono', 'Courier New', monospace;

  /* Layout */
  --max-width: 1380px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(18, 38, 28, 0.08);
  --shadow-md: 0 10px 30px rgba(18, 38, 28, 0.14);
  --shadow-lg: 0 24px 60px rgba(18, 38, 28, 0.22);
  --header-h: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--forest-dark);
  line-height: 1.12;
  margin: 0.4em 0 0.5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--muted); }

.section {
  padding: 96px 0;
}
.section--tight { padding: 64px 0; }
.section--dark {
  background: var(--forest-dark);
  color: var(--cream);
}
.section--dark h2, .section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(245,242,235,0.72); }
.section--panel { background: var(--white); }

.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
 
}
.section-head.align-left { margin-left: 0; text-align: left; }

/* Numeric / ledger style for data */
.num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--gold);
  color: var(--forest-dark);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--gold-light); box-shadow: var(--shadow-md); }
.btn-outline {
  background: transparent;
  border-color: var(--line-on-dark);
  color: inherit;
}
.btn-outline:hover { background: rgba(245,242,235,0.08); }
.btn-dark {
  background: var(--forest);
  color: var(--white);
}
.btn-dark:hover { background: var(--forest-dark); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 235, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-dark);
}
.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  border: 1px solid var(--gold);
  flex-shrink: 0;
}
.brand-text small {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: normal;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.main-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.main-nav a:hover::after, .main-nav a.is-active::after { right: 0; }
.main-nav a.is-active { color: var(--forest-dark); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--forest-dark);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,38,28,0.35) 0%, rgba(18,38,28,0.55) 55%, rgba(18,38,28,0.92) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 64px;
  max-width: 760px;
}
.hero-content h1 { color: var(--white); margin-top: 0.2em; }
.hero-content .lede { color: rgba(245,242,235,0.85); font-size: 1.15rem; max-width: 520px; }
.hero-actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background-size: cover;
  background-position: center;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(18,38,28,0.55) 0%, rgba(18,38,28,0.82) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 40px;}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: rgba(245,242,235,0.82); max-width: 560px; }

/* ---------- Stats bar (ledger strip) ---------- */
.stats-bar {
  position: relative;
  z-index: 3;
  margin-top: -64px;
  padding: 0 32px;
}
.stats-card {
  max-width: var(--max-width);
  margin: 0 auto;
  background: var(--forest-dark);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(196,155,74,0.35);
}
.stat {
  padding: 34px 28px;
  text-align: center;
  border-right: 1px solid var(--line-on-dark);
}
.stat:last-child { border-right: none; }
.stat .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold-light);
  display: block;
}
.stat .stat-label {
  font-size: 0.8rem;
  color: rgba(245,242,235,0.75);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ---------- Two-column / about ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.split-media { position: relative; }
.split-media .seal { position: absolute; bottom: -24px; left: -24px; }

/* ---------- Pedigree seal (signature element) ---------- */
.seal {
  width: 92px; height: 92px;
  border-radius: 50%;
  background: var(--cream);
  border: 1.5px dashed var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  line-height: 1.3;
  color: var(--forest-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* ---------- Cards grid ---------- */
.grid {
  display: grid;
  gap: 28px;
}
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }

.livestock-card .card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.livestock-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.livestock-card:hover .card-media img { transform: scale(1.06); }
.card-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: var(--forest-dark);
  color: var(--gold-light);
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: 999px;
  text-transform: uppercase;
}
.card-body { padding: 22px 22px 24px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 { margin-top: 0; margin-bottom: 4px; }
.card-type { font-size: 0.82rem; color: var(--muted); margin-bottom: 14px; }
.spec-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 8px 0;
  border-top: 1px dashed var(--line);
  color: var(--charcoal);
}
.spec-row:first-of-type { border-top: none; }
.spec-row span:first-child { color: var(--muted); font-family: var(--font-body); }
.card-price {
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--forest);
  font-weight: 700;
}
.card-price small { font-family: var(--font-body); color: var(--muted); font-weight: 400; font-size: 0.75rem; }
.card-footer { margin-top: 18px; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  margin-bottom: 40px;
}
.filter-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.pill {
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--charcoal);
  transition: all 0.2s ease;
}
.pill:hover { border-color: var(--gold); }
.pill.is-active { background: var(--forest); color: var(--white); border-color: var(--forest); }
.filter-secondary { display: flex; gap: 12px; align-items: center; }
.select-field, .price-reset {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  font-size: 0.85rem;
}
.no-results { text-align: center; padding: 60px 20px; color: var(--muted); display: none; }
.no-results.is-visible { display: block; }

/* ---------- Callout ---------- */
.callout {
  background: var(--forest);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background-image: repeating-linear-gradient(135deg, rgba(196,155,74,0.06) 0px, rgba(196,155,74,0.06) 2px, transparent 2px, transparent 14px);
}
.callout h3 { color: var(--white); margin-bottom: 6px; }
.callout p { color: rgba(245,242,235,0.78); margin-bottom: 0; }

/* ---------- Testimonials ---------- */
.testimonial {
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}
.testimonial .quote-mark { font-family: var(--font-display); font-size: 2.6rem; color: var(--gold); line-height: 0.5; display: block; margin-bottom: 14px;}
.testimonial-meta { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--forest-tint); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 0.8rem;
}
.testimonial-meta .name { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.testimonial-meta .loc { font-size: 0.78rem; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-dark);
  color: rgba(245,242,235,0.75);
  padding: 72px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-on-dark);
}
.footer-grid h4 { color: var(--white); font-family: var(--font-body); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 18px; }
.footer-grid li { margin-bottom: 10px; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--gold-light); }
.footer-brand p { color: rgba(245,242,235,0.65); max-width: 280px; }
.newsletter-form { display: flex; gap: 0; margin-top: 8px; border: 1px solid var(--line-on-dark); border-radius: 999px; overflow: hidden; }
.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.85rem;
}
.newsletter-form input::placeholder { color: rgba(245,242,235,0.5); }
.newsletter-form button {
  background: var(--gold);
  border: none;
  padding: 0 20px;
  color: var(--forest-dark);
  font-weight: 700;
  font-size: 0.85rem;
}
.social-row { display: flex; gap: 12px; margin-top: 18px; }
.social-row a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-on-dark);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.social-row a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(245,242,235,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 0.82rem; font-weight: 600; color: var(--charcoal); }
.form-field input, .form-field select, .form-field textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.92rem;
  color: var(--charcoal);
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--gold);
}
.form-field textarea { resize: vertical; min-height: 130px; }
.field-error { font-size: 0.78rem; color: #b3432b; display: none; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #b3432b; }
.form-field.has-error .field-error { display: block; }
.form-status {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: rgba(30,58,47,0.08);
  color: var(--forest-dark);
  font-size: 0.9rem;
  margin-top: 12px;
  display: none;
}
.form-status.is-visible { display: block; }

/* ---------- Services ---------- */
.service-card { padding: 32px 26px; text-align: left; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--cream-dark);
  color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}
.accordion-item { border-bottom: 1px solid var(--line); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-dark);
}
.accordion-icon { font-family: var(--font-mono); font-size: 1.2rem; color: var(--gold); transition: transform 0.25s ease; }
.accordion-trigger.is-open .accordion-icon { transform: rotate(45deg); }
.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-panel-inner { padding: 0 4px 26px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid {
  columns: 4 220px;
  column-gap: 20px;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  box-shadow: var(--shadow-sm);
}
.gallery-item img { width: 100%; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(18,38,28,0.85), transparent);
  color: var(--white);
  font-size: 0.82rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.gallery-item:hover .gallery-caption { opacity: 1; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(18,38,28,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 82vh; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); }
.lightbox-caption { position: absolute; bottom: 30px; left: 0; right: 0; text-align: center; color: var(--cream); font-size: 0.9rem; }
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(245,242,235,0.1);
  border: 1px solid var(--line-on-dark);
  color: var(--white);
  border-radius: 50%;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.lightbox-close:hover, .lightbox-nav:hover { background: var(--gold); color: var(--forest-dark); }
.lightbox-close { top: 30px; right: 30px; }
.lightbox-prev { left: 30px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 30px; top: 50%; transform: translateY(-50%); }

/* ---------- Livestock modal ---------- */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(18,38,28,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.modal-overlay.is-open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 640px;
  width: 100%;
  max-height: 86vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 1.1rem;
  z-index: 2;
}
.modal-close:hover { background: var(--cream); }
.modal-media img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.modal-content-inner { padding: 32px; }
.modal-content-inner h3 { margin-top: 0; }
.modal-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 18px 0 22px; }
.modal-care { background: var(--cream); border-radius: var(--radius-sm); padding: 16px 18px; margin-bottom: 22px; }
.modal-care h4 { margin: 0 0 8px; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold); }
.modal-care p { margin: 0; font-size: 0.88rem; }

/* ---------- Breed advisor ---------- */
.advisor-panel {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  padding: 48px;
  box-shadow: var(--shadow-sm);
  max-width: 780px;
  margin: 0 auto;
}
.advisor-question { margin-bottom: 34px; }
.advisor-question > label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.option-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option-row.cols-3 { grid-template-columns: repeat(3, 1fr); }
.option-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}
.option-card input { position: absolute; opacity: 0; }
.option-card:hover { border-color: var(--gold); }
.option-card.is-selected { border-color: var(--forest); background: var(--cream); }
.option-card .opt-title { font-weight: 600; font-size: 0.92rem; color: var(--charcoal); }
.option-card .opt-sub { font-size: 0.78rem; color: var(--muted); margin-top: 3px; }

.result-card {
  margin-top: 40px;
  padding: 34px;
  border-radius: var(--radius-md);
  background: var(--forest-dark);
  color: var(--white);
  display: none;
}
.result-card.is-visible { display: block; }
.result-head { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.result-head h3 { color: var(--white); margin: 0; }
.result-traits { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 24px; }
.trait-chip {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-on-dark);
  color: var(--gold-light);
}

/* ---------- Map / contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; }
.contact-info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px;
  margin-bottom: 20px;
}
.contact-info-card h4 { margin-top: 0; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); font-family: var(--font-mono); }
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 280px;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Utility ---------- */
.mt-0 { margin-top: 0; }
.text-center { text-align: center; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px;}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .gallery-grid { columns: 3 200px; }
}
@media (max-width: 900px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .site-header.is-open .main-nav {
    display: flex;
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 20px 32px 32px;
    border-bottom: 1px solid var(--line);
    gap: 18px;
  }
  .split { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line-on-dark); }
  .stat:last-child { border-bottom: none; }
  .option-row, .option-row.cols-3 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .advisor-panel { padding: 30px 22px; }
}
@media (max-width: 640px) {
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { columns: 1; }
  .callout { flex-direction: column; align-items: flex-start; text-align: left; }
  .section { padding: 64px 0; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-secondary { justify-content: space-between; }
}
