/* =========================================================
   ServiTec del Caribe · Landing
   Paleta: azules + blanco. Verde solo para WhatsApp.
   ========================================================= */
:root {
  --blue-900: #071d3a;
  --blue-800: #0a2b54;
  --blue-700: #0b4f8a;
  --blue-600: #1a75bb;   /* azul de marca (sitio actual) */
  --blue-500: #2b8ad6;
  --blue-400: #5fb0ee;
  --blue-200: #cfe5f8;
  --blue-100: #e8f3fc;
  --blue-50:  #f4f9fe;
  --ice:      #7dd3fc;
  --white:    #ffffff;
  --ink:      #0f1f33;
  --text:     #3b4b5f;
  --muted:    #6b7b8f;
  --line:     #dbe6f1;
  --wa:       #1fae55;
  --wa-dark:  #178f45;
  --danger:   #d64545;

  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(7, 29, 58, .06), 0 2px 8px rgba(7, 29, 58, .05);
  --shadow:    0 10px 30px -10px rgba(11, 79, 138, .25);
  --shadow-lg: 0 30px 60px -20px rgba(11, 79, 138, .35);

  --container: 1180px;
  --header-h: 72px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}
main, .footer { overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.125rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--blue-700); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 2px; border-radius: 6px; }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: .95rem; cursor: pointer; white-space: nowrap;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--blue-600); color: #fff; box-shadow: 0 8px 20px -8px rgba(26, 117, 187, .7); }
.btn--primary:hover { background: var(--blue-700); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(26, 117, 187, .8); }
.btn--outline { background: #fff; color: var(--blue-700); border-color: var(--blue-200); }
.btn--outline:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }
.btn--ghost { color: var(--blue-700); padding-inline: .9em; }
.btn--ghost:hover { background: var(--blue-100); }
.btn--lg { padding: 1em 1.6em; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Topbar + header ---------- */
.topbar { background: var(--blue-900); color: #cfe2f5; font-size: .82rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 36px; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a { color: #fff; font-weight: 600; }
.topbar a:hover { color: var(--ice); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -12px rgba(7, 29, 58, .25); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 16px; }

.brand { display: inline-flex; flex-direction: column; line-height: 1; }
.brand__name { font-weight: 800; font-size: 1.6rem; letter-spacing: -.01em; color: var(--blue-800); }
.brand__name span { color: var(--blue-600); }
.brand__tag { font-size: .66rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
/* Logo adaptable: se reduce al hacer scroll y cambia a versión compacta en móvil */
.brand { flex: none; }
.brand__logo { height: 58px; width: auto; max-width: none; transition: height .3s ease; }
.header.is-scrolled .brand__logo { height: 48px; }
.footer .brand__logo { height: 76px; max-width: 100%; object-fit: contain; object-position: left; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__name span { color: var(--blue-400); }
.brand--light .brand__tag { color: #8fb3d6; }

.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: .93rem; color: var(--ink); position: relative; }
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--blue-600); transform: scaleX(0); transform-origin: left; transition: transform .25s ease;
}
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--blue-600); }
.nav__cta-mobile { display: none; }
.header__actions { display: flex; align-items: center; gap: 6px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; border-radius: 10px; cursor: pointer; color: var(--ink); }
.nav-toggle .ico { width: 26px; height: 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 72px 0 96px;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(95, 176, 238, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(26, 117, 187, .12), transparent 60%),
    linear-gradient(180deg, var(--blue-50), #fff);
}
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--blue-200); color: var(--blue-700);
  padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .82rem; box-shadow: var(--shadow-sm);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(31, 174, 85, .6); animation: ping 2s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(31, 174, 85, .55); } 80%, 100% { box-shadow: 0 0 0 10px rgba(31, 174, 85, 0); } }

