/* ============================================================
   K-CLIMA — Hoja de estilos
   Identidad: fuego (naranja) + hielo (azul) sobre fondo oscuro,
   aplicada de forma sobria y profesional.
   ============================================================ */

:root {
  --bg: #050507;
  --bg-alt: #0a0b10;
  --surface: #0f1019;
  --surface-2: #141522;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 115, 0, 0.5);

  --gold: #ffc400;
  --fire: #ff7300;
  --fire-deep: #ff3c00;
  --ice: #00c3ff;
  --ice-deep: #0066ff;

  --text: #eef2f8;
  --text-soft: #aab6c9;
  --text-faint: #7d8aa0;

  --grad-fire: linear-gradient(135deg, #ffc400, #ff7300 55%, #ff3c00);
  --grad-ice: linear-gradient(135deg, #4dd9ff, #0066ff);
  --grad-brand: linear-gradient(100deg, #00c3ff -10%, #ffc400 45%, #ff3c00 90%);
  --glow-fire: 0 0 14px rgba(255, 130, 0, 0.55), 0 0 38px rgba(255, 60, 0, 0.38), 0 0 70px rgba(255, 60, 0, 0.18);
  --glow-ice: 0 0 14px rgba(0, 195, 255, 0.5), 0 0 38px rgba(0, 102, 255, 0.32), 0 0 70px rgba(0, 102, 255, 0.15);

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  --container: 1140px;

  --font-head: "Outfit", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--ice); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--fire); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.18;
  color: var(--text);
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 96px 0; }

/* ---------- Etiquetas y títulos de sección ---------- */

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fire);
  margin-bottom: 16px;
}

.kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-fire);
  box-shadow: 0 0 10px rgba(255, 115, 0, 0.9);
}

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .kicker::after {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-fire);
  box-shadow: 0 0 10px rgba(255, 115, 0, 0.9);
}
.section-head h2 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 18px; }
.section-head p { color: var(--text-soft); }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 15.5px;
  font-weight: 600;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s, background 0.2s;
  white-space: nowrap;
}

.btn-fire {
  position: relative;
  isolation: isolate;
  background: var(--grad-fire);
  color: #fff;
  text-shadow: 0 1px 6px rgba(120, 30, 0, 0.45);
  box-shadow: 0 0 20px rgba(255, 110, 0, 0.55);
}
/* Halo de fuego: copia difuminada del degradado detrás del botón */
.btn-fire::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--grad-fire);
  filter: blur(16px);
  opacity: 0.75;
  z-index: -1;
  animation: firePulse 2.4s ease-in-out infinite;
  transition: opacity 0.25s, filter 0.25s;
}
.btn-fire::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent 45%);
  pointer-events: none;
}
.btn-fire:hover {
  color: #fff;
  transform: translateY(-2px);
}
.btn-fire:hover::before {
  opacity: 1;
  filter: blur(22px);
}

@keyframes firePulse {
  0%, 100% { opacity: 0.65; }
  50% { opacity: 1; }
}

.btn-ghost {
  position: relative;
  isolation: isolate;
  background: rgba(5, 8, 14, 0.7);
  border-color: rgba(0, 195, 255, 0.55);
  color: var(--ice);
  box-shadow: 0 0 16px rgba(0, 195, 255, 0.3), inset 0 0 16px rgba(0, 195, 255, 0.1);
}
.btn-ghost::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: var(--grad-ice);
  filter: blur(16px);
  opacity: 0.35;
  z-index: -1;
  transition: opacity 0.25s, filter 0.25s;
}
.btn-ghost:hover {
  background: rgba(0, 195, 255, 0.12);
  border-color: var(--ice);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost:hover::before {
  opacity: 0.8;
  filter: blur(22px);
}

/* ---------- Cabecera ---------- */

.site-header {
  position: fixed;
  inset: 14px 0 auto 0;
  z-index: 100;
  transition: top 0.3s;
}
.site-header.scrolled { top: 8px; }

/* Píldora de cristal flotante */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 66px;
  padding: 0 12px 0 10px;
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.82), rgba(15, 16, 25, 0.82)) padding-box,
    linear-gradient(100deg, rgba(0, 195, 255, 0.45), rgba(255, 255, 255, 0.08) 35%, rgba(255, 255, 255, 0.08) 65%, rgba(255, 115, 0, 0.5)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition: box-shadow 0.3s;
}
.site-header.scrolled .header-inner {
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.6),
    -16px 0 38px -18px rgba(0, 195, 255, 0.35),
    16px 0 38px -18px rgba(255, 115, 0, 0.4);
}

