/* ============================================================
   ConstruSueños HM SAS — Diseño Premium v2
   Fuentes: Montserrat (headings) + Poppins (body)
   ============================================================ */

/* ── VARIABLES ── */
:root {
  --verde-negro:    #0e1a0e;
  --verde-oscuro:   #1a3a1a;
  --verde-medio:    #2D5016;
  --verde-claro:    #4a8c20;
  --verde-palido:   #a8d5a2;
  --naranja:        #E89610;
  --naranja-dark:   #c47a0a;
  --tierra:         #8B6B3A;
  --madera:         #6B4226;
  --blanco:         #FFFFFF;
  --blanco-calido:  #F9F7F2;
  --gris-claro:     #e8e8e8;
  --texto-dark:     #1a1a1a;
  --texto-medio:    #4a4a4a;
  --texto-suave:    #7a7a7a;

  --font-head: 'Montserrat', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --trans:         0.3s var(--ease-in-out);

  --r-sm:   6px;
  --r-md:   12px;
  --r-lg:   20px;
  --r-xl:   32px;

  --shadow-sm:  0 2px 12px rgba(0,0,0,.08);
  --shadow-md:  0 8px 32px rgba(0,0,0,.12);
  --shadow-lg:  0 24px 64px rgba(0,0,0,.18);
  --shadow-grn: 0 8px 32px rgba(45,80,22,.25);
}

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

/* ── SELECCIÓN ── */
::selection { background: var(--naranja); color: #fff; }

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--verde-oscuro);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out-expo), visibility 0.6s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-inner {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
}

.loader-iso {
  width: 80px; height: 80px;
  object-fit: contain;
  animation: loaderSpin 1.2s linear infinite;
  filter: drop-shadow(0 0 20px rgba(232,150,16,.5));
}
@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.loader-bar {
  width: 200px; height: 3px;
  background: rgba(255,255,255,.15); border-radius: 99px; overflow: hidden;
}
.loader-fill {
  height: 100%; width: 0%; border-radius: 99px;
  background: linear-gradient(90deg, var(--naranja), var(--verde-palido));
  transition: width 1.2s var(--ease-out-expo);
}

.loader-label {
  font-family: var(--font-body);
  font-size: .75rem; font-weight: 300;
  letter-spacing: .15em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0;
  transition: background 0.4s var(--ease-in-out), box-shadow 0.4s, padding 0.3s;
}
.navbar.scrolled {
  background: rgba(14,26,14,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 0 rgba(255,255,255,.06);
}

.nav-wrap {
  max-width: 1280px; margin: 0 auto;
  padding: 0 48px; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}

.nav-logo-link { display: flex; align-items: center; }
.nav-logo-img {
  height: 32px; width: auto; object-fit: contain;
  filter: brightness(0) invert(1);
  transition: opacity var(--trans);
}
.nav-logo-link:hover .nav-logo-img { opacity: .8; }

.nav-menu {
  display: flex; align-items: center; gap: 4px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: .85rem; font-weight: 500;
  color: rgba(255,255,255,.8);
  padding: 8px 16px; border-radius: var(--r-sm);
  transition: color var(--trans), background var(--trans);
  letter-spacing: .01em;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,.08); }

.nav-cta {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--verde-negro) !important;
  background: var(--naranja);
  padding: 10px 22px; border-radius: 50px;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
  box-shadow: 0 4px 16px rgba(232,150,16,.35);
}
.nav-cta:hover {
  background: var(--naranja-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(232,150,16,.45);
}

.burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm);
  transition: background var(--trans);
}
.burger span {
  display: block; width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all .35s var(--ease-out-expo);
  transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   REVEAL ANIMATIONS (data-reveal)
   ============================================================ */
[data-reveal] {
  opacity: 0;
  filter: blur(3px);
  transition: opacity 0.85s var(--ease-out-expo), transform 0.85s var(--ease-out-expo), filter 0.85s var(--ease-out-expo);
  transition-delay: var(--d, 0s);
}
[data-reveal="up"]    { transform: translateY(44px); }
[data-reveal="left"]  { transform: translateX(-60px); }
[data-reveal="right"] { transform: translateX(60px); }
[data-reveal="proc"]  { transform: translateY(36px); }
[data-reveal].visible { opacity: 1; transform: none; filter: blur(0px); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  background: var(--verde-oscuro);
}

.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(
      to bottom,
      rgba(14,26,14,.55) 0%,
      rgba(26,58,26,.72) 40%,
      rgba(14,26,14,.88) 100%
    );
}

.hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 120px 48px 80px;
  max-width: 920px;
  display: flex; flex-direction: column; align-items: center; gap: 28px;
}

.hero-logo-box { }
.hero-logo-img {
  height: 90px; width: auto; object-fit: contain;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.5)) brightness(1.05);
  animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat {
  0%, 100% { transform: translateY(0px); filter: drop-shadow(0 6px 24px rgba(0,0,0,.5)) brightness(1.05); }
  50%      { transform: translateY(-12px); filter: drop-shadow(0 18px 40px rgba(0,0,0,.65)) brightness(1.1); }
}

.hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(2.6rem, 5.2vw, 4.2rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0,0,0,.4);
  display: flex; flex-direction: column; gap: 4px;
}

@media (min-width: 601px) {
  .hero-word, .hero-em { white-space: nowrap; }
}

