/* ===========================================================
   BIOMÍMESSIS — Landing
   Paleta inspirada en regrow.ag · acentos de soilcapital.com
   Tokens extraídos de design-extract output
   =========================================================== */

@import url('assets/fonts/fonts.css');

:root {
  /* ── COLORS ──────────────────────────── */
  --ink:           #0a1505;
  --ink-soft:      #2a3520;
  --ink-muted:     #5a6850;
  --ink-faint:     #8a9580;

  --bg:            #f8f8f3;      /* regrow background exact */
  --bg-2:          #ffffff;
  --bg-soft:       #f1f1ea;

  --dark:          #162501;      /* regrow primary */
  --dark-2:        #0c1601;
  --forest:        #063a21;      /* regrow accent */
  --forest-2:      #0a4f2c;
  --moss:          #e0ecc3;      /* regrow secondary */
  --moss-2:        #d4e3a8;

  --copper:        #b07c48;      /* soilcapital primary */
  --copper-soft:   #d4a878;

  --border:        #dddddd;
  --border-soft:   rgba(0,0,0,0.08);
  --border-dark:   rgba(255,255,255,0.12);

  /* ── TYPE ─────────────────────────────── */
  --font-body:     'Inter', system-ui, sans-serif;
  --font-display:  'Fraunces', 'Times New Roman', serif;

  /* ── LAYOUT ───────────────────────────── */
  --max-w:         1280px;
  --max-w-narrow:  920px;
  --nav-h:         72px;
  --section-pad:   120px;

  --ease:          cubic-bezier(0.19, 1, 0.22, 1);
  --t-fast:        0.2s ease;
  --t:             0.4s var(--ease);
  --t-slow:        0.8s var(--ease);

  --shadow-soft:   0 10px 40px rgba(21,37,1,0.08);
  --shadow-card:   0 20px 60px rgba(21,37,1,0.12);
  --shadow-deep:   0 30px 80px rgba(21,37,1,0.22);
}