.brand {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.01em;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  white-space: nowrap;
}

.brand-img { display: flex; align-items: center; }
.brand-img img {
  height: 48px;
  width: 48px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.18),
    -5px 0 16px -4px rgba(0, 195, 255, 0.45),
    5px 0 16px -4px rgba(255, 115, 0, 0.5);
}

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

.main-nav a {
  position: relative;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-soft);
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s, background 0.2s;
}
.main-nav a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

/* Enlace activo (scrollspy) */
.main-nav a.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(0, 195, 255, 0.14), rgba(255, 115, 0, 0.16));
}
.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-fire);
  box-shadow: 0 0 8px rgba(255, 115, 0, 0.9);
}

.header-cta { display: flex; align-items: center; gap: 12px; }

/* Teléfono como botón de fuego */
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  padding: 10px 19px;
  border-radius: 999px;
  background: var(--grad-fire);
  box-shadow: 0 0 16px rgba(255, 110, 0, 0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}
.header-phone svg { color: #fff; }
.header-phone:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(255, 110, 0, 0.75), 0 0 50px rgba(255, 60, 0, 0.35);
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  color: var(--text);
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s;
}
.nav-toggle:hover { border-color: var(--fire); color: var(--fire); }

/* ---------- Héroe ---------- */

.hero {
  position: relative;
  padding: 200px 0 130px;
  overflow: hidden;
  background:
    linear-gradient(100deg, rgba(5, 5, 7, 0.96) 0%, rgba(5, 5, 7, 0.82) 45%, rgba(5, 5, 7, 0.55) 100%),
    url("../images/2.webp") center / cover no-repeat;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}
.hero::before {
  background: radial-gradient(circle, rgba(0, 102, 255, 0.18), transparent 65%);
  top: -180px;
  left: -200px;
}
.hero::after {
  background: radial-gradient(circle, rgba(255, 90, 0, 0.14), transparent 65%);
  bottom: -260px;
  right: -180px;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.hero-copy { max-width: 640px; }

/* Tarjetas de cristal flotantes (columna derecha) */
.hero-cards {
  display: grid;
  gap: 20px;
}

.h-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(15, 16, 25, 0.78), rgba(20, 21, 34, 0.78)) padding-box,
    linear-gradient(135deg, rgba(255, 115, 0, 0.4), rgba(255, 255, 255, 0.07) 50%, rgba(255, 115, 0, 0.15)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.45);
}
.h-card.ice {
  background:
    linear-gradient(180deg, rgba(15, 16, 25, 0.78), rgba(20, 21, 34, 0.78)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.4), rgba(255, 255, 255, 0.07) 50%, rgba(0, 195, 255, 0.15)) border-box;
}

/* Distribución escalonada (los offsets usan margin para no chocar con los transforms de GSAP) */
.h-card:nth-child(1) { margin-right: 44px; }
.h-card:nth-child(2) { margin-left: 44px; margin-right: -8px; }
.h-card:nth-child(3) { margin-right: 18px; margin-left: 14px; }

.h-card .ic {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: var(--grad-fire);
  box-shadow: 0 0 16px rgba(255, 115, 0, 0.5);
}
.h-card.ice .ic {
  background: var(--grad-ice);
  box-shadow: 0 0 16px rgba(0, 195, 255, 0.5);
}
.h-card strong { font-family: var(--font-head); font-size: 16.5px; display: block; }
.h-card span { font-size: 14px; color: var(--text-soft); }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(0, 195, 255, 0.08);
  border: 1px solid rgba(0, 195, 255, 0.25);
  color: var(--ice);
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 26px;
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--fire);
  box-shadow: 0 0 10px rgba(255, 130, 0, 0.9);
}

