:root {
  --green: #9DBE1F;
  --green-dark: #7a9618;
  --navy: #1A1F2C;
  --navy-light: #252c3d;
  --gray: #8C8C8C;
  --text: #454a5a;
  --gray-light: #f4f4f2;
  --white: #FFFFFF;
  --text: #1A1F2C;
  --border: rgba(26,31,44,0.1);
  --radius: 4px;
  --transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lora', Georgia, serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.7;
}

h3, h4, h5, .nav-logo, .stat-num, .step-num, .cta-btn, .nav-cta, .tag-label, .badge, .footer-brand {
  font-family: 'Montserrat', sans-serif;
}
/* H1 y H2: serif editorial (contraste con Montserrat en UI) */
h1, h2 {
  font-family: 'Playfair Display', serif;
}

img { display: block; width: 100%; object-fit: cover; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* ===== REVEAL ANIMATIONS (estado inicial — GSAP anima) ===== */
.reveal       { opacity: 0; }
.reveal-left  { opacity: 0; }

/* Section tag: la línea se dibuja al entrar en viewport (GSAP la activa) */
.section-tag::before {
  width: 0;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.st-line .section-tag::before { width: 24px; }

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; z-index: 200;
  height: 2px; background: var(--green);
  width: 0%; pointer-events: none;
}

/* H1 mask reveal (GSAP crea el wrapper en JS) */
.h1-mask { overflow: hidden; display: block; }

/* ===== PORTFOLIO FILTER ===== */
.portfolio-filters {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--navy);
  background: none; border: 1.5px solid var(--border);
  padding: 8px 20px; border-radius: 4px;
  cursor: pointer;
  transition: color 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.filter-btn:hover   { border-color: var(--green); color: var(--green); }
.filter-btn.active  { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ===== NAVBAR — Glassmorphism ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: transparent;
  padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
  transition: background 0.45s ease, backdrop-filter 0.45s ease,
              box-shadow 0.45s ease, height 0.35s ease;
}
/* Al hacer scroll: efecto vidrio esmerilado */
nav.scrolled {
  background: rgba(26, 31, 44, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 32px rgba(0,0,0,0.25);
  height: 64px;
}

/* Logo izquierda */
.nav-logo {
  display: flex; align-items: center;
  text-decoration: none;
  padding-left: 12px;
  flex-shrink: 0;
}

/* Grupo derecho: botón + hamburguesa */
.nav-right {
  display: flex; align-items: center; gap: 16px;
}

/* ---- Fila principal: macr + círculo-O + persona + vision ---- */
.logo-stack { display: flex; flex-direction: column; gap: 3px; }
.logo-row   { display: flex; align-items: center; line-height: 1; }

.logo-macr {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 300;
  letter-spacing: 6px;
  color: rgba(255,255,255,0.95);
  text-transform: lowercase;
}

/* Círculo verde — el "O" de macro */
.logo-o {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--green);
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin: 0 1px;
}
.logo-o-ring {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--navy);
  position: absolute;
  display: flex; align-items: center; justify-content: center;
}
@keyframes oBreath {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(0.82); opacity: 0.55; }
}
.logo-o-core {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  position: absolute;
  animation: oBreath 3.8s ease-in-out infinite;
}

/* Figura humana + "vision" */
.logo-suffix {
  display: flex; align-items: flex-end;
  gap: 3px; margin-left: 3px;
}
.logo-figure {
  display: flex; flex-direction: column;
  align-items: center; gap: 1px;
  width: 10px;
}
.logo-figure::before {            /* cabeza */
  content: '';
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  flex-shrink: 0;
}
.logo-figure::after {             /* cuerpo */
  content: '';
  width: 9px; height: 13px;
  background: rgba(255,255,255,0.7);
  border-radius: 4px 4px 2px 2px;
  flex-shrink: 0;
}

.logo-vision {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 400;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.5);
  text-transform: lowercase;
  padding-bottom: 2px;
}

/* Subtítulo */
.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 7.5px; font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding-left: 2px;
}

