/* AgroForm Yaoundé — design tokens & chrome */
:root {
  --bg: #F7F3EB;
  --bg-2: #EFE8DC;
  --surface: #FFFDF8;
  --fg: #1C2A1F;
  --muted: #5C6B5E;
  --border: #D4C9B4;
  --accent: #2F6B3A;
  --accent-2: #3D8A4A;
  --accent-dark: #1F4A28;
  --earth: #8B5E3C;
  --earth-2: #A67C52;
  --leaf: #4A7C59;
  --cream: #F7F3EB;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --danger: #B33A3A;
  --shadow: 0 8px 28px rgba(28, 42, 31, 0.08);
  --shadow-lg: 0 16px 48px rgba(28, 42, 31, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: "Source Serif 4", "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", system-ui, sans-serif;
  --header-h: 68px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(1.85rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.4rem); }
p { margin: 0 0 1em; color: var(--muted); }
.lead { font-size: 1.1rem; line-height: 1.6; max-width: 42ch; }

.container {
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.container-wide {
  width: min(1280px, calc(100% - 2rem));
  margin-inline: auto;
}

/* Leaf pattern subtle */
.leaf-bg {
  background-color: var(--bg);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 8c-4 10-14 16-14 28a14 14 0 0028 0c0-12-10-18-14-28z' fill='%232F6B3A' fill-opacity='0.04'/%3E%3C/svg%3E");
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.35rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(47, 107, 58, 0.28);
}
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn-secondary:hover { background: rgba(47, 107, 58, 0.08); color: var(--accent-dark); }
.btn-ghost {
  background: var(--surface);
  color: var(--fg);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--accent); }
.btn-block { width: 100%; }

/* Badges & chips */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(47, 107, 58, 0.12);
  color: var(--accent-dark);
}
.badge-earth {
  background: rgba(139, 94, 60, 0.14);
  color: var(--earth);
}
.price-tag {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--accent-dark);
  letter-spacing: -0.01em;
}
.price-tag small {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  margin-left: 0.25rem;
}
.filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 550;
  cursor: pointer;
  transition: all .2s;
}
.filter-chip:hover, .filter-chip[aria-pressed="true"] {
  border-color: var(--accent);
  background: rgba(47, 107, 58, 0.1);
  color: var(--accent-dark);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-h);
  gap: 1rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--fg);
}
.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--accent);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 24px; height: 24px; }
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.logo-text strong {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}
.logo-text span {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.nav-desktop {
  display: none;
  align-items: center;
  gap: 0.15rem;
}
.nav-desktop a {
  padding: 0.5rem 0.75rem;
  text-decoration: none;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 550;
  border-radius: 8px;
}
.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--accent-dark);
  background: rgba(47, 107, 58, 0.08);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.menu-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  cursor: pointer;
  color: var(--fg);
}
.menu-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0.5rem 0 1rem;
  border-top: 1px solid var(--border);
  gap: 0.15rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 0.85rem 0.5rem;
  text-decoration: none;
  color: var(--fg);
  font-weight: 550;
  border-radius: 8px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  background: rgba(47, 107, 58, 0.1);
  color: var(--accent-dark);
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .menu-toggle { display: none; }
  .header-actions .btn-inscrire { display: inline-flex; }
  .nav-mobile { display: none !important; }
}
@media (max-width: 899px) {
  .header-actions .btn-inscrire { display: none; }
}

/* Footer */
.site-footer {
  background: var(--fg);
  color: #E8EDE8;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}
.site-footer a { color: #C5D4C8; }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; }
}
.footer-brand p { color: #A8B5AA; font-size: 0.9rem; }
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8FA093;
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.55rem; }
.footer-col a { text-decoration: none; font-size: 0.925rem; }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #8FA093;
}

