:root{
    --white:#ffffff;
    --paper:#f6f4f0;
    --ink:#191712;
    --steel:#5b6570;
    --steel-light:#8b929b;
    --orange:#ec5b1e;
    --orange-dark:#c8480f;
    --orange-light:#ff8a4c;
    --orange-glow:rgba(236,91,30,0.28);
    --line:#e4e0d8;
    --navy:#14181d;
    --radius:3px;
  }

  *{margin:0;padding:0;box-sizing:border-box;}
  html{scroll-behavior:smooth;overflow-x:hidden;}

  body{
    background:var(--white);
    color:var(--ink);
    font-family:'Archivo', sans-serif;
    font-weight:500;
    line-height:1.5;
    overflow-x:hidden;
    cursor:none;
    position:relative;
  }
  @media (hover:none){ body{cursor:auto;} }

  a{color:inherit;text-decoration:none;}
  ul{list-style:none;}
  img{max-width:100%;display:block;}

  .display{font-family:'Space Grotesk', sans-serif;}
  .mono{font-family:'JetBrains Mono', monospace;}

  /* ============ GLOBAL AMBIENT BACKGROUND ============ */
  #bg-fx{
    position:fixed;
    inset:0;
    z-index:0;
    pointer-events:none;
    overflow:hidden;
  }
  #bg-fx .grid{
    position:absolute;
    inset:-200px;
    background-image:
      repeating-linear-gradient(0deg, transparent 0 39px, var(--line) 39px 40px),
      repeating-linear-gradient(90deg, transparent 0 39px, var(--line) 39px 40px);
    opacity:.55;
    animation:driftGrid 34s linear infinite;
  }
  @keyframes driftGrid{
    0%{transform:translate(0,0);}
    100%{transform:translate(40px,40px);}
  }
  #bg-fx .blob{
    position:absolute;
    border-radius:50%;
    filter:blur(90px);
    opacity:.35;
    will-change:transform;
  }
  #bg-fx .blob-1{
    width:640px;height:640px;
    top:-220px;right:-160px;
    background:radial-gradient(circle, var(--orange-glow), transparent 70%);
    animation:floatBlob1 26s ease-in-out infinite;
  }
  #bg-fx .blob-2{
    width:520px;height:520px;
    top:55vh;left:-200px;
    background:radial-gradient(circle, rgba(20,24,29,.14), transparent 70%);
    animation:floatBlob2 32s ease-in-out infinite;
  }
  #bg-fx .blob-3{
    width:420px;height:420px;
    top:120vh;right:-100px;
    background:radial-gradient(circle, var(--orange-glow), transparent 70%);
    animation:floatBlob1 22s ease-in-out infinite reverse;
  }
  #bg-fx .blob-4{
    width:380px;height:380px;
    top:180vh;left:10vw;
    background:radial-gradient(circle, rgba(20,24,29,.12), transparent 70%);
    animation:floatBlob2 28s ease-in-out infinite;
  }
  @keyframes floatBlob1{
    0%,100%{transform:translate(0,0) scale(1);}
    50%{transform:translate(-60px,70px) scale(1.12);}
  }
  @keyframes floatBlob2{
    0%,100%{transform:translate(0,0) scale(1);}
    50%{transform:translate(70px,-50px) scale(1.08);}
  }
  #bg-fx .stripe-strip{
    position:absolute;
    top:0;bottom:0;
    width:10px;
    background:repeating-linear-gradient(-45deg,var(--orange) 0 8px, transparent 8px 16px);
    opacity:.14;
    animation:stripeMove 6s linear infinite;
  }
  #bg-fx .stripe-strip.left{left:0;}
  #bg-fx .stripe-strip.right{right:0;}
  @keyframes stripeMove{
    0%{background-position:0 0;}
    100%{background-position:0 45px;}
  }

  main, header, footer{position:relative;z-index:1;}

  @media (prefers-reduced-motion: reduce){
    #bg-fx .grid, #bg-fx .blob, #bg-fx .stripe-strip{animation:none;}
  }

  /* ---------- custom cursor ---------- */
  #cursor-dot, #cursor-ring{
    position:fixed; top:0;left:0;
    pointer-events:none; z-index:10000;
    border-radius:50%;
    transform:translate(-50%,-50%);
  }
  #cursor-dot{
    width:6px;height:6px;
    background:var(--orange);
    transition:transform .12s ease, opacity .2s ease;
  }
  #cursor-ring{
    width:34px;height:34px;
    border:1.5px solid var(--orange);
    opacity:.55;
    transition:width .25s cubic-bezier(.2,.8,.2,1), height .25s cubic-bezier(.2,.8,.2,1),
               border-color .25s ease, background .25s ease, opacity .25s ease;
  }
  #cursor-ring.hover{
    width:64px;height:64px;
    background:var(--orange-glow);
    border-color:var(--orange);
    opacity:1;
  }
  @media (max-width:900px){
    #cursor-dot,#cursor-ring{display:none;}
    body{cursor:auto;}
  }

  /* ---------- utility ---------- */
  .wrap{max-width:1240px;margin:0 auto;padding:0 32px;}
  .eyebrow{
    font-family:'JetBrains Mono', monospace;
    font-size:12px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:var(--orange-dark);
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:18px;
    opacity:0;
    animation:eyebrowIn .7s ease forwards;
  }
  .eyebrow::before{
    content:"";
    width:0;
    height:2px;
    background:var(--orange);
    display:inline-block;
    animation:eyebrowLine .6s .3s ease forwards;
  }
  @keyframes eyebrowIn{to{opacity:1;}}
  @keyframes eyebrowLine{to{width:22px;}}

  .reveal{
    opacity:0;
    transform:translateY(28px);
    transition:opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
  }
  .reveal.in{opacity:1;transform:translateY(0);}

  /* kinetic word-by-word heading */
  .kinetic{overflow:hidden;}
  .kinetic .word{
    display:inline-block;
    opacity:0;
    transform:translateY(110%) rotate(2deg);
    animation:wordUp .85s cubic-bezier(.16,1,.3,1) forwards;
  }
  @keyframes wordUp{
    to{opacity:1;transform:translateY(0) rotate(0);}
  }

  /* ---------- premium buttons ---------- */
  .btn{
    --mx:50%; --my:50%;
    display:inline-flex;
    align-items:center;
    gap:11px;
    background:linear-gradient(155deg, var(--orange-light), var(--orange) 45%, var(--orange-dark));
    color:#fff;
    font-family:'Space Grotesk',sans-serif;
    font-weight:600;
    font-size:15px;
    letter-spacing:.01em;
    padding:16px 30px;
    border:none;
    border-radius:var(--radius);
    cursor:none;
    position:relative;
    overflow:hidden;
    isolation:isolate;
    transition:transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
    box-shadow:0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -14px rgba(200,72,15,.55);
  }
  @media (hover:none){ .btn{cursor:pointer;} }
  .btn::before{
    content:"";
    position:absolute;
    inset:0;
    background:radial-gradient(120px 120px at var(--mx) var(--my), rgba(255,255,255,.35), transparent 60%);
    opacity:0;
    transition:opacity .35s ease;
    z-index:1;
  }
  .btn:hover::before{opacity:1;}
  .btn span, .btn svg{position:relative;z-index:2;}
  .btn:hover{transform:translateY(-3px);box-shadow:0 1px 0 rgba(255,255,255,.3) inset, 0 20px 36px -14px rgba(200,72,15,.65);}
  .btn svg{transition:transform .35s cubic-bezier(.16,1,.3,1);}
  .btn:hover svg{transform:translate(3px,-3px);}

  .btn-ghost{
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:transparent;
    color:var(--ink);
    font-family:'Space Grotesk',sans-serif;
    font-weight:600;
    font-size:15px;
    padding:15px 28px;
    border:1.5px solid var(--ink);
    border-radius:var(--radius);
    cursor:none;
    transition:background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
  }
  @media (hover:none){ .btn-ghost{cursor:pointer;} }
  .btn-ghost:hover{background:var(--ink);color:#fff;transform:translateY(-3px);}

/* ---------- header ---------- */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: transform .4s ease;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== LOGO ===== */
.logo {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
  position: relative;
  animation: logoEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

@keyframes logoEntrance {
  0% {
    opacity: 0;
    transform: translateX(-16px) scale(0.94);
  }
  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.logo:hover {
  transform: scale(1.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo-mark {
  height: 40px;
  width: auto;
  display: block;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover .logo-mark {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--ink) 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.4s ease;
}

.logo:hover .logo-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 4px;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover::after {
  width: 100%;
}

/* ===== NAVEGACIÓN ===== */
nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  gap: 38px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--steel);
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
  text-decoration: none;
}

nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--orange);
  transition: width .3s cubic-bezier(.16,1,.3,1);
}

nav a:hover {
  color: var(--ink);
}

nav a:hover::after {
  width: 100%;
}

/* ===== HEADER CTA ===== */
.header-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* ===== WHATSAPP LINK ===== */
.whatsapp-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.08);
  color: #25D366;
}

