/* ==========================================================
   BR CONSULTORIA AMBIENTAL E AERONÁUTICA — Design System
   ========================================================== */

:root {
  --navy: #0a2540;
  --navy-2: #0d2f52;
  --blue: #1565c0;
  --blue-light: #3b82f6;
  --green: #1b8a5a;
  --green-light: #2fae73;
  --gold: #d4a53c;

  --bg: #f7faf9;
  --surface: #ffffff;
  --surface-alt: #eef3f2;
  --text: #16232f;
  --muted: #5b6b76;
  --border: #e4e9ec;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 28px;

  --shadow-sm: 0 2px 8px rgba(10, 37, 64, 0.06);
  --shadow: 0 12px 32px rgba(10, 37, 64, 0.10);
  --shadow-lg: 0 24px 60px rgba(10, 37, 64, 0.18);

  --container: 1180px;
  --ff-head: "Poppins", "Inter", sans-serif;
  --ff-body: "Inter", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--ff-head);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section { padding: 100px 0; }
.section--alt { background: var(--surface-alt); }
.section--navy { background: linear-gradient(160deg, var(--navy) 0%, #123a63 100%); color: #dbe6f0; }
.section--navy h2, .section--navy h3 { color: #fff; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin-top: 14px; }
.section--navy .section-head p { color: #b9c9d8; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: linear-gradient(135deg, var(--green-light), var(--green));
  color: #fff;
  box-shadow: 0 10px 24px rgba(27, 138, 90, 0.35);
}
.btn--primary:hover { box-shadow: 0 14px 30px rgba(27, 138, 90, 0.45); }
.btn--ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn--outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--outline-navy:hover { background: var(--navy); color: #fff; }
.btn--sm { padding: 10px 20px; font-size: 0.85rem; }
.btn--block { width: 100%; justify-content: center; }

/* ===================== HEADER ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; }
.site-header.scrolled {
  background: rgba(10, 37, 64, 0.96);
  padding: 12px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  backdrop-filter: blur(6px);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text strong { display: block; font-family: var(--ff-head); font-weight: 700; font-size: 0.95rem; color: #fff; letter-spacing: 0.01em; }
.brand-text span { display: block; font-size: 0.68rem; color: #9db3c6; letter-spacing: 0.06em; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  color: #dbe6f0;
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 0;
  background: var(--green-light); transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: #fff; border-radius: 2px; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("../img/hero-lago-azul.jpg") center/cover no-repeat;
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(6,22,41,0.94) 10%, rgba(10,37,64,0.82) 45%, rgba(11,63,58,0.72) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 110px;
  max-width: 760px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.8rem;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); }
.hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 700;
  margin-bottom: 22px;
}
.hero h1 em { font-style: normal; color: var(--green-light); }
.hero p.lead {
  font-size: 1.15rem;
  color: #d5e2ec;
  max-width: 600px;
  margin-bottom: 38px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 40px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
  max-width: 900px;
}
.hero-stats div strong {
  display: block;
  font-family: var(--ff-head);
  font-size: 1.7rem;
  color: #fff;
}
.hero-stats div span { font-size: 0.8rem; color: #a9bccb; }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: #cfe0ec; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
.scroll-cue .line { width: 1px; height: 34px; background: linear-gradient(#cfe0ec, transparent); }
@keyframes bob { 0%,100%{ transform: translate(-50%,0); } 50%{ transform: translate(-50%,8px); } }

/* ===================== ABOUT / INTRO ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-copy p { color: var(--muted); margin-bottom: 18px; font-size: 1.02rem; }
.about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; }
.pillar {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}
.pillar .ico { width: 40px; height: 40px; margin-bottom: 12px; color: var(--green); }
.pillar h4 { font-size: 1rem; margin-bottom: 6px; }
.pillar p { font-size: 0.88rem; color: var(--muted); margin: 0; }

.segments { margin-top: 30px; }
.segments-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.segment-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.segment-chips .chip {
  font-size: 0.82rem; font-weight: 600; color: var(--navy);
  background: var(--surface-alt); border: 1px solid var(--border);
  padding: 8px 16px; border-radius: 999px;
}

/* ===================== AUDIENCE / PÚBLICO-ALVO ===================== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audience-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.audience-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.audience-card .ico {
  width: 44px; height: 44px;
  margin: 0 auto 16px;
  color: var(--green);
}
.audience-card h4 { font-size: 0.92rem; line-height: 1.35; color: var(--navy); }

.about-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.about-visual img { width: 100%; height: 100%; object-fit: cover; }
.about-visual .badge-float {
  position: absolute; bottom: 22px; left: 22px; right: 22px;
  background: rgba(10, 37, 64, 0.88);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
  padding: 18px 20px;
  color: #fff;
  display: flex; align-items: center; gap: 14px;
}
.about-visual .badge-float strong { display: block; font-size: 1.4rem; font-family: var(--ff-head); color: var(--green-light); }
.about-visual .badge-float span { font-size: 0.78rem; color: #cfe0ec; }

/* ===================== SERVICES ===================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color .25s ease;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card .ico {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(21,101,192,0.12), rgba(27,138,90,0.12));
  color: var(--blue);
  margin-bottom: 20px;
}
.service-card .ico svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.service-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; }
.service-card .link {
  font-size: 0.85rem; font-weight: 600; color: var(--green);
  display: inline-flex; align-items: center; gap: 6px;
}
.service-card .tag {
  position: absolute; top: 24px; right: 24px;
  font-size: 0.65rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.tag--aero { background: rgba(21,101,192,0.1); color: var(--blue); }
.tag--amb { background: rgba(27,138,90,0.1); color: var(--green); }
.tag--tech { background: rgba(212,165,60,0.15); color: #a67c1e; }

/* ===================== WHY US ===================== */
.why-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.why-list { display: flex; flex-direction: column; gap: 22px; margin-top: 28px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-item .num {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; color: var(--green-light); font-size: 0.9rem;
}
.why-item h4 { color: #fff; font-size: 1rem; margin-bottom: 4px; }
.why-item p { color: #b9c9d8; font-size: 0.9rem; margin: 0; }

.why-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.why-panel .metric { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
.why-panel .metric:last-child { border-bottom: none; }
.why-panel .metric strong { font-family: var(--ff-head); font-size: 1.4rem; color: #fff; }
.why-panel .metric span { font-size: 0.82rem; color: #a9bccb; }
.why-panel .bar { height: 6px; border-radius: 4px; background: rgba(255,255,255,0.12); margin-top: 8px; overflow: hidden; }
.why-panel .bar i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green-light), var(--blue-light)); }

/* ===================== PROCESS ===================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.process-step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px 24px;
  border: 1px solid var(--border);
  text-align: left;
  position: relative;
}
.process-step .step-no {
  font-family: var(--ff-head); font-weight: 700; font-size: 2.2rem;
  color: transparent; -webkit-text-stroke: 1.5px var(--green-light);
  margin-bottom: 14px; display: block;
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { font-size: 0.86rem; color: var(--muted); margin: 0; }

/* ===================== GALLERY ===================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 220px;
  gap: 14px;
}
.gallery-grid a { border-radius: var(--radius); overflow: hidden; position: relative; display: block; }
.gallery-grid a:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,37,64,0) 55%, rgba(10,37,64,0.55) 100%);
  opacity: 0; transition: opacity 0.3s ease;
}
.gallery-grid a:hover::after { opacity: 1; }
.gallery-grid .cap {
  position: absolute; left: 16px; bottom: 14px; color: #fff; font-size: 0.82rem; font-weight: 600;
  opacity: 0; transform: translateY(6px); transition: all 0.3s ease; z-index: 2;
}
.gallery-grid a:hover .cap { opacity: 1; transform: translateY(0); }

/* ===================== TEAM / FOUNDERS ===================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.founder-card {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 22px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  height: 100%;
}
.founder-avatar {
  width: 150px; height: 150px; border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  margin: 0 auto;
  box-shadow: var(--shadow);
  border: 4px solid var(--surface);
  outline: 2px solid var(--border);
}
.founder-avatar--initials {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--green), var(--blue));
  color: #fff; font-family: var(--ff-head); font-weight: 700; font-size: 2.3rem;
}
.founder-copy .quote-mark { font-family: Georgia, serif; font-size: 3.4rem; color: var(--green); line-height: 0; display: block; margin-bottom: 6px; text-align: center; }
.founder-copy p { color: var(--muted); margin-bottom: 16px; }
.founder-copy strong { display: block; color: var(--navy); font-family: var(--ff-head); }
.founder-copy .role { color: var(--green); font-size: 0.85rem; font-weight: 600; }

/* ===================== TESTIMONIALS ===================== */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.testi-card .stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card p.quote { font-size: 0.95rem; color: var(--text); margin-bottom: 20px; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-who .av {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--surface-alt); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-head); font-weight: 700; font-size: 0.9rem;
}
.testi-who strong { display: block; font-size: 0.9rem; }
.testi-who span { font-size: 0.78rem; color: var(--muted); }

/* ===================== CTA BAND ===================== */
.cta-band {
  position: relative;
  padding: 90px 0;
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.cta-band-bg { position: absolute; inset: 0; background: url("../img/cta-lago-azul.jpg") center/cover; }
.cta-band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(9,32,55,0.93), rgba(15,73,58,0.88)); }
.cta-band-inner { position: relative; z-index: 2; max-width: 640px; margin: 0 auto; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin-bottom: 16px; }
.cta-band p { color: #d5e2ec; margin-bottom: 32px; }

/* ===================== CONTACT ===================== */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
.contact-info { display: flex; flex-direction: column; gap: 20px; }
.info-row {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px;
}
.info-row .ico {
  width: 42px; height: 42px; border-radius: 10px; flex-shrink: 0;
  background: rgba(27,138,90,0.1); color: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.info-row h4 { font-size: 0.92rem; margin-bottom: 4px; }
.info-row p, .info-row a { font-size: 0.88rem; color: var(--muted); }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); height: 220px; }
.map-embed iframe { width: 100%; height: 100%; border: 0; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 0.82rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--ff-body);
  font-size: 0.92rem;
  background: var(--bg);
  color: var(--text);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--green); background: #fff;
}
.field textarea { resize: vertical; min-height: 100px; }
.form-note { font-size: 0.76rem; color: var(--muted); margin-top: 12px; text-align: center; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--navy); color: #b9c9d8; padding: 70px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { color: #fff; font-size: 0.95rem; margin-bottom: 18px; }
.footer-about p { font-size: 0.88rem; color: #a9bccb; margin: 16px 0 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 0.88rem; color: #a9bccb; }
.footer-links a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; margin-top: 6px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--green); border-color: var(--green); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 22px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 0.8rem; color: #7f93a3;
}

/* ===================== FLOATING WHATSAPP ===================== */
.wa-float {
  position: fixed; bottom: 26px; right: 26px; z-index: 999;
  width: 62px; height: 62px; border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1fb959);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
  color: #fff;
  animation: pulse 2.4s infinite;
}
.wa-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55), 0 12px 28px rgba(37,211,102,0.35); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 12px 28px rgba(37,211,102,0.35); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 12px 28px rgba(37,211,102,0.35); }
}

