/* ============================= */
/* 🎨 1) Colores + fuente base   */
/* ============================= */
:root{
  --azul-oscuro:#061E37;
  --blanco:#FFFFFF;
  --negro:#000000;
  --bg-pagina:#f7f9fc;

  --glow-1:#0b2b4e;
  --glow-2:#6aa7ff;

  --input-h: 52px;
  --input-radius: 10px;
  --input-padding-x: 14px;

  /* ⬇️ NUEVO: offset real topbar + header (se setea por JS) */
  --header-offset: 0px;
}

/* Reset + normalizaciones útiles para iPhone */
*,*::before,*::after{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:'Quicksand',sans-serif;
  background:var(--bg-pagina);
  color:#101828;
  -webkit-text-size-adjust:100%; /* evita zoom de texto en iOS */
}
img{ max-width:100%; height:auto; display:block; }

/* ========================= */
/* Topbar                    */
/* ========================= */
.topbar{
  background:#0b2b4e;
  color:#e9f2fb;
  font-size:.9rem;
  padding:6px 16px;
  text-align:center;
}
.topbar a{ color:#fff; text-decoration:none; font-weight:600; }
.topbar a:hover{ text-decoration:underline; }

/* ========================= */
/* Header + nav              */
/* ========================= */
.site-header{
  --header-h: 64px; /* usada por overlay/drawer en móvil como fallback */
  background:var(--azul-oscuro);
  color:var(--blanco);
  padding:12px 0;
  min-height:var(--header-h);
  display:flex; align-items:center; justify-content:space-between;
  position:sticky; top:0; z-index:100;
}
#logo{ height:40px; width:auto; margin-left:20px; }

.desktop-nav{ flex-grow:1; text-align:center; }
.desktop-nav ul{
  list-style:none;
  display:flex; justify-content:center;
  padding:0; margin:0;
}
.desktop-nav ul li{ margin:0 20px; }
.desktop-nav ul li a{
  color:var(--blanco);
  text-decoration:none;
  font-size:18px;
  text-transform:uppercase;
  letter-spacing:1px;
  font-weight:500;
  border-radius:5px;
  padding:10px 15px;
  transition:background-color .3s ease;
}
.desktop-nav ul li a:hover{ background:var(--negro); }
.desktop-nav ul li a.active{ font-weight:bold; border-bottom:2px solid var(--blanco); }

/* =============== */
/* Botón WhatsApp  */
/* =============== */
.whatsapp-container{ margin-right:16px; }
#whatsapp-btn{
  --wsp:#128C7E;
  display:inline-flex;
  align-items:center;
  gap:.55rem;
  padding:10px 16px;
  border-radius:999px;
  background:var(--wsp);
  color:#fff;
  text-decoration:none;
  font-weight:700;
  letter-spacing:.2px;
  box-shadow:0 8px 20px rgba(18,140,126,.28);
  border:1px solid rgba(0,0,0,.05);
  transform:translateZ(0);
  transition: background-color .2s, color .2s, filter .2s, transform .15s, box-shadow .2s;
}
#whatsapp-btn .wsp-icon{
  width:18px; height:18px; display:inline-block; flex:0 0 18px;
  background-repeat:no-repeat; background-size:contain; background-position:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M19.11 17.47c-.3-.15-1.77-.87-2.05-.97c-.27-.1-.47-.15-.67.15c-.2.3-.77.97-.95 1.17c-.17.2-.35.22-.65.07c-.3-.15-1.25-.46-2.38-1.47c-.88-.78-1.47-1.74-1.64-2.04c-.17-.3-.02-.46 .13-.61 c.13-.13 .3-.35 .45-.52 c.15-.17 .2-.3 .3-.5 c.1-.2 .05-.37 -.02-.52 c-.07-.15 -.67-1.62 -.92-2.21 c-.24-.58 -.49-.5 -.67-.5 c-.17 0 -.37-.02 -.57-.02 s-.52 .07 -.79 .37 c-.27 .3 -1.04 1.02 -1.04 2.49 s1.07 2.89 1.22 3.09 c.15 .2 2.1 3.21 5.08 4.49 c.71 .31 1.27 .5 1.7 .64 c.71 .22 1.36 .19 1.87 .12 c.57 -.08 1.77 -.72 2.02 -1.42 c.25 -.7 .25 -1.3 .17 -1.42 c-.07 -.12 -.27 -.2 -.57 -.35 z'/%3E%3Cpath fill='%23fff' d='M26.9 5.12A12.83 12.83 0 0 0 15.95 2C8.5 2 2.45 8.04 2.45 15.5c0 2.36.63 4.68 1.83 6.73L2 30l7-2.21a13.5 13.5 0  0 0 6.95 1.92c7.46 0 13.5-6.04 13.5-13.5c0-3.6-1.4-6.99-3.55-9.59zm-10.95 22c-2.36 0-4.55-.69-6.39-1.89l-.46-.29l-4.15 1.31l1.36-4.05l-.3-.48a11.49 11.49 0  0 1-1.74-6.12C4.27 9.2 9.23 4.23 15.95 4.23c3.16 0 6.12 1.23 8.35 3.46a11.73 11.73 0  0  1 3.45 8.35c0 6.72-4.97 11.69-11.69 11.69z'/%3E%3C/svg%3E");
}
#whatsapp-btn:hover{
  background:#fff; color:var(--azul-oscuro);
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(6,30,55,.18);
  border-color:#e2e8f0;
}

