/* =============================================================
   DADA — Mantenimiento integral y aire acondicionado
   Arquetipo: Glassmorphism Modern (paleta adaptada a climatización)

   1. Tokens
   2. Reset y base
   3. Utilidades
   4. Tipografía
   5. Componentes
   6. Secciones
   7. Efectos
   8. Responsive
   9. Reduced motion
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  /* Superficies */
  --bg:          #eaf1f8;
  --bg-solid:    #f4f8fc;
  --paper:       #ffffff;

  /* Tinta */
  --ink:         #0b1a2b;
  --ink-soft:    #33506d;
  --ink-mute:    #6c8299;

  /* Acentos — tomados del logo de DADA */
  --accent:      #3757fa;   /* azul DADA */
  --accent-deep: #2440cc;   /* azul profundo, para texto sobre claro */
  --accent-2:    #a897dd;   /* lila DADA (decorativo) */
  --accent-2-ink:#7159bd;   /* lila legible sobre fondo claro */

  /* WhatsApp (color funcional, reconocible) */
  --wa:          #1eb457;
  --wa-deep:     #14803e;

  /* Cristal */
  --glass:       rgba(255, 255, 255, 0.58);
  --glass-soft:  rgba(255, 255, 255, 0.38);
  --glass-line:  rgba(255, 255, 255, 0.75);
  --line:        rgba(11, 26, 43, 0.10);

  /* Malla de color del fondo (máximo 3 tonos, familia de la marca) */
  --mesh-1:      #b9c8ff;
  --mesh-2:      #d7cdf3;
  --mesh-3:      #c8dcff;

  /* Tipografía */
  --display: "Manrope", "Segoe UI", system-ui, sans-serif;
  --sans:    "Inter", "Segoe UI", system-ui, sans-serif;

  /* Curvas */
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:   cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Medidas */
  --nav-h:  74px;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 10px rgba(11, 26, 43, 0.05);
  --shadow:    0 18px 44px -18px rgba(11, 26, 43, 0.28);
  --shadow-lg: 0 40px 80px -30px rgba(30, 40, 110, 0.42);
}

/* =============================================================
   2. RESET Y BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--display); text-wrap: balance; line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
ul, ol { list-style: none; padding: 0; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* =============================================================
   3. UTILIDADES
   ============================================================= */
.wrap {
  width: min(100% - 2.5rem, 1200px);
  margin-inline: auto;
}
.wrap-narrow { width: min(100% - 2.5rem, 860px); }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 999;
  padding: .7rem 1.1rem; border-radius: 10px;
  background: var(--ink); color: #fff; font-weight: 600;
}
.skip-link:focus { top: 1rem; }

/* Cristal — con respaldo sólido si el navegador no soporta blur */
.glass {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--glass-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
@supports ((backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px))) {
  .glass {
    background: var(--glass);
    -webkit-backdrop-filter: blur(22px) saturate(175%);
    backdrop-filter: blur(22px) saturate(175%);
  }
}

/* =============================================================
   4. TIPOGRAFÍA
   ============================================================= */
.kicker {
  display: inline-flex; align-items: center; gap: .55rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .09em;
  text-transform: uppercase; color: var(--accent-deep);
}
.kicker .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 4px rgba(168, 151, 221, 0.32);
}

.eyebrow {
  font-size: .78rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: .9rem;
}

.section-title {
  font-size: clamp(1.95rem, 5.2vw, 3.15rem);
  max-width: 20ch;
}

.section-lead {
  margin-top: 1.1rem;
  max-width: 58ch;
  font-size: clamp(1rem, 1.6vw, 1.12rem);
  color: var(--ink-soft);
}

/* =============================================================
   5. COMPONENTES
   ============================================================= */

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .78rem 1.35rem;
  border-radius: 999px;
  font-family: var(--display);
  font-weight: 600; font-size: .95rem; line-height: 1;
  white-space: nowrap;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out),
              background-color .3s var(--ease-out), color .3s var(--ease-out);
  will-change: transform;
}
.btn-lg { padding: 1.02rem 1.8rem; font-size: 1.02rem; }
.btn-sm { padding: .62rem 1.05rem; font-size: .88rem; }