/* ── RESET ───────────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

::selection { background: var(--moss); color: var(--dark); }

/* ── TYPE ──────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.serif { font-family: var(--font-display); }
.italic { font-style: italic; }

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announce {
  background: var(--dark);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.announce span.dot {
  width: 6px; height: 6px;
  background: var(--moss);
  border-radius: 50%;
}

/* ============================================
   NAV
   ============================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,248,243,0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
  height: var(--nav-h);
  transition: background var(--t-fast);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-mark {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--dark);
  position: relative;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.logo-mark::before {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  border: 1.5px solid var(--moss);
  border-top-color: transparent;
  border-right-color: transparent;
  transform: rotate(45deg);
}
.logo-mark::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--moss);
  border-radius: 50%;
  position: relative;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.logo-text em { font-style: italic; font-weight: 400; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
}
.nav-links li {
  list-style: none;
  position: relative;
}
.nav-links li a {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  position: relative;
  white-space: nowrap;
}
.nav-links li a:hover {
  background: rgba(22,37,1,0.06);
  color: var(--ink);
  border-color: rgba(22,37,1,0.08);
}
.nav-links li a.has-dropdown::after {
  content: '⌄';
  margin-left: 4px;
  opacity: 0.45;
  font-size: 10px;
  position: relative;
  top: -1px;
  transition: transform var(--t-fast);
}
.nav-dropdown-item:hover > a.has-dropdown::after {
  transform: rotate(180deg);
}

/* ── Servicios dropdown ─────────────────── */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 6px;
  min-width: 180px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  box-shadow: 0 12px 40px rgba(21,37,1,0.14);
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-dropdown-item:hover .nav-dropdown,
.nav-dropdown-item:focus-within .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li a {
  display: block;
  padding: 10px 16px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
  border: 1px solid transparent;
  transition: background var(--t-fast), color var(--t-fast);
}
.nav-dropdown li a:hover {
  background: var(--bg-soft);
  color: var(--forest);
  border-color: transparent;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: var(--t-fast);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0; bottom: 0;
  background: var(--bg);
  padding: 24px;
  flex-direction: column;
  gap: 4px;
  z-index: 99;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--border-soft);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  padding: 13px 24px;
  border-radius: 100px;
  transition: all var(--t);
  white-space: nowrap;
  letter-spacing: 0.01em;
  cursor: pointer;
}
.btn-primary {
  background: var(--forest);
  color: #fff;
  border: 1.5px solid var(--forest);
}
.btn-primary:hover {
  background: var(--dark);
  border-color: var(--dark);
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-secondary:hover {
  background: var(--ink);
  color: #fff;
}
.btn-light {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(8px);
}
.btn-light:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}
.btn-arrow::after {
  content: '→';
  transition: transform var(--t-fast);
  font-weight: 400;
}
.btn-arrow:hover::after { transform: translateX(4px); }
.btn-lg { padding: 16px 30px; font-size: 15px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  background: var(--dark);
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  /* Stylized landscape: radial green wells + warm copper highlight */
  background:
    radial-gradient(ellipse at 25% 75%, rgba(10,79,44,0.55) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 25%, rgba(176,124,72,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(224,236,195,0.08) 0%, transparent 60%),
    linear-gradient(180deg, #0c1601 0%, #162501 45%, #0a1604 100%);
}
.hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  overflow: hidden;
}
.hero-photo.loaded { opacity: 0.55; }
.hero-photo .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,21,4,0.45) 0%, rgba(10,21,4,0.25) 40%, rgba(10,21,4,0.7) 100%);
  z-index: 1;
}
.hero-topo {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0.28;
  pointer-events: none;
  /* Curvas de nivel campo — dos cerros con valle intermedio */
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 700' fill='none'><path d='M360,80 C430,62 530,90 570,125 C610,160 648,240 642,310 C636,380 595,440 540,475 C485,510 410,502 345,492 C280,482 200,455 152,412 C104,369 88,295 92,240 C96,185 120,142 180,116 C240,90 290,98 360,80Z' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.28'/><path d='M355,105 C418,88 498,112 545,148 C592,184 622,252 618,322 C614,392 572,445 520,468 C468,491 400,488 345,478 C290,468 225,442 185,402 C145,362 138,295 145,242 C152,189 178,152 225,132 C272,112 292,122 355,105Z' stroke='%23e0ecc3' stroke-width='0.55' opacity='0.32'/><path d='M352,132 C408,116 480,136 522,168 C564,200 590,262 585,328 C580,394 545,440 498,460 C451,480 392,478 345,468 C298,458 242,432 208,396 C174,360 170,300 175,254 C180,208 206,170 248,152 C290,134 296,148 352,132Z' stroke='%23e0ecc3' stroke-width='0.6' opacity='0.36'/><path d='M350,158 C399,143 462,160 498,188 C534,216 558,272 553,332 C548,392 518,432 476,450 C434,468 382,465 345,455 C308,445 260,422 232,390 C204,358 200,304 205,264 C210,224 232,190 268,173 C304,156 301,173 350,158Z' stroke='%23e0ecc3' stroke-width='1.2' opacity='0.5'/><path d='M350,182 C392,168 446,184 478,208 C510,232 530,280 526,334 C522,388 496,425 460,440 C424,455 380,452 345,444 C310,436 268,415 245,386 C222,357 219,308 224,272 C229,236 249,205 280,190 C311,175 308,196 350,182Z' stroke='%23e0ecc3' stroke-width='0.6' opacity='0.38'/><path d='M350,205 C386,192 432,206 458,228 C484,250 500,292 496,340 C492,388 470,418 440,430 C410,442 374,440 345,432 C316,424 280,406 260,380 C240,354 238,310 242,278 C246,246 262,220 288,208 C314,196 314,218 350,205Z' stroke='%23e0ecc3' stroke-width='0.65' opacity='0.4'/><path d='M350,228 C380,216 418,228 440,248 C462,268 472,304 469,344 C466,384 446,410 422,420 C398,430 370,428 345,422 C320,416 292,400 275,376 C258,352 257,314 261,286 C265,258 278,235 300,225 C322,215 320,240 350,228Z' stroke='%23e0ecc3' stroke-width='0.7' opacity='0.42'/><path d='M350,252 C375,241 404,252 422,268 C440,284 448,314 445,348 C442,382 424,404 404,412 C384,420 362,418 345,412 C328,406 308,392 295,372 C282,352 282,320 284,298 C286,276 297,258 315,249 C333,240 325,263 350,252Z' stroke='%23e0ecc3' stroke-width='1.0' opacity='0.48'/><path d='M352,275 C366,265 385,272 396,282 C407,292 412,312 410,330 C408,348 398,362 384,368 C370,374 356,372 346,368 C336,364 324,354 318,340 C312,326 314,305 320,294 C326,283 338,285 352,275Z' stroke='%23e0ecc3' stroke-width='0.8' opacity='0.45'/><path d='M820,48 C878,32 952,58 990,95 C1028,132 1038,188 1032,248 C1026,308 998,350 956,370 C914,390 860,382 820,372 C780,362 740,350 710,322 C680,294 664,250 668,202 C672,154 698,110 738,82 C778,54 762,64 820,48Z' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.26'/><path d='M820,72 C871,57 936,78 969,112 C1002,146 1010,198 1004,252 C998,306 974,342 936,359 C898,376 852,368 820,359 C788,350 752,338 726,314 C700,290 688,250 692,208 C696,166 716,128 752,103 C788,78 769,87 820,72Z' stroke='%23e0ecc3' stroke-width='0.55' opacity='0.30'/><path d='M820,96 C863,82 919,100 948,130 C977,160 984,208 978,254 C972,300 950,332 916,347 C882,362 845,355 820,347 C795,339 762,328 740,306 C718,284 708,248 712,212 C716,176 735,144 765,122 C795,100 777,110 820,96Z' stroke='%23e0ecc3' stroke-width='0.6' opacity='0.34'/><path d='M820,120 C856,107 904,122 930,148 C956,174 961,216 956,254 C951,292 931,320 900,333 C869,346 838,340 820,334 C802,328 772,318 753,299 C734,280 726,248 730,218 C734,188 750,160 774,142 C798,124 784,133 820,120Z' stroke='%23e0ecc3' stroke-width='1.1' opacity='0.46'/><path d='M820,144 C849,132 890,145 912,168 C934,191 939,226 934,258 C929,290 910,315 884,326 C858,337 832,332 820,326 C808,320 782,310 766,294 C750,278 744,250 746,225 C748,200 762,176 782,162 C802,148 791,156 820,144Z' stroke='%23e0ecc3' stroke-width='0.65' opacity='0.38'/><path d='M820,168 C843,157 876,168 895,188 C914,208 916,236 911,262 C906,288 888,308 866,317 C844,326 824,322 820,317 C816,312 796,303 782,289 C768,275 762,252 764,232 C766,212 778,192 796,181 C814,170 797,179 820,168Z' stroke='%23e0ecc3' stroke-width='0.7' opacity='0.40'/><path d='M820,192 C836,182 856,192 868,205 C880,218 882,238 878,255 C874,272 862,284 846,288 C830,292 818,290 816,287 C814,284 806,278 796,267 C786,256 782,238 784,222 C786,206 798,194 810,189 C822,184 804,202 820,192Z' stroke='%23e0ecc3' stroke-width='0.75' opacity='0.42'/><path d='M1060,326 C1096,313 1140,325 1158,352 C1176,379 1170,416 1154,442 C1138,468 1110,480 1060,479 C1010,478 982,466 966,440 C950,414 946,378 963,352 C980,326 1024,339 1060,326Z' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.24'/><path d='M1060,350 C1088,338 1124,349 1140,372 C1156,395 1150,427 1136,449 C1122,471 1096,480 1060,479 C1024,478 998,469 985,447 C972,425 966,393 981,370 C996,347 1032,362 1060,350Z' stroke='%23e0ecc3' stroke-width='0.55' opacity='0.28'/><path d='M1060,374 C1082,364 1108,374 1122,393 C1136,412 1130,437 1118,453 C1106,469 1084,476 1060,475 C1036,474 1016,467 1004,450 C992,433 990,410 1001,390 C1012,370 1038,384 1060,374Z' stroke='%23e0ecc3' stroke-width='0.6' opacity='0.32'/><path d='M1060,398 C1074,390 1092,398 1100,411 C1108,424 1106,442 1096,453 C1086,464 1072,468 1060,467 C1048,466 1034,462 1025,451 C1016,440 1014,424 1022,411 C1030,398 1046,406 1060,398Z' stroke='%23e0ecc3' stroke-width='0.65' opacity='0.36'/><path d='M614,298 C634,287 660,292 674,310 C688,328 686,354 675,370 C664,386 644,394 620,391 C596,388 578,378 572,360 C566,342 594,309 614,298Z' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.22'/><path d='M614,318 C628,309 648,314 658,328 C668,342 666,362 656,373 C646,384 630,388 618,385 C606,382 594,374 589,362 C584,350 600,327 614,318Z' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.26'/><path d='M182,362 C200,351 224,356 236,372 C248,388 246,412 234,426 C222,440 202,446 180,442 C158,438 142,428 138,412 C134,396 164,373 182,362Z' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.20'/><path d='M0,420 C80,400 165,415 248,432 C331,449 398,462 488,440 C578,418 628,382 712,370 C796,358 852,361 918,358 C984,355 1028,348 1096,343 C1132,341 1168,344 1200,346' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.26'/><path d='M0,460 C80,440 162,455 248,472 C334,489 402,502 494,480 C586,458 636,422 722,410 C808,398 864,401 932,398 C1000,395 1044,388 1114,383 C1148,381 1176,384 1200,386' stroke='%23e0ecc3' stroke-width='0.45' opacity='0.22'/><path d='M0,498 C80,478 162,493 248,510 C334,527 404,540 498,518 C592,496 642,460 730,448 C818,436 875,440 944,437 C1013,434 1058,427 1128,422 C1162,420 1184,423 1200,425' stroke='%23e0ecc3' stroke-width='0.45' opacity='0.20'/><path d='M0,536 C80,516 162,531 248,548 C334,565 405,578 500,556 C595,534 645,498 734,486 C823,474 880,478 950,475 C1020,472 1065,465 1135,460 C1169,458 1191,461 1200,463' stroke='%23e0ecc3' stroke-width='0.4' opacity='0.17'/><path d='M0,572 C80,552 162,567 248,584 C334,601 406,614 502,592 C598,570 648,534 738,522 C828,510 885,514 956,511 C1027,508 1072,501 1142,496 C1176,494 1197,497 1200,499' stroke='%23e0ecc3' stroke-width='0.4' opacity='0.14'/><path d='M0,608 C80,588 162,603 248,620 C334,637 406,650 504,628 C602,606 650,570 742,558 C834,546 891,550 962,547 C1033,544 1078,537 1148,532 C1182,530 1199,533 1200,535' stroke='%23e0ecc3' stroke-width='0.35' opacity='0.11'/><path d='M355,278 C360,340 365,400 358,462 C351,524 344,582 347,700' stroke='%23e0ecc3' stroke-width='0.5' opacity='0.18' stroke-dasharray='3,3'/></svg>");
  background-size: 100% 100%;
  background-repeat: no-repeat;
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>");
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 40px 100px;
  width: 100%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 32px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.9s var(--ease) 0.1s forwards;
}
.hero-eyebrow .dash { width: 28px; height: 1px; background: var(--moss); }