/* ── PILL CENTRAL — firma LUFTÉ ───────────────────────────── */
.nav-links {
  /* El div se convierte en la pill: centrado absoluto en el nav */
  position: absolute;
  left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 2px;
  /* Glass pill */
  background: rgba(26,31,44,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50px;
  padding: 5px 6px;
  z-index: 1;
  transition: background 0.4s ease, border-color 0.4s ease;
}
/* Al scrollear, la pill se vuelve más opaca */
nav.scrolled .nav-links {
  background: rgba(26,31,44,0.9);
  border-color: rgba(255,255,255,0.07);
}

.nav-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 30px;
  white-space: nowrap;
  transition: color 0.25s ease, background 0.25s ease;
}
/* Hover: highlight sutil dentro de la pill */
.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
}
/* Active: tinte verde de marca dentro de la pill */
.nav-links a.nav-active {
  background: rgba(157,190,31,0.18);
  color: var(--white);
}
/* Sin underline — la pill usa background highlight */
.nav-links a::after { display: none; }

/* ── CTA OUTLINE — outline pill con verde de marca ─────────── */
.nav-cta {
  background: transparent;
  color: rgba(255,255,255,0.85);
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 9px 24px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  cursor: pointer;
  transition: color 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.nav-cta:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}

/* ===== BORDER-RADIUS GLOBAL EN BOTONES ===== */
.btn-primary,
.btn-outline,
.nav-cta,
.hf-submit,
.form-submit,
.cta-btn,
.carousel-btn,
.step-circle {
  border-radius: 6px;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 101;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: var(--transition);
  transform-origin: center;
}
nav.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.nav-open .nav-toggle span:nth-child(2) { opacity: 0; transform: scaleX(0); }
nav.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  height: 88vh;
  position: relative;
  z-index: 0;
  display: flex; align-items: stretch;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('../img/proyecto-colegio (1).jpeg') center/cover no-repeat;
  transform-origin: center center;
  will-change: transform;
  overflow: hidden;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(6, 8, 16, 0.82);
}

/* Dos columnas — texto izquierda, form derecha */
.hero-inner {
  position: relative; z-index: 2;
  width: 100%;
  height: 88vh;
  display: flex;
  align-items: center;
  gap: 64px;
  padding-top: 76px;
  padding-bottom: 64px;
  box-sizing: border-box;
}

.hero-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 500; letter-spacing: 3px;
  color: var(--green); text-transform: uppercase;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 12px;
  opacity: 0;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1.5px; background: var(--green); }

h1 {
  font-size: clamp(28px, 3.6vw, 56px);
  font-weight: 700; line-height: 1.1;
  color: var(--white); letter-spacing: -1px;
  margin-bottom: 14px;
}
h1 em { color: var(--green); font-style: normal; }

/* Word-mask reveal (GSAP) */
.wm {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.06em; /* evita que se recorten las letras descendentes */
}
.wi { display: inline-block; }
.h1-accent-word {
  text-decoration: underline;
  text-decoration-color: rgba(157, 190, 31, 0.3);
  text-underline-offset: 8px;
  text-decoration-thickness: 2px;
}

.hero-desc {
  font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.65;
  margin-bottom: 16px; max-width: 52ch;
  font-family: 'Lora', serif;
  opacity: 0;
}

.hero-badges {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  opacity: 0;
}
.hero-badge {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: rgba(255,255,255,0.5);
}
.hero-badge-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--green); flex-shrink: 0;
}

/* — COLUMNA DERECHA — centrado vertical igual que el texto */
.hero-right {
  flex: 0 0 400px;
  width: 400px;
  opacity: 0;
}

/* Form card — negro sólido como LUFTÉ */
.hero-form-card {
  background: rgba(6, 8, 16, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 36px 32px 28px;
}

.hero-form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 800; letter-spacing: 0.5px;
  color: var(--white); margin-bottom: 4px;
}
.hero-form-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.8px;
  color: var(--green); margin-bottom: 28px;
}

.hero-form { display: flex; flex-direction: column; gap: 16px; }

.hf-group { display: flex; flex-direction: column; gap: 5px; }
.hf-group label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8.5px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.38);
}
.hf-group input,
.hf-group select {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.22);
  border-radius: 0;
  color: var(--white);
  font-family: 'Lora', serif; font-size: 14px;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.35s ease;
  width: 100%;
}
.hf-group input:focus,
.hf-group select:focus {
  border-bottom-color: var(--green);
}
.hf-group input::placeholder { color: rgba(255,255,255,0.22); }
.hf-group select option { background: var(--navy); }