/* FAB WhatsApp compacto (móvil) */
#wsp-fab{
  display:none;
  position:absolute;
  left:50%; top:50%;
  transform:translate(-50%, -50%);
  width:38px; height:38px;
  border-radius:999px;
  background:#128C7E;
  box-shadow:0 8px 18px rgba(18,140,126,.28);
  border:1px solid rgba(0,0,0,.06);
}
#wsp-fab::before{
  content:"";
  position:absolute; inset:0;
  background-repeat:no-repeat; background-position:center; background-size:20px 20px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='%23fff' d='M19.11 17.47c-.3-.15-1.77-.87-2.05-.97c-.27-.1-.47-.15-.67.15c-.2.3-.77.97-.95 1.17c-.17.2-.35.22-.65.07c-.3-.15-1.25-.46-2.38-1.47c-.88-.78-1.47-1.74-1.64-2.04c-.17-.3-.02-.46 .13-.61 c.13-.13 .3-.35 .45-.52 c.15-.17 .2-.3 .3-.5 c.1-.2 .05-.37 -.02-.52 c-.07-.15 -.67-1.62 -.92-2.21 c-.24-.58 -.49-.5 -.67-.5 c-.17 0 -.37-.02 -.57-.02 s-.52 .07 -.79 .37 c-.27 .3 -1.04 1.02 -1.04 2.49 s1.07 2.89 1.22 3.09 c.15 .2 2.1 3.21 5.08 4.49 c.71 .31 1.27 .5 1.7 .64 c.71 .22 1.36 .19 1.87 .12 c.57 -.08 1.77 -.72 2.02 -1.42 c.25 -.7 .25 -1.3 .17 -1.42 c-.07 -.12 -.27 -.2 -.57 -.35 z'/%3E%3Cpath fill='%23fff' d='M26.9 5.12A12.83 12.83 0 0 0 15.95 2C8.5 2 2.45 8.04 2.45 15.5c0 2.36.63 4.68 1.83 6.73L2 30l7-2.21a13.5 13.5 0  0 0 6.95 1.92c7.46 0 13.5-6.04 13.5-13.5c0-3.6-1.4-6.99-3.55-9.59zm-10.95 22c-2.36 0-4.55-.69-6.39-1.89l-.46-.29l-4.15 1.31l1.36-4.05l-.3-.48a11.49 11.49 0  0 1-1.74-6.12C4.27 9.2 9.23 4.23 15.95 4.23c3.16 0 6.12 1.23 8.35 3.46a11.73 11.73 0  0 1 3.45 8.35c0 6.72-4.97 11.69-11.69 11.69z'/%3E%3C/svg%3E");
}

/* Hamburguesa visible solo en móvil */
#hamburger{
  display:none;
  margin-right:10px;
  background:transparent;
  border:none;
  color:#fff;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.only-mobile{ display:none; }