.btn-solid {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(55, 87, 250, 0.75);
}
.btn-solid:hover { box-shadow: 0 20px 34px -14px rgba(55, 87, 250, 0.85); }

.btn-wa {
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-deep) 100%);
  color: #fff;
  box-shadow: 0 12px 26px -12px rgba(30, 180, 87, 0.8);
}
.btn-wa:hover { box-shadow: 0 20px 36px -14px rgba(30, 180, 87, 0.9); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { background: #fff; border-color: rgba(55, 87, 250, 0.35); }

.ico-wa { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: .9rem 0;
  transition: padding .5s var(--ease-out);
}
.nav-inner {
  width: min(100% - 2rem, 1260px);
  margin-inline: auto;
  min-height: var(--nav-h);
  padding: .55rem .7rem .55rem 1.1rem;
  display: flex; align-items: center; gap: 1rem;
  border-radius: 999px;
  transition: box-shadow .5s var(--ease-out), background-color .5s var(--ease-out);
}
.nav.is-stuck { padding: .5rem 0; }
.nav.is-stuck .nav-inner { box-shadow: 0 20px 44px -24px rgba(30, 40, 110, 0.45); }

.brand { display: flex; align-items: center; gap: .7rem; flex: none; }
.brand-mark {
  width: 40px; height: 40px; flex: none;
  object-fit: contain;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--display); font-weight: 800;
  font-size: 1.28rem; letter-spacing: .01em;
}
.brand-text em {
  font-style: normal; font-size: .55rem; font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase; color: var(--ink-mute);
  max-width: 26ch;
}
@media (max-width: 1099px) { .brand-text em { display: none; } }

.nav-links { display: none; margin-inline: auto; gap: 1.7rem; }
.nav-links a {
  position: relative;
  font-size: .93rem; font-weight: 500; color: var(--ink-soft);
  padding-block: .35rem;
  transition: color .3s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
/* Subrayado animado */
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after,
.nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a.is-active { color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.nav-toggle {
  width: 44px; height: 44px; flex: none;
  display: grid; place-content: center; gap: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}
.nav-toggle span {
  display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink);
  transition: transform .4s var(--ease-out), opacity .3s var(--ease-out);
}
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child  { transform: translateY(-3.5px) rotate(-45deg); }

.nav-mobile {
  width: min(100% - 2rem, 1260px);
  margin: .6rem auto 0;
  padding: .6rem;
  display: grid;
  border-radius: 24px;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  padding: .85rem 1rem;
  border-radius: 14px;
  font-weight: 500; color: var(--ink-soft);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out);
}
.nav-mobile a:hover { background: rgba(55, 87, 250, 0.08); color: var(--ink); }

/* ---------- Tarjetas ---------- */
.card {
  padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
  will-change: transform;
}
.card:hover { box-shadow: var(--shadow-lg); }

/* Foto de la tarjeta: sangra hasta los bordes superiores */
.card-photo {
  width: calc(100% + 3.4rem);
  margin: -1.9rem -1.7rem 0;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}

.card-ico {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  margin-bottom: 1.15rem;
  color: var(--accent-deep);
  background-color: rgba(255, 255, 255, 0.94);
  background-image: linear-gradient(140deg, rgba(55, 87, 250, 0.15), rgba(168, 151, 221, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.7);
}
/* Cuando hay foto, el icono flota sobre su borde inferior */
.card-photo + .card-ico {
  position: relative; z-index: 1;
  margin-top: -1.85rem;
  box-shadow: 0 10px 24px -12px rgba(11, 26, 43, 0.5);
}
.card-ico svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.33rem; margin-bottom: .6rem; }
.card p { color: var(--ink-soft); font-size: .97rem; }

.card-list {
  margin-top: 1.15rem; padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  display: grid; gap: .5rem;
}
.card-list li {
  position: relative; padding-left: 1.4rem;
  font-size: .9rem; color: var(--ink-soft);
}
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .58em;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent-2);
}