.hero h1 {
  font-size: clamp(46px, 7.5vw, 96px);
  font-weight: 300;
  color: #fff;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 980px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.1s var(--ease) 0.3s forwards;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
  color: var(--moss);
}
.hero h1 span.copper { color: var(--copper-soft); }

.hero-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 44px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.1s var(--ease) 0.55s forwards;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1.1s var(--ease) 0.75s forwards;
}

.hero-stats {
  position: absolute;
  bottom: 40px;
  left: 0; right: 0;
  z-index: 3;
  padding: 0 40px;
}
.hero-stats-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1.2s var(--ease) 1s forwards;
}
.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.hero-stat-num em { color: var(--moss); font-style: normal; }
.hero-stat-unit {
  font-size: 18px;
  color: var(--moss);
  font-family: var(--font-display);
  font-weight: 300;
}
.hero-stat-label {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  right: 40px;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: '';
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   MARQUEE — credibility strip
   ============================================ */
.marquee {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.marquee-track {
  display: flex;
  gap: 64px;
  animation: marquee 32s linear infinite;
  width: max-content;
}
.marquee-item {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}
.marquee-item::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--copper);
  border-radius: 50%;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================
   SECTION SHARED
   ============================================ */
.section {
  padding: var(--section-pad) 40px;
  position: relative;
}
.container {
  max-width: var(--max-w);
  margin: 0 auto;
}
.container-narrow {
  max-width: var(--max-w-narrow);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 24px;
}
.eyebrow .num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
}
.eyebrow .dash { width: 24px; height: 1px; background: var(--forest); }

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 24px;
  max-width: 720px;
}
.section-h2 em { font-style: italic; color: var(--forest); }
.section-lead {
  font-size: 18px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 40px;
}