.hero-word { display: block; }
.hero-em {
  font-style: normal;
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .04em;
  background: linear-gradient(90deg, #E89610 0%, #f7d060 45%, #E89610 100%);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 4s ease-in-out infinite;
}
@keyframes shimmerText {
  0%   { background-position: 0%; }
  50%  { background-position: 100%; }
  100% { background-position: 0%; }
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(.95rem, 2vw, 1.15rem);
  font-weight: 300;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 580px;
}
.hero-sub span {
  display: block; margin-top: 8px;
  font-size: .85em; letter-spacing: .04em;
  color: rgba(255,255,255,.55);
}

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.btn-hero {
  font-family: var(--font-head);
  font-size: .85rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--verde-negro);
  background: var(--naranja);
  padding: 18px 44px; border-radius: 50px;
  box-shadow: 0 8px 32px rgba(232,150,16,.45);
  transition: transform .25s var(--ease-out-expo), box-shadow .25s, background .2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-hero:hover {
  background: var(--naranja-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(232,150,16,.45);
}

.btn-hero-ghost {
  font-family: var(--font-head);
  font-size: .85rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  border: 1.5px solid rgba(255,255,255,.35);
  padding: 18px 40px; border-radius: 50px;
  transition: border-color .25s, background .25s, color .25s, transform .25s var(--ease-out-expo);
  backdrop-filter: blur(4px);
}
.btn-hero-ghost:hover {
  border-color: rgba(255,255,255,.8);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

/* ── HERO SOCIAL PROOF ── */
.hero-social-proof {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50px;
  padding: 10px 20px 10px 10px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .25s, border-color .25s, transform .25s var(--ease-out-expo);
  text-decoration: none;
}
.hero-social-proof:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.32);
  transform: translateY(-2px);
}

.hsp-avatars {
  display: flex;
  align-items: center;
}
.hsp-av {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 2px solid rgba(14,26,14,.85);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: .58rem; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: .02em;
  margin-right: -9px;
  position: relative;
  transition: transform .2s;
}
.hsp-av:last-child { margin-right: 0; }
.hero-social-proof:hover .hsp-av { transform: translateX(2px); }
.hero-social-proof:hover .hsp-av:nth-child(1) { transform: translateX(0); }
.hero-social-proof:hover .hsp-av:nth-child(2) { transform: translateX(1px); }

.hsp-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin-left: 4px;
}
.hsp-rating {
  display: flex;
  align-items: center;
  gap: 5px;
}
.hsp-stars {
  color: var(--naranja);
  font-size: .72rem;
  letter-spacing: 1px;
}
.hsp-rating strong {
  font-family: var(--font-head);
  font-size: .88rem; font-weight: 800;
  color: #fff;
}
.hsp-info p {
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 300;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
}
.hsp-arrow {
  width: 14px; height: 14px;
  color: rgba(255,255,255,.4);
  flex-shrink: 0;
  transition: transform .25s var(--ease-out-expo), color .25s;
}
.hero-social-proof:hover .hsp-arrow {
  transform: translateX(4px);
  color: rgba(255,255,255,.8);
}

@media (max-width: 600px) {
  .hero-social-proof { padding: 8px 16px 8px 8px; gap: 10px; }
  .hsp-av { width: 30px; height: 30px; font-size: .54rem; }
  .hsp-info p { font-size: .62rem; }
}

.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: rgba(255,255,255,.45);
  font-family: var(--font-body); font-size: .7rem;
  letter-spacing: .15em; text-transform: uppercase;
}
.hs-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,.4), transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}
@keyframes scrollLine {
  0%,100% { transform: scaleY(1); opacity: .6; }
  50%      { transform: scaleY(.6); opacity: .2; }
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stats-strip {
  background: var(--verde-medio);
  padding: 52px 48px;
  display: flex; align-items: center; justify-content: center;
  gap: 0;
  position: relative; overflow: hidden;
}
.stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.stat {
  flex: 1; text-align: center; position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}

.stat-value {
  display: flex;
  align-items: baseline;
  gap: 2px;
}
.stat-n {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: #fff;
  line-height: 1;
  display: inline-block;
}
.stat sup {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem); font-weight: 800;
  color: var(--naranja);
  line-height: 1;
}
.stat p {
  font-family: var(--font-body);
  font-size: .8rem; font-weight: 400;
  color: rgba(255,255,255,.65);
  letter-spacing: .06em; text-transform: uppercase;
}

.stat-sep {
  width: 1px; height: 64px;
  background: rgba(255,255,255,.15);
  flex-shrink: 0;
  margin: 0 12px;
}

/* ============================================================
   UTILIDADES GENERALES
   ============================================================ */
.container {
  max-width: 1200px; margin: 0 auto;
  padding: 96px 48px;
}

.sec-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--verde-medio);
  background: rgba(45,80,22,.08);
  border: 1px solid rgba(45,80,22,.2);
  padding: 6px 14px; border-radius: 50px;
  margin-bottom: 18px;
}
.sec-label.light {
  color: var(--verde-palido);
  background: rgba(168,213,162,.1);
  border-color: rgba(168,213,162,.25);
}

.sec-h2 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  color: var(--verde-oscuro);
  margin-bottom: 20px;
  letter-spacing: -.02em;
}
.sec-h2.light { color: #fff; }

.sec-desc {
  font-family: var(--font-body);
  font-size: 1.05rem; font-weight: 300;
  color: var(--texto-medio); line-height: 1.75;
  max-width: 600px;
}
.sec-desc.light { color: rgba(255,255,255,.75); }

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--verde-negro);
  background: var(--naranja);
  padding: 16px 36px; border-radius: 50px;
  box-shadow: 0 6px 24px rgba(232,150,16,.35);
  transition: background .25s, transform .25s var(--ease-out-expo), box-shadow .25s;
}
.btn-primary:hover {
  background: var(--naranja-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232,150,16,.4);
}

/* ============================================================
   SERVICIOS
   ============================================================ */
.servicios { background: var(--blanco-calido); }
.servicios .container { text-align: center; }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
  text-align: left;
}

/* ── FLIP CARDS (servicios) ── */
.flip-card {
  height: 320px;
  perspective: 1000px;
}

.flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.7s var(--ease-out-expo);
}

@media (hover: hover) {
  .flip-card:hover .flip-inner { transform: rotateY(180deg); }
}
.flip-card.is-flipped .flip-inner { transform: rotateY(180deg); }

.flip-front,
.flip-back {
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}