/* ===== ÍCONO DE WHATSAPP CON ANIMACIÓN ===== */
.whatsapp-icon {
  color: #25D366;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: whatsappPulse 2.5s ease-in-out infinite;
}

@keyframes whatsappPulse {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.1) rotate(-3deg);
  }
  50% {
    transform: scale(1.05) rotate(3deg);
  }
  75% {
    transform: scale(1.1) rotate(-2deg);
  }
}

.whatsapp-link:hover .whatsapp-icon {
  animation: whatsappBounce 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transform: scale(1.2);
}

@keyframes whatsappBounce {
  0% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.3) rotate(-8deg);
  }
  60% {
    transform: scale(0.95) rotate(4deg);
  }
  100% {
    transform: scale(1.2) rotate(0deg);
  }
}

/* ===== NÚMERO DE TELÉFONO ===== */
.whatsapp-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.whatsapp-link:hover .whatsapp-number {
  color: #25D366;
}

/* ===== "CHAT NOW" DEBAJO (NUEVA POSICIÓN) ===== */
.whatsapp-link::after {
  content: 'Chat now 💬';
  position: absolute;
  bottom: -24px; /* Ahora aparece DEBAJO */
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: #25D366;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

/* Flechita que apunta hacia arriba desde el badge */
.whatsapp-link::before {
  content: '';
  position: absolute;
  bottom: -10px; /* Posición para que apunte al badge */
  left: 50%;
  transform: translateX(-50%) scale(0);
  border: 5px solid transparent;
  border-bottom-color: #25D366;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.whatsapp-link:hover::after {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  bottom: -28px; /* Se despliega hacia abajo */
}

.whatsapp-link:hover::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  bottom: -12px;
}

/* ===== BOTÓN GET A QUOTE ===== */
.header-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: linear-gradient(155deg, var(--orange-light), var(--orange) 45%, var(--orange-dark));
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .01em;
  padding: 14px 24px;
  border: none;
  border-radius: var(--radius);
  cursor: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s ease;
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 14px 30px -14px rgba(200,72,15,.55);
  text-decoration: none;
}

@media (hover:none) {
  .header-cta .btn {
    cursor: pointer;
  }
}

.header-cta .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120px 120px at var(--mx) var(--my), rgba(255,255,255,.35), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  z-index: 1;
}

.header-cta .btn:hover::before {
  opacity: 1;
}

.header-cta .btn span, 
.header-cta .btn svg {
  position: relative;
  z-index: 2;
}

.header-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,.3) inset, 0 20px 36px -14px rgba(200,72,15,.65);
}

.header-cta .btn svg {
  transition: transform .35s cubic-bezier(.16,1,.3,1);
}