.hero h1 {
  font-size: clamp(34px, 4.6vw, 54px);
  font-weight: 800;
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(90deg, #ffc400, #ff7300 28%, #ff3c00 50%, #ffc400 72%, #ff7300);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 4.5s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

/* Mientras SplitText divide el titular, cada palabra del .accent necesita
   su propio degradado: un hijo con transform rompe el background-clip del padre */
.hero h1 .accent .split-word {
  background: linear-gradient(90deg, #ffc400, #ff7300 50%, #ff3c00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1 .accent { animation: none; }
}

/* Chispas ambientales */
.hero-fx {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.spark {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  opacity: 0;
}
.spark-fire {
  background: #ffb000;
  box-shadow: 0 0 10px 2px rgba(255, 115, 0, 0.8);
}
.spark-ice {
  background: #aee9ff;
  box-shadow: 0 0 10px 2px rgba(0, 195, 255, 0.8);
}

/* Indicador de scroll */
.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-soft);
  background:
    linear-gradient(180deg, rgba(10, 11, 16, 0.7), rgba(15, 16, 25, 0.7)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.45), rgba(255, 115, 0, 0.5)) border-box;
  border: 1px solid transparent;
  backdrop-filter: blur(8px);
  transition: color 0.2s, box-shadow 0.25s;
}
.scroll-hint:hover {
  color: #fff;
  box-shadow: -8px 0 20px -8px rgba(0, 195, 255, 0.5), 8px 0 20px -8px rgba(255, 115, 0, 0.55);
}

.hero-text { color: var(--text-soft); max-width: 520px; margin-bottom: 36px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }

.hero-points {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 32px;
  margin-top: 64px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}
.hero-points li {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-soft);
  padding: 11px 20px;
  border-radius: 999px;
  background: rgba(15, 16, 25, 0.6);
  border: 1px solid var(--border);
  backdrop-filter: blur(8px);
  transition: border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.hero-points li:hover {
  color: var(--text);
  border-color: rgba(0, 195, 255, 0.45);
  box-shadow: 0 0 18px rgba(0, 195, 255, 0.18);
}
.hero-points svg { color: var(--ice); flex-shrink: 0; }

/* ---------- Servicios ---------- */

.services { background: var(--bg-alt); }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  position: relative;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.4), rgba(255, 255, 255, 0.05) 38%, rgba(255, 255, 255, 0.05) 62%, rgba(255, 115, 0, 0.4)) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  transform: translateY(-8px);
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.85), rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.1) 62%, rgba(255, 115, 0, 0.85)) border-box;
  box-shadow:
    var(--shadow),
    -14px 0 38px -12px rgba(0, 195, 255, 0.35),
    14px 0 38px -12px rgba(255, 115, 0, 0.4);
}

.service-card .img-wrap { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.service-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .img-wrap img { transform: scale(1.07); }
.service-card .img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 16, 25, 0.95), transparent 50%);
}

.service-card .body {
  position: relative;
  padding: 44px 28px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Insignia flotante sobre la foto */
.badge-ic {
  position: absolute;
  top: -29px;
  left: 26px;
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-fire);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 22px rgba(255, 115, 0, 0.6), 0 8px 18px rgba(0, 0, 0, 0.45);
  transition: transform 0.3s;
}
.badge-ic.badge-ice {
  background: var(--grad-ice);
  box-shadow: 0 0 22px rgba(0, 195, 255, 0.55), 0 8px 18px rgba(0, 0, 0, 0.45);
}
.service-card:hover .badge-ic { transform: translateY(-4px) rotate(-6deg); }

.service-card h3 { font-size: 21px; margin-bottom: 12px; }
.service-card p { color: var(--text-soft); font-size: 15.5px; flex: 1; }

.service-link {
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.service-link .arr {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 130, 0, 0.55);
  color: var(--fire);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.service-link:hover { color: var(--gold); }
.service-card:hover .service-link .arr {
  background: var(--grad-fire);
  color: #fff;
  transform: translateX(5px);
  box-shadow: 0 0 18px rgba(255, 115, 0, 0.6);
}

/* ---------- Por qué elegirnos ---------- */

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  counter-reset: feat;
}