.hf-submit {
  width: 100%; padding: 14px;
  background: var(--green); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 4px;
  margin-top: 4px;
  transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 10px;
}
.hf-submit:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(157,190,31,0.35); }
.hf-submit.sent { background: #3B6D11; cursor: default; transform: none; box-shadow: none; }

.hf-trust {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 16px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 500; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.28);
}

/* Botones generales (usados fuera del hero) */
.btn-primary {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 16px 32px;
  background: var(--green); color: var(--white);
  border: none; cursor: pointer;
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { background: var(--green-dark); transform: translateY(-2px); box-shadow: 0 12px 30px rgba(157,190,31,0.3); }
.btn-outline {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 16px 32px;
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.35); cursor: pointer;
  transition: var(--transition);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }



/* ===== SECTION HEADERS ===== */
.section { padding: 80px 0; }

#portafolio { padding-top: 72px; }
.section-gray { background: var(--gray-light); }
.section-dark { background: var(--navy); }

.section-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.section-tag::before { content: ''; height: 1.5px; background: var(--green); }

h2 {
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700; line-height: 1.15;
  letter-spacing: -0.5px; color: var(--navy);
  margin-bottom: 16px;
}
h2.light { color: var(--white); }
.section-desc {
  font-size: 16px; color: var(--text); line-height: 1.8;
  max-width: 65ch; margin-bottom: 40px;
}
.section-desc.light { color: rgba(255,255,255,0.6); }

/* ===== SERVICES ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-card {
  background: var(--white);
  padding: 44px 36px;
  transition: var(--transition);
  position: relative; overflow: hidden;
  cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 3px; background: var(--green);
  transition: width 0.4s ease;
}
.service-card:hover { background: var(--navy); }
.service-card:hover .service-num,
.service-card:hover .service-title,
.service-card:hover .service-desc { color: var(--white); }
.service-card:hover::before { width: 100%; }
.service-card:hover .service-icon { color: var(--green); }

.service-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  color: var(--green); margin-bottom: 20px;
  transition: var(--transition);
}
.service-icon {
  font-size: 28px; margin-bottom: 20px; color: var(--navy);
  transition: var(--transition);
  display: block;
}
h3.service-title {
  font-size: 15px; font-weight: 700; line-height: 1.45;
  color: var(--navy); margin-bottom: 12px;
  transition: var(--transition);
}
.service-desc {
  font-size: 14px; color: var(--text); line-height: 1.7;
  transition: var(--transition);
}

/* ===== WHY US ===== */
.why-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-img-wrap {
  position: relative; height: 560px; overflow: hidden;
}
.why-img-wrap img { height: 100%; object-fit: cover; }
.why-img-accent {
  position: absolute; bottom: -1px; right: -1px;
  width: 120px; height: 120px;
  background: var(--green);
  display: flex; align-items: center; justify-content: center;
}
.why-img-accent span {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white);
  text-align: center; line-height: 1.4;
  padding: 12px;
}
.why-items { display: flex; flex-direction: column; gap: 36px; }
.why-item { display: flex; gap: 20px; align-items: flex-start; }
.why-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px; font-weight: 800; color: rgba(26,31,44,0.08);
  line-height: 1; flex-shrink: 0; width: 48px;
  transition: color 0.3s ease;
}
.why-item:hover .why-num { color: var(--green); }
h3.why-title {
  font-size: 15px; font-weight: 700; color: var(--navy);
  margin-bottom: 6px;
}
.why-desc { font-size: 14px; color: var(--text); line-height: 1.7; }

/* ===== PORTFOLIO / CAROUSEL ===== */

/* Header con título + flechas en misma fila */
.pf-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.pf-nav {
  display: flex; gap: 10px;
  flex-shrink: 0;
}
.pf-arrow {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-size: 18px; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.pf-arrow:hover:not(:disabled) {
  background: var(--navy); color: var(--white);
}
.pf-arrow:disabled { opacity: 0.2; cursor: default; }

.carousel-outer { position: relative; }
.carousel-wrapper { overflow: hidden; }

.carousel-track {
  display: flex;
  gap: 28px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}
.carousel-track .project-card {
  flex: 0 0 calc((100% - 56px) / 3);
  min-width: 0;
}

/* Dots bajo el carrusel */
.carousel-dots-wrap {
  display: flex; justify-content: center;
  margin-top: 28px;
}
.carousel-dots { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(26,31,44,0.18);
  border: none; cursor: pointer;
  transition: var(--transition); padding: 0;
}
.dot.active { background: var(--green); width: 24px; border-radius: 4px; }
.dot:hover:not(.active) { background: rgba(26,31,44,0.35); }

/* ── TARJETA NUEVA — imagen arriba, info abajo ── */
.project-card {
  cursor: pointer;
  background: var(--white);
  transition: box-shadow 0.3s ease;
}
.project-card:hover { box-shadow: 0 16px 48px rgba(0,0,0,0.14); }

.project-img {
  height: 380px;
  overflow: hidden;
  display: block;
}
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s ease;
}
.project-card:hover .project-img img { transform: scale(1.05); }