.flip-front {
  background: var(--verde-oscuro);
  border: 1px solid rgba(168,213,162,.1);
  display: flex; flex-direction: column;
  text-align: center;
}
.flip-front::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(14,26,14,.75) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.flip-front-img {
  flex: 0 0 58%;
  overflow: hidden;
  position: relative;
}
.flip-front-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out-expo), filter .5s;
  filter: brightness(.78) saturate(1.1);
}
.flip-card:hover .flip-front-img img {
  transform: scale(1.06);
  filter: brightness(.65) saturate(1.15);
}

.flip-front-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 16px 13px;
  position: relative; z-index: 2;
  background: var(--verde-oscuro);
}

.flip-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--verde-medio), var(--verde-claro));
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  padding: 9px;
  box-shadow: 0 4px 14px rgba(45,80,22,.5);
}
.flip-icon svg { width: 26px; height: 26px; }

.flip-front h3 {
  font-family: var(--font-head);
  font-size: 1rem; font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.flip-hint {
  font-family: var(--font-body);
  font-size: .6rem; font-weight: 300;
  color: rgba(255,255,255,.32);
  letter-spacing: .1em; text-transform: uppercase;
}

.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(145deg, var(--verde-negro) 0%, #0a150a 100%);
  border: 1px solid rgba(232,150,16,.18);
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 24px 22px;
  gap: 10px;
}

.flip-back-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: .58rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--naranja);
  background: rgba(232,150,16,.1);
  border: 1px solid rgba(232,150,16,.22);
  padding: 4px 12px; border-radius: 50px;
  align-self: flex-start;
}

.flip-back p {
  font-family: var(--font-body);
  font-size: .83rem; font-weight: 300;
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

.flip-back-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
}
.flip-back-list li {
  font-family: var(--font-body);
  font-size: .74rem; font-weight: 300;
  color: rgba(255,255,255,.4);
  padding-left: 14px;
  position: relative;
  list-style: none;
}
.flip-back-list li::before {
  content: '—';
  position: absolute; left: 0;
  color: var(--naranja);
  font-size: .65rem; line-height: 1.6;
}

.flip-back-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--verde-negro);
  background: var(--naranja);
  padding: 10px 20px; border-radius: 50px;
  box-shadow: 0 4px 14px rgba(232,150,16,.35);
  transition: background .2s, transform .2s var(--ease-out-expo);
  align-self: flex-start;
}
.flip-back-cta:hover {
  background: var(--naranja-dark);
  transform: translateY(-1px);
}

/* Mobile: stacked layout (no flip) */
@media (max-width: 600px) {
  .flip-card { height: auto; perspective: none; }
  .flip-inner {
    transform: none !important;
    transform-style: flat;
    display: flex; flex-direction: column;
    position: static;
  }
  .flip-front, .flip-back {
    position: static;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    transform: none;
    height: auto;
  }
  .flip-front { border-radius: var(--r-lg) var(--r-lg) 0 0; }
  .flip-front-img { flex: 0 0 160px; height: 160px; }
  .flip-back { border-radius: 0 0 var(--r-lg) var(--r-lg); border-top: none; }
  .flip-hint { display: none; }
}

/* ============================================================
   VIDEO REEL
   ============================================================ */
.reel-section {
  position: relative; background: var(--verde-negro);
  overflow: hidden;
}

.reel-wrap {
  position: relative;
  aspect-ratio: 16/7;
  min-height: 400px;
}

.reel-video {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  filter: brightness(.45) saturate(1.2);
  transition: filter .5s;
}
.reel-section.playing .reel-video { filter: brightness(.3) saturate(1.1); }

.reel-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

.reel-content {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}

.reel-play-btn {
  width: 72px; height: 72px;
  background: rgba(255,255,255,.15);
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.5);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(8px);
  transition: background .3s, transform .3s var(--ease-out-expo), border-color .3s;
  cursor: pointer;
}
.reel-play-btn:hover {
  background: var(--naranja);
  border-color: var(--naranja);
  transform: scale(1.12);
}
.reel-play-btn svg { width: 28px; height: 28px; margin-left: 4px; }

/* ============================================================
   PROCESOS
   ============================================================ */
.procesos {
  background: var(--verde-negro);
  padding-bottom: 0;
}
.procesos .container { padding-bottom: 64px; text-align: center; }

.process-list {
  display: flex; flex-direction: column;
  margin-top: 0;
}

.proc-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
}
.proc-item[data-dir="right"] { direction: rtl; }
.proc-item[data-dir="right"] > * { direction: ltr; }

.proc-img-wrap {
  position: relative; overflow: hidden;
}
.proc-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease-out-expo), filter .8s;
  filter: saturate(.9) brightness(.85);
}
.proc-item:hover .proc-img-wrap img {
  transform: scale(1.05);
  filter: saturate(1.1) brightness(.95);
}

.proc-num {
  position: absolute; top: 24px; left: 28px;
  font-family: var(--font-head);
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.12);
  line-height: 1; pointer-events: none;
  mix-blend-mode: overlay;
}

.proc-text {
  background: var(--verde-negro);
  display: flex; flex-direction: column; justify-content: center;
  padding: 64px 72px;
  gap: 16px;
  position: relative;
}
.proc-text::before {
  content: '';
  position: absolute; top: 64px; left: 0;
  width: 3px; height: 40px;
  background: var(--naranja);
  border-radius: 0 2px 2px 0;
}
.proc-item[data-dir="right"] .proc-text::before { left: auto; right: 0; border-radius: 2px 0 0 2px; }

.proc-text h3 {
  font-family: var(--font-head);
  font-size: 1.65rem; font-weight: 800;
  color: #fff; line-height: 1.15;
}

.proc-text p {
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 300;
  color: rgba(255,255,255,.65); line-height: 1.75;
}

.proc-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 8px;
}
.proc-tags li {
  font-family: var(--font-head);
  font-size: .7rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--verde-palido);
  background: rgba(168,213,162,.1);
  border: 1px solid rgba(168,213,162,.2);
  padding: 4px 12px; border-radius: 50px;
}

