

.w-hero img, .w-caso img { height: auto; }

.w-logo {
  display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 12px; color: #fff;
  background: linear-gradient(145deg, #1cc0f5, var(--celeste) 55%, var(--azul));
  box-shadow: 0 8px 18px -10px rgba(0, 120, 200, .8), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.w-logo svg { width: 20px; height: 20px; stroke-width: 1.8; }

.w-hero {
  position: relative; isolation: isolate; overflow: clip; padding: 116px 0 72px;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(0, 177, 234, .14), transparent 70%),
    radial-gradient(40% 40% at 8% 90%, rgba(52, 131, 250, .08), transparent 70%),
    linear-gradient(180deg, #ffffff, #f6fbff 70%, #ffffff);
}
.w-hero__grilla { display: grid; gap: 52px; align-items: center; }
.w-hero__texto { display: flex; flex-direction: column; align-items: flex-start; }
.w-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 800; line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.w-hero .bajada { max-width: 38ch; }
.w-hero__botones { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
@media (min-width: 960px) {
  .w-hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; }
  .w-hero__grilla { grid-template-columns: .9fr 1.1fr; gap: 48px; }
}

.w-escena { --giro: 1; margin: 0; }
.w-escena__marco { position: relative; padding-bottom: 40px; perspective: 1600px; }
.w-navegador {
  overflow: hidden; border-radius: 18px; background: #fff;
  box-shadow: 0 0 0 1px var(--linea-2), 0 50px 90px -40px rgba(11, 45, 100, .55);
  transform: rotateX(calc(var(--giro) * 14deg)) rotateY(calc(var(--giro) * -10deg)) scale(calc(1 - var(--giro) * .04));
  transform-origin: 50% 80%; will-change: transform;
}
.w-navegador__barra { display: flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; background: #f4f8fc; border-bottom: 1px solid var(--linea); }
.w-navegador__barra i { width: 10px; height: 10px; border-radius: 50%; background: #d6dee9; }
.w-navegador__barra span {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 10px; padding: 4px 12px; border-radius: 999px;
  font-family: var(--mono); font-size: 11.5px; color: var(--texto-2); background: #fff; box-shadow: 0 0 0 1px var(--linea);
}
.w-navegador__barra svg { width: 12px; height: 12px; }
.w-navegador img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.w-cel {
  position: absolute; right: -2%; bottom: 0; width: 27%; padding: 2.4%; border-radius: 15% / 7%; background: #0b1b33;
  box-shadow: 0 0 0 1px rgba(11, 27, 51, .25), 0 34px 60px -28px rgba(11, 45, 100, .6);
  transform: translateY(calc(var(--giro) * 26px));
}
.w-cel img { display: block; width: 100%; aspect-ratio: 600 / 1298; object-fit: cover; object-position: top; border-radius: 12.5% / 5.8%; }
.w-ficha {
  position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 16px; white-space: nowrap;
  font-size: 13.5px; font-weight: 640; letter-spacing: -.01em; color: var(--texto); background: rgba(255, 255, 255, .96);
  box-shadow: 0 0 0 1px var(--linea), 0 22px 40px -20px rgba(11, 45, 100, .5);
  animation: w-llegar 1.1s var(--suave) both, w-flotar 6s ease-in-out infinite;
}
.w-ficha svg { width: 18px; height: 18px; color: var(--celeste); }
.w-ficha--1 { left: -3%; top: 18%; animation-delay: .7s, 0s; }
.w-ficha--2 { left: 8%; bottom: 8%; animation-delay: .9s, -3s; }
.w-escena__marco > .w-navegador, .w-escena__marco > .w-cel { animation: w-llegar 1.1s var(--suave) both; }
.w-escena__marco > .w-cel { animation-delay: .25s; }
.w-escena figcaption { margin-top: 18px; font-size: 13.5px; color: var(--texto-3); animation: w-llegar 1.1s var(--suave) both .5s; }
.w-escena figcaption a { color: var(--celeste-oscuro); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
@keyframes w-llegar { from { opacity: 0; translate: 0 34px; } }
@keyframes w-flotar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 640px) {
  .w-cel { width: 32%; right: -1%; }
  .w-ficha { padding: 8px 11px; font-size: 12px; border-radius: 13px; }
  .w-ficha--1 { left: -1%; top: 30%; }
  .w-ficha--2 { left: 2%; bottom: 6%; }
}

.w-hacemos { background: linear-gradient(180deg, #fff, var(--fondo-2)); }
.w-servicios { display: grid; gap: 14px; }
.w-servicio { display: grid; align-content: start; gap: 10px; padding: 28px 26px; }
.w-servicio__icono { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; color: var(--celeste); background: var(--celeste-suave); }
.w-servicio__icono svg { width: 24px; height: 24px; }
.w-servicio h3, .w-hora h3 { margin-top: 6px; font-size: 1.25rem; font-weight: 740; letter-spacing: -.025em; }
.w-servicio p { color: var(--texto-2); }
@media (min-width: 700px) {
  .w-servicios { grid-template-columns: 1fr 1fr; gap: 18px; }
  .w-servicio--ancho { grid-column: 1 / -1; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
  .w-servicio--ancho h3 { margin-top: 0; }
}
@media (min-width: 1000px) {
  .w-servicios { grid-template-columns: repeat(4, 1fr); }
  .w-servicio--ancho { grid-column: 1 / -1; }
}

.w-caso { padding-bottom: clamp(24px, 4vw, 48px); background: var(--fondo-2); }
.w-caso__tarjeta { display: grid; }
.w-caso__foto { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--fondo-2); }
.w-caso__foto img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .9s var(--suave); }
.w-caso__texto { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 26px 24px 28px; }
.w-caso__texto b { font-size: clamp(1.45rem, 2.6vw, 2.1rem); font-weight: 770; line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.w-caso__texto > span:not(.etiqueta):not(.enlace) { max-width: 40ch; color: var(--texto-2); }
.w-caso__texto .enlace { margin-top: 6px; }
@media (hover: hover) { .w-caso__tarjeta:hover .w-caso__foto img { transform: scale(1.035); } }
@media (min-width: 860px) {
  .w-caso__tarjeta { grid-template-columns: 1.15fr 1fr; align-items: center; }
  .w-caso__foto { height: 100%; min-height: 340px; aspect-ratio: auto; }
  .w-caso__texto { padding: 40px 44px; }
}

.w-pasos { display: grid; gap: 14px; }
.w-pasos li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 16px; align-items: start; padding: 22px 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--linea); }
.w-pasos li > span {
  grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px;
  font-family: var(--mono); font-weight: 600; color: #fff; background: linear-gradient(145deg, #1cc0f5, var(--celeste) 55%, var(--azul));
}
.w-pasos h3 { font-size: 1.15rem; font-weight: 730; letter-spacing: -.02em; }
.w-pasos p { font-size: 15px; color: var(--texto-2); }
@media (min-width: 900px) {
  .w-pasos { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .w-pasos li { grid-template-columns: 1fr; gap: 10px; padding: 28px 26px 30px; }
  .w-pasos li > span { grid-row: auto; margin-bottom: 8px; }
}
.w-hora { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 18px; padding: 26px; }
.w-hora h3 { margin-top: 2px; }
.w-hora p { margin-top: 6px; color: var(--texto-2); }
.w-hora .w-hora__dato { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--linea); font-size: 14.5px; color: var(--texto-3); }

.w-cotizar { background: linear-gradient(180deg, #fff, var(--fondo-2) 120%); }
.w-cotizar__grilla { display: grid; gap: 36px; align-items: start; }
@media (min-width: 960px) { .w-cotizar__grilla { grid-template-columns: .85fr 1.15fr; gap: 64px; } .w-cotizar__intro { position: sticky; top: 120px; } }
.w-cotizar__caja { padding: clamp(24px, 3.4vw, 40px); }
.w-cotizar__caja .precio { padding: 0; box-shadow: none; }
.w-form fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.w-form legend { padding: 0; font-size: 1.02rem; font-weight: 700; letter-spacing: -.01em; }
.w-form fieldset + fieldset, .w-form .campos { margin-top: 20px; }
.w-form .opciones span { font-size: 14.5px; padding: 9px 14px; }
.w-form__vista { margin-top: 20px; padding: 14px 16px; border-radius: 16px; font-size: 14px; color: var(--texto-2); background: var(--fondo-2); box-shadow: inset 0 0 0 1px var(--linea); white-space: pre-line; }
.w-form__vista b { display: block; margin-bottom: 4px; color: var(--texto-3); font-weight: 560; }
.w-acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 18px; }
.w-cotizar .contacto-pendiente .enlace { margin-top: 14px; }

.w-preguntas__grilla { display: grid; gap: 28px; }
@media (min-width: 960px) { .w-preguntas__grilla { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.w-preguntas__lista { display: grid; gap: 10px; }
.w-preguntas details { border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--linea); }
.w-preguntas summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; cursor: pointer;
  font-size: 1.08rem; font-weight: 680; letter-spacing: -.015em; list-style: none;
}
.w-preguntas summary::-webkit-details-marker { display: none; }
.w-preguntas summary::after { content: '+'; flex: none; font-size: 1.4rem; font-weight: 400; color: var(--celeste); transition: transform .35s var(--suave); }
.w-preguntas details[open] summary::after { transform: rotate(45deg); }
.w-preguntas details p { padding: 0 22px 22px; color: var(--texto-2); }

@media (prefers-reduced-motion: reduce) {
  .w-escena { --giro: 0 !important; }
  .w-escena__marco > *, .w-escena figcaption, .w-ficha { animation: none !important; }
}