/* Bloque de información — debajo de la imagen */
.project-body {
  padding: 22px 4px 4px;
  border-bottom: 1px solid var(--border);
}
.project-cat {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 8px;
}
h3.project-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px; font-weight: 700; color: var(--navy);
  line-height: 1.3; margin-bottom: 12px;
}
.project-meta-row {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; color: var(--gray);
  padding: 10px 0;
  border-top: 1px solid var(--border);
}
.project-meta-row svg {
  width: 13px; height: 13px;
  stroke-width: 1.5; color: var(--navy);
  flex-shrink: 0;
}

/* ===== SEGMENTS ===== */
.segments-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,0.06); }
.segment-card {
  background: var(--navy-light);
  padding: 44px 28px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}
.segment-card:hover { background: var(--green); }
.segment-icon {
  font-size: 36px; display: block; margin-bottom: 20px;
  transition: var(--transition);
}
.segment-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700; letter-spacing: 0.5px;
  color: var(--white); margin-bottom: 8px;
  transition: var(--transition);
}
.segment-desc { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.5; transition: var(--transition); }
.segment-card:hover .segment-title,
.segment-card:hover .segment-desc { color: var(--navy); }

/* ===== TESTIMONIALS ===== */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
  background: var(--white);
  padding: 36px 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { border-color: var(--green); transform: translateY(-4px); box-shadow: 0 20px 40px rgba(26,31,44,0.08); }
.quote-mark {
  font-size: 72px; line-height: 0.8;
  font-family: Georgia, serif; color: var(--green);
  margin-bottom: 20px; display: block;
  opacity: 0.6;
}
.testimonial-text {
  font-size: 15px; line-height: 1.75; color: var(--navy);
  font-style: italic; margin-bottom: 28px;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green); display: flex;
  align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700; color: var(--white);
  flex-shrink: 0;
}
.author-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 700; color: var(--navy);
}
.author-role { font-size: 12px; color: var(--gray); }

/* ===== PROCESS ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute;
  top: 36px; left: calc(12.5% + 20px); right: calc(12.5% + 20px);
  height: 1.5px; background: var(--green); opacity: 0.25; z-index: 0;
}
.step {
  text-align: center; padding: 0 24px; position: relative; z-index: 1;
}
.step-circle {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.step:hover .step-circle { background: var(--green); border-color: var(--green); }
.step-num {
  font-size: 20px; font-weight: 800; color: var(--green);
  transition: var(--transition);
}
.step:hover .step-num { color: var(--white); }
h3.step-title {
  font-size: 14px; font-weight: 700; color: var(--navy);
  margin-bottom: 10px; line-height: 1.45;
}
.step-desc { font-size: 13px; color: var(--text); line-height: 1.65; }

/* ===== COVERAGE ===== */
.coverage-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.coverage-map {
  position: relative; height: 480px; overflow: hidden;
  background: var(--navy-light);
}
.coverage-map img {
  width: 100%; height: 115%; object-fit: cover;
  opacity: 0.78;
  will-change: transform;
  transition: opacity 0.3s ease;
}
.map-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 16px;
  padding: 40px;
}
.map-cities { display: flex; flex-direction: column; gap: 8px; }
.map-city {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
  color: rgba(255,255,255,0.7); text-transform: uppercase;
}
.map-city-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
.map-city.main .map-city-dot { width: 10px; height: 10px; background: var(--green); box-shadow: 0 0 0 4px rgba(157,190,31,0.25); }
.map-city.main { color: var(--white); font-size: 14px; }