.header-cta .btn:hover svg {
  transform: translate(3px,-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .whatsapp-number {
    font-size: 12px;
  }
  
  .whatsapp-link {
    gap: 4px;
    padding: 4px 8px;
  }
}

@media (max-width: 860px) {
  header nav {
    display: none !important;
  }
  
  .whatsapp-number {
    display: none !important;
  }
  
  .whatsapp-link {
    padding: 4px 6px;
  }
  
  .whatsapp-link::after,
  .whatsapp-link::before {
    display: none !important; /* Oculta el tooltip en tablet */
  }
  
  .whatsapp-icon {
    width: 22px;
    height: 22px;
  }
  
  .logo {
    font-size: 20px;
  }
  
  .logo-mark {
    height: 34px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  .header-cta {
    gap: 12px;
  }
}

@media (max-width: 480px) {
  header .wrap {
    padding: 0 16px;
    height: 68px;
  }
  
  .logo {
    font-size: 18px;
    gap: 8px;
  }
  
  .logo-mark {
    height: 30px;
  }
  
  .logo-text {
    font-size: 18px;
  }
  
  .header-cta .btn {
    padding: 10px 14px;
    font-size: 12px;
  }
  
  .header-cta .btn span {
    display: none;
  }
  
  .whatsapp-link {
    padding: 4px;
  }
  
  .whatsapp-icon {
    width: 20px;
    height: 20px;
  }
  
  .whatsapp-link::after,
  .whatsapp-link::before {
    display: none !important;
  }
}


  /* ===== MOBILE NAV / HAMBURGER ===== */
  .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform .3s ease, opacity .3s ease;
  }
  .menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle.active span:nth-child(2) { opacity: 0; }
  .menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    width: min(300px, 84vw);
    height: 100%;
    height: 100dvh;
    background: var(--navy);
    color: #fff;
    z-index: 1200;
    padding: 88px 28px 40px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
  }
  .mobile-nav.open { transform: translateX(0); }
  .mobile-nav-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    border-radius: 8px;
  }
  .mobile-nav-close:hover { background: rgba(255,255,255,.08); }
  .mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
  .mobile-nav ul a {
    display: block;
    padding: 14px 12px;
    font-size: 16px;
    font-weight: 600;
    color: #e7e7e2;
    border-radius: 8px;
    transition: background .25s ease, color .25s ease;
  }
  .mobile-nav ul a:hover,
  .mobile-nav ul a.active { color: var(--orange); background: rgba(255,255,255,.05); }
  .mobile-nav-cta {
    display: flex;
    width: 100%;
    margin-top: 28px;
    justify-content: center;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10,12,14,.55);
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s ease, visibility .3s ease;
  }
  .nav-overlay.open { opacity: 1; visibility: visible; }

  @media (max-width: 1024px) {
    header nav { display: none !important; }
    .menu-toggle { display: flex; }
  }

  /* ---------- hero ---------- */
  .hero{
    position:relative;
    padding:172px 0 120px;
    overflow:hidden;
  }
  .hero-grid{
    display:grid;
    grid-template-columns:1.05fr .85fr;
    gap:64px;
    align-items:end;
    position:relative;
  }
  .hero h1{
    font-size:clamp(44px,6vw,80px);
    line-height:.98;
    letter-spacing:-.03em;
    font-weight:700;
    max-width:780px;
  }
  .hero h1 em{
    font-style:normal;
    background:linear-gradient(100deg, var(--orange-dark), var(--orange) 40%, var(--orange-light));
    -webkit-background-clip:text;
    background-clip:text;
    color:transparent;
    white-space:nowrap;
  }
  .hero-sub{
    margin-top:26px;
    font-size:18px;
    color:var(--steel);
    max-width:480px;
    font-weight:500;
    line-height:1.6;
    opacity:0;
    animation:fadeUp .8s .9s ease forwards;
  }
  @keyframes fadeUp{
    from{opacity:0;transform:translateY(16px);}
    to{opacity:1;transform:translateY(0);}
  }
  .hero-actions{
    margin-top:40px;
    display:flex;
    gap:16px;
    flex-wrap:wrap;
    opacity:0;
    animation:fadeUp .8s 1.1s ease forwards;
  }
  @keyframes stripeScroll{
    0%{background-position:0 0;}
    100%{background-position:28px 0;}
  }

  /* ---------- hero visual (foto con borde naranja) ---------- */
  .hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    min-height: 650px;
    width: 100%;
    overflow: visible;
  }

  .hero-visual-tag {
    position: absolute;
    top: 4%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid var(--line);
    padding: 9px 16px;
    border-radius: 100px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    letter-spacing: .04em;
    color: var(--ink);
    box-shadow: 0 14px 30px -14px rgba(20, 20, 15, .28);
    animation: tagFloat 5s ease-in-out infinite;
    white-space: nowrap;
  }

  .hero-visual-tag svg {
    color: var(--orange);
  }

  /* ===== CONTENEDOR DE LA FOTO CON BORDE ===== */
  .hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
  }

  /* ===== BARRA NARANJA EN LA PARTE INFERIOR ===== */
  .hero-image-wrapper::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 5%;
    right: 5%;
    height: 6px;
    background: linear-gradient(90deg, 
      transparent 0%, 
      var(--orange) 15%, 
      var(--orange-light) 50%, 
      var(--orange) 85%, 
      transparent 100%
    );
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(236, 91, 30, 0.35);
    z-index: 2;
    animation: borderPulse 3s ease-in-out infinite;
  }

  @keyframes borderPulse {
    0%, 100% {
      opacity: 0.7;
      transform: scaleX(0.95);
    }
    50% {
      opacity: 1;
      transform: scaleX(1);
    }
  }

  .floating-photo {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 30px 40px rgba(20, 20, 15, .22));
    animation: photoFloat 6s ease-in-out infinite;
    will-change: transform;
    display: block;
    transform: scale(1.15);
    transform-origin: bottom center;
    border-bottom: 4px solid var(--orange);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
  }

  @keyframes photoFloat {
    0%, 100% {
      transform: scale(1.15) translateY(0) rotate(-0.4deg);
    }
    50% {
      transform: scale(1.15) translateY(-12px) rotate(0.6deg);
    }
  }

  @keyframes tagFloat {
    0%, 100% {
      transform: translateX(-50%) translateY(0);
    }
    50% {
      transform: translateX(-50%) translateY(-10px);
    }
  }

  @media (max-width: 900px) {
    .hero-grid {
      grid-template-columns: 1fr;
    }
    .hero {
      padding-top: 140px;
    }
    .hero-visual {
      margin-top: 20px;
      min-height: 420px;
    }
    .floating-photo {
      transform: scale(1.05);
      border-bottom-width: 3px;
    }
    .hero-image-wrapper::after {
      height: 4px;
      left: 3%;
      right: 3%;
    }
    @keyframes photoFloat {
      0%, 100% {
        transform: scale(1.05) translateY(0) rotate(-0.4deg);
      }
      50% {
        transform: scale(1.05) translateY(-10px) rotate(0.6deg);
      }
    }
  }

  @media (max-width: 600px) {
    .hero-visual {
      min-height: 320px;
    }
    .floating-photo {
      transform: scale(1);
      border-bottom-width: 3px;
      border-bottom-left-radius: 8px;
      border-bottom-right-radius: 8px;
    }
    .hero-image-wrapper::after {
      height: 3px;
      left: 2%;
      right: 2%;
    }
    @keyframes photoFloat {
      0%, 100% {
        transform: scale(1) translateY(0) rotate(-0.4deg);
      }
      50% {
        transform: scale(1) translateY(-8px) rotate(0.6deg);
      }
    }
    .hero-visual-tag {
      font-size: 9px;
      padding: 5px 10px;
      top: 3%;
    }
  }

  /* ---------- section shell ---------- */
  section{padding:120px 0;position:relative;}
  .section-head{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    gap:40px;
    margin-bottom:64px;
  }
  .section-head h2{
    font-size:clamp(32px,3.6vw,46px);
    letter-spacing:-.025em;
    font-weight:700;
    max-width:640px;
    line-height:1.08;
  }
  .section-head p{
    color:var(--steel);
    max-width:340px;
    font-size:15.5px;
    padding-bottom:6px;
  }
  @media (max-width:768px){
    .section-head{flex-direction:column;align-items:flex-start;}
  }

  /* ---------- projects ---------- */
  .projects-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:22px;
  }
  .project-card{
    position:relative;
    border-radius:var(--radius);
    overflow:hidden;
    aspect-ratio:3/4;
    background:var(--ink);
  }
  .project-card img{
    width:100%;height:100%;
    object-fit:cover;
    transition:transform .7s cubic-bezier(.16,1,.3,1), filter .5s ease;
    filter:grayscale(45%) brightness(.82);
  }
  .project-card:hover img{transform:scale(1.08);filter:grayscale(0%) brightness(.9);}
  .project-overlay{
    position:absolute;inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:22px;
    background:linear-gradient(to top, rgba(10,10,8,.92) 0%, rgba(10,10,8,.3) 55%, transparent 100%);
    color:#fff;
  }
  .project-overlay .loc{
    font-family:'JetBrains Mono',monospace;
    font-size:11px;
    letter-spacing:.1em;
    text-transform:uppercase;
    color:var(--orange);
    margin-bottom:8px;
  }
  .project-overlay h4{
    font-family:'Space Grotesk',sans-serif;
    font-size:17px;
    font-weight:600;
    margin-bottom:6px;
  }
  .project-overlay p{font-size:12.5px;color:#cfd3d8;line-height:1.5;}
  @media (max-width:1024px){.projects-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:600px){.projects-grid{grid-template-columns:1fr;}}

  /* ---------- why us ---------- */
  .why{
    background:var(--navy);
    color:#fff;
    position:relative;
    overflow:hidden;
  }
  .why::after{
    content:"";
    position:absolute;
    left:0;top:0;bottom:0;width:8px;
    background:repeating-linear-gradient(-45deg,var(--orange) 0 10px, #1c2129 10px 20px);
  }
  .why-grid{
    display:grid;
    grid-template-columns:.9fr 1.1fr;
    gap:70px;
    align-items:center;
  }
  .why h2{
    font-size:clamp(32px,3.6vw,46px);
    font-weight:700;
    letter-spacing:-.025em;
    line-height:1.1;
    margin-bottom:22px;
  }
  .why > .wrap > .why-grid > div:first-child p{
    color:#aeb4bb;
    font-size:16px;
    max-width:420px;
    margin-bottom:34px;
  }
  .why-list{display:flex;flex-direction:column;}
  .why-item{
    display:flex;
    gap:20px;
    padding:26px 0;
    border-top:1px solid rgba(255,255,255,.14);
    transition:padding-left .3s ease;
  }
  .why-item:hover{padding-left:10px;}
  .why-item:last-child{border-bottom:1px solid rgba(255,255,255,.14);}
  .why-num{
    font-family:'JetBrains Mono',monospace;
    color:var(--orange);
    font-size:14px;
    padding-top:3px;
  }
  .why-item h4{
    font-family:'Space Grotesk',sans-serif;
    font-weight:600;
    font-size:17px;
    margin-bottom:6px;
  }
  .why-item p{font-size:14px;color:#a9b0b8;max-width:440px;}
  @media (max-width:900px){.why-grid{grid-template-columns:1fr;}}

  /* ============================================================ */
/* ====== TESTIMONIALS - PREMIUM CAROUSEL (CSS NATIVO) ========= */
/* ============================================================ */

#testimonials {
    padding: 120px 0;
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

/* Línea naranja lateral decorativa */
#testimonials::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, #1c2129 10px 20px);
}

#testimonials .section-head {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

#testimonials .section-head h2 {
    color: #fff;
}

#testimonials .section-head p {
    color: rgba(255,255,255,0.7);
}

