/* ==========================================================================
   ALQUIMIA TECH — Sistema de diseño
   Paleta derivada del logo: escudo teal de circuito + dragón plateado
   Compartido por index.html (servicio técnico) y web.html (presencia digital)
   ========================================================================== */

:root {
  /* Fondos — del interior oscuro del escudo */
  --bg:            #060d0d;
  --bg-alt:        #0a1413;
  --surface:       #0e1b19;
  --surface-hi:    #132522;
  --border:        #1c3531;
  --border-hi:     #2a4f48;

  /* Teal del circuito impreso */
  --teal:          #14b8a6;
  --teal-bright:   #2dd4bf;
  --teal-glow:     #5eead4;
  --teal-deep:     #0d7a70;

  /* Plata del dragón */
  --silver:        #cbd5d8;
  --silver-dim:    #8fa3a6;

  /* Texto */
  --text:          #e8f0ee;
  --text-soft:     #a9bdb9;
  --text-mute:     #7b918d;

  /* Acento cálido para precios y destacados */
  --gold:          #e3b23c;

  /* Espaciado */
  --wrap:          1180px;
  --gap:           clamp(1rem, 2.5vw, 1.75rem);
  --section-y:     clamp(4rem, 9vw, 7.5rem);
  --radius:        14px;
  --radius-lg:     20px;

  /* Sombras */
  --shadow:        0 12px 40px -12px rgba(0, 0, 0, .7);
  --shadow-teal:   0 10px 40px -12px rgba(20, 184, 166, .45);

  --ease:          cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
ul { list-style: none; padding: 0; }

:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ==========================================================================
   Tipografía
   ========================================================================== */

h1, h2, h3, h4 {
  line-height: 1.15;
  letter-spacing: -.02em;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.1rem, 1.35rem + 3.6vw, 4rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.85rem); }
h3 { font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }

p { text-wrap: pretty; }

.lead {
  font-size: clamp(1.05rem, 1rem + .38vw, 1.28rem);
  color: var(--text-soft);
  line-height: 1.7;
}

.text-teal { color: var(--teal-bright); }

/* Gradiente metálico que evoca al dragón del logo */
.text-metal {
  background: linear-gradient(120deg, #ffffff 0%, var(--silver) 45%, #7f9296 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

section { position: relative; }

.section {
  padding-block: var(--section-y);
}

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--border);
}

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head p {
  margin-top: 1rem;
  color: var(--text-soft);
  font-size: clamp(1rem, .97rem + .25vw, 1.13rem);
}

/* Etiqueta pequeña sobre cada título de sección */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  padding: .35rem .85rem;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: rgba(20, 184, 166, .07);
  color: var(--teal-bright);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-bright);
  box-shadow: 0 0 8px var(--teal-glow);
}

/* ==========================================================================
   Botones
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 650;
  letter-spacing: -.01em;
  text-align: center;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease),
              background-color .2s var(--ease), border-color .2s var(--ease);
}

.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  color: #04201d;
  box-shadow: var(--shadow-teal);
}

.btn--primary:hover {
  box-shadow: 0 14px 44px -10px rgba(45, 212, 191, .6);
}

.btn--ghost {
  border: 1px solid var(--border-hi);
  background: rgba(255, 255, 255, .02);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: var(--teal);
  background: rgba(20, 184, 166, .08);
}

.btn--block { width: 100%; }
.btn--sm { padding: .7rem 1.2rem; font-size: .92rem; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
}

.header.is-stuck {
  background: rgba(6, 13, 13, .88);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-right: auto;
  font-weight: 700;
  letter-spacing: -.02em;
}

.brand img { width: 42px; height: 42px; object-fit: contain; }

.brand__name { font-size: 1.05rem; line-height: 1.1; }

.brand__tag {
  display: block;
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--teal);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  color: var(--text-soft);
  transition: color .2s var(--ease);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--teal-bright);
  transition: width .25s var(--ease);
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

.nav-toggle { display: none; }

@media (max-width: 900px) {
  .header__inner { height: 64px; }

  .nav-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-hi);
    border-radius: 11px;
    background: var(--surface);
  }

  .nav-toggle span {
    position: relative;
    display: block;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: background-color .2s var(--ease);
  }

  .nav-toggle span::before,
  .nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: var(--text);
    transition: transform .25s var(--ease);
  }

  .nav-toggle span::before { top: -6px; }
  .nav-toggle span::after  { top: 6px; }

  .nav-toggle[aria-expanded="true"] span { background: transparent; }
  .nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

  .nav {
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 1.25rem 1.5rem;
    background: rgba(6, 13, 13, .97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform-origin: top;
    /* Oculto por defecto en móvil; JS alterna .is-open */
    display: none;
  }

  .nav.is-open { display: flex; animation: navDrop .25s var(--ease); }

  .nav a {
    padding: .95rem .25rem;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }

  .nav a::after { display: none; }

  .nav .btn { margin-top: 1.1rem; }
}

