/* ==========================================================
   EnviroTrek Lab — site styles
   Brand: deep navy, teal, leaf green (from company profile)
   ========================================================== */

:root {
  --navy: #1f2433;
  --navy-2: #2a3042;
  --teal: #2c7a6e;
  --teal-light: #8fd0c2;
  --green: #2e9e44;
  --green-dark: #23803a;
  --sand: #f5f1ea;
  --ink: #1d2230;
  --muted: #5d6475;
  --line: #e4e1da;
  --white: #ffffff;

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 25, 40, .08);
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; }
h1, h2 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; }
h1 em, h2 em { font-style: italic; color: var(--green); }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.02rem; }
p { margin: 0 0 1em; }

.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: .8em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.6em;
  border-radius: 999px;
  font: 600 .95rem/1 var(--sans);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-sm { padding: .6em 1.2em; font-size: .88rem; }
.btn-block { width: 100%; }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: var(--green-dark); }
.btn-ghost { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-whatsapp { background: #25d366; color: #0b3d1e; margin-top: 1.2rem; }
.btn-whatsapp:hover { background: #1fbd59; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(0,0,0,.05); }
.nav-wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }

.logo { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); }
.logo:hover { text-decoration: none; }
.logo-drone { width: 46px; height: 22px; stroke: none; color: var(--ink); }
.logo-text { font-family: var(--serif); font-size: 1.65rem; font-weight: 600; display: inline-flex; align-items: center; white-space: nowrap; }
.logo-text em { font-style: normal; color: var(--green); margin-left: .25em; }
.logo-globe { width: .8em; height: .8em; stroke: none; margin: 0 1px; transform: translateY(1px); }
.logo-light { color: var(--white); }

.site-nav { display: flex; align-items: center; gap: 1.8rem; }
.site-nav a:not(.btn) { color: var(--ink); font-weight: 500; font-size: .95rem; position: relative; }
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: -4px; height: 2px; width: 0;
  background: var(--green); transition: width .25s;
}
.site-nav a:not(.btn):hover { text-decoration: none; }
.site-nav a:not(.btn):hover::after, .site-nav a.active::after { width: 100%; }

.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  padding: clamp(80px, 12vw, 150px) 0 clamp(60px, 8vw, 100px);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(circle at 80% 20%, #3a8f6a 0%, transparent 50%),
    radial-gradient(circle at 10% 90%, #2c7a6e 0%, transparent 45%),
    var(--navy);
}
.hero-bg::after {
  /* faint topographic contour pattern */
  content: ""; position: absolute; inset: 0; opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg fill='none' stroke='%23fff' stroke-width='1'%3E%3Cpath d='M0 200 Q100 120 200 200 T400 200'/%3E%3Cpath d='M0 240 Q100 160 200 240 T400 240'/%3E%3Cpath d='M0 280 Q100 200 200 280 T400 280'/%3E%3Cpath d='M0 160 Q100 80 200 160 T400 160'/%3E%3Cpath d='M0 120 Q100 40 200 120 T400 120'/%3E%3Cpath d='M0 320 Q100 240 200 320 T400 320'/%3E%3Cpath d='M0 80 Q100 0 200 80 T400 80'/%3E%3Cpath d='M0 360 Q100 280 200 360 T400 360'/%3E%3C/g%3E%3C/svg%3E");
}
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 3.5rem; align-items: center; }
.hero-photo { position: relative; margin: 0; justify-self: end; width: min(100%, 400px); }
.hero-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 35%;
  border-radius: 28px 28px 28px 110px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
  border: 6px solid rgba(255,255,255,.08);
}
.hero-photo::before {
  /* offset accent frame */
  content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
  border: 2px solid rgba(127,214,143,.45); border-radius: 28px 28px 28px 110px;
}
.hero-badge {
  position: absolute; left: -36px; bottom: 34px;
  display: flex; align-items: center; gap: .8rem;
  padding: .9rem 1.1rem; border-radius: 14px;
  background: var(--white); color: var(--ink);
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  font-size: .8rem; line-height: 1.35; max-width: 250px;
}
.hero-badge svg { flex: none; width: 38px; height: 38px; padding: 8px; border-radius: 10px; background: #e8f5eb; color: var(--green); }
.hero-badge strong { display: block; font-size: .92rem; }
.hero .eyebrow { color: var(--teal-light); }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); max-width: 20ch; }
.hero h1 em { color: #7fd68f; }
.hero .lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); max-width: 60ch; color: rgba(255,255,255,.85); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 3.5rem; }