.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; margin: 18px 0 18px; letter-spacing: -.03em; }
.h1-sub { display: block; font-size: .5em; font-weight: 700; color: var(--blue-700); letter-spacing: -.01em; margin-top: 12px; }
.rotator {
  display: inline-block; color: var(--blue-600); position: relative;
  background: linear-gradient(90deg, var(--blue-600), var(--blue-400));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  transition: opacity .3s ease, transform .3s ease;
}
.rotator.is-out { opacity: 0; transform: translateY(-10px); }
.rotator::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .12em; border-radius: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--ice)); opacity: .35;
}
.lead { font-size: 1.1rem; max-width: 560px; color: var(--text); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px 18px; list-style: none; padding: 0; margin: 0; font-weight: 600; font-size: .92rem; color: var(--ink); }
.hero__chips li { display: inline-flex; align-items: center; gap: 6px; }
.hero__chips .ico { color: #fff; background: var(--blue-600); border-radius: 50%; padding: 3px; width: 20px; height: 20px; }

.hero__bg .flake { position: absolute; color: var(--blue-400); opacity: .18; animation: drift 16s linear infinite; }
.hero__bg .flake svg { width: 100%; height: 100%; }
.f1 { width: 120px; height: 120px; top: 8%; left: 46%; }
.f2 { width: 60px; height: 60px; bottom: 12%; left: 6%; animation-duration: 22s !important; }
.f3 { width: 90px; height: 90px; top: 60%; right: 4%; animation-duration: 19s !important; animation-direction: reverse !important; }
@keyframes drift { from { transform: rotate(0) translateY(0); } 50% { transform: rotate(180deg) translateY(-14px); } to { transform: rotate(360deg) translateY(0); } }

/* Tarjeta tipo "ticket" */
.hero__visual { position: relative; padding: 30px 10px; }
.ticket {
  position: relative; background: #fff; border-radius: var(--radius-lg); padding: 24px;
  box-shadow: var(--shadow-lg); border: 1px solid var(--line); max-width: 420px; margin: 0 auto;
}
.ticket::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-400)); border-radius: var(--radius-lg);
  transform: rotate(4deg) translate(12px, 10px);
}
.ticket__head { display: flex; align-items: center; gap: 14px; padding-bottom: 18px; border-bottom: 1px dashed var(--line); }
.ticket__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--blue-100); color: var(--blue-600); display: grid; place-items: center; flex: none; }
.ticket__icon svg { width: 28px; height: 28px; }
.ticket__label { margin: 0; font-size: .75rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ticket__title { margin: 0; font-weight: 800; color: var(--ink); transition: opacity .3s; }
.ticket__badge { margin-left: auto; font-size: .72rem; font-weight: 700; color: var(--blue-700); background: var(--blue-100); padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.ticket__steps { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 14px; }
.ticket__steps li { display: flex; gap: 12px; align-items: flex-start; opacity: .4; transition: opacity .4s ease; }
.ticket__steps li b { display: block; color: var(--ink); font-size: .95rem; }
.ticket__steps li small { color: var(--muted); font-size: .82rem; }
.s-dot { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--blue-200); background: #fff; flex: none; margin-top: 1px; position: relative; transition: all .35s ease; }
.ticket__steps li.is-done { opacity: 1; }
.ticket__steps li.is-done .s-dot { background: var(--blue-600); border-color: var(--blue-600); }
.ticket__steps li.is-done .s-dot::after {
  content: ""; position: absolute; left: 6px; top: 3px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.ticket__steps li.is-current { opacity: 1; }
.ticket__steps li.is-current .s-dot { border-color: var(--blue-600); box-shadow: 0 0 0 5px var(--blue-100); }
.ticket__bar { height: 6px; background: var(--blue-100); border-radius: 6px; overflow: hidden; }
.ticket__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--blue-600), var(--ice)); border-radius: 6px; transition: width .6s ease; }