/* ============================================================ */
/* ====== TESTIMONIALS - SWIPER CAROUSEL ====================== */
/* ============================================================ */

#testimonials {
    padding: 120px 0;
    background: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
}

#testimonials::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, #1c2129 10px 20px);
}

#testimonials .section-head {
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 20px;
    margin-bottom: 40px;
}

#testimonials .section-head h2 {
    color: #fff;
}

#testimonials .section-head p {
    color: rgba(255,255,255,0.7);
}

/* --- SWIPER CONTENEDOR --- */
.swiper {
    width: 100%;
    padding-bottom: 50px !important;
}

.swiper-wrapper {
    padding-bottom: 20px;
}

.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    /* Efecto zoom al centro */
    transition: transform 0.6s ease, opacity 0.6s ease;
    opacity: 0.6;
    transform: scale(0.92);
}

/* El slide activo (el que está en el medio) */
.swiper-slide-active {
    opacity: 1;
    transform: scale(1.05); /* EL ZOOM QUE PEDISTE */
}

/* --- TARJETA DE TESTIMONIO --- */
.testi-card {
    width: 100%;
    max-width: 440px;
    background: #1c2129;
    padding: 36px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: border-color 0.3s ease;
    margin: 0 auto;
}

.testi-card:hover {
    border-color: var(--orange);
}

.testi-card .stars {
    color: var(--orange);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.testi-card p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.85);
    flex: 1;
    margin-bottom: 20px;
    min-height: 80px;
}

.testi-card .testi-who {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 16px;
}

.testi-card .avatar {
    width: 40px;
    height: 40px;
    background: var(--orange);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 6px;
    flex-shrink: 0;
}

.testi-card .name {
    font-weight: 600;
    font-size: 14px;
    color: #fff;
}

.testi-card .role {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* --- FLECHAS Y PAGINACIÓN --- */
.swiper-button-next,
.swiper-button-prev {
    color: #fff !important;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    width: 44px !important;
    height: 44px !important;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--orange);
    border-color: var(--orange);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: bold;
}

.swiper-pagination-bullet {
    background: rgba(255,255,255,0.3) !important;
    opacity: 1 !important;
}

.swiper-pagination-bullet-active {
    background: var(--orange) !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    #testimonials { padding: 80px 0; }
    .testi-card { padding: 28px; max-width: 400px; }
}