/* WhatsApp FAB + Chat stack */
.chrome-stack {
  position: fixed;
  right: 1rem;
  bottom: calc(1rem + var(--safe-bottom));
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.65rem;
}
.whatsapp-fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  background: var(--whatsapp);
  color: #fff !important;
  text-decoration: none !important;
  border-radius: 999px;
  font-weight: 650;
  font-size: 0.875rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: background .2s, transform .15s;
}
.whatsapp-fab:hover { background: var(--whatsapp-dark); color: #fff !important; }
.whatsapp-fab svg { width: 22px; height: 22px; flex-shrink: 0; }
@media (max-width: 480px) {
  .whatsapp-fab .fab-label { display: none; }
  .whatsapp-fab { width: 52px; height: 52px; padding: 0; justify-content: center; }
}

/* Chat widget */
.chat-widget { position: relative; }
.chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.1rem;
  background: var(--accent-dark);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 650;
  font-size: 0.875rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
}
.chat-toggle:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}
.chat-toggle svg { width: 20px; height: 20px; }
@media (max-width: 480px) {
  .chat-toggle .chat-label { display: none; }
  .chat-toggle { width: 52px; height: 52px; padding: 0; justify-content: center; }
}
.chat-panel {
  display: none;
  position: absolute;
  bottom: calc(100% + 0.65rem);
  right: 0;
  width: min(360px, calc(100vw - 2rem));
  height: 460px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  flex-direction: column;
  overflow: hidden;
}
.chat-panel.open { display: flex; }
.chat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1rem;
  background: var(--accent-dark);
  color: #fff;
}
.chat-header strong { font-size: 0.95rem; display: block; }
.chat-header small { font-size: 0.72rem; opacity: 0.8; font-weight: 400; }
.chat-close {
  width: 36px; height: 36px;
  border: none; background: rgba(255,255,255,0.15);
  color: #fff; border-radius: 8px; cursor: pointer;
  font-size: 1.1rem;
}
.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: var(--bg);
}
.chat-bubble {
  max-width: 88%;
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  font-size: 0.875rem;
  line-height: 1.45;
}
.chat-bubble.bot {
  align-self: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--fg);
  border-bottom-left-radius: 4px;
}
.chat-bubble.user {
  align-self: flex-end;
  background: var(--accent);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.chat-chip {
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.75rem;
  font-weight: 550;
  color: var(--fg);
  cursor: pointer;
  font-family: var(--font-body);
}
.chat-chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chat-footer-note {
  padding: 0.5rem 1rem 0.75rem;
  font-size: 0.7rem;
  color: var(--muted);
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.chat-footer-note a { font-weight: 600; }

/* Cards */
.formation-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, border-color .2s;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.formation-card:hover {
  box-shadow: var(--shadow);
  border-color: color-mix(in srgb, var(--accent) 40%, var(--border));
}
.formation-card-img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  background: var(--bg-2);
}
.formation-card-body {
  padding: 1.15rem 1.2rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}
.formation-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.8rem;
  color: var(--muted);
}
.formation-card-body h3 {
  font-size: 1.15rem;
  margin: 0;
  color: var(--fg);
}
.formation-card-body p {
  font-size: 0.9rem;
  margin: 0;
  flex: 1;
}
.formation-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 0.35rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}

/* Sections */
.section { padding: 3.5rem 0; }
.section-tight { padding: 2.5rem 0; }
.section-head {
  margin-bottom: 2rem;
  max-width: 36rem;
}
.section-head .eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.65rem;
}
.grid-3 {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.grid-4 {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 900px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* Hero */
.hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--fg);
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(28, 42, 31, 0.25) 0%,
    rgba(28, 42, 31, 0.55) 45%,
    rgba(28, 42, 31, 0.88) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 0 3rem;
  color: #fff;
  width: min(1120px, calc(100% - 2rem));
  margin-inline: auto;
}
.hero-content .eyebrow { color: #B8D4BE; }
.hero-content h1 { color: #fff; max-width: 16ch; margin-bottom: 0.75rem; }
.hero-content .lead { color: rgba(255,255,255,0.85); margin-bottom: 1.5rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.hero-ctas .btn-secondary {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.hero-ctas .btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  color: #fff;
}

/* Stats */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.75rem 0;
}
.stat {
  text-align: center;
  padding: 0.5rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 2.1rem);
  color: var(--accent-dark);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.stat span {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
}

/* Expertise / feature */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.feature-card-body { padding: 1.25rem; }
.feature-card-body h3 { margin-bottom: 0.4rem; }
.feature-card-body p { font-size: 0.9rem; margin: 0; }

/* Why us */
.why-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
.why-item {
  padding: 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.why-item .icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(47, 107, 58, 0.12);
  display: grid;
  place-items: center;
  margin-bottom: 0.85rem;
  color: var(--accent);
}
.why-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.9rem; margin: 0; }

/* Testimonials */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}
.testimonial img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 450;
  color: var(--fg);
  line-height: 1.4;
  letter-spacing: -0.01em;
}
.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  color: var(--muted);
}
.testimonial cite strong { color: var(--fg); display: block; font-size: 0.9rem; }