/* ============================================
   NOSOTROS (split)
   ============================================ */
.nosotros { background: var(--bg); position: relative; overflow: hidden; --nosotros-bg: url('assets/media/dji_0724.jpg'); }
.nosotros .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.18;
  z-index: 0;
}
.nosotros.has-video::before { display: none; }
.mapas .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.22;
  z-index: 0;
}
.mapas.has-video::before { display: none; }
.nosotros::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--nosotros-bg);
  background-size: cover;
  background-position: center 55%;
  background-attachment: fixed;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.nosotros .container { position: relative; z-index: 1; }
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}
.nosotros-content { padding-right: 20px; }
.nosotros-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a2a08 0%, #0a1505 50%, #162501 100%);
}
.nosotros-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.nosotros-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}
.nosotros-photo.loaded { opacity: 1; }

/* ============================================
   QUE HACEMOS — sticky 3 pillars + video bg
   ============================================ */
.quehacemos {
  background: var(--dark);
  color: #fff;
  overflow: hidden;
}
.quehacemos .section-h2 { color: #fff; }
.quehacemos .section-h2 em { color: var(--moss); }
.quehacemos .section-lead { color: rgba(255,255,255,0.65); }
.quehacemos .eyebrow { color: var(--moss); }
.quehacemos .eyebrow .dash { background: var(--moss); }
.quehacemos .container { position: relative; z-index: 2; }

/* Video / image background */
.qh-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.qh-video-bg .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  display: block;
}
.qh-video-bg.has-image { opacity: 0.55; }
.qh-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10,21,5,0.72) 0%,
    rgba(6,37,1,0.55) 40%,
    rgba(10,21,5,0.72) 100%
  );
}