.feature {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(160deg, rgba(0, 195, 255, 0.35), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.05)) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 32px 28px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.feature:nth-child(even) {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(160deg, rgba(255, 130, 0, 0.35), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.05)) border-box;
}

/* Numeración 01–06 en marca de agua */
.feature::after {
  counter-increment: feat;
  content: "0" counter(feat);
  position: absolute;
  top: 20px;
  right: 24px;
  font-family: var(--font-head);
  font-size: 30px;
  font-weight: 800;
  font-style: italic;
  color: rgba(255, 255, 255, 0.07);
  transition: color 0.3s;
}

/* Resplandor de esquina */
.feature::before {
  content: "";
  position: absolute;
  top: -70px;
  left: -70px;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.22), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.feature:nth-child(even)::before {
  background: radial-gradient(circle, rgba(255, 115, 0, 0.22), transparent 70%);
}

.feature:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(160deg, rgba(0, 195, 255, 0.85), rgba(255, 255, 255, 0.08) 50%, rgba(0, 195, 255, 0.3)) border-box;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), 0 0 34px rgba(0, 195, 255, 0.2);
}
.feature:nth-child(even):hover {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(160deg, rgba(255, 130, 0, 0.85), rgba(255, 255, 255, 0.08) 50%, rgba(255, 130, 0, 0.3)) border-box;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), 0 0 34px rgba(255, 115, 0, 0.2);
}
.feature:hover::before { opacity: 1; }
.feature:hover::after { color: rgba(0, 195, 255, 0.35); }
.feature:nth-child(even):hover::after { color: rgba(255, 130, 0, 0.4); }

.feature .ic {
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  background: var(--grad-ice);
  color: #fff;
  box-shadow: 0 0 18px rgba(0, 195, 255, 0.4), 0 6px 14px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s;
}
.feature:nth-child(even) .ic {
  background: var(--grad-fire);
  box-shadow: 0 0 18px rgba(255, 115, 0, 0.45), 0 6px 14px rgba(0, 0, 0, 0.35);
}
.feature:hover .ic { transform: scale(1.08) rotate(-5deg); }
.feature h3 { font-size: 18.5px; margin-bottom: 10px; }
.feature p { color: var(--text-soft); font-size: 15px; }

/* ---------- Cómo funciona ---------- */

.process { background: var(--bg-alt); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 26px 28px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -16px;
  left: 24px;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--grad-fire);
  padding: 5px 13px;
  border-radius: 999px;
}
.step:nth-child(odd)::before {
  background: linear-gradient(135deg, var(--ice), var(--ice-deep));
}
.step h3 { font-size: 18px; margin-bottom: 9px; }
.step p { font-size: 14.5px; color: var(--text-soft); }

/* ---------- Banda CTA / especialidad ---------- */

.cta-band { padding: 0; }

.cta-inner {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  background:
    radial-gradient(90% 140% at 0% 50%, rgba(0, 102, 255, 0.16), transparent 60%),
    radial-gradient(90% 140% at 100% 50%, rgba(255, 90, 0, 0.16), transparent 60%),
    var(--surface);
}

.cta-copy { padding: 56px 24px 56px 56px; }
.cta-copy h2 { font-size: clamp(26px, 3.4vw, 36px); margin-bottom: 16px; }
.cta-copy p { color: var(--text-soft); margin-bottom: 30px; }

.cta-media { height: 100%; min-height: 320px; position: relative; }
.cta-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--surface) 0%, transparent 35%);
}

/* ---------- Opiniones ---------- */

.testimonials .section-head { margin-bottom: 44px; }

.t-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 56px) / 3);
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 18px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 130, 0, 0.5) transparent;
}
.t-slider::-webkit-scrollbar { height: 6px; }
.t-slider::-webkit-scrollbar-thumb { background: rgba(255, 130, 0, 0.45); border-radius: 3px; }
.t-slider::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.05); border-radius: 3px; }