/* ============================================================
   GALERÍA MASONRY
   ============================================================ */
.proyectos { background: var(--blanco-calido); padding-bottom: 0; }
.proyectos .container { padding-bottom: 56px; text-align: center; }

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 8px;
  margin: 0;
}

.gm-item {
  position: relative; overflow: hidden;
  cursor: pointer;
  background: #ccc;
}
.gm-item.gm-tall { grid-row: span 2; }
.gm-item.gm-wide { grid-column: span 2; }

.gm-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo), filter .6s;
  filter: brightness(.9) saturate(1.05);
  will-change: transform;
}
.gm-item:hover img { transform: scale(1.08); filter: brightness(1) saturate(1.15); }

.gm-label {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,26,14,.85) 0%, transparent 55%);
  display: flex; align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity .35s;
}
.gm-item:hover .gm-label { opacity: 1; }
.gm-label span {
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: #fff;
}

.gallery-cta { text-align: center; padding: 56px 0 80px; }

/* ── LIGHTBOX ── */
.lightbox {
  position: fixed; inset: 0; z-index: 9000;
  background: rgba(8,14,8,.95);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .35s, visibility .35s;
  backdrop-filter: blur(8px);
}
.lightbox.open { opacity: 1; visibility: visible; }

.lb-close {
  position: absolute; top: 24px; right: 28px;
  font-size: 1.6rem; color: rgba(255,255,255,.7);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.lb-close:hover { background: var(--naranja); color: #fff; }

.lb-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  font-size: 3rem; color: rgba(255,255,255,.5);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: background .2s, color .2s;
  cursor: pointer;
}
.lb-nav:hover { background: rgba(255,255,255,.15); color: #fff; }
.lb-prev { left: 24px; }
.lb-next { right: 24px; }

.lb-img-wrap {
  max-width: 90vw; max-height: 82vh;
  display: flex; align-items: center; justify-content: center;
}
.lb-img {
  max-width: 100%; max-height: 82vh;
  object-fit: contain;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  transition: opacity .3s;
}

.lb-caption {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-body); font-size: .82rem; font-weight: 300;
  color: rgba(255,255,255,.6);
  letter-spacing: .06em; text-transform: uppercase;
}

/* ============================================================
   NOSOTROS
   ============================================================ */
.nosotros {
  background: var(--blanco);
  overflow: hidden;
}

.nosotros-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 640px;
}

.nos-img-col {
  position: relative; overflow: hidden;
}
.nos-img-col img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}
.nosotros:hover .nos-img-col img { transform: scale(1.04); }

.nos-badge {
  position: absolute; bottom: 32px; left: 32px;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-radius: var(--r-lg);
  padding: 14px 20px;
  box-shadow: var(--shadow-md);
}
.nos-badge img { width: 36px; height: 36px; object-fit: contain; }
.nos-badge span {
  font-family: var(--font-head);
  font-size: .75rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--verde-medio);
}

.nos-text-col {
  background: var(--blanco);
  display: flex; flex-direction: column; justify-content: center;
  padding: 80px 72px;
  gap: 16px;
}

.nos-text-col .sec-h2 { color: var(--verde-oscuro); }

.nos-text-col .btn-primary { align-self: flex-start; }

.nos-text-col p {
  font-family: var(--font-body);
  font-size: .95rem; font-weight: 300;
  color: var(--texto-medio); line-height: 1.8;
}
.nos-text-col p strong { color: var(--verde-medio); font-weight: 600; }

.nos-sellos {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 12px; margin: 8px 0 16px;
}

.nos-sello {
  background: var(--blanco-calido);
  border-radius: var(--r-md);
  padding: 16px 12px;
  text-align: center;
  border-top: 2px solid var(--verde-medio);
}
.nos-sello strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1.4rem; font-weight: 900;
  color: var(--verde-medio); line-height: 1;
}
.nos-sello span {
  font-family: var(--font-body);
  font-size: .68rem; font-weight: 500;
  color: var(--texto-suave);
  letter-spacing: .08em; text-transform: uppercase;
}

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto {
  background: var(--verde-medio);
  position: relative; overflow: hidden;
}
.contacto::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,150,16,.08) 0%, transparent 70%);
  pointer-events: none;
}

.contacto-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 96px 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: start;
}

.contacto-left .sec-h2 { margin-bottom: 12px; }