.qh-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.qh-card {
  border: 1px solid var(--border-dark);
  border-radius: 12px;
  padding: 36px 28px;
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
  transition: background var(--t), transform var(--t);
}
.qh-card:hover {
  background: rgba(224,236,195,0.06);
  transform: translateY(-4px);
}
.qh-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--moss);
  transition: width var(--t-slow);
}
.qh-card:hover::before { width: 100%; }
.qh-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--copper-soft);
  margin-bottom: 18px;
}
.qh-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}
.qh-card p {
  font-size: 14.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
}

/* ============================================
   SERVICIOS — stacking sticky cards + photo bg
   ============================================ */
.servicios {
  background: var(--bg);
  padding-top: var(--section-pad);
  padding-bottom: 60px;
  position: relative;
}
.servicios::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('assets/media/dji_0702.jpg');
  background-size: cover;
  background-position: center 55%;
  background-attachment: fixed;
  opacity: 0.14;
  pointer-events: none;
  z-index: 0;
}
.servicios-intro {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px 80px;
  position: relative;
  z-index: 1;
}

.svc-track {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.svc-block {
  position: relative;
  margin-bottom: 200px;
}
.svc-block:last-child { margin-bottom: 0; }

.svc-card {
  display: grid;
  grid-template-columns: 0.45fr 0.55fr;
  gap: 60px;
  background: var(--bg-2);
  border-radius: 24px;
  padding: 56px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}
.svc-meta { padding-right: 8px; }
.svc-step {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--copper);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.svc-step::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--copper);
}
.svc-card h3 {
  font-family: var(--font-display);
  font-size: 44px;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 18px;
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.svc-card h3 em { font-style: italic; color: var(--forest); }
.svc-card p.lead {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 28px;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.svc-tag {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--forest);
  background: var(--moss);
  padding: 5px 11px;
  border-radius: 100px;
}

.svc-details {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 4px;
  flex: 1;
  min-height: 100%;
}
.svc-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
}
.svc-detail:last-child { border-bottom: none; }
.svc-detail-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--moss);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--forest);
}
.svc-detail-text { display: flex; align-items: center; min-height: 38px; }
.svc-detail-text h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.2;
  margin: 0;
}