.float-card {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px;
  font-weight: 700; font-size: .85rem; color: var(--ink); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-card .ico { color: var(--blue-600); }
.fc1 { top: 0; right: 0; }
.fc2 { bottom: 16%; left: -14px; animation-delay: -2s; }
.fc3 { bottom: -6px; right: 12%; animation-delay: -4s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Marcas ---------- */
.brands { padding: 64px 0 40px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.brands__head { text-align: center; margin-bottom: 28px; }
.brands__head h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); }
.brands__head p { color: var(--muted); margin: 0; }
.hl { color: var(--blue-600); }

.marquee {
  overflow: hidden; padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; gap: 18px; width: max-content; animation: scroll-left 40s linear infinite; }
.marquee[data-direction="right"] .marquee__track { animation-name: scroll-right; animation-duration: 46s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

.logo {
  width: 180px; height: 84px; flex: none;
  display: grid; place-items: center; padding: 18px 26px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
}
/* Logos siempre con sus colores originales, sin filtros ni cambios al pasar el mouse */
.logo img { max-height: 40px; max-width: 100%; width: auto; object-fit: contain; filter: none !important; opacity: 1 !important; }
.logo--text { font-weight: var(--f, 800); letter-spacing: var(--ls, 0); font-size: 1.35rem; color: var(--c, var(--ink)); }
.disclaimer { text-align: center; font-size: .8rem; color: var(--muted); max-width: 760px; margin: 24px auto 0; }

/* ---------- Secciones ---------- */
.section { padding: 96px 0; }
.section--tint { background: linear-gradient(180deg, var(--blue-50), #fff); }
.section--dark {
  background:
    radial-gradient(800px 400px at 100% 0%, rgba(95, 176, 238, .25), transparent 60%),
    linear-gradient(160deg, var(--blue-800), var(--blue-900));
  color: #c6d7ea;
}
.section__head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section__head p:last-child { color: var(--muted); }
.section__head--light h2 { color: #fff; }
.kicker { display: inline-block; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 10px !important; }
.section--dark .kicker { color: var(--ice); }

/* Servicios */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px 22px 22px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
  overflow: hidden;
}
.service::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-600), var(--ice)); transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.service:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--blue-200); }
.service:hover::before { transform: scaleX(1); }
.service__icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue-100); color: var(--blue-600); transition: background .3s, color .3s, transform .3s;
}
.service__icon svg { width: 28px; height: 28px; }
.service:hover .service__icon { background: var(--blue-600); color: #fff; transform: rotate(-6deg) scale(1.05); }
.service p { font-size: .93rem; color: var(--text); }
.tags { list-style: none; padding: 0; margin: 0 0 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font-size: .75rem; font-weight: 600; color: var(--blue-700); background: var(--blue-50); border: 1px solid var(--blue-100); padding: 3px 9px; border-radius: 999px; }
.service__cta { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue-600); }
.service__cta .ico { transition: transform .25s; }
.service__cta:hover .ico { transform: translateX(4px); }
.service--feature { background: linear-gradient(160deg, var(--blue-600), var(--blue-700)); border-color: transparent; color: #dcecfa; }
.service--feature h3, .service--feature p { color: #fff; }
.service--feature .service__icon { background: rgba(255, 255, 255, .15); color: #fff; }
.service--feature .tags li { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .2); color: #fff; }
.service--feature .service__cta { color: #fff; }

/* Síntomas */
.symptoms { max-width: 880px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); }
.symptoms__tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.symptoms__tabs::-webkit-scrollbar { display: none; }
.symptoms__tabs button {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--blue-50);
  font-weight: 700; font-size: .9rem; color: var(--ink); cursor: pointer; transition: all .2s ease;
}
.symptoms__tabs button:hover { border-color: var(--blue-400); }
.symptoms__tabs button[aria-selected="true"] { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.symptoms__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 12px; }
.symptom {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  font-weight: 600; color: var(--ink); cursor: pointer; text-align: left;
  animation: pop .35s ease both; transition: border-color .2s, background .2s, transform .2s;
}
.symptom:hover { border-color: var(--blue-600); background: var(--blue-50); transform: translateX(3px); }
.symptom .ico { color: var(--blue-600); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.symptoms__note { font-size: .82rem; color: var(--muted); margin: 0; text-align: center; }

/* Pasos */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 44px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue-200) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step__icon {
  width: 88px; height: 88px; margin: 0 auto 18px; border-radius: 50%;
  background: #fff; border: 2px solid var(--blue-200); color: var(--blue-600);
  display: grid; place-items: center; position: relative; z-index: 1; transition: all .3s;
}
.step__icon svg { width: 34px; height: 34px; }
.step:hover .step__icon { background: var(--blue-600); color: #fff; border-color: var(--blue-600); transform: scale(1.06); }
.step__n {
  position: absolute; top: -4px; left: calc(50% + 22px); z-index: 2;
  width: 30px; height: 30px; border-radius: 50%; background: var(--blue-800); color: #fff;
  font-weight: 800; font-size: .85rem; display: grid; place-items: center; border: 3px solid #fff;
}
.step p { font-size: .93rem; color: var(--muted); }

/* Beneficios */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.benefit {
  padding: 26px 22px; border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1);
  transition: background .3s, transform .3s, border-color .3s;
}
.benefit:hover { background: rgba(255, 255, 255, .1); border-color: rgba(125, 211, 252, .4); transform: translateY(-4px); }
.benefit svg { width: 34px; height: 34px; color: var(--ice); margin-bottom: 16px; }
.benefit h3 { color: #fff; font-size: 1.05rem; }
.benefit p { font-size: .9rem; margin: 0; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about__compare { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; }
.about__compare > div { background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.about__compare h3 { display: flex; align-items: center; gap: 8px; color: var(--blue-700); font-size: 1rem; }
.about__compare ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; font-size: .9rem; }
.about__compare li::before { content: "✓"; color: var(--blue-600); font-weight: 800; margin-right: 8px; }
.appliance-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.appliance-grid div {
  aspect-ratio: 1; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--blue-50), var(--blue-100));
  border: 1px solid var(--line); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  color: var(--blue-600); font-weight: 700; font-size: .85rem; transition: transform .35s ease, background .35s, color .35s;
}
.appliance-grid div:nth-child(3n+2) { transform: translateY(22px); }
.appliance-grid div:hover { background: var(--blue-600); color: #fff; }
.appliance-grid svg { width: 40px; height: 40px; }
.appliance-grid span { color: var(--ink); transition: color .35s; }
.appliance-grid div:hover span { color: #fff; }

/* Testimonios */
.testimonials { max-width: 1000px; margin: 0 auto; }
.testimonials__track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.stars { display: flex; gap: 2px; color: #f5b301; margin-bottom: 12px; }
.stars svg { width: 18px; height: 18px; }
.testimonial blockquote { margin: 0 0 18px; color: var(--ink); font-weight: 500; }
.testimonial figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); }
.testimonial figcaption small { color: var(--muted); font-weight: 600; margin-left: auto; font-size: .78rem; background: var(--blue-50); padding: 2px 10px; border-radius: 999px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--blue-600); color: #fff; font-weight: 800; }
.testimonials__dots { display: none; justify-content: center; gap: 8px; margin-top: 16px; }
.testimonials__dots button { width: 9px; height: 9px; border-radius: 9px; border: 0; background: var(--blue-200); padding: 0; cursor: pointer; transition: width .3s, background .3s; }
.testimonials__dots button.is-active { width: 24px; background: var(--blue-600); }

/* Cobertura */
.coverage { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.zones { list-style: none; padding: 0; margin: 20px 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.zones li { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; background: var(--blue-50); border: 1px solid var(--blue-100); font-weight: 600; color: var(--blue-800); font-size: .9rem; }
.zones li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blue-600); }
.zone-form { display: flex; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; box-shadow: var(--shadow); max-width: 460px; }
.zone-form input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 14px; background: transparent; }
.zone-form.is-invalid { border-color: var(--danger); }

.radar { position: relative; width: min(420px, 100%); aspect-ratio: 1; margin: 0 auto; border-radius: 50%;
  background: radial-gradient(circle, var(--blue-100), var(--blue-50) 60%, #fff 72%); }
.radar::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(26, 117, 187, .35), transparent 25%);
  animation: sweep 5s linear infinite;
}
@keyframes sweep { to { transform: rotate(360deg); } }
.radar__ring { position: absolute; border-radius: 50%; border: 1px dashed var(--blue-200); inset: var(--i); }
.r1 { --i: 12%; } .r2 { --i: 26%; } .r3 { --i: 40%; }
.radar__center { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(26, 117, 187, .15), var(--shadow); }
.radar__center svg { width: 28px; height: 28px; }
.radar__label { position: absolute; background: #fff; border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: .82rem; color: var(--blue-800); box-shadow: var(--shadow-sm); animation: float 5s ease-in-out infinite; }
.l1 { top: 10%; left: 50%; translate: -50% 0; }
.l2 { top: 44%; right: 2%; animation-delay: -1s; }
.l3 { bottom: 10%; left: 50%; translate: -50% 0; animation-delay: -2s; }
.l4 { top: 44%; left: 2%; animation-delay: -3s; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, box-shadow .25s; }
.faq details[open] { border-color: var(--blue-200); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .ico { color: var(--blue-600); transition: transform .3s ease; }
.faq details[open] summary .ico { transform: rotate(45deg); }
.faq details p { padding: 0 20px 18px; margin: 0; }

/* Formulario */
.booking { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.booking__list { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; font-weight: 600; color: var(--ink); }
.booking__list li { display: flex; align-items: center; gap: 10px; }
.booking__list .ico { color: #fff; background: var(--blue-600); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.booking__phone { display: inline-flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: var(--radius); background: var(--blue-50); border: 1px solid var(--blue-100); transition: transform .2s, box-shadow .2s; }
.booking__phone:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.booking__phone > span { width: 48px; height: 48px; border-radius: 50%; background: var(--blue-600); color: #fff; display: grid; place-items: center; }
.booking__phone small { display: block; color: var(--muted); font-weight: 600; }
.booking__phone b { font-size: 1.25rem; color: var(--blue-800); }

.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-lg); }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: .88rem; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--blue-50);
  transition: border-color .2s, background .2s, box-shadow .2s; font-size: 16px;
}
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); background: #fff; box-shadow: 0 0 0 4px var(--blue-100); }
.field__error { display: none; font-size: .78rem; color: var(--danger); font-weight: 600; }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--danger); }
.field.is-invalid .field__error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; margin-bottom: 18px; cursor: pointer; }
.check input { margin-top: 3px; accent-color: var(--blue-600); width: 18px; height: 18px; flex: none; }
.check a { color: var(--blue-600); text-decoration: underline; }
.check.is-invalid span { color: var(--danger); }
.form__ok { margin: 14px 0 0; padding: 12px 14px; border-radius: 12px; background: #e9f8ef; color: #136c36; font-weight: 600; font-size: .9rem; }
.form__ok a { text-decoration: underline; }

/* Footer */
.footer { background: var(--blue-900); color: #9fb6cf; padding: 64px 0 0; font-size: .92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer h3 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer a:hover { color: #fff; }
.footer .brand { margin-bottom: 14px; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px; font-size: .8rem; color: #7f97b2; }
.footer__bottom p { margin: 0; }

/* ---------- Botones fijos ---------- */
.fab { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.fab__btn {
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 22px 0 18px;
  border-radius: 999px; color: #fff; font-weight: 800; font-size: .95rem; box-shadow: var(--shadow-lg);
  transition: transform .25s ease, box-shadow .25s ease, background .25s;
}
.fab__btn .ico { width: 24px; height: 24px; }
.fab__btn--call { background: var(--blue-600); }
.fab__btn--call:hover { background: var(--blue-700); transform: translateY(-3px); }
.fab__btn--wa { background: var(--wa); position: relative; }
.fab__btn--wa:hover { background: var(--wa-dark); transform: translateY(-3px); }
.fab__btn--wa::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--wa);
  animation: ring 2.4s ease-out infinite; pointer-events: none;
}
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.25); opacity: 0; } }