.card-cta {
  justify-content: center;
  background: linear-gradient(150deg, rgba(55, 87, 250, 0.10), rgba(168, 151, 221, 0.20));
  border: 1px dashed rgba(55, 87, 250, 0.4);
}
.card-cta h3 { font-size: 1.25rem; }
.card-cta .btn { margin-top: 1.4rem; align-self: flex-start; }

/* ---------- Planes / pólizas ---------- */
.seg {
  position: relative;
  display: inline-flex; padding: .34rem;
  margin-inline: auto;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-sm);
}
.seg label {
  position: relative; z-index: 1;
  padding: .68rem 1.6rem;
  border-radius: 999px;
  font-family: var(--display); font-weight: 600; font-size: .95rem;
  color: var(--ink-soft); cursor: pointer;
  transition: color .35s var(--ease-out);
}
.seg-pill {
  position: absolute; z-index: 0; top: .34rem; bottom: .34rem;
  width: calc(50% - .34rem); left: .34rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  box-shadow: 0 10px 22px -12px rgba(55, 87, 250, 0.9);
  transition: transform .55s var(--ease-out);
}
#pol-emp:checked ~ .seg .seg-pill { transform: translateX(100%); }
#pol-dom:checked ~ .seg label[for="pol-dom"],
#pol-emp:checked ~ .seg label[for="pol-emp"] { color: #fff; }

.poliza-panel { display: none; margin-top: 2.6rem; gap: 1.4rem; }
#pol-dom:checked ~ [data-panel="dom"],
#pol-emp:checked ~ [data-panel="emp"] { display: grid; }
/* Sin JS y sin :checked los dos paneles siguen siendo legibles */
.no-js .poliza-panel { display: grid; }

.plan {
  padding: 2rem 1.75rem;
  display: flex; flex-direction: column;
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out);
}
.plan:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.plan-featured {
  border: 1px solid rgba(55, 87, 250, 0.4);
  box-shadow: 0 34px 70px -28px rgba(30, 40, 110, 0.5);
}
.plan-badge {
  align-self: flex-start;
  margin-bottom: .9rem; padding: .35rem .85rem;
  border-radius: 999px;
  font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
}
.plan-name { font-size: 1.5rem; }
.plan-for { margin-top: .35rem; font-size: .92rem; color: var(--ink-mute); }
.plan-price {
  margin-top: 1.1rem; padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--display); font-weight: 700; font-size: 1.1rem;
  color: var(--accent-deep);
}
.plan-list { margin: 1.25rem 0 1.9rem; display: grid; gap: .7rem; }
.plan-list li {
  position: relative; padding-left: 1.75rem;
  font-size: .94rem; color: var(--ink-soft);
}
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: rgba(55, 87, 250, 0.14);
}
.plan-list li::after {
  content: ""; position: absolute; left: .3rem; top: .62em;
  width: .5rem; height: .28rem;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; width: 100%; }

.polizas-note {
  margin-top: 2.2rem; text-align: center;
  font-size: .92rem; color: var(--ink-mute);
  max-width: 62ch; margin-inline: auto;
}

/* ---------- Pasos ---------- */
.steps { display: grid; gap: 1.2rem; margin-top: 3rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.6rem; }
.step-num {
  display: block; margin-bottom: .9rem;
  font-family: var(--display); font-weight: 800; font-size: 2.1rem;
  line-height: 1;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.step h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .9rem; }
.faq details { padding: .3rem 1.4rem; border-radius: var(--radius-sm); }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.15rem 2.2rem 1.15rem 0;
  position: relative;
  font-family: var(--display); font-weight: 600; font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 50%;
  width: 11px; height: 11px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .4s var(--ease-out);
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq details p {
  padding-bottom: 1.3rem;
  color: var(--ink-soft); font-size: .96rem;
  max-width: 66ch;
}