.coverage-cities { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.city-tag {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; padding: 8px 16px;
  border: 1px solid var(--border); color: var(--navy);
  border-radius: 4px;
  transition: var(--transition); cursor: default;
}
.city-tag:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.city-tag.main { background: var(--green); color: var(--white); border-color: var(--green); }

/* ===== CTA FINAL ===== */
.cta-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cta-content h2 { font-size: clamp(28px, 3vw, 44px); color: var(--white); }
.cta-content p { font-size: 16px; color: rgba(255,255,255,0.6); margin: 20px 0 40px; }
.cta-actions { display: flex; flex-direction: column; gap: 14px; }
.cta-btn {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase;
  transition: var(--transition); cursor: pointer;
}
.cta-btn-primary { background: var(--green); color: var(--white); border: 2px solid var(--green); }
.cta-btn-primary:hover { background: var(--green-dark); transform: translateX(4px); }
.cta-btn-wa { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.2); }
.cta-btn-wa:hover { border-color: #25D366; color: #25D366; }
.cta-btn-icon { font-size: 18px; }
.cta-btn-arrow { margin-left: auto; opacity: 0.5; }

.cta-form {
  background: transparent;
  border: none;
  border-left: 2px solid rgba(255,255,255,0.07);
  border-radius: 0;
  padding: 8px 0 8px 40px;
}
.form-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px; font-weight: 700; letter-spacing: 1px;
  text-transform: uppercase; color: var(--white);
  margin-bottom: 28px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1/-1; }
label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
}
input, select, textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  border-radius: 0;
  color: var(--white); font-family: 'Lora', serif;
  font-size: 14px; padding: 14px 0;
  outline: none;
  transition: border-color 0.35s ease;
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  border-bottom-color: var(--green);
}
input::placeholder, textarea::placeholder { color: rgba(255,255,255,0.25); }
select option { background: var(--navy); }
textarea { resize: vertical; min-height: 100px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--green); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px; transition: var(--transition);
}
.form-submit:hover { background: var(--green-dark); }
.form-note {
  font-size: 11px; color: rgba(255,255,255,0.3);
  text-align: center; margin-top: 12px;
  font-family: 'Montserrat', sans-serif; letter-spacing: 0.5px;
}

/* ===== FOOTER ===== */
footer {
  background: #0f1219;
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 48px;
}
.footer-brand-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px; font-weight: 800; letter-spacing: 3px;
  color: var(--white); margin-bottom: 6px;
}
.footer-brand-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green); margin-bottom: 16px;
}
.footer-desc { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.7; max-width: 280px; }
.footer-contact { margin-top: 20px; display: flex; flex-direction: column; gap: 8px; }
.footer-contact-item {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; color: rgba(255,255,255,0.5);
  font-weight: 500; letter-spacing: 0.5px;
}
.footer-contact-icon { color: var(--green); font-size: 13px; }

.footer-col-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 13px; color: rgba(255,255,255,0.5);
  transition: var(--transition);
  font-family: 'Montserrat', sans-serif; font-weight: 500;
}
.footer-links a:hover { color: var(--green); padding-left: 4px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-legal {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 0.5px;
}
.footer-rut {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; color: rgba(255,255,255,0.25); letter-spacing: 1px;
}

/* ===== PROOF STRIP ===== */
.proof-strip {
  background: var(--navy);
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  position: relative;
  z-index: 1;
}
.proof-inner {
  display: flex; align-items: center; gap: 40px;
  flex-wrap: wrap;
}
.proof-quote {
  flex: 1; min-width: 220px;
  display: flex; align-items: flex-start; gap: 10px;
}
.proof-qmark {
  font-family: 'Playfair Display', serif;
  font-size: 48px; line-height: 0.8;
  color: var(--green); opacity: 0.6;
  flex-shrink: 0;
}
.proof-quote p {
  font-family: 'Lora', serif;
  font-size: 13px; line-height: 1.6;
  color: rgba(255,255,255,0.75);
  font-style: italic;
}
.proof-author {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0;
}
.proof-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--green); color: var(--navy);
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.proof-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700;
  color: var(--white);
}
.proof-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
  margin-top: 2px;
}
.proof-divider {
  width: 1px; height: 40px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
.proof-stats {
  display: flex; gap: 32px;
  flex-shrink: 0;
}
.proof-stat {
  display: flex; flex-direction: column; align-items: center;
  gap: 2px;
}
.proof-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 22px; font-weight: 800;
  color: var(--green); line-height: 1;
}
.proof-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ===== PROJECT METRICS ===== */
.project-metrics {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--border);
}
.project-metrics span {
  display: flex; align-items: center; gap: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.5px; text-transform: uppercase;
  color: var(--gray);
}
.project-metrics svg {
  width: 11px; height: 11px;
  stroke-width: 1.8; color: var(--green);
}