/* Servicio visual (mapa stylized) */
.svc-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  overflow: hidden;
  margin-top: 24px;
}
/* Hover image overlay (dual-layer crossfade) */
.svc-visual-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
  border-radius: 16px;
}
.svc-visual-img.active {
  opacity: 1;
}
.svc-visual svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.5s ease;
  z-index: 1;
}
.svc-visual.img-active svg {
  opacity: 0;
}
/* Detail hover feedback */
.svc-detail[data-img] {
  cursor: default;
  transition: background var(--t-fast), border-left-color var(--t-fast);
  border-left: 2px solid transparent;
  padding-left: 10px;
  margin-left: -10px;
}
.svc-detail[data-img]:hover {
  background: rgba(22,37,1,0.03);
  border-left-color: var(--forest);
}
.svc-visual.map-1 {
  background: linear-gradient(135deg, #0a1505 0%, #162501 60%, #063a21 100%);
}
.svc-visual.map-2 {
  background: linear-gradient(135deg, #1a2a08 0%, #2a3520 60%, #b07c48 130%);
}
.svc-visual.map-3 {
  background: linear-gradient(135deg, #063a21 0%, #0a4f2c 60%, #e0ecc3 130%);
}

/* ============================================
   CASOS — sliding cards + photo bg
   ============================================ */
.casos {
  background: var(--bg);
  position: relative;
  overflow: visible;
  padding-top: 0;
  padding-bottom: var(--section-pad);
}
.casos .container { padding-top: var(--section-pad); }
.casos .eyebrow { color: var(--ink-soft); }
.casos .eyebrow .dash { background: var(--ink-soft); }
.casos .section-h2 { color: var(--ink); }
.casos .section-h2 em { color: var(--forest); }
/* Sticky bg: se mantiene fija mientras el contenido de casos scrollea
   (igual que servicios con background-attachment: fixed, pero soporta video) */
.casos-video-bg {
  position: sticky;
  top: 0;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  height: 100vh;
  margin-bottom: -100vh;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  --casos-bg: none;
}
.casos-video-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--casos-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  pointer-events: none;
}
.casos-video-bg .bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
  display: block;
  pointer-events: none;
}
.casos-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(248,248,243,0.4), rgba(248,248,243,0.15), rgba(248,248,243,0.5));
  pointer-events: none;
}
.casos .container {
  position: relative;
  z-index: 1;
}
.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 460px;
  gap: 18px;
  margin-top: 60px;
  align-items: stretch;
}