/* ---------- Formulario ---------- */
.form { padding: 1.9rem 1.7rem; display: grid; gap: 1.05rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink-soft); }
.field .opt { font-weight: 400; color: var(--ink-mute); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  font: inherit; font-size: .96rem; color: var(--ink);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #9fb1c4; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(55, 87, 250, 0.14);
}
.field.has-error input { border-color: #d64545; box-shadow: 0 0 0 4px rgba(214, 69, 69, 0.12); }
.field-error { font-size: .82rem; color: #c22f2f; }

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%2333506d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 12px;
  padding-right: 2.6rem;
}

.btn-submit { width: 100%; margin-top: .3rem; }
.form-note { font-size: .82rem; color: var(--ink-mute); text-align: center; }
.form-ok {
  padding: .95rem 1.1rem;
  border-radius: 12px;
  background: rgba(55, 87, 250, 0.10);
  border: 1px solid rgba(55, 87, 250, 0.35);
  font-size: .92rem; color: var(--accent-deep);
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-fab {
  position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, var(--wa) 0%, var(--wa-deep) 100%);
  box-shadow: 0 16px 34px -12px rgba(20, 128, 62, 0.85);
  transition: transform .5s var(--ease-bounce), box-shadow .5s var(--ease-out);
}
.wa-fab svg { width: 30px; height: 30px; fill: currentColor; }
.wa-fab:hover { transform: scale(1.09); }

/* =============================================================
   6. SECCIONES
   ============================================================= */

/* Malla de color animada — fondo de toda la página */
.page-mesh {
  position: fixed; inset: -20vh -10vw;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46% 40% at 16% 18%, var(--mesh-1) 0%, transparent 62%),
    radial-gradient(42% 38% at 84% 26%, var(--mesh-2) 0%, transparent 60%),
    radial-gradient(52% 46% at 50% 88%, var(--mesh-3) 0%, transparent 62%);
  filter: blur(72px) saturate(135%);
  opacity: .92;
  animation: meshDrift 34s var(--ease-soft) infinite;
}
@keyframes meshDrift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50%      { transform: scale(1.18) rotate(9deg); }
}

.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; position: relative; }
.section-head { margin-bottom: 3rem; }

/* ---------- Hero ---------- */
.hero {
  padding-top: calc(var(--nav-h) + 2.6rem);
  padding-bottom: clamp(3rem, 7vw, 5rem);
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
}
.hero-grid { display: grid; gap: 3.2rem; align-items: center; }