/* ===================== REVEAL ANIMATION ===================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ===================== LIGHTBOX ===================== */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(6,14,24,0.92);
  display: none; align-items: center; justify-content: center;
  padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 12px; box-shadow: var(--shadow-lg); }
.lightbox-close {
  position: absolute; top: 24px; right: 30px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.3);
  color: #fff; font-size: 1.3rem; cursor: pointer;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .about-grid, .why-wrap, .contact-grid { grid-template-columns: 1fr; }
  .about-visual { order: -1; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1040px) {
  .nav-links, .nav-cta .btn { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: fixed; top: 0; right: 0; height: 100vh; width: 78%; max-width: 320px;
    background: var(--navy); padding: 100px 32px 32px; z-index: 999;
    box-shadow: -12px 0 40px rgba(0,0,0,0.3);
  }
  .nav-links.open a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; }
}

@media (max-width: 720px) {
  .section { padding: 70px 0; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .services-grid, .process-grid, .about-pillars, .audience-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-grid a:first-child { grid-column: span 2; grid-row: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .founder-card { padding: 30px; }
}

/* ===================== BLOG ===================== */
.blog-hero {
  padding: 160px 0 60px;
  background: linear-gradient(160deg, var(--navy) 0%, #123a63 100%);
  color: #fff;
}
.blog-hero .eyebrow { color: var(--green-light); }
.blog-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.blog-hero p { color: #b9c9d8; max-width: 640px; font-size: 1.02rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: 200px; object-fit: cover; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card .tag { align-self: flex-start; margin-bottom: 12px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 10px; line-height: 1.35; }
.blog-card p { color: var(--muted); font-size: 0.92rem; margin-bottom: 18px; flex: 1; }
.blog-card .meta { font-size: 0.78rem; color: var(--muted); margin-bottom: 14px; }
.blog-card .link { font-size: 0.85rem; font-weight: 600; color: var(--green); }

/* Article page */
.article-hero {
  padding: 150px 0 50px;
  background: linear-gradient(160deg, var(--navy) 0%, #123a63 100%);
  color: #fff;
}
.article-hero .container { max-width: 780px; }
.article-hero .tag { margin-bottom: 18px; }
.article-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.6vw, 2.4rem); margin-bottom: 16px; }
.article-hero .meta { color: #a9bccb; font-size: 0.88rem; }

.article-body { padding: 60px 0 90px; }
.article-body .container { max-width: 740px; }
.article-body img.cover {
  width: 100%; border-radius: var(--radius-lg); margin-bottom: 40px; box-shadow: var(--shadow);
}
.article-content h2 { font-size: 1.4rem; margin: 36px 0 14px; color: var(--navy); }
.article-content h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--navy); }
.article-content p { color: var(--text); font-size: 1.02rem; margin-bottom: 18px; line-height: 1.75; }
.article-content ul { margin: 0 0 20px 20px; }
.article-content ul li { color: var(--text); margin-bottom: 8px; line-height: 1.6; }
.article-content ul li::marker { color: var(--green); }
.article-content strong { color: var(--navy); }
.article-cta {
  margin-top: 48px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  text-align: center;
}
.article-cta h3 { margin-bottom: 10px; }
.article-cta p { color: var(--muted); margin-bottom: 22px; }
.back-to-blog { display: inline-flex; align-items: center; gap: 6px; font-size: 0.88rem; font-weight: 600; color: var(--green); margin-bottom: 24px; }

@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; }
  .blog-hero, .article-hero { padding-top: 130px; }
}