@media (max-width: 600px) {
    .testi-card { padding: 20px; max-width: 320px; }
    .testi-card p { font-size: 14px; min-height: auto; }
    .swiper-button-next,
    .swiper-button-prev {
        display: none !important; /* Ocultar flechas en móviles */
    }
}

  /* ---------- CTA ---------- */
  .cta{
    background:linear-gradient(120deg, var(--orange-dark), var(--orange) 55%, var(--orange-light));
    color:#fff;
    position:relative;
    overflow:hidden;
  }
  .cta::before{
    content:"";
    position:absolute;inset:0;
    background:repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 3px, transparent 3px 30px);
    background-size:200% 200%;
    animation:stripeScroll 5s linear infinite;
  }
  .cta-inner{
    position:relative;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:40px;
    flex-wrap:wrap;
  }
  .cta h2{
    font-size:clamp(30px,4vw,50px);
    font-weight:700;
    letter-spacing:-.025em;
    max-width:560px;
    line-height:1.08;
  }
  .cta p{margin-top:16px;max-width:460px;color:rgba(255,255,255,.9);font-size:15.5px;}
  .cta-list{
    display:flex;
    flex-direction:column;
    gap:10px;
    margin-top:22px;
  }
  .cta-list li{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    font-weight:600;
  }
  .cta .btn{background:linear-gradient(155deg,#2a323b,var(--ink) 60%,#0c0e11);box-shadow:0 1px 0 rgba(255,255,255,.12) inset, 0 14px 30px -14px rgba(0,0,0,.55);}

  /* ---------- footer ---------- */
  footer{
    background:var(--ink);
    color:#c9c9c4;
    padding:80px 0 30px;
  }
  .footer-grid{
    display:grid;
    grid-template-columns:1.3fr 1fr 1fr 1fr;
    gap:50px;
    padding-bottom:56px;
    border-bottom:1px solid rgba(255,255,255,.1);
  }
  .footer-grid h5{
    font-family:'JetBrains Mono',monospace;
    font-size:12px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#8f9096;
    margin-bottom:22px;
  }
  .footer-grid p{font-size:14px;line-height:1.7;color:#a2a2a0;max-width:280px;}
  .footer-grid ul li{margin-bottom:12px;}
  .footer-grid a{font-size:14px;color:#c9c9c4;transition:color .25s ease;}
  .footer-grid a:hover{color:var(--orange);}
  .footer-logo{
    font-family:'Space Grotesk',sans-serif;
    font-weight:700;
    font-size:22px;
    color:#fff;
    display:flex;align-items:center;gap:12px;
    margin-bottom:20px;
  }
  .logo-chip{
    width:38px;height:38px;
    background:#fff;
    border-radius:4px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:5px;
  }
  .logo-chip img{width:100%;height:100%;object-fit:contain;}
  .footer-social{display:flex;gap:14px;margin-top:24px;}
  .footer-social a{
    width:36px;height:36px;
    border:1px solid rgba(255,255,255,.18);
    border-radius:2px;
    display:flex;align-items:center;justify-content:center;
    transition:border-color .25s ease, color .25s ease, transform .25s ease;
  }
  .footer-social a:hover{border-color:var(--orange);color:var(--orange);transform:translateY(-3px);}
  .footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding-top:28px;
    font-size:12.5px;
    color:#77787c;
    flex-wrap:wrap;
    gap:12px;
  }
  @media (max-width:900px){.footer-grid{grid-template-columns:1fr 1fr;}}
  @media (max-width:600px){.footer-grid{grid-template-columns:1fr;}}

  ::selection{background:var(--orange);color:#fff;}

  /* ========== CONTACT SECTION - FLIP CARD CON PASOS ========== */
  .contact-section {
    padding: 80px 0;
    background: var(--paper);
    position: relative;
  }

  .contact-section .wrap {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 32px;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
    min-height: 580px;
  }

  /* ===== COLUMNA IZQUIERDA ===== */
  .contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px 0;
  }

  .contact-info .eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--orange-dark);
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
  }

  .contact-info .eyebrow::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--orange);
    display: inline-block;
  }

  .contact-info h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(30px, 3.4vw, 42px);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: var(--ink);
  }

  .contact-info .subtitle {
    font-size: 15px;
    color: var(--steel);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 28px;
  }

  .contact-details {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  .contact-details .detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: var(--ink);
  }

  .contact-details .detail-item .icon-box {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(236, 91, 30, 0.08);
    border-radius: 8px;
    color: var(--orange);
    flex-shrink: 0;
  }

  .contact-details .detail-item a {
    color: var(--ink);
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .contact-details .detail-item a:hover {
    color: var(--orange);
  }

  .contact-features {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .contact-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--steel);
  }

  .contact-features li svg {
    color: var(--orange);
    flex-shrink: 0;
  }

  /* ===== FLIP CARD ===== */
  .flip-container {
    perspective: 1200px;
    height: 100%;
    min-height: 540px;
    cursor: pointer;
  }

  .flip-card {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 540px;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
  }

  .flip-container.flipped .flip-card {
    transform: rotateY(180deg);
  }

  .flip-front,
  .flip-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 540px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 14px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
  }

  /* ===== FRONT ===== */
  .flip-front {
    background: var(--navy);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  }

  .flip-front .front-icon {
    width: 64px;
    height: 64px;
    background: rgba(236, 91, 30, 0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--orange);
  }

  .flip-front .front-icon svg {
    width: 30px;
    height: 30px;
  }

  .flip-front h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
  }

  .flip-front p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 360px;
  }

  .flip-front .front-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--orange);
    font-weight: 600;
    font-size: 14px;
    padding: 12px 24px;
    border: 1.5px solid rgba(236, 91, 30, 0.3);
    border-radius: 8px;
    transition: all 0.3s ease;
    width: fit-content;
    cursor: pointer;
  }

  .flip-front .front-cta:hover {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
  }

  .flip-front .front-cta svg {
    transition: transform 0.3s ease;
  }

  .flip-front .front-cta:hover svg {
    transform: translateX(4px);
  }

  .flip-front .flip-hint {
    position: absolute;
    bottom: 20px;
    right: 28px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.04em;
    display: flex;
    align-items: center;
    gap: 6px;
    animation: pulseHint 2s ease-in-out infinite;
  }

  @keyframes pulseHint {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
  }

  /* ===== BACK (Formulario) ===== */
  .flip-back {
    background: #fff;
    border: 1px solid var(--line);
    transform: rotateY(180deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    padding: 28px 24px;
  }

  .flip-back .form-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .flip-back .form-header h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
  }

  .flip-back .form-header .back-btn {
    background: none;
    border: none;
    color: var(--steel);
    cursor: pointer;
    padding: 4px 8px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.3s ease;
  }

  .flip-back .form-header .back-btn:hover {
    color: var(--orange);
  }

  /* ===== PROGRESS BAR ===== */
  .step-progress {
    margin-bottom: 18px;
    padding: 0 2px;
  }

  .step-indicators {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    position: relative;
  }

  .step-dot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 0 0 auto;
    z-index: 2;
  }

  .dot-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--steel);
    background: var(--paper);
    border: 2px solid var(--line);
    transition: all 0.4s ease;
  }

  .step-dot.active .dot-number {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
    box-shadow: 0 4px 12px rgba(236, 91, 30, 0.3);
  }

  .step-dot.completed .dot-number {
    background: #2a8e5a;
    color: #fff;
    border-color: #2a8e5a;
  }

  .dot-label {
    font-size: 9px;
    font-weight: 600;
    color: var(--steel-light);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: color 0.3s ease;
  }

  .step-dot.active .dot-label {
    color: var(--ink);
  }

  .step-line {
    flex: 1;
    height: 2px;
    background: var(--line);
    position: relative;
    margin: 0 4px;
    transform: translateY(-12px);
  }

  .step-bar {
    width: 100%;
    height: 3px;
    background: var(--line);
    border-radius: 4px;
    overflow: hidden;
  }

  .step-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--orange), var(--orange-light));
    border-radius: 4px;
    transition: width 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  }

  /* ===== PASOS ===== */
  .form-step {
    display: none;
    animation: stepFadeIn 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  }

  .form-step.active {
    display: block;
  }

  @keyframes stepFadeIn {
    from {
      opacity: 0;
      transform: translateX(15px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .step-title {
    margin-bottom: 16px;
  }

  .step-title h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 2px;
  }

  .step-title p {
    font-size: 13px;
    color: var(--steel);
  }

  /* ===== FORM ELEMENTOS ===== */
  .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .contact-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
  }

  .contact-form .form-group label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--steel);
  }

  .contact-form .form-group label .required {
    color: var(--orange);
    margin-left: 2px;
  }

  .contact-form .form-group input,
  .contact-form .form-group select,
  .contact-form .form-group textarea {
    padding: 9px 12px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    font-family: 'Archivo', sans-serif;
    font-size: 13px;
    color: var(--ink);
    background: var(--white);
    transition: all 0.3s ease;
    width: 100%;
  }

  .contact-form .form-group input:focus,
  .contact-form .form-group select:focus,
  .contact-form .form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(236, 91, 30, 0.08);
  }

  .contact-form .form-group textarea {
    resize: vertical;
    min-height: 60px;
  }

  /* ===== REVIEW CARD ===== */
  .review-card {
    background: var(--paper);
    border-radius: 8px;
    padding: 14px 18px;
    margin-bottom: 16px;
    border: 1px solid var(--line);
  }

  .review-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  }

  .review-item:last-child {
    border-bottom: none;
  }

  .review-label {
    font-size: 12px;
    color: var(--steel);
    font-weight: 500;
  }

  .review-value {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
  }

  /* ===== PRIVACY CHECK ===== */
  .privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 4px 0;
  }

  .privacy-check input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    accent-color: var(--orange);
    cursor: pointer;
    flex-shrink: 0;
  }

  .privacy-check label {
    font-size: 12px;
    color: var(--steel);
    line-height: 1.5;
    cursor: pointer;
    text-transform: none !important;
    letter-spacing: 0 !important;
  }

  .privacy-check label a {
    color: var(--orange);
    text-decoration: none;
    font-weight: 600;
  }

  .privacy-check label a:hover {
    text-decoration: underline;
  }

  /* ===== NAVEGACIÓN ===== */
  .form-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    gap: 10px;
  }

  .nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    border: 1.5px solid var(--line);
    border-radius: 8px;
    background: transparent;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: var(--steel);
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .nav-btn:hover:not(:disabled) {
    border-color: var(--orange);
    color: var(--orange);
  }

  .nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
  }

  .nav-btn.next-btn {
    background: var(--orange);
    color: #fff;
    border-color: var(--orange);
  }

  .nav-btn.next-btn:hover {
    background: var(--orange-dark);
    border-color: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(236, 91, 30, 0.3);
  }

  .step-counter {
    font-size: 12px;
    font-weight: 600;
    color: var(--steel-light);
    font-family: 'JetBrains Mono', monospace;
  }

  .submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 24px;
    background: linear-gradient(155deg, var(--orange-light), var(--orange) 45%, var(--orange-dark));
    color: #fff;
    border: none;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(236, 91, 30, 0.25);
  }

  .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(236, 91, 30, 0.35);
  }

  /* ===== RESPONSIVE CONTACT ===== */
  @media (max-width: 900px) {
    .contact-grid {
      grid-template-columns: 1fr;
      gap: 30px;
      min-height: auto;
    }
    .contact-info {
      order: 2;
      padding: 0;
    }
    .flip-container {
      min-height: 480px;
      order: 1;
    }
    .flip-card {
      min-height: 480px;
    }
    .flip-front,
    .flip-back {
      min-height: 480px;
      padding: 28px 22px;
    }
    .flip-front h3 {
      font-size: 22px;
    }
    .flip-front .front-icon {
      width: 56px;
      height: 56px;
    }
    .flip-front .front-icon svg {
      width: 26px;
      height: 26px;
    }
  }

  @media (max-width: 600px) {
    .form-row {
      grid-template-columns: 1fr 1fr;
      gap: 8px;
    }
    .form-nav {
      flex-wrap: wrap;
      justify-content: center;
    }
    .nav-btn {
      padding: 6px 14px;
      font-size: 11px;
    }
    .step-counter {
      order: -1;
      width: 100%;
      text-align: center;
    }
    .step-dot .dot-label {
      display: none;
    }
    .step-line {
      display: none;
    }
    .dot-number {
      width: 24px;
      height: 24px;
      font-size: 10px;
    }
    .flip-container {
      min-height: 0;
      height: calc(100vh - 120px);
      height: calc(100dvh - 120px);
    }
    .flip-card {
      min-height: 0;
      height: calc(100vh - 120px);
      height: calc(100dvh - 120px);
    }
    .flip-front,
    .flip-back {
      min-height: 0;
      height: calc(100vh - 120px);
      height: calc(100dvh - 120px);
      padding: 14px 16px;
    }
    .flip-back .form-header h4 {
      font-size: 16px;
    }
    .flip-front h3 {
      font-size: 18px;
    }
    .flip-front p {
      font-size: 13px;
    }
    .flip-back .form-header {
      margin-bottom: 8px;
      padding-bottom: 8px;
    }
    .step-progress {
      margin-bottom: 8px;
    }
    .step-title {
      margin-bottom: 8px;
    }
    .step-title h5 {
      font-size: 15px;
    }
    .contact-form .form-group {
      margin-bottom: 6px;
    }
    .contact-form .form-group input,
    .contact-form .form-group select,
    .contact-form .form-group textarea {
      padding: 7px 10px;
    }
    .form-nav {
      margin-top: 8px;
      padding-top: 8px;
    }
    .review-card {
      padding: 10px 14px;
      margin-bottom: 10px;
    }
    .contact-section {
      padding: 50px 0;
    }
    .review-item {
      flex-direction: column;
      gap: 2px;
      padding: 4px 0;
    }
  }

  /* ============================================================ */
  /* ====== NUEVOS ESTILOS PARA SERVICIOS Y MODAL (INTEGRADOS) ===== */
  /* ============================================================ */

  .services-section {
      padding: 100px 0;
      background: var(--paper);
      position: relative;
      z-index: 1;
  }
  
  .services-header {
      text-align: center;
      margin-bottom: 50px;
  }
  .services-header h2 {
      font-family: 'Space Grotesk', sans-serif;
      font-size: 42px;
      color: var(--ink);
      margin: 0;
  }
  .services-header h2 span { color: var(--orange); }
  
  .services-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 25px;
      max-width: 1300px;
      margin: 0 auto;
  }

  .service-card {
      background: var(--white);
      border-radius: 14px;
      padding: 30px 25px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.05);
      cursor: pointer;
      transition: all 0.3s ease;
      text-align: center;
      border: 1px solid var(--line);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 180px;
      position: relative;
      z-index: 2;
  }
  .service-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 25px rgba(0,0,0,0.1);
      border-color: var(--orange);
  }

  .service-icon {
      font-size: 42px;
      margin-bottom: 15px;
      display: block;
      color: var(--orange);
  }
  .service-card h3 { 
      margin: 0 0 8px 0; 
      color: var(--ink); 
      font-size: 20px; 
      font-family: 'Space Grotesk', sans-serif;
  }
  .service-card p { 
      color: var(--steel); 
      font-size: 14px; 
      line-height: 1.4; 
      margin: 0; 
      font-family: 'Archivo', sans-serif;
  }

  /* --- ESTILOS DEL MODAL --- */
  .modal-overlay {
      display: none;
      position: fixed;
      top: 0; left: 0; width: 100%; height: 100%;
      background: rgba(0, 0, 0, 0.7);
      z-index: 9000;
      align-items: center; 
      justify-content: center;
      backdrop-filter: blur(4px);
  }

  .modal-box {
      background: var(--white);
      width: 92%;
      max-width: 700px;
      border-radius: 16px;
      box-shadow: 0 25px 50px rgba(0,0,0,0.4);
      position: relative;
      animation: fadeInUp 0.4s ease;
      overflow: hidden;
      padding: 0; 
  }

  .modal-close-btn {
      position: absolute;
      top: 15px; right: 20px;
      font-size: 28px;
      color: #fff;
      cursor: pointer;
      z-index: 10;
      background: rgba(0,0,0,0.4);
      border-radius: 50%;
      width: 36px; height: 36px;
      display: flex; align-items: center; justify-content: center;
      transition: 0.3s;
      font-family: 'JetBrains Mono', monospace;
      line-height: 1;
  }
  .modal-close-btn:hover { 
      background: var(--orange); 
      transform: rotate(90deg); 
  }

  .modal-img-container {
      width: 100%;
      height: 280px;
      overflow: hidden;
  }
  .modal-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
  }

  .modal-content {
      padding: 35px;
  }

  .modal-title {
      font-size: 26px;
      margin: 0 0 5px 0;
      color: var(--ink);
      font-family: 'Space Grotesk', sans-serif;
  }
  .modal-description {
      color: #444;
      line-height: 1.7;
      font-size: 15px;
      margin-bottom: 25px;
      text-align: justify;
      font-family: 'Archivo', sans-serif;
  }

  .modal-action-btn {
      background-color: var(--orange);
      color: white;
      border: none;
      padding: 14px 30px;
      border-radius: 8px;
      font-weight: 600;
      cursor: pointer;
      font-size: 16px;
      width: 100%;
      transition: background 0.3s;
      font-family: 'Archivo', sans-serif;
  }
  .modal-action-btn:hover { background-color: var(--orange-dark); }

  @keyframes fadeInUp {
      from { opacity: 0; transform: translateY(40px) scale(0.95); }
      to { opacity: 1; transform: translateY(0) scale(1); }
  }

  .modal-overlay.active { display: flex; }

  /* Responsive Services */
  @media (max-width: 600px) {
      .modal-img-container { height: 200px; }
      .modal-content { padding: 25px; }
      .services-grid { grid-template-columns: 1fr; }
  }