/* ===== HERO URGENCY ===== */
.hf-urgency {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 600; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.45);
  margin-top: 10px;
}
.hf-urgency svg { width: 11px; height: 11px; stroke: var(--green); flex-shrink: 0; }

/* ===== FORM SUBTITLE ===== */
.form-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; letter-spacing: 0.5px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
  margin-top: 4px;
}

/* ===== WHATSAPP FLOAT ===== */
.wa-float {
  position: fixed; bottom: 30px; right: 30px; z-index: 200;
  display: flex; align-items: center; gap: 10px;
  background: #25D366; border-radius: 32px;
  padding: 0 20px 0 16px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  cursor: pointer; transition: var(--transition);
  animation: waPop 0.5s 2s both;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,211,102,0.5); }
.wa-float svg { width: 24px; height: 24px; fill: white; flex-shrink: 0; }
.wa-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 0.5px;
  color: white; white-space: nowrap;
}
@keyframes waPop { from { opacity:0; transform: scale(0.5) translateY(10px); } to { opacity:1; transform: scale(1) translateY(0); } }

/* ===== SECTION DIVIDER ===== */
.divider-green { width: 48px; height: 3px; background: var(--green); margin-bottom: 40px; }


/* ===== PROJECT IMAGE CTA OVERLAY ===== */
.project-img { position: relative; overflow: hidden; }
.project-img-cta {
  position: absolute; inset: 0;
  background: rgba(6, 8, 16, 0.55);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--white);
  opacity: 0;
  transition: opacity 0.3s ease;
  cursor: pointer;
}
.project-img-cta svg { width: 16px; height: 16px; stroke: var(--white); }
.project-card:hover .project-img-cta { opacity: 1; }
.project-card { cursor: pointer; }


/* ===== PROJECT LIGHTBOX ===== */
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.lightbox.lb-open { opacity: 1; pointer-events: all; }

.lb-backdrop {
  position: absolute; inset: 0;
  background: rgba(4, 5, 12, 0.94);
  backdrop-filter: blur(12px);
}

.lb-close {
  position: absolute; top: 20px; right: 24px; z-index: 10;
  background: none; border: 1px solid rgba(255,255,255,0.2);
  color: white; font-size: 22px; line-height: 1;
  width: 40px; height: 40px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.lb-close:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.lb-content {
  position: relative; z-index: 5;
  width: min(90vw, 1100px);
  max-height: 92vh;
  display: flex; flex-direction: column; gap: 16px;
  transform: translateY(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.lb-open .lb-content { transform: translateY(0); }

.lb-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 0 4px;
}
.lb-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 4px;
}
.lb-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px; color: var(--white);
}
.lb-counter {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; color: rgba(255,255,255,0.35);
  letter-spacing: 1px;
}

.lb-img-wrap {
  position: relative;
  display: flex; align-items: center;
}
.lb-img {
  width: 100%;
  max-height: 60vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  transition: opacity 0.25s ease;
}
.lb-img.lb-fade { opacity: 0; }

.lb-arrow {
  position: absolute; z-index: 6;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: white; font-size: 18px;
  width: 44px; height: 44px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}
.lb-arrow:hover { background: rgba(255,255,255,0.18); }
.lb-arrow:disabled { opacity: 0.2; cursor: default; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }

.lb-thumbs {
  display: flex; gap: 8px; overflow-x: auto;
  padding: 4px 0 8px;
  scrollbar-width: thin;
}
.lb-thumb {
  flex-shrink: 0;
  width: 72px; height: 52px;
  object-fit: cover; border-radius: 3px;
  cursor: pointer; opacity: 0.45;
  border: 2px solid transparent;
  transition: opacity 0.2s, border-color 0.2s;
}
.lb-thumb:hover { opacity: 0.8; }
.lb-thumb.active { opacity: 1; border-color: var(--green); }


/* ===== ABOUT — OMAR CARVAJAL ===== */
.about-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 64px;
  align-items: center;
}