.hero-title {
  margin: 1rem 0 1.1rem;
  font-size: clamp(2.3rem, 6.2vw, 3.9rem);
  font-weight: 800;
  max-width: 17ch;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(115deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  color: var(--ink-soft);
  max-width: 52ch;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: .55rem 1.5rem;
  margin-top: 1.8rem;
  font-size: .89rem; color: var(--ink-soft);
}
.hero-trust li { display: flex; align-items: center; gap: .5rem; }
.hero-trust li::before {
  content: ""; width: 1.05rem; height: 1.05rem; flex: none;
  border-radius: 50%;
  background: rgba(55, 87, 250, 0.14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 4.8 8.5 9.5 3.8' fill='none' stroke='%233757fa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* Visual del hero */
.hero-visual { position: relative; display: grid; place-items: center; }

.climate-card {
  width: min(100%, 360px);
  padding: 1.6rem 1.5rem;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}
.climate-head {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .84rem;
}
.climate-label { font-weight: 600; color: var(--ink-soft); }
.climate-state { display: flex; align-items: center; gap: .45rem; color: var(--accent-deep); font-weight: 600; }
.pulse {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  animation: pulseDot 2.2s var(--ease-soft) infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(55, 87, 250, 0.5); }
  50%      { box-shadow: 0 0 0 7px rgba(55, 87, 250, 0); }
}

.climate-dial { position: relative; margin: 1.3rem auto .3rem; width: 190px; height: 190px; }
.climate-dial svg { width: 100%; height: 100%; transform: rotate(-220deg); }
.dial-track, .dial-value {
  fill: none; stroke-width: 13; stroke-linecap: round;
  stroke-dasharray: 502;
}
.dial-track { stroke: rgba(11, 26, 43, 0.09); stroke-dashoffset: 128; }
.dial-value {
  stroke: var(--accent);
  stroke-dashoffset: 268;
}
.climate-temp {
  position: absolute; inset: 0;
  display: grid; place-content: center; text-align: center;
}
.climate-temp strong {
  font-family: var(--display); font-weight: 800;
  font-size: 3.4rem; line-height: 1; letter-spacing: -0.04em;
}
.climate-temp span { font-family: var(--display); font-weight: 600; color: var(--ink-mute); }
.climate-temp em {
  display: block; margin-top: .3rem;
  font-style: normal; font-size: .78rem; font-weight: 600;
  letter-spacing: .13em; text-transform: uppercase; color: var(--accent-2-ink);
}

.climate-rows { margin-top: 1.2rem; padding-top: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: .7rem; }
.climate-row { display: flex; align-items: center; justify-content: space-between; font-size: .88rem; color: var(--ink-soft); }
.chip {
  padding: .28rem .7rem; border-radius: 999px;
  font-size: .78rem; font-weight: 600;
  background: rgba(11, 26, 43, 0.06); color: var(--ink-soft);
}
.chip-ok { background: rgba(55, 87, 250, 0.12); color: var(--accent-deep); }

.chip-float {
  position: absolute;
  padding: .6rem 1rem;
  border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  white-space: nowrap;
  box-shadow: var(--shadow);
}
/* Se colocan por encima y por debajo de la tarjeta: nunca tapan su contenido */
.chip-float-1 { top: -7%;    left: 0;  animation: floatY 8s var(--ease-soft) infinite; }
.chip-float-2 { bottom: -7%; right: 0; animation: floatY 10.5s var(--ease-soft) infinite 1.1s; }

/* ---------- Rejilla de servicios ---------- */
.cards-grid { display: grid; gap: 1.35rem; }

/* ---------- Cobertura ---------- */
.cobertura-grid { display: grid; gap: 2.6rem; align-items: start; }
.zonas {
  display: flex; flex-wrap: wrap; gap: .6rem;
  margin-top: 1.8rem;
}
.zonas li {
  padding: .55rem 1.05rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  font-size: .89rem; font-weight: 500; color: var(--ink-soft);
}
.cobertura-card { padding: 1.9rem 1.7rem; }
.cobertura-photo {
  width: calc(100% + 3.4rem);
  margin: -1.9rem -1.7rem 1.6rem;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
}
.cobertura-card h3 { font-size: 1.25rem; margin-bottom: 1.3rem; }
.datos { display: grid; gap: 1.05rem; margin-bottom: 1.7rem; }
.datos dt { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.datos dd { margin: .2rem 0 0; font-size: 1rem; font-weight: 500; }
.datos a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.cobertura-card .btn { width: 100%; }

/* ---------- Contacto ---------- */
.contacto-grid { display: grid; gap: 2.6rem; align-items: start; }
.contacto-directo { display: grid; gap: .8rem; margin-top: 2rem; }
.direct {
  display: grid; gap: .15rem;
  padding: 1.05rem 1.3rem;
  border-radius: var(--radius-sm);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
.direct:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.direct-label { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); }
.direct-value { font-family: var(--display); font-weight: 600; font-size: 1.05rem; word-break: break-word; }

/* ---------- Footer ---------- */
.footer {
  position: relative;
  margin-top: 2rem;
  padding: 3.5rem 0 1.8rem;
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--glass-line);
}
.footer-inner { display: grid; gap: 2rem; }
.footer-logo { width: 186px; height: auto; }
.footer-brand p { margin-top: 1rem; font-size: .92rem; color: var(--ink-soft); }
.footer-nav { display: grid; gap: .55rem; font-size: .93rem; }
.footer-nav a { color: var(--ink-soft); transition: color .3s var(--ease-out); }
.footer-nav a:hover { color: var(--accent-deep); }
.footer-contact { display: grid; gap: .45rem; font-size: .93rem; }
.footer-contact a { color: var(--accent-deep); word-break: break-word; }
.footer-legal {
  margin-top: 2.5rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-mute);
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem;
  justify-content: space-between;
}
.footer-credits a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Página de créditos ---------- */
.credits-main { padding-top: calc(var(--nav-h) + 5rem); min-height: 80vh; }
.credits-note { display: block; margin-top: 2rem; padding: 1rem 1.2rem; font-size: .9rem; }
.credits-note[hidden] { display: none; }
.credits-list { margin-top: 2.4rem; display: grid; gap: 1rem; }
.credit {
  display: flex; gap: 1.1rem; align-items: center;
  padding: .9rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--glass-line);
}
.credit img { width: 130px; height: 82px; object-fit: cover; border-radius: 10px; flex: none; }
.credit-title { font-family: var(--display); font-weight: 600; font-size: .98rem; }
.credit-meta { font-size: .82rem; color: var(--ink-mute); margin-top: .2rem; }
.credit a { color: var(--accent-deep); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   7. EFECTOS
   ============================================================= */

/* Aparición al hacer scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease-out), transform .85s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }
/* Defensa: si un elemento lleva .reveal y texto partido, nunca queda invisible */
.reveal[data-split] { opacity: 1; transform: none; }
/* Sin JS todo se ve */
.no-js .reveal { opacity: 1; transform: none; }

/* Flotación suave */
.float { animation: floatY 7.5s var(--ease-soft) infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-14px); }
}