.contact-info {
  display: flex; flex-direction: column; gap: 16px;
  margin: 28px 0;
}
.contact-info li {
  display: flex; align-items: flex-start; gap: 14px;
  font-family: var(--font-body); font-size: .92rem; font-weight: 300;
  color: rgba(255,255,255,.85);
}
.contact-info li svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 1px; }
.contact-info a { color: var(--verde-palido); transition: color .2s; }
.contact-info a:hover { color: #fff; }

.mapa-box {
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

/* FORM */
.contact-form {
  background: var(--blanco);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  box-shadow: 0 24px 72px rgba(0,0,0,.2);
  display: flex; flex-direction: column; gap: 18px;
}

.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.cf-group {
  display: flex; flex-direction: column; gap: 6px;
}
.cf-group label {
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--texto-medio);
}
.cf-group input,
.cf-group select,
.cf-group textarea {
  width: 100%;
  font-family: var(--font-body); font-size: .93rem; font-weight: 300;
  color: var(--texto-dark);
  background: var(--blanco-calido);
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: var(--r-md);
  padding: 13px 16px;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  -webkit-appearance: none;
}
.cf-group input:focus,
.cf-group select:focus,
.cf-group textarea:focus {
  border-color: var(--verde-medio);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(45,80,22,.1);
}
.cf-group textarea { resize: vertical; min-height: 110px; }
.cf-group select { cursor: pointer; }

.btn-naranja {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%;
  font-family: var(--font-head);
  font-size: .85rem; font-weight: 800;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff;
  background: var(--naranja);
  border-radius: var(--r-md);
  padding: 17px;
  border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(232,150,16,.4);
  transition: background .25s, transform .25s var(--ease-out-expo), box-shadow .25s;
}
.btn-naranja:hover {
  background: var(--naranja-dark);
  box-shadow: 0 8px 24px rgba(232,150,16,.4);
}
.btn-naranja svg { width: 18px; height: 18px; }

.cf-nota {
  text-align: center;
  font-family: var(--font-body); font-size: .78rem; font-weight: 300;
  color: var(--texto-suave);
}

/* error state */
.cf-group input.error, .cf-group select.error, .cf-group textarea.error {
  border-color: #e74c3c;
  background: rgba(231,76,60,.04);
}
.cf-error-msg {
  font-size: .72rem; color: #e74c3c; font-family: var(--font-body);
}

/* ============================================================
   FOOTER (mvp_Subha style — 4 columnas)
   ============================================================ */
.footer {
  background: var(--verde-negro);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 72px 48px 56px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Columna marca */
.footer-brand-col {
  display: flex; flex-direction: column; gap: 20px;
}
.footer-logo-group {
  display: flex; align-items: center; gap: 10px;
}
.footer-iso { width: 44px; height: 44px; object-fit: contain; }
.footer-logo-txt {
  height: 22px; width: auto;
  filter: brightness(0) invert(1); opacity: .8;
}
.footer-brand-desc {
  font-family: var(--font-body);
  font-size: .85rem; font-weight: 300;
  color: rgba(255,255,255,.4);
  line-height: 1.7; max-width: 280px;
}
.footer-socials {
  display: flex; gap: 12px; align-items: center; margin-top: 4px;
}
.footer-socials li { list-style: none; }
.footer-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.5);
  transition: color .25s, border-color .25s, background .25s;
}
.footer-socials a:hover {
  color: var(--verde-palido);
  border-color: var(--verde-palido);
  background: rgba(168,213,162,.06);
}
.footer-socials svg { width: 17px; height: 17px; }

/* Columnas de links */
.footer-col h4 {
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.32);
  margin-bottom: 22px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col ul li a {
  font-family: var(--font-body); font-size: .88rem; font-weight: 300;
  color: rgba(255,255,255,.5); transition: color .2s;
}
.footer-col ul li a:hover { color: var(--verde-palido); }

/* Columna contacto */
.footer-contact-list { gap: 16px !important; }
.footer-contact-list li {
  display: flex; align-items: flex-start; gap: 10px;
}
.footer-contact-list svg {
  width: 15px; height: 15px;
  color: var(--verde-palido);
  flex-shrink: 0; margin-top: 3px;
}
.footer-contact-list a,
.footer-contact-list address {
  font-family: var(--font-body);
  font-size: .84rem; font-weight: 300;
  color: rgba(255,255,255,.5);
  font-style: normal; transition: color .2s;
  display: block; line-height: 1.65;
}
.footer-contact-list a:hover { color: var(--verde-palido); }