/* ===================== QUALITY PASS ===================== */
:root {
  --bg: #f8faf9;
  --surface-alt: #f0f5f3;
  --border: #dce5e2;
  --shadow-sm: 0 8px 24px rgba(10, 37, 64, 0.06);
  --shadow: 0 18px 48px rgba(10, 37, 64, 0.12);
}

::selection { background: rgba(47, 174, 115, 0.25); color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 3000;
  padding: 11px 16px; border-radius: 10px; background: #fff; color: var(--navy);
  font-weight: 700; box-shadow: var(--shadow); transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.site-header.scrolled { background: rgba(7, 30, 51, 0.92); backdrop-filter: blur(16px) saturate(140%); }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: #fff; }
.nav-toggle { width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 50%; }
.nav-toggle:hover { background: rgba(255,255,255,.1); }
.nav-toggle span { transition: transform .25s ease, opacity .2s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 80% 35%, rgba(47,174,115,.15), transparent 34%);
}
.hero-content { max-width: 830px; }
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4.35rem); letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.hero p.lead { max-width: 690px; font-size: clamp(1.02rem, 1.5vw, 1.2rem); }
.hero-badge { box-shadow: inset 0 1px 0 rgba(255,255,255,.12); }
.hero-stats { gap: 0; grid-template-columns: repeat(4, 1fr); max-width: 940px; }
.hero-stats > div { padding-right: 28px; }
.hero-stats > div + div { border-left: 1px solid rgba(255,255,255,.16); padding-left: 28px; }