#stats {
    padding: 100px 0;
    background: transparent;
    position: relative;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}
.stat-item {
    padding: 20px;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 10%;
    height: 80%;
    width: 1px;
    background: var(--line);
}
.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(48px, 6vw, 72px);
    font-weight: 700;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    align-items: baseline;
}
.stat-plus {
    color: var(--orange);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
}
.stat-label {
    font-family: 'Archivo', sans-serif;
    font-size: 16px;
    color: var(--steel);
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.4;
}
.stat-item.counted .stat-num {
    animation: countPulse 0.6s ease;
}
@keyframes countPulse {
    0% { transform: scale(1); }
    30% { transform: scale(1.08); color: var(--orange); }
    60% { transform: scale(0.96); }
    100% { transform: scale(1); }
}
@media (max-width: 768px) {
    #stats { padding: 70px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .stat-item:not(:last-child)::after { display: none; }
    .stat-item:nth-child(2)::after { display: none; }
}
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; gap: 40px; }
    .stat-item { padding: 10px; }
    .stat-number { font-size: 52px; }
}/* =========================================
   STATS SECTION — ANIMACIÓN PREMIUM
   ========================================= */

.stats-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Fondo sutil con gradiente */
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(0, 200, 150, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

/* ===== CADA STAT ===== */
.stat-item {
  background: #191d26;
  border-radius: 24px;
  padding: 2.5rem 2rem 2.2rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.stat-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto hover */
.stat-item:hover {
  border-color: rgba(0, 200, 150, 0.15);
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

/* Glow de fondo en hover */
.stat-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(0, 200, 150, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.stat-item:hover::after {
  opacity: 1;
}

/* ===== ICONO ===== */
.stat-icon {
  font-size: 2rem;
  color: #00c896;
  opacity: 0.2;
  display: block;
  margin-bottom: 0.3rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stat-item:hover .stat-icon {
  opacity: 0.4;
  transform: scale(1.1) rotate(5deg);
}

/* ===== NÚMERO ===== */
.stat-number {
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 700;
  color: #f0f4fa;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.2rem;
  font-feature-settings: "ss01" on;
  position: relative;
  display: inline-block;
}

/* Efecto de brillo en el número */
.stat-number::after {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(ellipse at center, rgba(0, 200, 150, 0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
  border-radius: 50%;
}

.stat-item:hover .stat-number::after {
  opacity: 1;
  animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 0.3; }
  50% { transform: scale(1.2); opacity: 0.6; }
}

/* ===== SUFIXO (+ , %, etc) ===== */
.stat-suffix {
  color: #00c896;
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 0.05em;
}

/* ===== ETIQUETA ===== */
.stat-label {
  font-size: 0.85rem;
  color: #8b96a8;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
}
/* =========================================
   STATS SECTION — ADAPTADO A LA PALETA CEIBAG
   ========================================= */

.stats-section {
  padding: 4rem 0 5rem;
  position: relative;
  overflow: hidden;
  background: transparent;
}

/* Fondo sutil con gradiente naranja */
.stats-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 30% 50%, rgba(236, 91, 30, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  position: relative;
  z-index: 1;
}

/* ===== CADA STAT ===== */
.stat-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem 2.2rem;
  text-align: center;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.stat-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Efecto hover */
.stat-item:hover {
  border-color: var(--orange);
  box-shadow: 0 16px 48px -12px rgba(0, 0, 0, 0.1);
  transform: translateY(-4px);
}

/* Glow de fondo en hover */
.stat-item::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(236, 91, 30, 0.03), transparent 60%);
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.stat-item:hover::after {
  opacity: 1;
}

/* ===== ICONO ===== */
.stat-icon {
  font-size: 2rem;
  color: var(--orange);
  opacity: 0.2;
  display: block;
  margin-bottom: 0.3rem;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.stat-item:hover .stat-icon {
  opacity: 0.5;
  transform: scale(1.1) rotate(5deg);
}

/* ===== NÚMERO ===== */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(3.2rem, 5vw, 4.8rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.2rem;
  font-feature-settings: "ss01" on;
  position: relative;
  display: inline-block;
  transition: color 0.4s ease;
}

.stat-item:hover .stat-number {
  color: var(--orange);
}

/* ===== SUFIXO (+ , %, etc) ===== */
.stat-suffix {
  color: var(--orange);
  font-size: 0.7em;
  vertical-align: super;
  margin-left: 0.05em;
  transition: color 0.4s ease;
}

.stat-item:hover .stat-suffix {
  color: var(--orange-dark);
}

/* ===== ETIQUETA ===== */
.stat-label {
  font-family: 'Archivo', sans-serif;
  font-size: 0.85rem;
  color: var(--steel);
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-top: 0.3rem;
}

/* ===== BARRA DECORATIVA INFERIOR ===== */
.stat-bar {
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, var(--orange), transparent);
  margin: 0.8rem auto 0;
  border-radius: 2px;
  transition: width 0.6s ease, opacity 0.6s ease;
  opacity: 0.3;
}

.stat-item:hover .stat-bar {
  width: 60px;
  opacity: 0.8;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  .stat-item {
    padding: 2rem 1.5rem 1.8rem;
  }
  .stat-number {
    font-size: clamp(2.8rem, 4vw, 3.8rem);
  }
}

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    max-width: 360px;
    margin: 0 auto;
  }
  .stat-item {
    padding: 1.8rem 1.5rem;
  }
  .stat-number {
    font-size: 3rem;
  }
  .stat-label {
    font-size: 0.8rem;
  }
}
.services-subtitle {
  max-width: 700px;
  margin: 12px auto 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--gray-600);
  opacity: 0;
  transform: translateY(12px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.3s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Efecto hover sutil */
.services-subtitle:hover {
  color: var(--orange);
  transition: color 0.4s ease;
}
/* ===== VIDEO SECTION ===== */
.video-section {
  padding: 80px 0 100px;
  background: var(--bg-dark, #0a0a0a);
  position: relative;
  overflow: hidden;
}

/* Fondo con efecto de brillo */
.video-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.video-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 107, 0, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Badge */
.video-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 0, 0.12);
  color: var(--orange, #ff6b00);
  padding: 6px 18px 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 107, 0, 0.15);
  animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--orange, #ff6b00);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

/* Título */
.video-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  animation: fadeInDown 0.8s ease forwards 0.15s;
  opacity: 0;
}

.video-title span {
  color: var(--orange, #ff6b00);
  position: relative;
}

.video-title span::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange, #ff6b00);
  border-radius: 2px;
}

.video-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto 40px;
  line-height: 1.6;
  animation: fadeInDown 0.8s ease forwards 0.3s;
  opacity: 0;
}

/* Video Wrapper */
.video-wrapper {
  border-radius: 20px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 80px rgba(255, 107, 0, 0.05);
  position: relative;
  animation: fadeInUp 1s ease forwards 0.5s;
  opacity: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.video-player {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
  background: #0a0a0a;
  cursor: pointer;
}

.video-player video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #0a0a0a;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.6) 100%);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.video-player.playing .video-overlay {
  opacity: 0;
}

/* Play Button */
.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

.play-icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--orange, #ff6b00);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(255, 107, 0, 0.3);
  transition: all 0.4s ease;
}

.play-button:hover .play-icon-wrapper {
  box-shadow: 0 0 60px rgba(255, 107, 0, 0.5);
  transform: scale(1.02);
}

.play-icon {
  width: 32px;
  height: 32px;
  color: #fff;
  margin-left: 4px;
}

.play-text {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.8;
}

/* Ocultar play cuando el video está reproduciendo */
.video-player.playing .play-button {
  opacity: 0;
  pointer-events: none;
}

/* Video Controls */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 3;
}