/* Bottom bar */
.footer-bottom {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p {
  font-family: var(--font-body); font-size: .78rem; font-weight: 300;
  color: rgba(255,255,255,.28);
}
.footer-bottom a { color: var(--verde-palido); transition: color .2s; }
.footer-bottom a:hover { color: #fff; }
.footer-hecho { color: rgba(255,255,255,.2) !important; }

/* Footer responsive */
@media (max-width: 1100px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand-col { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
  .footer-brand-desc { max-width: 400px; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr 1fr; padding: 48px 20px 36px; gap: 28px; }
  .footer-brand-col { grid-column: 1 / -1; flex-direction: column; }
  .footer-bottom { padding: 18px 20px; flex-direction: column; text-align: center; }
}
@media (max-width: 380px) {
  .footer-inner { grid-template-columns: 1fr; }
}

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 5000;
  width: 62px; height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,.6);
}
.wa-float svg { width: 30px; height: 30px; }

.wa-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: waPulse 2.2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: .8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ============================================================
   RESPONSIVE — sección única consolidada
   ============================================================ */

* { -webkit-tap-highlight-color: transparent; }

/* ── Teléfonos ── */
.contact-phones { align-items: flex-start !important; }
.phones-list { display: flex; flex-direction: column; gap: 6px; }
.phones-list a {
  font-family: var(--font-body);
  font-size: .9rem; font-weight: 300;
  color: rgba(255,255,255,.85);
  transition: color .2s; display: block;
}
.phones-list a:hover { color: #fff; }
.phones-list a strong { font-weight: 700; color: #fff; }

/* ── Encabezados centrados ── */
.servicios .container, .proyectos .container, .procesos .container { text-align: center; }
.servicios .sec-label, .servicios .sec-h2, .servicios .sec-desc,
.proyectos .sec-label, .proyectos .sec-h2, .proyectos .sec-desc,
.procesos .sec-label,  .procesos .sec-h2,  .procesos .sec-desc {
  margin-left: auto; margin-right: auto; display: block;
}
.servicios .sec-label, .proyectos .sec-label, .procesos .sec-label { display: inline-block; }
.reel-content .sec-label, .reel-content .sec-h2, .reel-content .sec-desc { display: block; margin: 0 auto; }
.reel-content .sec-label { display: inline-block; }
.stat { align-items: center; }

/* ────────────────────────────────────────────
   1100px · tablet grande
   ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .svc-grid        { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .gallery-masonry { grid-template-columns: repeat(3, 1fr); }
  .proc-text       { padding: 48px 40px; }
  .nos-text-col    { padding: 60px 48px; }
}

/* ────────────────────────────────────────────
   900px · tablet
   ──────────────────────────────────────────── */
@media (max-width: 900px) {
  /* Navbar */
  .nav-wrap { padding: 0 24px; }
  .burger   { display: flex; }
  .nav-menu {
    position: fixed; top: 72px; left: 0; right: 0;
    background: rgba(14,26,14,.97);
    backdrop-filter: blur(20px);
    flex-direction: column; align-items: flex-start;
    padding: 24px 28px 36px; gap: 4px;
    transform: translateY(-12px); opacity: 0;
    visibility: hidden; pointer-events: none;
    transition: transform .4s var(--ease-out-expo), opacity .35s, visibility .35s;
    box-shadow: 0 16px 48px rgba(0,0,0,.4);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; visibility: visible; pointer-events: auto; }
  .nav-link { font-size: .95rem; padding: 12px 8px; width: 100%; }
  .nav-cta  { margin-top: 8px; text-align: center; width: 100%; padding: 14px; }

  /* Hero */
  .hero-content { padding: 100px 32px 72px; gap: 22px; }
  .hero-logo-img { height: 72px; }
  .hero-h1       { font-size: clamp(2.2rem, 7vw, 3.6rem); }

  /* Stats — 2×2 grid */
  .stats-strip { flex-wrap: wrap; gap: 0; padding: 36px 28px; }
  .stat-sep    { display: none; }
  .stat {
    flex: 0 0 50%;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 20px 8px;
  }
  /* quitar borde inferior a la segunda fila (3er y 4to stat son nth-child 5 y 7) */
  .stat:nth-child(5), .stat:nth-child(7) { border-bottom: none; }

  /* Servicios */
  .svc-grid  { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .flip-card { height: 300px; }
  .flip-front-img { flex: 0 0 54%; }

  /* Procesos */
  .proc-item { grid-template-columns: 1fr; min-height: auto; }
  .proc-item[data-dir="right"] { direction: ltr; }
  .proc-img-wrap { aspect-ratio: 16/9; min-height: 240px; }
  .proc-text { padding: 40px 32px; }
  .proc-text::before { left: 0 !important; right: auto !important; }
  .proc-text h3 { font-size: 1.4rem; }

  /* Galería */
  .gallery-masonry { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; }
  .gm-item.gm-wide { grid-column: span 2; }
  .gm-item.gm-tall { grid-row: span 1; }

  /* Nosotros */
  .nosotros-grid { grid-template-columns: 1fr; }
  .nos-img-col   { aspect-ratio: 16/9; min-height: 300px; }
  .nos-text-col  { padding: 48px 32px; }
  .nos-sellos    { grid-template-columns: repeat(4, 1fr); gap: 10px; }

  /* Contacto */
  .contacto-inner { grid-template-columns: 1fr; gap: 44px; padding: 64px 32px; }
  .contacto-left .sec-h2 { font-size: clamp(1.8rem, 5vw, 2.6rem); }
}

/* ────────────────────────────────────────────
   600px · móvil
   ──────────────────────────────────────────── */
@media (max-width: 600px) {
  .container { padding: 60px 20px; }

  /* Hero */
  .hero-content  { padding: 88px 20px 60px; gap: 18px; }
  .hero-logo-img { height: 56px; }
  .hero-h1       { font-size: clamp(1.9rem, 8vw, 2.8rem); gap: 2px; }
  .hero-sub      { font-size: .88rem; }
  .hero-ctas     { flex-direction: column; align-items: center; width: 100%; }
  .btn-hero, .btn-hero-ghost { width: 100%; justify-content: center; padding: 16px 24px; }

  /* Stats */
  .stats-strip { padding: 28px 16px; }
  .stat        { flex: 0 0 50%; padding: 16px 4px; }
  .stat-n      { font-size: 2rem; }
  .stat sup    { font-size: 1rem; }

  /* Servicios */
  .svc-grid { grid-template-columns: 1fr; gap: 12px; }

  /* Reel */
  .reel-wrap { aspect-ratio: 4/3; min-height: 280px; }

  /* Procesos */
  .proc-img-wrap { min-height: 200px; }
  .proc-text     { padding: 32px 20px; }
  .proc-text h3  { font-size: 1.25rem; }
  .proc-tags li  { font-size: .65rem; }

  /* Galería */
  .gallery-masonry    { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; gap: 6px; }
  .gm-item.gm-wide    { grid-column: span 2; }
  .gm-item.gm-tall    { grid-row: span 1; }

  /* Nosotros */
  .nos-img-col   { min-height: 260px; }
  .nos-text-col  { padding: 36px 20px; }
  .nos-sellos    { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .nos-sello strong { font-size: 1.3rem; }

  /* Contacto */
  .contacto-inner  { padding: 56px 20px; }
  .cf-row          { grid-template-columns: 1fr; }
  .contact-form    { padding: 28px 20px; border-radius: var(--r-lg); }
  .phones-list a   { font-size: .82rem; }
}

/* ────────────────────────────────────────────
   380px · móvil pequeño
   ──────────────────────────────────────────── */
@media (max-width: 380px) {
  .hero-h1        { font-size: 1.75rem; }
  .gallery-masonry { grid-template-columns: 1fr; grid-auto-rows: 200px; }
  .gm-item.gm-wide { grid-column: span 1; }
  .stat           { flex: 0 0 100%; border-bottom: 1px solid rgba(255,255,255,.06) !important; }
  .stat:last-child { border-bottom: none !important; }
  .nos-sellos     { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   CARRUSEL INFINITO (Proyectos)
   ============================================================ */
.carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 8px 0 16px;
}
.carousel-viewport::before,
.carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.carousel-viewport::before {
  left: 0;
  background: linear-gradient(to right, var(--blanco-calido), transparent);
}
.carousel-viewport::after {
  right: 0;
  background: linear-gradient(to left, var(--blanco-calido), transparent);
}

.carousel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  padding: 0 16px;
  animation: scrollCarousel 30s linear infinite;
  will-change: transform;
}
.carousel-track:hover { animation-play-state: paused; }

@keyframes scrollCarousel {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ci-item {
  width: 320px;
  aspect-ratio: 4/3;
  flex-shrink: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--gris-claro);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .35s, transform .35s var(--ease-out-expo);
}
.ci-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.ci-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out-expo), filter .6s;
  filter: brightness(.92) saturate(1.05);
}
.ci-item:hover img {
  transform: scale(1.07);
  filter: brightness(1) saturate(1.15);
}

.ci-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(0deg, rgba(14,26,14,.88) 0%, transparent 65%);
  color: #fff;
  font-family: var(--font-head);
  font-size: .72rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 24px 16px 14px;
  opacity: 0;
  transition: opacity .3s;
}
.ci-item:hover .ci-label { opacity: 1; }

@media (max-width: 600px) {
  .ci-item { width: 250px; }
  .carousel-track { gap: 12px; }
}
@media (max-width: 380px) {
  .ci-item { width: 210px; }
}

/* ============================================================
   TESTIMONIALS COLUMNAS (efferd style — scroll vertical)
   ============================================================ */
.resenas-section {
  background: var(--verde-negro);
  overflow: hidden;
  padding-bottom: 96px;
}

.resenas-header {
  text-align: center;
  padding-bottom: 56px;
}
.resenas-header .sec-h2,
.resenas-header .sec-desc {
  margin-left: auto; margin-right: auto; display: block;
}
.resenas-header .sec-label { display: inline-block; }

.tc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  height: 680px;
  overflow: hidden;
  position: relative;
}
.tc-grid::before,
.tc-grid::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 110px;
  z-index: 2;
  pointer-events: none;
}
.tc-grid::before {
  top: 0;
  background: linear-gradient(to bottom, var(--verde-negro), transparent);
}
.tc-grid::after {
  bottom: 0;
  background: linear-gradient(to top, var(--verde-negro), transparent);
}