.section-head h2 { font-size: clamp(1.85rem, 3vw, 2.65rem); letter-spacing: -.025em; text-wrap: balance; }
.section-head { max-width: 760px; }
.audience-card, .service-card, .process-step, .testi-card, .info-row, .contact-form, .founder-card {
  box-shadow: var(--shadow-sm);
}
.audience-card, .service-card, .process-step, .testi-card { isolation: isolate; overflow: hidden; }
.service-card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 3px;
  background: linear-gradient(90deg, var(--green), var(--blue)); opacity: 0;
  transition: opacity .25s ease;
}
.service-card:hover::before { opacity: 1; }
.service-card h3 { padding-right: 72px; }
.service-card .link { margin-top: auto; }
.services-grid { align-items: stretch; }
.service-card { display: flex; flex-direction: column; }
.process-step::after {
  content: ""; position: absolute; top: 46px; left: calc(100% + 1px); width: 24px;
  border-top: 1px dashed rgba(27,138,90,.45);
}
.process-step:last-child::after { display: none; }
.gallery-grid a { box-shadow: var(--shadow-sm); }
.gallery-grid .cap { opacity: 1; transform: none; text-shadow: 0 2px 8px rgba(0,0,0,.65); }
.gallery-grid a::after { opacity: .72; }
.founder-card { transition: transform .25s ease, box-shadow .25s ease; }
.founder-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.contact-form { border-top: 4px solid var(--green); }
.field input, .field select, .field textarea { min-height: 48px; transition: border-color .2s ease, box-shadow .2s ease; }
.field input:focus, .field select:focus, .field textarea:focus { box-shadow: 0 0 0 4px rgba(27,138,90,.12); }
.wa-float { transition: transform .2s ease; }
.wa-float:hover { transform: translateY(-4px) scale(1.03); }