.t-card {
  position: relative;
  overflow: hidden;
  scroll-snap-align: start;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(150deg, rgba(255, 130, 0, 0.32), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.05)) border-box;
  border: 1px solid transparent;
  border-radius: 20px;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
}
.t-card:nth-child(even) {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(150deg, rgba(0, 195, 255, 0.32), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.05)) border-box;
}
.t-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 115, 0, 0.16);
}
.t-card:nth-child(even):hover {
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.4), 0 0 30px rgba(0, 195, 255, 0.16);
}

/* Comilla decorativa en marca de agua */
.t-card::before {
  content: "\201C";
  position: absolute;
  top: -2px;
  right: 20px;
  font-family: Georgia, serif;
  font-size: 96px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.t-card .stars {
  color: var(--gold);
  letter-spacing: 3px;
  font-size: 15px;
  margin-bottom: 16px;
  text-shadow: 0 0 12px rgba(255, 170, 0, 0.65);
}
.t-card blockquote { font-size: 15.5px; color: var(--text-soft); flex: 1; }
.t-card footer {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 13px;
}
.t-card footer .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--grad-fire);
  box-shadow: 0 0 14px rgba(255, 115, 0, 0.45);
}
.t-card:nth-child(even) footer .avatar {
  background: var(--grad-ice);
  box-shadow: 0 0 14px rgba(0, 195, 255, 0.45);
}
.t-card footer strong { font-family: var(--font-head); font-size: 16px; display: block; }
.t-card footer span { font-size: 13.5px; color: var(--text-faint); }

.t-nav { display: flex; gap: 12px; margin-top: 12px; }
.t-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.45), rgba(255, 115, 0, 0.45)) border-box;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, box-shadow 0.25s, transform 0.2s, background 0.25s;
}
.t-nav button:hover {
  color: #fff;
  transform: translateY(-2px);
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, var(--ice), var(--fire)) border-box;
  box-shadow: -6px 0 18px -6px rgba(0, 195, 255, 0.5), 6px 0 18px -6px rgba(255, 115, 0, 0.55);
}

/* ---------- FAQ ---------- */

.faq { background: var(--bg-alt); }

.faq-wrap { max-width: 800px; margin: 0 auto; counter-reset: faq; }

.faq-item {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)) border-box;
  border: 1px solid transparent;
  border-radius: 16px;
  margin-bottom: 14px;
  overflow: hidden;
  transition: background 0.3s, box-shadow 0.3s;
}
.faq-item.open {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.55), rgba(255, 255, 255, 0.08) 50%, rgba(255, 115, 0, 0.6)) border-box;
  box-shadow: -10px 0 26px -12px rgba(0, 195, 255, 0.4), 10px 0 26px -12px rgba(255, 115, 0, 0.45);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  padding: 22px 26px;
  cursor: pointer;
}

/* Numeración 01–05 */
.faq-q::before {
  counter-increment: faq;
  content: "0" counter(faq);
  flex-shrink: 0;
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  color: rgba(255, 255, 255, 0.22);
  transition: color 0.3s;
}
.faq-item.open .faq-q::before { color: var(--gold); text-shadow: 0 0 10px rgba(255, 170, 0, 0.7); }

.faq-q .chev {
  flex-shrink: 0;
  margin-left: auto;
  box-sizing: content-box;
  padding: 8px;
  border-radius: 50%;
  border: 1px solid rgba(255, 130, 0, 0.45);
  color: var(--fire);
  transition: transform 0.35s, background 0.3s, color 0.3s, box-shadow 0.3s;
}
.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 115, 0, 0.6);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 26px 24px;
  color: var(--text-soft);
  font-size: 15.5px;
}