.tc-col { overflow: hidden; }

.tc-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  animation: tcScrollUp var(--dur, 22s) linear infinite;
  will-change: transform;
}
.tc-inner:hover { animation-play-state: paused; }

@keyframes tcScrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.tc-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-shrink: 0;
  transition: border-color .3s, background .3s;
}
.tc-card:hover {
  border-color: rgba(168,213,162,.2);
  background: rgba(255,255,255,.06);
}
.tc-card--featured {
  border-color: rgba(232,150,16,.25);
  background: rgba(232,150,16,.04);
}
.tc-card--featured:hover { border-color: rgba(232,150,16,.45); }

.tc-stars {
  color: var(--naranja);
  font-size: .85rem;
  letter-spacing: 2px;
}

.tc-text {
  font-family: var(--font-body);
  font-size: .88rem; font-weight: 300;
  color: rgba(255,255,255,.7);
  line-height: 1.72;
  font-style: italic;
}

.tc-author {
  display: flex; align-items: center; gap: 12px; margin-top: 4px;
}
.tc-av {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: .64rem; font-weight: 800;
  color: #fff; flex-shrink: 0; letter-spacing: .03em;
}
.tc-author > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.tc-author strong {
  font-family: var(--font-head);
  font-size: .8rem; font-weight: 700; color: #fff;
}
.tc-author span {
  font-family: var(--font-body);
  font-size: .7rem; font-weight: 300;
  color: rgba(255,255,255,.38);
}

@media (max-width: 900px) {
  .tc-grid { grid-template-columns: repeat(2, 1fr); height: 600px; padding: 0 32px; }
  .tc-col-last { display: none; }
}
@media (max-width: 600px) {
  .tc-grid { grid-template-columns: 1fr; height: 520px; padding: 0 20px; }
  .tc-col:nth-child(2) { display: none; }
}

/* ============================================================
   WHATSAPP POPUP
   ============================================================ */
.wa-float {
  position: fixed; bottom: 28px; right: 28px; z-index: 5000;
  width: 62px; height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 28px rgba(37,211,102,.45);
  transition: transform .3s var(--ease-out-expo), box-shadow .3s;
  cursor: pointer;
  border: none;
  padding: 0;
}
.wa-float:hover {
  transform: scale(1.12) translateY(-2px);
  box-shadow: 0 12px 40px rgba(37,211,102,.6);
}
.wa-float svg { width: 30px; height: 30px; }

.wa-pulse {
  position: absolute; inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: waPulse 2.2s ease-out infinite;
  pointer-events: none;
}

.wa-popup {
  position: fixed;
  bottom: 104px; right: 28px;
  z-index: 4999;
  width: 320px;
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 72px rgba(0,0,0,.22);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(.96);
  transform-origin: bottom right;
  transition: opacity .35s var(--ease-out-expo), visibility .35s, transform .35s var(--ease-out-expo);
}
.wa-popup.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.wa-popup-header {
  background: #075E54;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wa-popup-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.wa-popup-avatar {
  position: relative;
  width: 42px; height: 42px;
  flex-shrink: 0;
}
.wa-popup-avatar img {
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: contain;
  background: var(--verde-oscuro);
  padding: 5px;
}
.wa-online {
  position: absolute;
  bottom: 1px; right: 1px;
  width: 11px; height: 11px;
  background: #25D366;
  border-radius: 50%;
  border: 2px solid #075E54;
}

.wa-popup-brand strong {
  font-family: var(--font-head);
  font-size: .88rem; font-weight: 700;
  color: #fff; display: block;
}
.wa-popup-brand span {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 300;
  color: rgba(255,255,255,.6);
}