@media (max-width: 1040px) {
  body.menu-open { overflow: hidden; }
  .nav-links.open { width: min(86%, 380px); padding-top: 92px; backdrop-filter: blur(16px); }
  .nav-links.open::before { content: "Menu"; position: absolute; top: 34px; left: 32px; color: #fff; font: 600 1rem var(--ff-head); }
  .nav-toggle { position: relative; z-index: 1001; }
}

@media (max-width: 720px) {
  .container { padding-inline: 20px; }
  .site-header { padding: 14px 0; }
  .brand-mark { width: 42px; height: 42px; }
  .hero { min-height: auto; padding: 132px 0 72px; }
  .hero-content { padding-top: 0; }
  .hero h1 { font-size: clamp(2.15rem, 11vw, 3.15rem); }
  .hero-badge { align-items: flex-start; border-radius: 14px; }
  .hero-actions { margin-bottom: 44px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .hero-stats { gap: 22px 0; }
  .hero-stats > div { padding: 0 14px 0 0; }
  .hero-stats > div + div { padding-left: 14px; }
  .hero-stats div strong { font-size: 1.35rem; }
  .scroll-cue { display: none; }
  .section-head { margin-bottom: 38px; text-align: left; }
  .section-head .eyebrow { justify-content: flex-start; }
  .service-card h3 { padding-right: 58px; }
  .process-step::after { display: none; }
  .contact-form { padding: 28px 22px; }
  .wa-float { width: 56px; height: 56px; right: 18px; bottom: 18px; }
}

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