.video-wrapper:hover .video-controls,
.video-controls.show {
  opacity: 1;
}

.progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  margin-bottom: 12px;
  cursor: pointer;
  position: relative;
  transition: height 0.2s ease;
}

.progress-bar:hover {
  height: 6px;
}

.progress-fill {
  height: 100%;
  background: var(--orange, #ff6b00);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
  position: relative;
}

.progress-fill::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  background: var(--orange, #ff6b00);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px rgba(255, 107, 0, 0.5);
}

.progress-bar:hover .progress-fill::after {
  opacity: 1;
}

.controls-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.control-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ctrl-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  padding: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ctrl-btn:hover {
  color: #fff;
  transform: scale(1.1);
}

.ctrl-btn svg {
  transition: transform 0.3s ease;
}

.time-display {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* Stats chips */
.video-stats {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.stat-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 6px 16px 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease forwards 0.8s;
  opacity: 0;
}

.stat-chip:hover {
  background: rgba(255, 107, 0, 0.08);
  border-color: rgba(255, 107, 0, 0.15);
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
}

.chip-icon {
  color: var(--orange, #ff6b00);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ===== ANIMACIONES ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ===== FRONT - LOGO ANIMADO ===== */
.flip-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.front-logo {
  margin-bottom: 12px;
  animation: logoFloat 3s ease-in-out infinite;
}

.front-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(236, 91, 30, 0.2));
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 20px rgba(236, 91, 30, 0.2));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 30px rgba(236, 91, 30, 0.35));
  }
}

.flip-front h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 60%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.front-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 400;
}

.front-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 280px;
}

.front-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
}

.front-info-item:hover {
  background: rgba(236, 91, 30, 0.08);
  border-color: rgba(236, 91, 30, 0.15);
  color: #fff;
}

.front-info-item svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--orange);
}

.flip-front .front-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border: 1.5px solid rgba(236, 91, 30, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
  cursor: pointer;
  margin: 0 auto;
}

.flip-front .front-cta:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 91, 30, 0.3);
}