.hero-pillars { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 820px; }
.hero-pillars a {
  display: block; padding: 1.1rem 1.3rem; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: var(--white); transition: background .2s, transform .2s;
}
.hero-pillars a:hover { background: rgba(255,255,255,.15); text-decoration: none; transform: translateY(-2px); }
.hero-pillars strong { display: block; font-family: var(--serif); font-style: italic; font-size: 1.7rem; line-height: 1.1; }
.hero-pillars span { font-size: .85rem; color: rgba(255,255,255,.75); }

/* ---------- Stats ---------- */
.stats { background: var(--green); color: var(--white); padding: 1.8rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.stat-num { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; line-height: 1.1; }
.stat-label { font-size: .85rem; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: clamp(70px, 9vw, 110px) 0; }
.section-tint { background: var(--sand); }
.section-dark { background: var(--navy); color: rgba(255,255,255,.88); }
.section-dark h2 { color: var(--white); }
.section-dark .eyebrow { color: var(--teal-light); }
.section-dark h2 em { color: #7fd68f; }

.section-head { max-width: 680px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-dark .section-head p:last-child { color: rgba(255,255,255,.7); }

.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2rem; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: start; }
.about-copy p { color: var(--muted); }
.why { background: var(--navy); color: var(--white); padding: 2.4rem; border-radius: 22px 22px 22px 80px; }
.why h3 { font-size: 1.1rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.6rem; }
.why-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.why-item:last-child { margin-bottom: 0; }
.why-item h4 { color: var(--teal-light); text-transform: uppercase; letter-spacing: .1em; font-size: .92rem; margin-bottom: .3em; }
.why-item p { color: rgba(255,255,255,.8); font-size: .95rem; margin: 0; }
.why-icon { flex: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(143,208,194,.15); display: grid; place-items: center; color: var(--teal-light); }

/* ---------- Vision / Mission / Values ---------- */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.vmv { border-top: 4px solid var(--green); }
.vmv p { color: var(--muted); }
.vmv-icon { width: 52px; height: 52px; border-radius: 50%; background: #e8f5eb; color: var(--green); display: grid; place-items: center; margin-bottom: 1rem; }
.vmv-icon svg { width: 26px; height: 26px; }
.vmv h3 { font-family: var(--serif); font-style: italic; font-size: 1.7rem; }

.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { position: relative; padding-left: 1.6em; margin-bottom: .5em; color: var(--muted); font-size: .95rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: .9em; height: .9em; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2 4-4.4' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}
.ticks.cols-2 { columns: 2; column-gap: 1.2rem; }
.ticks.cols-2 li { break-inside: avoid; }

.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.values li { padding: .45em 1em; border-radius: 999px; background: var(--sand); font-size: .9rem; font-weight: 500; }

/* ---------- Services tabs ---------- */
.tabs { display: inline-flex; gap: .4rem; padding: .35rem; border-radius: 999px; background: var(--sand); margin-bottom: 2.5rem; }
.tabs button {
  border: 0; background: transparent; cursor: pointer;
  padding: .75em 1.8em; border-radius: 999px;
  font: 600 .95rem var(--sans); color: var(--muted);
  transition: background .2s, color .2s;
}
.tabs button[aria-selected="true"] { background: var(--navy); color: var(--white); }
.tabs button:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }

.tab-panel { animation: fade .35s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.panel-intro { max-width: 640px; margin-bottom: 2rem; }
.panel-intro h3 { font-family: var(--serif); font-style: italic; font-size: 2rem; }
.panel-intro p { color: var(--muted); }

.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.svc { padding: 1.8rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.svc p { color: var(--muted); font-size: .95rem; }
.svc h4.mt { margin-top: 1.4rem; }
.svc-dark { background: var(--navy); border-color: var(--navy); color: var(--white); }

.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { padding: .45em 1em; border-radius: 999px; border: 1px solid rgba(143,208,194,.4); color: var(--teal-light); font-size: .88rem; }

.icon-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.icon-card {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.5rem; border-radius: var(--radius); border: 1px solid var(--line);
  font-weight: 500; transition: border-color .2s, transform .2s, box-shadow .2s;
}
.icon-card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: var(--shadow); }
.icon-card svg { width: 34px; height: 34px; color: var(--teal); }

/* ---------- Drone & geospatial ---------- */
.drone { overflow: hidden; }
.drone-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4.5rem; align-items: center; }
.drone-media { position: relative; padding-bottom: 4.5rem; }
.drone-main {
  width: 100%; aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 22px; box-shadow: 0 30px 60px rgba(0,0,0,.35);
}
.drone-inset {
  position: absolute; right: -2rem; bottom: 0; width: 52%;
  aspect-ratio: 3 / 2; object-fit: cover;
  border-radius: 16px; border: 6px solid var(--navy);
  box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.drone-copy p:not(.eyebrow) { color: rgba(255,255,255,.75); }
.drone-copy .btn { margin-top: 1.6rem; }
.ticks-light li { color: rgba(255,255,255,.85); }

/* ---------- In the field gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: start; }
.gallery figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s ease; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 2.5rem 1.3rem 1.1rem;
  background: linear-gradient(transparent, rgba(20,24,36,.85));
  color: var(--white); font-weight: 600; font-size: .95rem;
}
.gallery figure:nth-child(2) { margin-top: 2rem; }

/* ---------- Recent projects ---------- */
#projects[hidden], #nav-projects[hidden], #project-filters[hidden] { display: none; }
.project-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.project-grid li[hidden] { display: none; }
.project-card {
  display: flex; flex-direction: column; width: 100%; height: 100%; text-align: left;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: var(--white); padding: 0; cursor: pointer; font: inherit; color: inherit;
  transition: box-shadow .25s, transform .25s, border-color .25s;
}
.project-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.project-card:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
.project-cover { position: relative; overflow: hidden; }
.project-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s ease; background: #e9e6df; }
.project-card:hover .project-cover img { transform: scale(1.05); }
.project-count {
  position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: .35em;
  background: rgba(20,24,36,.75); color: #fff; font-size: .75rem; font-weight: 600; padding: .3em .7em; border-radius: 999px;
}
.project-count svg { width: 14px; height: 14px; }
.project-body { padding: 1.1rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; }
.project-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); background: #e6f2ef; padding: .25em .7em; border-radius: 999px; }
.project-body h3 { font-size: 1.08rem; margin: .2rem 0 0; font-family: var(--sans); }
.project-meta { font-size: .85rem; color: var(--muted); }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(1200px, 100vw - 32px); width: 100%; max-height: calc(100vh - 32px); overflow: visible; }
.lightbox::backdrop { background: rgba(12,15,24,.88); }
.lb-inner { position: relative; display: grid; grid-template-columns: 1fr 320px; background: var(--navy); border-radius: var(--radius); overflow: hidden; max-height: calc(100vh - 32px); }
.lb-stage { position: relative; margin: 0; background: #0d1018; display: grid; place-items: center; min-height: 300px; }
.lb-stage img { max-width: 100%; max-height: calc(100vh - 32px); object-fit: contain; }
.lb-nav, .lb-close {
  position: absolute; border: 0; cursor: pointer; color: #fff; background: rgba(0,0,0,.45);
  width: 44px; height: 44px; border-radius: 50%; font-size: 1.8rem; line-height: 1; display: grid; place-items: center;
  transition: background .2s;
}
.lb-nav:hover, .lb-close:hover { background: rgba(0,0,0,.7); }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close { top: 12px; right: 12px; z-index: 2; font-size: 1.6rem; }
.lb-count { position: absolute; left: 12px; bottom: 12px; color: #fff; font-size: .8rem; background: rgba(0,0,0,.5); padding: .25em .7em; border-radius: 999px; }
.lb-info { padding: 3.5rem 1.6rem 1.6rem; color: rgba(255,255,255,.8); overflow-y: auto; }
.lb-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--white); background: var(--green); padding: .25em .7em; border-radius: 999px; }
.lb-info h3 { color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.7rem; margin: .7rem 0 .3rem; }
.lb-meta { font-size: .85rem; color: var(--teal-light); }
.lb-desc { font-size: .93rem; white-space: pre-line; }
.lb-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 1rem; }
.lb-thumbs button { padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .6; }
.lb-thumbs button.active, .lb-thumbs button:hover { opacity: 1; border-color: var(--green); }
.lb-thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.lb-single .lb-nav, .lb-single .lb-count, .lb-single .lb-thumbs { display: none; }

@media (max-width: 860px) {
  .lb-inner { grid-template-columns: 1fr; overflow-y: auto; }
  .lb-stage img { max-height: 60vh; }
  .lb-info { padding: 1.3rem 1.3rem 1.6rem; }
  .lb-thumbs { grid-template-columns: repeat(5, 1fr); }
}

/* ---------- Training ---------- */
.train-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.train-card { background: var(--navy-2); border: 1px solid rgba(255,255,255,.08); border-radius: var(--radius); padding: 2rem; }
.train-card h3 { color: var(--white); font-family: var(--serif); font-style: italic; font-size: 1.6rem; }
.train-card ul { list-style: none; padding: 0; margin: 0; }
.train-card li { padding: .55em 0; border-bottom: 1px dashed rgba(255,255,255,.12); font-size: .95rem; }
.train-card li:last-child { border-bottom: 0; }
.train-tag { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; padding: .3em .8em; border-radius: 999px; background: var(--green); color: var(--white); margin-bottom: 1rem; }

/* ---------- Clients ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.filter {
  border: 1px solid var(--line); background: var(--white); cursor: pointer;
  padding: .55em 1.1em; border-radius: 999px; font: 500 .88rem var(--sans); color: var(--muted);
  transition: all .2s;
}
.filter:hover { border-color: var(--teal); color: var(--teal); }
.filter.is-active { background: var(--teal); border-color: var(--teal); color: var(--white); }

.client-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.client {
  padding: 1.2rem 1.3rem; border-radius: 12px; border: 1px solid var(--line); background: var(--white);
  display: flex; flex-direction: column; gap: .3rem;
  transition: border-color .2s, box-shadow .2s;
}
.client:hover { border-color: var(--teal-light); box-shadow: var(--shadow); }
.client[hidden] { display: none; }
.client strong { font-size: .98rem; }
.clients-more { text-align: center; margin-top: 2rem; }
.btn-outline { border-color: var(--teal); color: var(--teal); background: transparent; }
.btn-outline:hover { background: var(--teal); color: var(--white); }
.client span { font-size: .84rem; color: var(--muted); line-height: 1.45; }

/* ---------- SDG ---------- */
.sdg { background: var(--sand); padding: 60px 0; }
.sdg-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.sdg h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.sdg-tiles { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, 1fr); gap: 6px; }
.sdg-tiles li {
  aspect-ratio: 1; background: var(--c); color: var(--white); border-radius: 4px;
  display: grid; place-items: center; font-weight: 700; font-size: 1.05rem;
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.4rem; }
.contact-list li { display: flex; gap: 1rem; }
.contact-list li > svg { flex: none; width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: #e8f5eb; color: var(--green); }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.contact-list small { color: var(--muted); font-size: .8rem; margin-left: .3em; }
.btn-whatsapp svg { width: 20px; height: 20px; }

.contact-form h3 { font-family: var(--serif); font-style: italic; font-size: 1.8rem; }
.contact-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 1rem; color: var(--ink); }
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: .4rem;
  padding: .8em 1em; border: 1px solid var(--line); border-radius: 10px;
  font: 400 .95rem var(--sans); color: var(--ink); background: #fbfaf8;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(44,122,110,.15); background: var(--white);
}
.contact-form .invalid { border-color: #c0392b; }
.contact-form textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; text-align: center; }
.form-note.error { color: #c0392b; }

.map-wrap { margin-top: 4rem; }
.map-wrap iframe { width: 100%; height: 360px; border: 0; border-radius: var(--radius); filter: grayscale(.3); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 2.5rem; }
.site-footer h4 { color: var(--white); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--white); }
.tagline { font-family: var(--serif); font-style: italic; letter-spacing: .2em; color: var(--teal-light); margin: .2rem 0 1rem; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .icon-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sdg-inner { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: .5rem 16px 1.2rem;
    transform: translateY(-110%); visibility: hidden;
    transition: transform .3s ease, visibility 0s linear .3s; z-index: -1;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }
  .site-nav.open { transform: none; visibility: visible; transition: transform .3s ease; }
  .site-nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav .btn { margin-top: 1rem; }

  .about-grid, .contact-grid, .vmv-grid, .svc-grid, .train-grid { grid-template-columns: 1fr; gap: 2rem; }

  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .drone-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .drone-inset { right: -.5rem; width: 50%; border-width: 4px; }
  .hero-photo { justify-self: center; width: min(100%, 360px); }
  .hero-badge { left: -12px; }

  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery figure:nth-child(2) { margin-top: 0; }
  .gallery figure:nth-child(3) { grid-column: 1 / -1; }
  .gallery figure:nth-child(3) img { aspect-ratio: 16 / 9; object-position: center 30%; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .hero-pillars { grid-template-columns: 1fr; }
  .hero-photo::before { inset: 14px -10px -14px 14px; }
  .hero-badge { left: 0; bottom: 20px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img, .gallery figure:nth-child(3) img { aspect-ratio: 4 / 3; object-position: center 25%; }
  .tabs { display: flex; width: 100%; }
  .tabs button { flex: 1; padding: .75em .5em; }
  .icon-grid { grid-template-columns: 1fr 1fr; gap: .8rem; }
  .icon-card { padding: 1.1rem; font-size: .9rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .ticks.cols-2 { columns: 1; }
  .sdg-tiles { grid-template-columns: repeat(6, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .card, .why, .svc, .train-card { padding: 1.5rem; }
  .logo-text { font-size: 1.4rem; }
  .logo-drone { width: 36px; }
}

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