/* =============================================================
   8. RESPONSIVE
   ============================================================= */
@media (min-width: 540px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .contacto-directo { grid-template-columns: repeat(2, 1fr); }
  .form { padding: 2.2rem 2rem; grid-template-columns: 1fr 1fr; }
  .field-full, .btn-submit, .form-note, .form-ok { grid-column: 1 / -1; }
}

@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .poliza-panel { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1.2fr; }
}

@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }

  .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 4rem; }
  .cards-grid { grid-template-columns: repeat(3, 1fr); }
  .card-cta {
    grid-column: 1 / -1;
    flex-direction: row; align-items: center; justify-content: space-between;
    gap: 2rem; padding: 2.1rem 2.4rem;
  }
  .card-cta > div { max-width: 62ch; }
  .card-cta .btn { margin-top: 0; flex: none; align-self: center; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .cobertura-grid { grid-template-columns: 1.15fr .85fr; gap: 3.5rem; }
  .contacto-grid { grid-template-columns: .95fr 1.05fr; gap: 3.5rem; }
  .section-head { max-width: 62ch; }
}

@media (min-width: 1280px) {
  .hero-grid { gap: 5rem; }
  .climate-card { width: 380px; }
}

/* Móvil: cabecera compacta y visual sin desbordes */
@media (max-width: 539px) {
  .nav-inner { padding-left: .75rem; gap: .5rem; }
  .brand-text em { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .nav-actions .btn-wa {
    width: 42px; height: 42px; padding: 0; border-radius: 50%;
  }
  .nav-actions .btn-wa .ico-wa { width: 20px; height: 20px; }
  .nav-actions .btn-label { display: none; }

  .chip-float { font-size: .76rem; padding: .5rem .8rem; }
  .chip-float-1 { top: -5%; left: 0; }
  .chip-float-2 { bottom: -5%; right: 0; }
  .climate-dial { width: 165px; height: 165px; }
  .climate-temp strong { font-size: 3rem; }
}

/* =============================================================
   9. REDUCED MOTION
   Solo se desactiva lo intrusivo: bucles cortos y flotaciones.
   Los hover, transiciones y apariciones se mantienen.
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .pulse { animation: none; }
  .float, .chip-float { animation: none; }
  html { scroll-behavior: auto; }
}