@keyframes navDrop {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) clamp(4rem, 8vw, 6.5rem);
  overflow: hidden;
}

/* Malla de circuito + resplandor teal, guiño al fondo del escudo */
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto;
  height: 150%;
  background:
    radial-gradient(ellipse 60% 50% at 70% 15%, rgba(20, 184, 166, .16), transparent 65%),
    radial-gradient(ellipse 50% 40% at 15% 40%, rgba(45, 212, 191, .08), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, .055) 1px, transparent 1px);
  background-size: 62px 62px;
  mask-image: radial-gradient(ellipse 75% 65% at 50% 30%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero .wrap { position: relative; z-index: 1; }

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 960px) {
  .hero__grid { grid-template-columns: 1.15fr .85fr; }
}

.hero h1 { margin-bottom: 1.35rem; }
.hero .lead { margin-bottom: 2rem; max-width: 36rem; }

/* Píldora de reputación sobre el título */
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.5rem;
  padding: .45rem .95rem .45rem .55rem;
  border: 1px solid var(--border-hi);
  border-radius: 999px;
  background: var(--surface);
  font-size: .85rem;
  color: var(--text-soft);
}

.rating-pill strong { color: var(--text); font-weight: 650; }

.stars {
  display: inline-flex;
  gap: 1px;
  color: var(--gold);
}

.stars svg { width: 14px; height: 14px; }

/* Sellos de confianza bajo los botones del hero */
.hero__seals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem 2rem;
  margin-top: 2.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.seal {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .89rem;
  color: var(--text-soft);
}

.seal svg { width: 20px; height: 20px; color: var(--teal-bright); flex: none; }

/* Tarjeta visual del hero */
.hero__card {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.15rem);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(20, 184, 166, .09), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero__card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(150deg, rgba(94, 234, 212, .5), transparent 45%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero__card h3 {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.35rem;
  font-size: 1.02rem;
}

.hero__card h3 svg { width: 20px; height: 20px; color: var(--teal-bright); }

/* Fila de temperaturas antes/después */
.temps {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(0, 0, 0, .28);
}

.temp { text-align: center; }

.temp__label {
  display: block;
  margin-bottom: .3rem;
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.temp__value {
  font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.15rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.03em;
}

.temp--before .temp__value { color: #f2757a; }
.temp--after  .temp__value { color: var(--teal-bright); }

.temp__arrow { color: var(--text-mute); }
.temp__arrow svg { width: 22px; height: 22px; }

.hero__card ul {
  display: grid;
  gap: .7rem;
  margin-top: 1.35rem;
}

.hero__card li {
  display: flex;
  gap: .65rem;
  font-size: .93rem;
  color: var(--text-soft);
}

.hero__card li svg {
  width: 17px;
  height: 17px;
  margin-top: .22rem;
  color: var(--teal);
  flex: none;
}

.hero__card .note {
  margin-top: 1.35rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
  color: var(--text-mute);
}

/* ==========================================================================
   Franja de diferenciadores
   ========================================================================== */

.pillars {
  display: grid;
  gap: 1px;
  background: var(--border);
  border-block: 1px solid var(--border);
}

@media (min-width: 640px) { .pillars { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .pillars { grid-template-columns: repeat(4, 1fr); } }

.pillar {
  padding: clamp(1.6rem, 3vw, 2.25rem) clamp(1.25rem, 2.5vw, 1.85rem);
  background: var(--bg);
  transition: background-color .25s var(--ease);
}

.pillar:hover { background: var(--surface); }

.pillar svg {
  width: 26px;
  height: 26px;
  margin-bottom: .95rem;
  color: var(--teal-bright);
}

.pillar h3 { margin-bottom: .5rem; font-size: 1.02rem; }

.pillar p { font-size: .91rem; color: var(--text-soft); line-height: 1.6; }

/* ==========================================================================
   Grilla de servicios
   ========================================================================== */

.cards {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 2.6vw, 1.95rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .28s var(--ease), border-color .28s var(--ease),
              box-shadow .28s var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hi);
  box-shadow: var(--shadow);
}

/* Variante destacada — el servicio estrella */
.card--featured {
  border-color: var(--teal-deep);
  background:
    linear-gradient(165deg, rgba(20, 184, 166, .11), transparent 50%),
    var(--surface-hi);
}

.card--featured:hover { border-color: var(--teal); box-shadow: var(--shadow-teal); }

.card__badge {
  position: absolute;
  top: -11px;
  left: clamp(1.5rem, 2.6vw, 1.95rem);
  padding: .28rem .8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--teal-bright), var(--teal-deep));
  color: #04201d;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .04em;
  white-space: nowrap;
}

.card__icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.15rem;
  border: 1px solid var(--border-hi);
  border-radius: 13px;
  background: rgba(20, 184, 166, .09);
}