/* ---------- Contacto ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 { font-size: clamp(28px, 3.6vw, 38px); margin-bottom: 16px; }
.contact-info > p { color: var(--text-soft); margin-bottom: 36px; }

.contact-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  margin-bottom: 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(255, 130, 0, 0.35), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05)) border-box;
  border: 1px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s;
}
.contact-line:nth-of-type(even) {
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.35), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05)) border-box;
}
.contact-line:hover {
  transform: translateX(5px);
  box-shadow: 0 0 26px rgba(255, 115, 0, 0.15);
}
.contact-line:nth-of-type(even):hover { box-shadow: 0 0 26px rgba(0, 195, 255, 0.15); }
.contact-line .ic {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--grad-fire);
  color: #fff;
  box-shadow: 0 0 16px rgba(255, 115, 0, 0.45);
}
.contact-line:nth-of-type(even) .ic {
  background: var(--grad-ice);
  box-shadow: 0 0 16px rgba(0, 195, 255, 0.45);
}
.contact-line span { display: block; font-size: 13px; color: var(--text-faint); }
.contact-line strong, .contact-line a.big {
  font-family: var(--font-head);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}
.contact-line a.big:hover { color: var(--fire); }

.contact-form {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--surface), var(--surface-2)) padding-box,
    linear-gradient(135deg, rgba(0, 195, 255, 0.45), rgba(255, 255, 255, 0.06) 40%, rgba(255, 255, 255, 0.06) 60%, rgba(255, 115, 0, 0.5)) border-box;
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 40px;
  box-shadow: var(--shadow);
}
/* Resplandores de esquina fuego/hielo */
.contact-form::before,
.contact-form::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
}
.contact-form::before {
  top: -110px;
  left: -110px;
  background: radial-gradient(circle, rgba(0, 195, 255, 0.16), transparent 70%);
}
.contact-form::after {
  bottom: -110px;
  right: -110px;
  background: radial-gradient(circle, rgba(255, 115, 0, 0.16), transparent 70%);
}
.contact-form h3 { font-size: 22px; margin-bottom: 6px; }
.contact-form .sub { color: var(--text-soft); font-size: 15px; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--fire);
  box-shadow: 0 0 0 3px rgba(255, 130, 0, 0.15);
}
.field select option { background: var(--surface); }

.form-ok {
  display: none;
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(0, 195, 255, 0.1);
  border: 1px solid rgba(0, 195, 255, 0.3);
  color: var(--ice);
  font-size: 14.5px;
}

/* ---------- Pie ---------- */

.site-footer {
  position: relative;
  background: #030304;
  padding: 72px 0 0;
}

/* Línea de neón hielo→fuego en el borde superior */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 195, 255, 0.8) 25%, rgba(255, 196, 0, 0.8) 60%, rgba(255, 60, 0, 0.8) 80%, transparent);
  box-shadow: 0 0 18px rgba(255, 115, 0, 0.4), 0 0 18px rgba(0, 195, 255, 0.3);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 44px;
  padding-bottom: 56px;
}

.footer-grid .brand { font-size: 24px; display: inline-block; margin-bottom: 18px; }
.footer-grid p { color: var(--text-soft); font-size: 15px; max-width: 320px; }

.site-footer h4 {
  position: relative;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 24px;
  padding-bottom: 12px;
}
.site-footer h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad-fire);
  box-shadow: 0 0 10px rgba(255, 115, 0, 0.8);
}
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 11px; }
.site-footer ul a { color: var(--text-soft); font-size: 15px; transition: color 0.2s, padding-left 0.2s; }
.site-footer ul a:hover { color: var(--gold); padding-left: 6px; }

.footer-contact li {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  color: var(--text-soft);
  font-size: 15px;
}
.footer-contact svg { color: var(--fire); flex-shrink: 0; margin-top: 4px; }
.footer-contact a { color: var(--text); font-weight: 600; }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--text-faint);
}
.footer-bottom .mini-links { display: flex; gap: 22px; }
.footer-bottom .mini-links a { color: var(--text-faint); font-size: 14px; }
.footer-bottom .mini-links a:hover { color: var(--fire); }

/* ---------- Botón flotante WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  isolation: isolate;
  background: linear-gradient(115deg, #4dd9ff 0%, #0066ff 46%, #ff7300 54%, #ff3c00 100%);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.wa-float svg { position: relative; z-index: 2; filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.5)); }

/* Anillo cónico fuego/hielo girando alrededor del botón */
.wa-float::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: conic-gradient(#00c3ff, #0066ff, #ff3c00, #ff7300, #ffc400, #ff7300, #ff3c00, #0066ff, #00c3ff);
  z-index: -1;
  animation: waSpin 3.5s linear infinite;
}
/* Halo difuminado del mismo anillo, girando detrás */
.wa-float::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: conic-gradient(#00c3ff, #0066ff, #ff3c00, #ff7300, #ffc400, #ff7300, #ff3c00, #0066ff, #00c3ff);
  filter: blur(18px);
  opacity: 0.85;
  z-index: -2;
  animation: waSpin 3.5s linear infinite;
}