.mobile-bar { display: none; }

/* ---------- Animaciones de entrada ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .header__call { display: none; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .brand__logo { height: 50px; }
  .header.is-scrolled .brand__logo { height: 44px; }
  .nav {
    position: fixed; inset: calc(var(--header-h) + 36px) 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: all .25s ease;
  }
  .header.is-scrolled .nav, .nav.is-open { top: var(--header-h); }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:not(.btn)::after { display: none; }
  .nav__cta-mobile { display: inline-flex; margin-top: 14px; border-radius: 999px !important; border-bottom: 0 !important; }
  .header__actions .btn--primary { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero { padding: 44px 0 72px; }
  .hero__grid, .about, .coverage, .booking { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { max-width: 440px; margin: 0 auto; width: 100%; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .steps::before { display: none; }
  .section { padding: 72px 0; }

  .testimonials__track {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; scrollbar-width: none;
    margin: 0 -20px; padding: 4px 20px 8px;
  }
  .testimonials__track::-webkit-scrollbar { display: none; }
  .testimonial { flex: 0 0 85%; scroll-snap-align: center; }
  .testimonials__dots { display: flex; }

  .footer__grid { grid-template-columns: 1fr 1fr; }

  /* Botones fijos: barra inferior en móvil */
  .fab { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -12px rgba(7, 29, 58, .25);
  }
  .mobile-bar a {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: 50px; border-radius: 14px; font-weight: 800; font-size: .98rem;
  }
  .mobile-bar .ico { width: 22px; height: 22px; }
  .mobile-bar__call { background: var(--blue-600); color: #fff; }
  .mobile-bar__wa { background: var(--wa); color: #fff; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .topbar span { display: none; }
  .topbar__inner { justify-content: center; }
  .brand__name { font-size: 1.4rem; }
  .brand__logo, .header.is-scrolled .brand__logo { height: 44px; }
  .footer .brand__logo { height: auto; width: min(240px, 75%); }
  .hero h1 { font-size: 2.15rem; }
  .hero__ctas .btn { width: 100%; }
  .services, .benefits { grid-template-columns: 1fr; }
  .symptoms { padding: 16px; }
  .symptoms__list { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .about__compare { grid-template-columns: 1fr; }
  .form { padding: 20px; }
  .form__grid { grid-template-columns: 1fr; }
  /* Móvil: logos en movimiento igual que en escritorio, más compactos */
  .marquee__track { gap: 12px; }
  .logo { width: 132px; height: 64px; padding: 12px 16px; }
  .logo img { max-height: 30px; }
  .logo--text { font-size: 1rem; text-align: center; }
  .float-card { font-size: .78rem; padding: 7px 12px; }
  .fc2 { left: 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .zone-form { border-radius: var(--radius); flex-direction: column; padding: 8px; }
  .testimonials__track { margin: 0 -16px; padding: 4px 16px 8px; }
  .zone-form input { padding: 10px 8px; }
}