.about-img-col {
  position: relative;
}
.about-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  transition: transform 0.6s ease;
}
.about-img-col:hover .about-img-wrap img { transform: scale(1.04); }

.about-img-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--green);
  width: 110px; height: 110px; border-radius: 50%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.about-badge-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px; font-weight: 900;
  color: var(--navy); line-height: 1;
}
.about-badge-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 8px; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
  color: var(--navy); text-align: center;
  line-height: 1.4;
}

.about-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; color: var(--green);
  margin-bottom: 24px;
}

.about-bio {
  display: flex; flex-direction: column; gap: 16px;
  margin-bottom: 28px;
}
.about-bio p {
  font-size: 15px; line-height: 1.8;
  color: var(--text);
}

.about-credentials {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--gray-light);
  border-left: 3px solid var(--green);
  border-radius: 0 4px 4px 0;
}
.about-cred {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px; font-weight: 600; letter-spacing: 0.3px;
  color: var(--navy);
}
.about-cred svg { width: 14px; height: 14px; stroke: var(--green); flex-shrink: 0; }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: var(--white);
  border: none; cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase;
  padding: 14px 28px; border-radius: 4px;
  transition: var(--transition);
}
.btn-primary:hover { background: var(--green); transform: translateY(-2px); }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--gray-light); }
::-webkit-scrollbar-thumb { background: var(--navy); }


/* ===== LUCIDE ICONS ===== */

/* Reset base para todos los SVG de Lucide */
[data-lucide] { display: inline-flex; }
[data-lucide] svg { display: block; }

/* Íconos de servicios */
.service-icon {
  margin-bottom: 20px;
  color: var(--navy);
  display: block;
  transition: var(--transition);
}
.service-icon svg {
  width: 30px; height: 30px;
  stroke-width: 1.5;
}
.service-card:hover .service-icon { color: var(--green); }

/* Íconos de segmentos */
.segment-icon {
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}
.segment-icon svg {
  width: 36px; height: 36px;
  stroke-width: 1.5;
}
.segment-card:hover .segment-icon { color: var(--navy); }

/* Íconos de CTA buttons */
.cta-btn-icon {
  display: inline-flex; align-items: center;
}
.cta-btn-icon svg {
  width: 18px; height: 18px;
  stroke-width: 2;
}

/* Íconos de contacto inline (sección CTA) */
.contact-detail {
  display: flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,0.6); font-size: 14px;
  margin-top: 6px;
}
.contact-detail:first-of-type { margin-top: 0; }
.contact-detail svg {
  width: 15px; height: 15px;
  stroke-width: 2;
  color: var(--green);
  flex-shrink: 0;
}

/* Íconos del footer */
.footer-contact-icon {
  display: inline-flex; align-items: center;
  color: var(--green);
}
.footer-contact-icon svg {
  width: 13px; height: 13px;
  stroke-width: 2;
}