/* CTA band */
.cta-band {
  background: var(--accent-dark);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p { color: rgba(255,255,255,0.8); margin: 0 auto 1.5rem; max-width: 40ch; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--accent-dark);
  box-shadow: none;
}
.cta-band .btn-primary:hover { background: var(--bg); color: var(--accent-dark); }

/* Page hero (inner) */
.page-hero {
  padding: 2.75rem 0 2rem;
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { margin-bottom: 0.5rem; }
.breadcrumb {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); }

/* Forms */
.form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--fg);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.85rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg);
  color: var(--fg);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47, 107, 58, 0.15);
}
.form-hint { font-size: 0.75rem; color: var(--muted); margin-top: 0.3rem; }
.form-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: var(--muted);
}
.form-check input {
  width: 20px; height: 20px;
  margin-top: 2px;
  accent-color: var(--accent);
  flex-shrink: 0;
}
.form-success {
  text-align: center;
  padding: 2.5rem 1.5rem;
}
.form-success .icon-ok {
  width: 64px; height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: rgba(47, 107, 58, 0.15);
  display: grid;
  place-items: center;
  color: var(--accent);
}
.form-success h2 { margin-bottom: 0.5rem; }
.form-success p { margin-bottom: 1.5rem; }

/* Gallery */
.gallery-grid {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
  border: none;
  padding: 0;
  background: var(--bg-2);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item .play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(28, 42, 31, 0.35);
}
.gallery-item .play-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  color: var(--accent-dark);
}
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(28, 42, 31, 0.92);
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(960px, 100%);
  max-height: 85vh;
  border-radius: 8px;
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 44px; height: 44px;
  border: none;
  border-radius: 8px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}
.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 0.9rem;
  text-align: center;
}

/* Team */
.team-card {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
}
.team-card img {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--bg-2);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 0.2rem; }
.team-card .role {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 0.65rem;
}
.team-card p { font-size: 0.875rem; margin: 0; }

/* Map placeholder */
.map-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(47,107,58,0.15), rgba(139,94,60,0.12)),
    var(--bg-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1.5rem;
  color: var(--muted);
}
.map-placeholder strong { display: block; color: var(--fg); margin-bottom: 0.35rem; }

/* Detail layout */
.detail-hero-img {
  width: 100%;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}
@media (max-width: 640px) {
  .detail-hero-img { aspect-ratio: 16 / 10; }
}
.detail-layout {
  display: grid;
  gap: 2rem;
}
@media (min-width: 900px) {
  .detail-layout { grid-template-columns: 1fr 340px; align-items: start; }
}
.detail-aside {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--header-h) + 1rem);
}
.detail-aside .price-tag { font-size: 1.5rem; margin: 0.5rem 0 1rem; }
.module-list { list-style: none; padding: 0; margin: 0; }
.module-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.75rem;
  font-size: 0.925rem;
}
.module-list li:last-child { border-bottom: none; }
.module-num {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
  width: 1.5rem;
}

/* Filters bar */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

/* Contact info */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.925rem;
}
.contact-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.25rem;
  font-weight: 650;
}

/* Values */
.value-card {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  border-top: 3px solid var(--accent);
}
.value-card h3 { margin-bottom: 0.4rem; }
.value-card p { margin: 0; font-size: 0.9rem; }

/* Desktop refinements */
@media (min-width: 1024px) {
  .hero { min-height: min(78vh, 680px); }
  .hero-content { padding: 3.5rem 0 4rem; }
  .hero-content h1 { max-width: 14ch; }
  .section { padding: 4.5rem 0; }
  .chrome-stack { right: 1.5rem; bottom: calc(1.5rem + var(--safe-bottom)); }
}
@media (min-width: 1280px) {
  .container { width: min(1120px, calc(100% - 3rem)); }
  .hero-img { object-position: center 28%; }
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden-focusable:not(:focus):not(:focus-within) {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* Services alternate: image second on desktop only */
@media (min-width: 768px) {
  .service-flip > :first-child { order: 2; }
  .service-flip > :last-child { order: 1; }
}