.caso-card {
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform 0.55s var(--ease) 0.05s, box-shadow 0.55s ease 0.05s;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  transform-origin: center center;
}
.caso-card:hover {
  transform: scale(1.1);
  box-shadow: 0 36px 90px rgba(0,0,0,0.55);
  z-index: 10;
}
.caso-img {
  height: 200px;
  flex: 0 0 200px;
  position: relative;
  overflow: hidden;
}
.caso-img .carousel-track { transition: transform 0.55s var(--ease) 0.05s; }
.caso-card:hover .caso-img .carousel-track { transform: scale(1.1); }
.caso-img.c1 { background: linear-gradient(135deg, #2a3520 0%, #0a1505 50%, #063a21 100%); }
.caso-img.c2 { background: linear-gradient(135deg, #5a6850 0%, #2a3520 50%, #b07c48 130%); }
.caso-img.c3 { background: linear-gradient(135deg, #063a21 0%, #0a4f2c 50%, #e0ecc3 130%); }
.caso-img.c4 { background: linear-gradient(135deg, #2a3520 0%, #b07c48 60%, #0a4f2c 130%); }
.caso-img.c5 { background: linear-gradient(135deg, #5a6850 0%, #063a21 50%, #2a3520 100%); }
.caso-img.c6 { background: linear-gradient(135deg, #0a4f2c 0%, #2a3520 50%, #b07c48 130%); }
.caso-img svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; }
.caso-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.caso-img-tag {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  padding: 5px 11px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.15);
}
.caso-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.caso-loc {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13px;
  color: var(--copper);
  margin-bottom: 6px;
}
.caso-body h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 10px;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.caso-body p { display: none; }
.caso-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
  padding: 14px 0 4px;
  border-top: 1px solid var(--border-soft);
  position: relative;
  margin-top: auto;
}
.caso-quote::before {
  content: '"';
  font-size: 28px;
  color: var(--copper);
  position: relative;
  top: 6px;
  margin-right: 2px;
}
.caso-author {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-faint);
  font-style: normal;
  margin-top: 10px;
  letter-spacing: 0.02em;
}
.caso-author strong { color: var(--ink-soft); font-weight: 600; }

/* ── Carousel (casos) ───────────────────── */
.carousel-track {
  position: absolute;
  inset: 0;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: block;
}
.carousel-slide.active { opacity: 1; }
video.carousel-slide { background: #000; }
.mapa-card .carousel-track { position: absolute; inset: 0; z-index: 0; }
.mapa-card .carousel-track .carousel-slide { width: 100%; height: 100%; }
.mapa-card.has-media svg { opacity: 0; }
.mapa-card.has-media .mapa-label { z-index: 3; }
.mapa-card.has-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,21,5,0.7) 0%, rgba(10,21,5,0.05) 50%);
  z-index: 1;
  pointer-events: none;
}
.carousel-controls {
  position: absolute;
  bottom: 10px;
  left: 0; right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0.85;
  transition: opacity 0.3s ease;
  z-index: 5;
}
.caso-card:hover .carousel-controls,
.mapa-card:hover .carousel-controls { opacity: 1; }
.carousel-btn {
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 26px; height: 26px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  padding: 0;
}
.carousel-btn:hover { background: rgba(0,0,0,0.7); }
.carousel-dots { display: flex; gap: 4px; align-items: center; }
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.45);
  transition: background 0.2s, transform 0.2s;
  cursor: pointer;
}
.carousel-dot.active { background: #fff; transform: scale(1.3); }

/* ── Lightbox (modal carousel para casos) ─── */
.caso-img { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,12,4,0.94);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 80px 90px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lightbox.active {
  display: flex;
  opacity: 1;
}
.lightbox-stage {
  position: relative;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.lightbox-slide.active { opacity: 1; pointer-events: auto; }
.lightbox-slide img,
.lightbox-slide video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  z-index: 10;
  padding: 0;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.18); }
.lightbox-close {
  top: 24px; right: 28px;
  width: 44px; height: 44px;
  font-size: 22px;
}
.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 26px;
}
.lightbox-prev { left: 22px; }
.lightbox-next { right: 22px; }
.lightbox-info {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  letter-spacing: 0.05em;
  font-weight: 500;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 100px;
}
body.lightbox-open { overflow: hidden; }

@media (max-width: 768px) {
  .lightbox { padding: 60px 16px; }
  .lightbox-prev { left: 8px; width: 44px; height: 44px; }
  .lightbox-next { right: 8px; width: 44px; height: 44px; }
}

/* ============================================
   MAPAS — visual showcase
   ============================================ */
.mapas {
  background: var(--dark);
  color: #fff;
  padding: var(--section-pad) 40px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  --modelado-bg: none;
}
.mapas::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: var(--modelado-bg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.mapas > * { position: relative; z-index: 1; }
.mapas .eyebrow { color: var(--moss); }
.mapas .eyebrow .dash { background: var(--moss); }
.mapas .section-h2 { color: #fff; }
.mapas .section-h2 em { color: var(--moss); }
.mapas .section-lead { color: rgba(255,255,255,0.65); }

.mapas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.mapa-card {
  aspect-ratio: 1 / 1.2;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-dark);
  transition: transform var(--t);
}
.mapa-card:hover { transform: translateY(-4px); }
.mapa-card.m1 { background: radial-gradient(circle at 30% 40%, #063a21, #0a1505); }
.mapa-card.m2 { background: radial-gradient(circle at 70% 60%, #2a3520, #0a1505); }
.mapa-card.m3 { background: radial-gradient(circle at 50% 50%, #b07c48, #2a3520 70%); }
.mapa-card.m4 { background: radial-gradient(circle at 40% 60%, #e0ecc3, #063a21 60%); }
.mapa-card svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.mapa-label {
  position: absolute;
  bottom: 14px; left: 14px; right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.mapa-label-name {
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 400;
  color: #fff;
}
.mapa-label-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  padding: 3px 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 100px;
}

/* ============================================
   EQUIPO
   ============================================ */
.equipo { background: var(--bg); }
.equipo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 60px;
}
.equipo-card {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 36px 28px;
  border: 1px solid var(--border-soft);
  text-align: center;
  transition: transform var(--t), box-shadow var(--t);
}
.equipo-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  font-weight: 400;
  color: #fff;
}
.avatar.a1 { background: linear-gradient(135deg, #063a21, #0a1505); }
.avatar.a2 { background: linear-gradient(135deg, #b07c48, #2a3520); }
.avatar.a3 { background: linear-gradient(135deg, #0a4f2c, #e0ecc3); color: #063a21; }
/* Photo avatar */
img.avatar {
  object-fit: cover;
  object-position: top center;
  display: block;
  border: 3px solid var(--bg-soft);
  box-shadow: 0 4px 20px rgba(21,37,1,0.12);
}
.equipo-card h4 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}
.equipo-role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.equipo-bio {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.equipo-social {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.equipo-social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  color: var(--ink-soft);
  transition: all var(--t-fast);
}
.equipo-social a:hover {
  background: var(--forest);
  color: #fff;
}

/* ============================================
   BLOG (preview)
   ============================================ */
.blog { background: var(--bg-soft); }
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
.blog-card {
  display: block;
  background: var(--bg-2);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--t), box-shadow var(--t);
  color: inherit;
  text-decoration: none;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}
.blog-img {
  aspect-ratio: 16 / 9;
  background: var(--moss);
  position: relative;
  overflow: hidden;
}
.blog-img.b1 { background: linear-gradient(135deg, #e0ecc3 0%, #063a21 100%); }
.blog-img.b2 { background: linear-gradient(135deg, #b07c48 0%, #2a3520 100%); }
.blog-img.b3 { background: linear-gradient(135deg, #0a4f2c 0%, #e0ecc3 100%); }
.blog-img svg { position: absolute; inset: 0; opacity: 0.4; }
.blog-body { padding: 22px; }
.blog-meta {
  display: flex;
  gap: 12px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 10px;
}
.blog-card h4 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 10px;
}
.blog-card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

/* ============================================
   CTA / CONTACTO
   ============================================ */
.cta {
  background: var(--dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 50%, rgba(176,124,72,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(6,58,33,0.7) 0%, transparent 60%);
}
.cta-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-pad) 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
}
.cta-content .eyebrow { color: var(--moss); }
.cta-content .eyebrow .dash { background: var(--moss); }
.cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.cta-content h2 em { font-style: italic; color: var(--moss); }
.cta-content p {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.cta-info {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-dark);
  border-radius: 16px;
  padding: 32px;
  backdrop-filter: blur(20px);
}
.cta-info h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 8px;
}
.cta-info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-dark);
  font-size: 15px;
  color: rgba(255,255,255,0.85);
  transition: color var(--t-fast);
}
.cta-info-row:last-child { border-bottom: none; }
.cta-info-row:hover { color: #fff; }
.cta-info-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(224,236,195,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--moss);
  font-size: 14px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--dark-2);
  color: rgba(255,255,255,0.55);
  padding: 64px 40px 32px;
  border-top: 1px solid var(--border-dark);
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-dark);
  margin-bottom: 28px;
}
.footer-brand .logo .logo-text { color: #fff; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
  margin: 20px 0 24px;
}
.footer-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
}
.footer-tagline span { padding-right: 8px; border-right: 1px solid var(--border-dark); }
.footer-tagline span:last-child { border-right: none; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 18px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  transition: color var(--t-fast);
}
.footer-col ul li a:hover { color: var(--moss); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 12px;
}

/* ============================================
   FADE-IN ON SCROLL
   ============================================ */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in.delay-1 { transition-delay: 0.1s; }
.fade-in.delay-2 { transition-delay: 0.2s; }
.fade-in.delay-3 { transition-delay: 0.3s; }
.fade-in.delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  :root { --section-pad: 80px; }
  .nosotros-grid { grid-template-columns: 1fr; gap: 50px; }
  .svc-card { grid-template-columns: 1fr; gap: 32px; padding: 40px; }
  .qh-grid { grid-template-columns: 1fr; gap: 16px; }
  .casos-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 460px; }
  .equipo-grid, .blog-grid { grid-template-columns: 1fr 1fr; }
  .mapas-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-inner { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .nav-inner { padding: 0 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-cta .btn { display: none; }

  .hero-inner, .section, .cta-inner, .servicios-intro, .svc-track, .mapas, .footer { padding-left: 20px; padding-right: 20px; }
  .hero-stats-inner { gap: 32px; }
  .hero-stats { padding: 0 20px; }

  .svc-card { padding: 28px 24px; }
  .svc-card h3 { font-size: 32px; }
  .svc-detail[data-img] { padding-left: 0; margin-left: 0; border-left: none; }

  .casos-grid, .equipo-grid, .blog-grid { grid-template-columns: 1fr; }
  .casos-grid { grid-auto-rows: 460px; }
  .mapas-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .scroll-cue { display: none; }
}