.card__icon svg { width: 22px; height: 22px; color: var(--teal-bright); }

.card h3 { margin-bottom: .55rem; }

.card__desc {
  margin-bottom: 1.15rem;
  font-size: .93rem;
  color: var(--text-soft);
  line-height: 1.6;
}

.card__price {
  display: flex;
  align-items: baseline;
  gap: .4rem;
  margin-bottom: 1.15rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border);
}

.card__price small {
  font-size: .78rem;
  color: var(--text-mute);
  letter-spacing: .04em;
  text-transform: uppercase;
}

.card__price strong {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--text);
}

/* Lista de prestaciones con check */
.check-list {
  display: grid;
  gap: .62rem;
  margin-bottom: 1.6rem;
}

.check-list li {
  display: flex;
  gap: .6rem;
  font-size: .91rem;
  color: var(--text-soft);
  line-height: 1.55;
}

.check-list li svg {
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  color: var(--teal);
  flex: none;
}

.card .btn { margin-top: auto; }

/* Lista compacta de servicios secundarios */
.mini-grid {
  display: grid;
  gap: 1px;
  margin-top: var(--gap);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--border);
  overflow: hidden;
}

@media (min-width: 620px)  { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .mini-grid { grid-template-columns: repeat(3, 1fr); } }

.mini {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: 1.15rem 1.35rem;
  background: var(--surface);
  transition: background-color .22s var(--ease);
}

.mini:hover { background: var(--surface-hi); }

.mini__name { font-size: .94rem; font-weight: 550; }

.mini__price {
  margin-left: auto;
  font-size: .92rem;
  font-weight: 650;
  color: var(--teal-bright);
  white-space: nowrap;
}

/* ==========================================================================
   Proceso por pasos
   ========================================================================== */

.steps {
  display: grid;
  gap: var(--gap);
  counter-reset: step;
}

@media (min-width: 720px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }

.step {
  position: relative;
  padding: 1.75rem 1.4rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  margin-bottom: .9rem;
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--teal-deep);
}

.step h3 { margin-bottom: .5rem; font-size: 1.05rem; }
.step p { font-size: .91rem; color: var(--text-soft); line-height: 1.6; }

/* ==========================================================================
   Reseñas
   ========================================================================== */

.reviews {
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.review {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.4vw, 1.8rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.review .stars { margin-bottom: .9rem; }
.review .stars svg { width: 16px; height: 16px; }

.review p {
  margin-bottom: 1.25rem;
  font-size: .96rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.review__author {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.avatar {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-deep), var(--surface-hi));
  border: 1px solid var(--border-hi);
  font-size: .85rem;
  font-weight: 700;
  color: var(--teal-glow);
  flex: none;
}

.review__name { font-size: .93rem; font-weight: 600; line-height: 1.3; }
.review__meta { font-size: .79rem; color: var(--text-mute); }

/* ==========================================================================
   Caja de información / condiciones
   ========================================================================== */

.info-grid {
  display: grid;
  gap: var(--gap);
}

@media (min-width: 880px) { .info-grid { grid-template-columns: repeat(2, 1fr); } }

.info-box {
  padding: clamp(1.5rem, 2.8vw, 2.1rem);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.info-box h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1.15rem;
}

.info-box h3 svg { width: 21px; height: 21px; color: var(--teal-bright); flex: none; }

.info-box .check-list { margin-bottom: 0; }

.info-box--warn { border-color: rgba(227, 178, 60, .28); }
.info-box--warn h3 svg { color: var(--gold); }
.info-box--warn .check-list li svg { color: var(--gold); }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  max-width: 52rem;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.faq details {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.faq details:last-child { border-bottom: 0; }

.faq summary {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem clamp(1.1rem, 2.4vw, 1.6rem);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color .2s var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-bright); }

.faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  margin-left: auto;
  border-right: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform .25s var(--ease);
  flex: none;
}

.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }

.faq details > div {
  padding: 0 clamp(1.1rem, 2.4vw, 1.6rem) 1.4rem;
  font-size: .95rem;
  color: var(--text-soft);
  line-height: 1.7;
}

.faq details > div p + p { margin-top: .8rem; }

/* ==========================================================================
   Bloque puente entre las dos landings
   ========================================================================== */

.bridge {
  position: relative;
  padding: clamp(2rem, 4.5vw, 3.25rem);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 70% 100% at 85% 50%, rgba(20, 184, 166, .13), transparent 65%),
    var(--surface);
  overflow: hidden;
}

.bridge__grid {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 880px) {
  .bridge__grid { grid-template-columns: 1fr auto; gap: 3rem; }
}

.bridge h2 { font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2.15rem); margin-bottom: .85rem; }
.bridge p { color: var(--text-soft); max-width: 42rem; }

/* ==========================================================================
   CTA final
   ========================================================================== */

.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(20, 184, 166, .14), transparent 70%);
  pointer-events: none;
}

.cta .wrap { position: relative; z-index: 1; }
.cta h2 { margin-bottom: 1.1rem; }

.cta p {
  max-width: 40rem;
  margin: 0 auto 2rem;
  color: var(--text-soft);
  font-size: clamp(1rem, .97rem + .3vw, 1.15rem);
}

.cta .btn-row { justify-content: center; }

.cta__note {
  margin-top: 1.75rem !important;
  font-size: .88rem;
  color: var(--text-mute);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  padding-block: clamp(3rem, 5vw, 4.25rem) 2rem;
  border-top: 1px solid var(--border);
  background: var(--bg-alt);
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.75rem;
}

@media (min-width: 760px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; }
}

.footer .brand { margin-right: 0; margin-bottom: 1.1rem; }

.footer__about {
  font-size: .92rem;
  color: var(--text-soft);
  line-height: 1.65;
  max-width: 30rem;
}

.footer h4 {
  margin-bottom: 1.1rem;
  font-size: .78rem;
  font-weight: 650;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.footer ul { display: grid; gap: .7rem; }

.footer li,
.footer li a {
  font-size: .92rem;
  color: var(--text-soft);
  transition: color .2s var(--ease);
}

.footer li a:hover { color: var(--teal-bright); }

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  margin-top: .28rem;
  color: var(--teal);
  flex: none;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
  align-items: center;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-mute);
}

.footer__bottom p:last-child { margin-left: auto; }

/* ==========================================================================
   Botón flotante de WhatsApp
   ========================================================================== */

.wa-float {
  position: fixed;
  right: clamp(1rem, 3vw, 1.75rem);
  bottom: clamp(1rem, 3vw, 1.75rem);
  z-index: 90;
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .8rem 1.3rem .8rem .9rem;
  border-radius: 999px;
  background: #25d366;
  color: #052e16;
  font-size: .95rem;
  font-weight: 650;
  box-shadow: 0 10px 34px -8px rgba(37, 211, 102, .55);
  transition: transform .35s var(--ease), opacity .35s var(--ease),
              box-shadow .25s var(--ease);
}

/* Solo se esconde si el JS puede volver a mostrarlo tras el hero */
.js .wa-float { transform: translateY(120%); opacity: 0; }
.js .wa-float.is-visible { transform: translateY(0); opacity: 1; }

.wa-float:hover {
  box-shadow: 0 14px 40px -8px rgba(37, 211, 102, .7);
}

.wa-float svg { width: 26px; height: 26px; flex: none; }

@media (max-width: 520px) {
  .wa-float__text { display: none; }
  .wa-float { padding: .9rem; }
}

/* ==========================================================================
   Animación de entrada al hacer scroll
   ========================================================================== */

/* El estado oculto solo se aplica si el JS está vivo (clase .js en <html>).
   Sin JS, el contenido se muestra completo: nunca una página en blanco. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
}

.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .js .reveal { opacity: 1; transform: none; }
  .wa-float { transform: none; opacity: 1; }
}