/* ========================= */
/* Overlay + Drawer móvil    */
/* ========================= */
.drawer-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  opacity:0; pointer-events:none;
  transition:opacity .25s ease;
  z-index:98;
}
.mobile-drawer{
  position:fixed; top:0; right:0; bottom:0;
  width:min(86vw, 360px);
  background:#fff;
  transform:translateX(100%);
  transition:transform .28s ease;
  z-index:99;
  box-shadow:-8px 0 24px rgba(6,30,55,.18);
  display:flex; flex-direction:column;
}
.mobile-nav{ padding:18px 18px 24px; display:flex; flex-direction:column; height:100%; }
.drawer-close{
  align-self:flex-end;
  background:transparent; border:none; font-size:22px; cursor:pointer; color:#0b2b4e;
  margin:2px 0 8px;
}
.mobile-nav ul{ list-style:none; padding:0; margin:12px 0 18px; }
.mobile-nav li{ border-bottom:1px solid #eef1f6; }
.mobile-nav a{
  display:block; padding:14px 6px; color:#0b2b4e; text-decoration:none; font-weight:600;
}
.mobile-nav a:hover{ background:#f6f8fc; }

/* Botón WhatsApp en drawer con el mismo estilo del grande */
.drawer-wsp{
  margin-top:auto;
  width:100%;
  display:inline-flex;
  justify-content:center;
}

/* Estado abierto */
body.menu-open .drawer-overlay{ opacity:1; pointer-events:auto; }
body.menu-open .mobile-drawer{ transform:translateX(0); }
body.menu-open{ overflow:hidden; }
/* Al abrir menú, ocultar el botón pequeño del header */
body.menu-open #wsp-fab{ display:none !important; }

/* ========================= */
/* Hero                      */
/* ========================= */
.hero{ padding:0; background: var(--azul-oscuro); }
.hero-media{ position:relative; background:var(--azul-oscuro); isolation:isolate; }
.hero-img{
  width:100%;
  height:auto;              /* evita forzar alto en iPhone */
  object-fit:cover;         /* rellena mejor el ancho */
  background:var(--azul-oscuro);
  filter:contrast(1.02) saturate(1.05);
}
.hero-gradient{
  position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(to bottom, rgba(6,30,55,.55) 0%, rgba(6,30,55,.35) 35%, rgba(6,30,55,0) 72%);
  z-index:1;
}

/* ========================= */
/* Hero overlay (sin onda)   */
/* ========================= */
.hero-overlay{
  background:rgba(6,30,55,.70);
  padding:50px 20px 56px;
  text-align:center;
  color:var(--blanco);
}
.hero-overlay--curved{
  margin-top:-28px;
  border-top-left-radius:28px;
  border-top-right-radius:28px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.12);
}
.hero-overlay h1{ font-size:3em; margin:0 0 20px; }
.hero-overlay p{ font-size:1.5em; margin:0 0 20px; }

/* Botones hero */
.cta-buttons a{
  padding:12px 30px; margin:10px; color:#fff; text-decoration:none;
  background:var(--azul-oscuro); border-radius:12px; font-size:1.1em;
  transition:background-color .25s ease, transform .15s ease;
}
.cta-buttons a:hover{ background:#0b2a4e; transform:translateY(-1px); }
.cta-disclaimer{
  margin: 10px auto 0;
  font-size: .95rem;
  opacity: .9;
  color: #e8eef7;
}

/* ===== Acciones rápidas (solo móvil) ===== */
.quick-actions{
  display:flex; gap:10px; justify-content:center; align-items:center;
  padding:10px 14px; margin:8px auto 0;
}
.qaction{
  flex:1; text-align:center; text-decoration:none; font-weight:700;
  padding:10px 12px; border-radius:999px; border:1px solid rgba(255,255,255,.2);
  background:rgba(255,255,255,.12); color:#fff;
  backdrop-filter:saturate(120%) blur(2px);
}
.qaction--wsp{ background:#128C7E; border-color:#128C7E; }
.qaction--quote{ background:rgba(255,255,255,.12); }
.qaction--call{ background:#0b2b4e; border-color:#0b2b4e; }
.qaction:active{ transform:translateY(1px); }

.btn{
  display:inline-flex; align-items:center; gap:.5rem;
  padding:12px 18px; border-radius:12px; text-decoration:none; cursor:pointer;
  border:none; font:inherit;
}
.btn-primary{
  background:#128C7E; color:#fff;
  box-shadow:0 6px 16px rgba(18,140,126,.25);
  transition:filter .2s, opacity .2s, transform .15s;
}
.btn-primary:hover{ filter:brightness(.95); transform:translateY(-1px); }
.btn-secondary{ background:rgba(255,255,255,.12); color:#fff; }
.btn-secondary:hover{ background:rgba(255,255,255,.18); transform:translateY(-1px); }

/* Centrar contenido de los botones del hero */
.hero-overlay .btn{
  justify-content: center;
  text-align: center;
}

/* ========================= */
/* Cómo funciona             */
/* ========================= */
.how-it-works{ text-align:center; padding:40px 0; }
.how-it-works .cards{
  display:flex; justify-content:center; gap:20px; flex-wrap:wrap;
}
.card{
  background:#fff; padding:20px; border-radius:10px;
  box-shadow:0 4px 8px rgba(0,0,0,.1);
  width:250px; display:flex; flex-direction:column; align-items:center; text-align:center;
}
.card img{ width:50px; margin-bottom:10px; }

/* ========================= */
/* Cómo funciona (slider)    */
/* ========================= */
.how-steps{
  text-align:center;
  padding:40px 0;
}
.how-steps h2{ margin-bottom:14px; }

/* ⬇️ Ajustes de escalado móvil/tablet */
.how-steps h2{
  font-size: clamp(1.25rem, 5vw, 1.75rem);
  line-height: 1.2;
}
.steps-slider{
  position:relative;
  max-width:1100px;
  margin:0 auto;
  padding:8px max(12px, 4vw) 20px; /* mejor respiración en móvil */
}
.steps-track{
  position:relative;
  height:340px;         /* alto estable para el efecto profundidad */
  overflow:hidden;
  border-radius:16px;
  perspective:1200px;   /* ayuda a dar profundidad */
  isolation:isolate;
  background:linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
}

/* Cada slide se apila una sobre otra */
.step-slide{
  position:absolute;
  inset:0;
  margin:0;
  background:#ffffff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  padding:28px 22px;
  box-shadow:0 10px 24px rgba(6,30,55,.10);
  border-radius:16px;

  /* estado base (fondo) */
  transform:translateX(60%) scale(.8);
  opacity:0;
  filter:blur(2px) saturate(.9);
  z-index:0;
  transition:
    transform .55s cubic-bezier(.22,.61,.36,1),
    opacity .35s ease,
    filter .35s ease,
    z-index 0s linear .35s;
}
.step-slide img,
.step-slide svg{
  width: clamp(56px, 16vw, 84px);
  height: clamp(56px, 16vw, 84px);
  margin-bottom:12px;
  padding:14px;
  border-radius:999px;
  background:#EAF0F7;
  border:1px solid #DFE7F3;
  box-shadow:0 8px 20px rgba(6,30,55,.08), inset 0 0 0 2px rgba(255,255,255,.6);
  position:relative; z-index:1;
}
.step-slide h3{
  margin:6px 0 4px;
  font-size: clamp(1rem, 3.8vw, 1.25rem);
  line-height: 1.25;
  color:#061E37;
}
.step-slide p{
  margin:0; color:#3b4a63;
  font-size: clamp(0.9rem, 3.6vw, 1rem);
  line-height: 1.35;
  max-width: 38ch;
}

/* Número de paso */
.step-slide::before{
  content:"";
  position:absolute; top:14px; left:14px;
  width:28px; height:28px; border-radius:999px;
  display:grid; place-items:center;
  font-weight:700; font-size:.9rem; color:#061E37;
  background:#E9F2FF; border:1px solid #D3E5FF;
  box-shadow:0 2px 8px rgba(6,30,55,.08);
  z-index:2;
}
.step-slide:nth-of-type(1)::before{ content:"1"; }
.step-slide:nth-of-type(2)::before{ content:"2"; }
.step-slide:nth-of-type(3)::before{ content:"3"; }
.step-slide:nth-of-type(4)::before{ content:"4"; }
.step-slide:nth-of-type(5)::before{ content:"5"; }
.step-slide:nth-of-type(6)::before{ content:"6"; }

/* FIX: desactivar fallback para evitar doble ícono */
.step-slide::after{ content:none !important; }

/* Estados para profundidad */
.step-slide.is-active{
  transform:translateX(0) scale(1) rotateY(0);
  opacity:1;
  filter:none;
  z-index:3;
  transition-delay:0s;
}
.step-slide.is-prev{
  transform:translateX(-28%) scale(.9) rotateY(6deg);
  opacity:.65;
  filter:blur(1px) saturate(.95);
  z-index:2;
}
.step-slide.is-next{
  transform:translateX(28%) scale(.9) rotateY(-6deg);
  opacity:.65;
  filter:blur(1px) saturate(.95);
  z-index:2;
}

/* Flechas */
.steps-nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:42px; height:42px;
  border-radius:999px;
  border:1px solid #e3e8f1;
  background:#fff;
  box-shadow:0 6px 18px rgba(6,30,55,.10);
  cursor:pointer;
  font-size:22px;
  line-height:0;
  z-index:5;
}
.steps-nav.prev{ left:8px; }
.steps-nav.next{ right:8px; }
.steps-nav:hover{ filter:brightness(.98); }

/* Dots */
.steps-dots{
  display:flex; gap:8px; justify-content:center;
  margin-top:14px;
}
.steps-dots .dot{
  width:10px; height:10px; border-radius:999px;
  border:1px solid #cdd6e5; background:#e9effb;
  cursor:pointer;
}
.steps-dots .dot.is-active{
  background:#061E37; border-color:#061E37;
}

/* (Eliminada la barra de progreso) */

@media (max-width:700px){
  .steps-track{ height:320px; }
  .step-slide{ padding:24px 18px; }
  .steps-nav{ width:36px; height:36px; font-size:20px; }
  .steps-nav.prev{ left:6px; }
  .steps-nav.next{ right:6px; }
}

/* 📱 Móvil: sin scroll horizontal sobresaliente */
@media (max-width:540px){
  .how-steps .steps-slider{
    padding-left: clamp(44px, 11vw, 64px);
    padding-right: clamp(44px, 11vw, 64px);
  }
  .how-steps .steps-track{ height:300px; }
  .how-steps .step-slide{ padding:20px 16px; }
  .how-steps .steps-nav{ width:34px; height:34px; }
  .how-steps .steps-nav.prev{ left:10px; }
  .how-steps .steps-nav.next{ right:10px; }
}

/* ===================================================== */
/* Servicios                                              */
/* ===================================================== */
.services{ text-align:center; padding:40px 0; }
.services h2{ margin-bottom:14px; }
.services--dynamic .service-grid{
  max-width:1100px; margin:0 auto;
  display:grid; grid-template-columns:repeat(3, minmax(260px, 1fr));
  gap:22px; padding:8px 16px;
}
.service-card{
  position:relative;
  padding:22px;
  border-radius:16px;
  background:
    linear-gradient(#fff,#fff) padding-box,
    linear-gradient(135deg, rgba(11,43,78,.45), rgba(106,167,255,.65)) border-box;
  border:1px solid transparent;
  box-shadow:0 10px 24px rgba(6,30,55,.08);
  transform-style:preserve-3d;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  will-change:transform, box-shadow;
  overflow:hidden;
}
.service-card::before{
  content:attr(data-badge);
  position:absolute; top:12px; left:12px;
  font-size:.75rem; font-weight:700; letter-spacing:.02em;
  padding:6px 10px; border-radius:999px;
  color:#0b2b4e; background:#e9f2ff; border:1px solid #d3e5ff;
}
/* 🔧 Ocultar badge si NO hay data-badge (solo queda visible en “Empresas”) */
.service-card:not([data-badge])::before{
  content:none; display:none;
}

.service-card::after{
  content:""; position:absolute; inset:-40% -120% auto -120%;
  height:200%; width:60%;
  transform: rotate(25deg) translateX(-120%);
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.45) 50%, rgba(255,255,255,0) 100%);
  opacity:0; pointer-events:none;
}
.service-card:hover::after{ animation: sheen 800ms ease forwards; opacity:1; }
@keyframes sheen{ to{ transform: rotate(25deg) translateX(220%); opacity:0; } }
.service-card:hover{
  transform: translateY(-6px) rotateX(2deg);
  box-shadow:0 18px 38px rgba(6,30,55,.16);
  filter: saturate(1.02);
}
.service-card .icon{
  height:72px; width:72px; margin:4px auto 12px;
  display:grid; place-items:center;
  background:#f2f6ff; border-radius:14px;
  transition: transform .25s ease;
}
.service-card .icon img{ width:44px; height:44px; object-fit:contain; }
.service-card:hover .icon{ transform: translateY(-4px) scale(1.04) rotate(-2deg); }
.service-card h3{ margin:10px 0 6px; font-size:1.15rem; color:var(--azul-oscuro); }
.service-card .subtitle{ margin:0 0 8px; font-weight:600; color:#3b4a63; opacity:.9; }
.service-card .desc{ margin:0 0 12px; color:#313b4c; opacity:.95; }
/* 🔧 Remark más pequeño y sutil */
.service-card .remark{ font-size:.92rem; opacity:.85; }

.service-card .features{
  display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-bottom:6px;
}
.service-card .features span{
  font-size:.85rem; padding:6px 10px; border-radius:999px;
  background:#eef1f6; color:#1f2633; border:1px solid #e3e8f1;
}
.service-card .cta-wrap{
  display:flex; justify-content:center;
  transform: translateY(8px);
  opacity:0; transition: opacity .25s ease, transform .25s ease;
  margin-top:4px;
  /* 👇 separación entre “Cotizar” y “Reservar” */
  gap:12px;
}
.service-card:hover .cta-wrap{ opacity:1; transform: translateY(0); }

/* ✅ Botones dentro de la card (sin tocar los demás del sitio) */
/* Cotizar: SIEMPRE azul marca, hover sutil */
.service-card .cta-wrap .btn.btn-secondary{
  background: var(--azul-oscuro);
  color: #fff;
  border: 1px solid var(--azul-oscuro);
  box-shadow: 0 6px 16px rgba(6,30,55,.18);
  transition: filter .2s, transform .15s, background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.service-card .cta-wrap .btn.btn-secondary:hover{
  filter: brightness(.97);
  transform: translateY(-1px);
}

/* Reservar: blanco por defecto, verde WhatsApp al hover */
.service-card .cta-wrap .btn.btn-primary{
  background:#fff;
  color: var(--azul-oscuro);
  border: 1px solid #e3e8f1;
  box-shadow: none;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s, transform .15s;
}
.service-card .cta-wrap .btn.btn-primary:hover{
  background:#128C7E;
  color:#fff;
  border-color:#128C7E;
  box-shadow:0 6px 16px rgba(18,140,126,.22);
  transform: translateY(-1px);
}

/* =============================== */
/* Casos de uso (marquee)          */
/* =============================== */
.use-cases{ padding:40px 0; text-align:center; }

/* ⚙️ Carrusel sin drag: ocultamos scroll horizontal visible y deshabilitamos gesto horizontal */
.use-cases .marquee{
  position:relative;
  overflow-x:hidden; /* ⬅️ antes auto; ahora oculto porque el auto-scroll lo maneja JS */
  overflow-y:hidden;
  padding:6px 0;
  -webkit-overflow-scrolling:touch;
  scrollbar-width:none;

  touch-action: pan-y; /* solo desplazamiento vertical en móvil */
  cursor: default;     /* ⬅️ sin “mano de arrastre” */
}
.use-cases .marquee::-webkit-scrollbar{ display:none; }

/* Evitamos hueco entre SETS para que el loop sea continuo */
.use-cases .marquee-track{
  display:flex;
  gap:0; /* ⬅️ antes: 20px. Quitamos hueco entre A y B para que no aparezca “espacio” al final */
  width:max-content;
  /* ⛳️ Sin animación CSS: el movimiento lo hace JS con scrollLeft */
}

/* Mantenemos el espaciado interno de tarjetas dentro de cada SET */
.use-cases .marquee-set{
  display:flex;
  gap:20px;
  align-items:stretch;
}
/* Añadimos 20px al FINAL de cada set para que el “empalme” mantenga el mismo espaciado */
.use-cases .marquee-set > .card.usecase:last-child{
  margin-right:20px;
}

/* Tarjetas */
.card.usecase{
  width:260px; min-height:160px; padding:18px; border-radius:12px;
  box-shadow:0 4px 10px rgba(0,0,0,.08); background:#fff;
}
.card.usecase img{ width:44px; height:44px; object-fit:contain; margin-bottom:10px; }
.card.usecase h3{ margin:6px 0; font-size:1.05rem; color:#2b2b2b; }
.card.usecase p { margin:0; font-size:.95rem; color:#2b2b2b; opacity:.9; }

/* 📱 Móvil: sin scroll-snap (porque no hay swipe), mantenemos clones para el loop */
@media (max-width: 900px){
  .use-cases .marquee{ padding-bottom:10px; }
  .use-cases .marquee-track{ gap:0; }
  .card.usecase{ flex:0 0 auto; max-width:260px; }
}

/* =============================== */
/* Para empresas / Footer          */
/* =============================== */
.for-business{ text-align:center; padding:40px 0; }
.for-business ul{ list-style:none; padding:0; margin:10px 0 18px; display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.for-business li{ background:#fff; border:1px solid #e8edf6; border-radius:999px; padding:8px 12px; }
.for-business .cta{ display:inline-block; background:var(--azul-oscuro); color:#fff; padding:12px 16px; border-radius:10px; text-decoration:none; }

footer{
  background:var(--azul-oscuro); color:var(--blanco);
  text-align:center; padding:20px;
}
footer .footer-logo{ height:40px; }

/* ================================================== */
/*  🧭 Cotizar / Formularios                           */
/* ================================================== */
.cotizar-steps{ max-width:1100px; margin:24px auto; padding:0 16px; }
.step{
  background:#fff; border-radius:12px; padding:20px;
  box-shadow:0 8px 24px rgba(6,30,55,.08);
}
.step + .step{ margin-top:24px; }
.is-hidden{ display:none; }

/* MAPA */
#mapa{
  width:100%; height:380px; margin-top:16px; border-radius:12px; overflow:hidden;
  box-shadow:0 8px 24px rgba(6,30,55,.08);
}

/* Formulario cotizar */
#cotizar-form{ padding:0; background:transparent; box-shadow:none; }
#cotizar-form label{ display:block; font-weight:600; margin:12px 0 6px; color:var(--azul-oscuro); }
#cotizar-form input{
  width:100%; padding:12px var(--input-padding-x); border:1px solid #e6e8ee;
  border-radius:var(--input-radius); font-family:inherit; font-size:16px;
  outline:none; height:var(--input-h); background:#fff;
}
#cotizar-form select{
  width:100%; height:var(--input-h); padding:12px var(--input-padding-x);
  border:1px solid #e6e8ee; border-radius:var(--input-radius); font:inherit; background:#fff; outline:none;
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24'%3E%3Cpath fill='%23475569' d='M7 10l5 5l5-5z'/%3E%3C/svg%3E"), linear-gradient(#fff,#fff);
  background-repeat:no-repeat,no-repeat; background-position:right 14px center,0 0;
  background-size:18px,100% 100%;
}
#cotizar-form input:focus, #cotizar-form select:focus{
  border-color:var(--azul-oscuro); box-shadow:0 0 0 3px rgba(6,30,55,.15);
}
#cotizar-form input:disabled, #cotizar-form select:disabled{
  background:#f1f5f9; color:#94a3b8; border-color:#e5e7eb; cursor:not-allowed;
}
#tiempo-servicio:disabled{ background:#e2e8f0; color:#334155; border-color:#cbd5e1; }

/* ✅ FIX: checkbox normal y en línea solo en el formulario de cotizar */
#cotizar-form input[type="checkbox"]{
  width:auto;
  height:auto;
  inline-size:auto;
  block-size:auto;
  padding:0;
  margin:0 8px 0 0;
  border:none;
  box-shadow:none;
  accent-color:#0b2b4e;
}
#cotizar-form .hint label{
  display:inline-flex;
  align-items:center;
  gap:8px;
}

/* Layout */
.row-2{ display:grid; grid-template-columns:1fr; gap:20px; }
.form-group{ display:flex; flex-direction:column; min-width:0; }
@media (max-width:700px){ .fecha-hora-container{ flex-direction:column; gap:12px; } }
@media (min-width:768px){ .row-2{ grid-template-columns:1fr 1fr; } }

#cotizar-form button{ margin-top:10px; }
.hint{ margin-bottom:12px; opacity:.8; }

/* =============================== */
/* Resumen cotización (ejemplo)    */
/* =============================== */
.step-summary{ max-width:1100px; margin:24px auto; padding:0 16px; }
.step-summary h2{ text-align:left; }
.summary-card{ background:#fff; border-radius:12px; padding:18px; box-shadow:0 8px 24px rgba(6,30,55,.08); }
.summary-card p{ margin:8px 0; }
.costo-destacado{ font-size:1.2rem; color:#061E37; font-weight:700; }
.summary-card .btn{ margin-right:8px; margin-top:8px; }
.disclaimer{ margin-top:12px; font-size:.9rem; opacity:.8; }

/* =============================== */
/* Responsive                      */
/* =============================== */
@media (max-width:960px){
  .services--dynamic .service-grid{ grid-template-columns:repeat(2, minmax(240px, 1fr)); }
}

/* ==== Móvil (≤540px) ==== */
@media (max-width:540px){
  .logo-container{ margin-left:10px; }
  #logo{ height:34px; }
  .desktop-nav{ position:relative; min-height:38px; }
  .desktop-nav ul{ display:none; }
  .whatsapp-container{ display:none; }
  .only-mobile{ display:block; }

  /* Centrar hamburguesa y WhatsApp a la derecha */
  #hamburger{
    display:block;
    position:absolute; left:50%; top:50%;
    transform:translate(-50%, -50%);
    margin:0;
  }
  #wsp-fab{
    display:block;
    position:absolute; right:10px; left:auto; top:50%;
    transform:translateY(-50%);
  }

  /* Drawer y overlay debajo de topbar+header */
  .drawer-overlay{
    top:calc(var(--header-offset, var(--header-h)) + env(safe-area-inset-top));
  }
  .mobile-drawer{
    top:calc(var(--header-offset, var(--header-h)) + env(safe-area-inset-top));
    width:min(80vw, 320px);
    max-height:calc(100dvh - var(--header-offset, var(--header-h)) - env(safe-area-inset-top));
    overflow:auto;
    border-top-left-radius:12px;
  }

  .how-it-works .cards,
  .services--dynamic .service-grid{ grid-template-columns:1fr; }
  .card, .services .card{ width:88%; margin:0 auto; }
  .card.usecase{ width:300px; }

  /* Título del panel gris más compacto */
  .hero-overlay h1{ font-size:2.2em; }

  .hero-overlay .btn{
    width:100%; max-width:360px; margin-left:auto; margin-right:auto;
  }
}

/* =============================== */
/* Email capture (home)            */
/* =============================== */
.email-quote{ background:#fff; max-width:920px; margin:18px auto 40px; padding:20px; border-radius:12px; border:1px solid #e8edf6; box-shadow:0 12px 34px rgba(6,30,55,.08); }
.email-quote h3{ margin:0 0 6px; color:#0b2b4e; }
.email-quote p{ margin:0 0 12px; color:#334155; }
.email-quote__form{ display:flex; gap:10px; align-items:center; flex-wrap:wrap; }
.email-quote__form input[type="email"]{
  flex:1; min-width:220px; height:var(--input-h); padding:12px var(--input-padding-x);
  border:1px solid #e6e8ee; border-radius:var(--input-radius); font:inherit; outline:none; background:#fff;
}
.email-quote__form input[type="email"]:focus{ border-color:var(--azul-oscuro); box-shadow:0 0 0 3px rgba(6,30,55,.12); }
.email-quote__form .btn{ height:var(--input-h); }
.email-quote__status{ margin-top:8px; font-size:.95rem; }
.email-quote__status.ok{ color:#128C7E; }
.email-quote__status.err{ color:#b42318; }

/* =============================== */
/* 📬 Contacto                     */
/* =============================== */
.contact-wrap{ max-width:1100px; margin:32px auto 56px; padding:0 24px; }
@media (min-width: 900px){
  .contact-wrap{
    display:grid;
    grid-template-columns: minmax(0, 2.2fr) minmax(260px, 1fr);
    column-gap: 32px;
    row-gap: 8px;
    align-items:start;
  }
  .contact-header{ display:contents; }
  .contact-wrap .page-title{ grid-column:1; margin:10px 0 6px; text-align:left; }
  .contact-intro{
    grid-column:1; text-align:left; max-width: 60ch; margin: 0 0 12px 0;
    font-size:1.2rem; line-height:1.6; color:#334155;
  }
  .contact-ways{
    grid-column:2; grid-row:1 / 3; align-self:stretch;
    display:flex; flex-direction:column; justify-content:center; justify-self:start;
    text-align:left; line-height:1.5; padding-left:24px; border-left:1px solid #e2e8f0;
  }
  .contact-card{ grid-column:1 / -1; }
}
.contact-ways .label{ display:block; font-size:.9rem; color:#475569; margin-bottom:4px; letter-spacing:.02em; text-transform:uppercase; }
.contact-ways .contact-link{ color:var(--azul-oscuro); font-weight:600; text-decoration:none; position:relative; padding-left:26px; }
.contact-ways .contact-link:hover{ text-decoration:underline; }
.contact-ways .sep{ margin:0 .4rem; color:#94a3b8; }
.contact-ways .contact-link[href^="tel:"]::before,
.contact-ways .contact-link[href^="mailto:"]::before{
  content:""; position:absolute; left:0; top:50%; transform:translateY(-50%);
  width:18px; height:18px; background-repeat:no-repeat; background-size:18px 18px; opacity:.9; transition:opacity .2s, transform .2s;
}
.contact-ways .contact-link[href^="tel:"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23061E37' d='M6.62 10.79a15.05 15.05 0 0 0 6.59 6.59l2.2-2.2a1 1 0  0 1 1.01-.24c1.12.37 2.33.57 3.58.57a1 1 0 0 1 1 1V20a1 1 0 0 1-1 1C10.3 21 3 13.7 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.46.57 3.58a1 1 0 0 1-.24 1.01l-2.21 2.2Z'/%3E%3C/svg%3E");
}
.contact-ways .contact-link[href^="mailto:"]::before{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23061E37' d='M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 4l-8 5l-8-5V6l8 5l8-5z'/%3E%3C/svg%3E");
}
@media (max-width: 899.98px){
  .page-title{ text-align:center; }
  .contact-intro{ text-align:center; max-width:900px; margin:0 auto 22px; font-size:1.2rem; line-height:1.6; color:#334155; }
  .contact-ways{ border-left:none; border-top:1px solid #e2e8f0; padding-left:0; padding-top:12px; margin-top:8px; text-align:center; }
}
.contact-card{ background:#fff; border-radius:16px; padding:28px; border:1px solid #e8edf6; box-shadow:0 12px 34px rgba(6,30,55,.08); }
.contact-form{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.contact-form .form-group:nth-of-type(3){ grid-column:1 / -1; }
.contact-form label{ display:block; font-weight:600; margin:6px 0 8px; color:#0b2b4e; }
.contact-form input, .contact-form textarea{
  width:100%; padding:14px 16px; border:1px solid #e6e8ee; border-radius:12px;
  background:#fff; font:inherit; outline:none; transition:border-color .2s, box-shadow .2s;
}
.contact-form textarea{ min-height:160px; }
.contact-form input:focus, .contact-form textarea:focus{ border-color:#cbd5e1; box-shadow:0 0 0 4px rgba(6,30,55,.10); }
.contact-form .btn{ grid-column:1 / -1; width:fit-content; margin-top:4px; }
@media (max-width:700px){
  .contact-form{ grid-template-columns:1fr; }
  .contact-form .btn{ width:100%; }
}

/* =============================== */
/*  ✅ Móvil: topbar multi-línea   */
/* =============================== */
@media (max-width: 540px){
  .topbar{
    text-align:center;
    line-height:1.25;
  }
  .topbar a{
    display:block;
    margin:2px auto 0;
    text-align:center;
    width:100%;
    font-weight:700;
  }
}

/* =========================================================
   📌 Cotizar: Instrucciones on-screen + Disclaimer (nuevo)
   ========================================================= */
.inline-link{
  color:inherit;
  text-decoration:underline;
  cursor:pointer;
  white-space:nowrap;
}

.help-overlay{
  position:fixed; inset:0;
  background:rgba(0,0,0,.45);
  backdrop-filter:saturate(120%) blur(2px);
  z-index:9998;
}

.help-panel{
  position:fixed;
  top:50%; left:50%;
  transform:translate(-50%, -50%);
  width:calc(100% - 2rem);
  max-width:720px;
  max-height:80vh;
  overflow:auto;
  background:#fff;
  color:#111;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.3);
  z-index:9999;
  padding:16px 18px;
}

.help-header{
  display:flex; align-items:center; justify-content:space-between; gap:8px;
  border-bottom:1px solid #eee; padding-bottom:8px; margin-bottom:10px;
}
.help-header h2{ font-size:1.1rem; margin:0; }

.help-close{
  background:transparent; border:0; font-size:20px; cursor:pointer; line-height:1;
  border-radius:8px; padding:4px 8px; color:inherit;
}
.help-close:hover{ background:rgba(0,0,0,.05); }

.help-body p{ margin:.5rem 0 .75rem; }
.help-body ul{ margin:.25rem 0 .75rem 1.2rem; }

.disclaimer-block{
  margin-top:12px;
  font-size:.95rem;
  color:#333;
  background:#f7f7f9;
  border:1px solid #eee;
  border-radius:12px;
  padding:12px 14px;
}
.disclaimer-block ul{ margin:0 0 0 1.1rem; padding:0; }
.disclaimer-block li{ margin:.25rem 0; }

.text-danger{ color:#b00020 !important; }

@media (prefers-color-scheme: dark){
  .help-panel{ background:#061E37; color:#f0f0f0; border:1px solid #2a2a2a; }
  .help-header{ border-bottom-color:#2a2a2a; }
  .help-close:hover{ background:rgba(255,255,255,.06); }
  .disclaimer-block{ background:#061E37; border-color:#061E37; color:#ddd; }
}

/* ============================= */
/* ======= Footer nuevo =========*/
/* ============================= */
.site-footer{
  background: var(--azul-oscuro);
  color: #e8f0ff;
  padding: 26px 20px 18px;
}
.site-footer .footer-wrap{
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 20px;
  align-items: start;
}
.footer-col{ min-width: 0; }
.footer-logo{ height: 36px; width: auto; margin-bottom: 10px; }
.footer-tag{ margin: 0; color: #bcd0ea; font-size: .95rem; }

.footer-nav ul{
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(80px, 1fr));
  gap: 8px 18px;
}
.footer-nav a{
  color: #dfe9f7; text-decoration: none; font-weight: 600;
}
.footer-nav a:hover{ text-decoration: underline; }

.footer-contact{
  display: grid; gap: 8px;
  justify-items: start;
}
.footer-link{
  color:#dfe9f7; text-decoration:none; font-weight:600;
}
.footer-link:hover{ text-decoration:underline; }
.footer-wsp{ margin-top: 6px; }

.footer-legal{
  max-width: 1100px;
  margin: 18px auto 0;
  text-align: center;
  color: #bcd0ea;
  font-size: .9rem;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 12px;
}

/* Responsive footer */
@media (max-width: 900px){
  .site-footer .footer-wrap{
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-contact{ justify-items: center; }
  .footer-logo{ margin-left: auto; margin-right: auto; }
  .footer-nav ul{
    grid-template-columns: repeat(4, minmax(60px, 1fr));
    justify-items: center;
  }
}
@media (max-width: 560px){
  .footer-nav ul{ grid-template-columns: repeat(2, minmax(100px, 1fr)); }
}

/* ===== Ajustes solicitados: centrar brand y alinear contacto a la derecha ===== */
.site-footer .footer-brand{
  text-align: center;
}
.site-footer .footer-brand .footer-logo{
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 6px; /* un poco más pegado al texto */
}
.site-footer .footer-brand .footer-tag{
  text-align: center;
}

/* Desktop: contacto a la derecha */
@media (min-width: 901px){
  .site-footer .footer-contact{
    justify-items: end;
    text-align: right;
  }
  .site-footer .footer-contact .btn{
    justify-self: end;
  }
}

/* En móvil mantenemos centro (ya existía arriba, lo reforzamos) */
@media (max-width: 900px){
  .site-footer .footer-contact{
    justify-items: center;
    text-align: center;
  }
}