.flip-front .front-cta svg {
  transition: transform 0.3s ease;
}

.flip-front .front-cta:hover svg {
  transform: translateX(4px);
}

.flip-front .flip-hint {
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseHint 2s ease-in-out infinite;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}
/* ===== BOTÓN MEET OUR CONTRACTORS ===== */
.contractors-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 28px;
  background: transparent;
  color: var(--ink);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid var(--orange);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
  cursor: pointer;
}

.contractors-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.contractors-btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.contractors-btn span,
.contractors-btn svg {
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.contractors-btn:hover {
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(236, 91, 30, 0.25);
}

.contractors-btn:hover svg {
  transform: translateX(4px);
}

/* ===== FEATURES CON ANIMACIÓN ===== */
.contact-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--steel);
  padding: 10px 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid transparent;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: default;
  animation: featureSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes featureSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.feature-item:hover {
  background: rgba(236, 91, 30, 0.04);
  border-color: rgba(236, 91, 30, 0.12);
  transform: translateX(6px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(236, 91, 30, 0.08);
  border-radius: 6px;
  flex-shrink: 0;
  color: var(--orange);
  transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
  background: var(--orange);
  color: #fff;
  transform: scale(1.1) rotate(-8deg);
}

.feature-item span:last-child {
  font-weight: 500;
}

/* ===== FRONT - LOGO ANIMADO ===== */
.flip-front {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.front-logo {
  margin-bottom: 12px;
  animation: logoFloat 3s ease-in-out infinite;
}

.front-logo-img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(236, 91, 30, 0.2));
  animation: logoPulse 2.5s ease-in-out infinite;
}

@keyframes logoFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes logoPulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 4px 20px rgba(236, 91, 30, 0.2));
  }
  50% {
    transform: scale(1.04);
    filter: drop-shadow(0 4px 30px rgba(236, 91, 30, 0.35));
  }
}

.flip-front h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 60%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.front-subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin-bottom: 20px;
  font-weight: 400;
}

/* ===== FRONT INFO - WHATSAPP & EMAIL ===== */
.front-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
  width: 100%;
  max-width: 280px;
}

.front-info-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
}

.front-info-item:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: rgba(37, 211, 102, 0.2);
  color: #fff;
  transform: translateY(-2px);
}

.front-info-item:first-child:hover {
  background: rgba(37, 211, 102, 0.12);
  border-color: #25D366;
}

.front-info-item:last-child:hover {
  background: rgba(236, 91, 30, 0.08);
  border-color: rgba(236, 91, 30, 0.2);
}

.front-info-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.front-info-item:first-child svg {
  color: #25D366;
}

.front-info-item:last-child svg {
  color: var(--orange);
}

/* ===== FRONT CTA ===== */
.flip-front .front-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  border: 1.5px solid rgba(236, 91, 30, 0.3);
  border-radius: 8px;
  transition: all 0.3s ease;
  width: fit-content;
  cursor: pointer;
  margin: 0 auto;
}

.flip-front .front-cta:hover {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 91, 30, 0.3);
}

.flip-front .front-cta svg {
  transition: transform 0.3s ease;
}

.flip-front .front-cta:hover svg {
  transform: translateX(4px);
}

.flip-front .flip-hint {
  position: absolute;
  bottom: 16px;
  right: 24px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 6px;
  animation: pulseHint 2s ease-in-out infinite;
}

@keyframes pulseHint {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.6; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .contractors-btn {
    width: 100%;
    justify-content: center;
  }
  
  .front-info {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .contractors-btn {
    font-size: 13px;
    padding: 12px 20px;
  }
  
  .front-logo-img {
    width: 60px;
    height: 60px;
  }
  
  .flip-front h3 {
    font-size: 22px;
  }
  
  .front-info-item {
    font-size: 12px;
    padding: 6px 12px;
  }
}/* ===== FOOTER ===== */
footer {
  background: var(--ink);
  color: #c9c9c4;
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr;
  gap: 50px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* ===== LOGO MÁS GRANDE CON ANIMACIÓN ===== */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #fff;
  margin-bottom: 18px;
  animation: footerLogoAppear 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  position: relative;
}

@keyframes footerLogoAppear {
  from {
    opacity: 0;
    transform: translateX(-20px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

.footer-logo-text {
  background: linear-gradient(135deg, #fff 55%, var(--orange) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transition: all 0.4s ease;
}

.footer-logo:hover .footer-logo-text {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.logo-chip {
  width: 48px;
  height: 48px;
  background: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  animation: logoPulseFooter 3s ease-in-out infinite;
}

@keyframes logoPulseFooter {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  25% {
    transform: scale(1.02) rotate(-2deg);
  }
  75% {
    transform: scale(1.02) rotate(2deg);
  }
}

.logo-chip img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-logo:hover .logo-chip {
  transform: scale(1.08) rotate(-6deg);
  box-shadow: 0 4px 20px rgba(236, 91, 30, 0.3);
}
/* ===== EMAIL LINKS CON ICONO ===== */
.footer-contact-item {
  list-style: none;
  margin-bottom: 10px !important;
}

.footer-email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c9c9c4;
  text-decoration: none;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  overflow-wrap: anywhere;
}

.footer-email-link:hover {
  color: var(--orange);
  background: rgba(236, 91, 30, 0.06);
  transform: translateX(4px);
}

.email-icon-footer {
  color: var(--orange);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.footer-email-link:hover .email-icon-footer {
  transform: scale(1.1) rotate(-6deg);
}

/* ===== WHATSAPP EN FOOTER (DEBAJO DE CORREOS) ===== */
.footer-whatsapp-item {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #c9c9c4;
  text-decoration: none;
  font-size: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
  white-space: nowrap;
}

.footer-whatsapp-link:hover {
  background: rgba(37, 211, 102, 0.08);
  color: #25D366;
}

.whatsapp-icon-footer {
  color: #25D366;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  animation: whatsappPulseFooter 2.5s ease-in-out infinite;
}

@keyframes whatsappPulseFooter {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.footer-whatsapp-link:hover .whatsapp-icon-footer {
  animation: whatsappBounceFooter 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes whatsappBounceFooter {
  0% { transform: scale(1); }
  30% { transform: scale(1.3) rotate(-8deg); }
  60% { transform: scale(0.95) rotate(4deg); }
  100% { transform: scale(1.2) rotate(0deg); }
}

.footer-whatsapp-number {
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-whatsapp-link:hover .footer-whatsapp-number {
  color: #25D366;
}

/* ===== CHAT NOW DEBAJO DEL NÚMERO ===== */
.footer-chat-now {
  position: absolute;
  bottom: -22px;
  left: 50%;
  transform: translateX(-50%) scale(0.85);
  background: #25D366;
  color: #fff;
  font-family: 'Archivo', sans-serif;
  font-size: 9px;
  font-weight: 600;
  padding: 2px 12px;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  pointer-events: none;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.footer-whatsapp-link:hover .footer-chat-now {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  bottom: -26px;
}

/* ===== OUR CONTRACTORS ===== */

/* ===== RESPONSIVE GLOBAL (móvil) ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .wrap,
  header .wrap,
  .contact-section .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }
  section { padding: 80px 0; }
  .contact-form input,
  .contact-form select,
  .contact-form textarea { font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-chat-now { display: none; }
}

@media (max-width: 600px) {
  .hero h1 em { white-space: normal; }
  .footer-whatsapp-link { white-space: normal; word-break: break-word; }
  footer { padding: 56px 0 calc(28px + env(safe-area-inset-bottom)); }
}

@media (max-width: 480px) {
  .wrap,
  header .wrap,
  .contact-section .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
  section { padding: 60px 0; }
  .footer-grid { gap: 26px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