/* Form note */
.form-note {
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.form-note svg {
  width: 13px; height: 13px;
  stroke-width: 2;
  color: var(--green);
  flex-shrink: 0;
}

/* Hero trust (shield-check) */
.hf-trust [data-lucide] svg {
  width: 12px; height: 12px;
  stroke-width: 2;
}


/* =====================================================
   RESPONSIVE — TABLET (max 1024px)
   ===================================================== */
@media (max-width: 1024px) {
  .container { padding: 0 28px; }
  nav { padding: 0 28px; }

  /* Hero tablet */
  .hero-inner { gap: 36px; padding-bottom: 64px; }
  .hero-right { flex: 0 0 340px; width: 340px; }

  /* Proof strip tablet */
  .proof-inner { gap: 24px; flex-wrap: wrap; }
  .proof-divider { display: none; }
  .proof-stats { gap: 20px; }

  /* Carrusel tablet: 2 tarjetas */
  .carousel-track .project-card { flex: 0 0 calc((100% - 28px) / 2); }
  .pf-header { margin-bottom: 28px; }

  .why-layout { gap: 40px; }
  .coverage-layout { gap: 40px; }
  .cta-layout { gap: 40px; }

  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
}


/* =====================================================
   RESPONSIVE — MOBILE (max 768px)
   ===================================================== */
@media (max-width: 768px) {

  /* --- Navbar --- */
  nav { padding: 0 20px; }

  .nav-right { gap: 8px; }

  .nav-toggle { display: flex; }

  .nav-links {
    /* Override completo de la pill → dropdown */
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    transform: none;            /* cancela translateX(-50%) de la pill */
    background: rgba(20,24,36,0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-radius: 0;           /* sin bordes redondeados en móvil */
    border: none;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding: 8px 0;
    box-shadow: 0 20px 40px rgba(0,0,0,0.55);
    z-index: 99;
    width: 100%;                /* full width, no la anchura de la pill */
  }
  nav.nav-open .nav-links { display: flex; }
  .nav-links a {
    padding: 14px 28px;
    border-radius: 0;
    font-size: 11px;
    letter-spacing: 2px;
    color: rgba(255,255,255,0.65);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-align: left;
  }
  .nav-links a.nav-active,
  .nav-links a:hover {
    background: rgba(157,190,31,0.1);
    color: var(--white);
  }
  .nav-cta { display: none; }

  /* --- Container / Sections --- */
  .container { padding: 0 20px; }
  .section { padding: 52px 0; }

  /* --- Hero --- */
  .hero { height: auto; min-height: 100svh; align-items: flex-start; clip-path: none; overflow: hidden; }
  .hero-overlay {
    /* En móvil: overlay completo para legibilidad */
    background: linear-gradient(
      to bottom,
      rgba(8,11,22,0.88) 0%,
      rgba(8,11,22,0.82) 60%,
      rgba(8,11,22,0.75) 100%
    );
  }
  .hero-inner {
    flex-direction: column;
    height: auto;
    gap: 28px;
    padding-top: 96px;
    padding-bottom: 64px;
    align-items: stretch;
  }
  .hero-left  { flex: none; }
  .hero-right { flex: none; width: 100%; align-self: auto; }
  .hero-desc  { font-size: 15px; margin-bottom: 24px; max-width: 100%; }

  /* --- Services --- */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 32px 24px; }

  /* --- Why --- */
  .why-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-img-wrap { height: 260px; }
  .why-img-accent { width: 90px; height: 90px; }
  .why-img-accent span { font-size: 8px; }

  /* --- About --- */
  .about-layout { grid-template-columns: 1fr; gap: 56px; }
  .about-img-badge { bottom: -16px; right: 16px; width: 90px; height: 90px; }
  .about-badge-num { font-size: 22px; }
  .about-text .btn-primary { width: 100%; justify-content: center; }

  /* --- Lightbox --- */
  .lb-title { font-size: 16px; }
  .lb-thumb { width: 56px; height: 40px; }

  /* --- Portfolio --- */
  /* Carrusel mobile: 1 tarjeta */
  .carousel-track .project-card { flex: 0 0 100%; }
  .project-img { height: 260px; }
  .pf-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .project-img { height: 260px; }

  /* --- Segments --- */
  .segments-grid { grid-template-columns: repeat(2, 1fr); }
  .segment-card { padding: 32px 20px; }

  /* --- Testimonials --- */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* --- Process --- */
  .process-steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .process-steps::before { display: none; }
  .step { padding: 0 12px; }

  /* --- Coverage --- */
  .coverage-layout { grid-template-columns: 1fr; gap: 40px; }
  .coverage-map { height: 280px; }

  /* --- CTA / Form --- */
  .cta-layout { grid-template-columns: 1fr; gap: 48px; }
  .cta-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  /* --- Footer --- */
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* --- WhatsApp float --- */
  .wa-float { bottom: 20px; right: 16px; padding: 0 14px 0 12px; height: 46px; }
  .wa-label { display: none; }
  .wa-float { border-radius: 50%; padding: 0; width: 46px; justify-content: center; }

  /* --- Proof strip --- */
  .proof-inner { flex-direction: column; align-items: center; gap: 20px; text-align: center; }
  .proof-quote { justify-content: center; min-width: 0; }
  .proof-author { justify-content: center; }
  .proof-divider { display: none; }
  .proof-stats { gap: 24px; justify-content: center; }
  .proof-num { font-size: 20px; }
}


/* =====================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ===================================================== */
@media (max-width: 480px) {

  /* Process: 1 col */
  .process-steps { grid-template-columns: 1fr; gap: 32px; }

  /* Segments: 1 col */
  .segments-grid { grid-template-columns: 1fr; }

  /* Footer: 1 col */
  .footer-inner { grid-template-columns: 1fr; }

}