@keyframes waSpin {
  to { transform: rotate(360deg); }
}

/* Contenedores recortados: las partículas solo existen dentro de su mitad,
   con la misma diagonal (115°) que divide la cara del botón */
.wa-clip {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.wa-clip-fire {
  -webkit-mask-image: linear-gradient(115deg, transparent 0 50%, #000 50%);
  mask-image: linear-gradient(115deg, transparent 0 50%, #000 50%);
}
.wa-clip-ice {
  -webkit-mask-image: linear-gradient(115deg, #000 0 50%, transparent 50%);
  mask-image: linear-gradient(115deg, #000 0 50%, transparent 50%);
}

/* Llamas dentro de la mitad de fuego */
.wa-flame {
  position: absolute;
  bottom: 2px;
  width: 11px;
  height: 15px;
  border-radius: 50% 50% 45% 55% / 70% 70% 30% 30%;
  background: radial-gradient(circle at 50% 75%, #ffe27a 0%, #ffc400 30%, #ff7300 60%, rgba(255, 60, 0, 0) 95%);
  filter: blur(1px);
  opacity: 0;
}
.wa-flame:nth-of-type(1) { right: 10px; }
.wa-flame:nth-of-type(2) { right: 21px; bottom: -2px; width: 9px; height: 12px; }
.wa-flame:nth-of-type(3) { right: 2px; bottom: 6px; width: 8px; height: 11px; }

/* Gotas dentro de la mitad de agua/hielo */
.wa-drop {
  position: absolute;
  top: 2px;
  width: 6px;
  height: 9px;
  border-radius: 50% 50% 50% 50% / 35% 35% 65% 65%;
  background: linear-gradient(180deg, #e8f9ff, #7fe3ff 45%, #00a8e8);
  box-shadow: 0 0 7px rgba(0, 195, 255, 0.85);
  opacity: 0;
}
.wa-drop:nth-of-type(1) { left: 10px; }
.wa-drop:nth-of-type(2) { left: 20px; top: -2px; width: 5px; height: 7px; }
.wa-drop:nth-of-type(3) { left: 3px; top: 10px; width: 4px; height: 6px; }

/* ---------- Responsive ---------- */

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-cards { max-width: 520px; }
  .h-card:nth-child(1), .h-card:nth-child(2), .h-card:nth-child(3) { margin: 0; }
  .hero-points { justify-content: flex-start; }
  .cards-3, .features-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 38px; }
  .t-slider { grid-auto-columns: calc((100% - 28px) / 2); }
  .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .main-nav {
    position: fixed;
    top: 92px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background:
      linear-gradient(180deg, rgba(10, 11, 16, 0.96), rgba(15, 16, 25, 0.96)) padding-box,
      linear-gradient(135deg, rgba(0, 195, 255, 0.4), rgba(255, 255, 255, 0.08) 50%, rgba(255, 115, 0, 0.45)) border-box;
    border: 1px solid transparent;
    border-radius: 22px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.6);
    padding: 14px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 13px 16px; font-size: 16px; border-radius: 14px; }
  .main-nav a.active::after { display: none; }
  .nav-toggle { display: flex; }
  .header-phone { padding: 10px 13px; }
  .header-phone span { display: none; }
}

@media (max-width: 640px) {
  section { padding: 72px 0; }
  .hero { padding: 150px 0 80px; }
  .cards-3, .features-grid, .steps { grid-template-columns: 1fr; }
  .t-slider { grid-auto-columns: 88%; }
  .cta-inner { grid-template-columns: 1fr; }
  .cta-copy { padding: 40px 28px; }
  .cta-media { min-height: 240px; order: -1; }
  .cta-media::after { background: linear-gradient(to top, var(--surface) 0%, transparent 45%); }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { justify-content: center; text-align: center; }
}