.wa-popup-close {
  color: rgba(255,255,255,.65);
  font-size: 1rem;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.wa-popup-close:hover { background: rgba(255,255,255,.15); color: #fff; }

.wa-popup-body {
  padding: 16px 18px 10px;
  background: #ECE5DD;
}

.wa-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: .88rem; font-weight: 400;
  color: var(--texto-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
  max-width: 85%;
  position: relative;
}
.wa-bubble::before {
  content: '';
  position: absolute;
  top: 0; left: -8px;
  width: 0; height: 0;
  border-style: solid;
  border-width: 0 8px 8px 0;
  border-color: transparent #fff transparent transparent;
}

.wa-subtitle {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 400;
  color: rgba(0,0,0,.42);
  margin-top: 10px;
  text-align: center;
}

.wa-popup-options {
  background: #fff;
  display: flex;
  flex-direction: column;
}

.wa-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid rgba(0,0,0,.06);
  transition: background .2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.wa-option:hover { background: #f5f5f5; }

.wa-opt-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #075E54, #128C7E);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: .65rem; font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: .04em;
}

.wa-opt-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.wa-opt-info strong {
  font-family: var(--font-head);
  font-size: .82rem; font-weight: 700;
  color: var(--texto-dark);
}
.wa-opt-info span {
  font-family: var(--font-body);
  font-size: .72rem; font-weight: 300;
  color: var(--texto-suave);
}
.wa-option svg { width: 18px; height: 18px; flex-shrink: 0; }

@media (max-width: 600px) {
  .wa-popup { width: calc(100vw - 32px); right: 16px; bottom: 88px; }
  .wa-float { bottom: 20px; right: 16px; width: 54px; height: 54px; }
  .wa-float svg { width: 26px; height: 26px; }
}

/* ============================================================
   ANIMACIONES PREMIUM
   ============================================================ */

/* ── Barra de progreso de scroll ── */
#scrollProgress {
  position: fixed; top: 0; left: 0; z-index: 9002;
  height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--naranja), var(--verde-palido), var(--naranja));
  background-size: 200%;
  border-radius: 0 99px 99px 0;
  pointer-events: none;
  animation: progressShimmer 2s linear infinite;
}
@keyframes progressShimmer {
  0%   { background-position: 0%; }
  100% { background-position: 200%; }
}

/* ── Nav link activo ── */
.nav-link.nav-active {
  color: #fff !important;
  background: rgba(255,255,255,.1) !important;
}

/* ── Sec-label: raya animada izquierda ── */
.sec-label {
  position: relative;
  overflow: hidden;
}
.sec-label::after {
  content: '';
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-100%);
  animation: labelShine 5s ease-in-out infinite;
}
@keyframes labelShine {
  0%, 70%  { transform: translateX(-100%); }
  85%      { transform: translateX(100%); }
  100%     { transform: translateX(100%); }
}

/* ── Tarjetas de servicio: perspectiva 3D ── */
.svc-grid { perspective: 1200px; }
.svc-card {
  transform-style: flat;
  will-change: transform;
  transition: transform .4s var(--ease-out-expo), box-shadow .4s, border-color .4s;
}

/* ── Estadísticas: pulso al completar ── */
.stat-n.done {
  animation: statGlow .7s var(--ease-out-expo) forwards;
}
@keyframes statGlow {
  0%   { text-shadow: none; }
  40%  { text-shadow: 0 0 28px rgba(232,150,16,.7), 0 0 60px rgba(232,150,16,.3); }
  100% { text-shadow: none; }
}

/* ── Hero: orbes decorativos ── */
.hero::after {
  content: '';
  position: absolute; z-index: 1;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45,80,22,.25) 0%, transparent 70%);
  bottom: -200px; left: -100px;
  animation: orbDrift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes orbDrift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, -60px) scale(1.15); }
}

/* ── Stats strip: línea superior animada ── */
.stats-strip::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--naranja), transparent);
  animation: stripLine 4s ease-in-out infinite;
}
@keyframes stripLine {
  0%   { transform: scaleX(0) translateX(-100%); opacity: 0; }
  30%  { opacity: 1; }
  60%  { transform: scaleX(1) translateX(0%); opacity: 1; }
  100% { transform: scaleX(1) translateX(100%); opacity: 0; }
}

/* ── Proceso: número pulsante ── */
.proc-num {
  transition: color .6s, opacity .6s;
}
.proc-item:hover .proc-num {
  color: rgba(232,150,16,.22);
}

/* ── Botones: ripple en click ── */
.btn-hero, .btn-primary, .btn-naranja, .nav-cta {
  position: relative;
  overflow: hidden;
}
.btn-hero::after, .btn-primary::after, .btn-naranja::after, .nav-cta::after {
  content: '';
  position: absolute;
  width: 120%; height: 120%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: rgba(255,255,255,.18);
  border-radius: 50%;
  pointer-events: none;
  transition: transform .5s var(--ease-out-expo), opacity .5s;
  opacity: 0;
}
.btn-hero:active::after, .btn-primary:active::after,
.btn-naranja:active::after, .nav-cta:active::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: 0s;
}

/* ── Sección nosotros: borde degradado animado ── */
.nos-badge {
  animation: badgeBob 4s ease-in-out infinite;
}
@keyframes badgeBob {
  0%, 100% { transform: translateY(0px); box-shadow: 0 8px 32px rgba(0,0,0,.12); }
  50%      { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,.18); }
}

/* ── Reseñas: animación opuesta al carrusel de proyectos ── */
.resenas-track { animation-direction: normal; }

/* ── Contacto: fondo animado ── */
.contacto::before {
  animation: contactOrb 8s ease-in-out infinite alternate;
}
@keyframes contactOrb {
  0%   { transform: scale(1) translate(0, 0); opacity: 1; }
  100% { transform: scale(1.4) translate(-60px, 60px); opacity: .6; }
}

/* ── Footer: partícula verde flotante ── */
.footer-brand::after {
  content: '';
  display: block;
  width: 40px; height: 2px;
  background: linear-gradient(90deg, var(--verde-medio), transparent);
  border-radius: 2px;
  animation: footerLine 3s ease-in-out infinite;
}
@keyframes footerLine {
  0%, 100% { width: 40px; opacity: .5; }
  50%      { width: 80px; opacity: 1; }
}

/* ── Imagen de proceso: overlay suave en hover ── */
.proc-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(232,150,16,.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .5s;
}
.proc-item:hover .proc-img-wrap::after { opacity: 1; }

/* ── Lightbox imagen: fade suave ── */
.lb-img {
  transition: opacity .4s var(--ease-out-expo);
}

/* ── Carrusel: sombra en items al hover ── */
.ci-item {
  box-shadow: 0 4px 16px rgba(0,0,0,.1);
}
.ci-item:hover {
  box-shadow: 0 16px 48px rgba(0,0,0,.22);
}
