/* ============================================================
   MaxAire — hoja de estilos principal
   Identidad: azul frío + naranja cálido, tema claro
   ============================================================ */

/* ---------- Tipografías (self-hosted, variables) ---------- */
@font-face {
  font-family: "Outfit";
  src: url("../fonts/outfit-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --bg: #ffffff;
  --soft: #f2f8fc;
  --soft-2: #e7f2fa;
  --surface: #ffffff;
  --ink: #0f1c2e;
  --muted: #54657c;
  --muted-2: #7b8ba0;
  --line: #dce7f0;
  --blue-900: #0c4a6e;
  --blue-700: #0369a1;
  --blue-600: #0284c7;
  --blue-500: #0ea5e9;
  --blue-soft: #e0f2fe;
  --orange: #ea580c;
  --orange-600: #c2410c;
  --orange-soft: #ffedd5;
  --radius: 18px;
  --radius-sm: 12px;
  --font-head: "Outfit", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.16;
  margin: 0 0 0.6em;
  letter-spacing: -0.015em;
  color: var(--ink);
}

p { margin: 0 0 1em; }

a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-900); }

:focus-visible { outline: 2px solid var(--blue-600); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-soft); color: var(--blue-900); }

section { scroll-margin-top: 84px; }

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

.skip-link {
  position: absolute;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--blue-700);
  color: #fff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 0 0 10px 10px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section { padding: clamp(64px, 9vw, 108px) 0; }
.section--soft { background: var(--soft); }

.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 54px); text-align: center; }
.section-head p { color: var(--muted); font-size: 1.06rem; margin-bottom: 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: var(--orange); }

.h2 { font-size: clamp(1.65rem, 3.2vw, 2.45rem); font-weight: 700; }
.hl { color: var(--blue-600); }
.hl-o { color: var(--orange); }
.lead { color: var(--muted); font-size: 1.05rem; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--orange {
  background: linear-gradient(135deg, #f97316, var(--orange));
  color: #fff;
  box-shadow: 0 16px 30px -16px rgba(234, 88, 12, 0.55);
}
.btn--orange:hover { color: #fff; box-shadow: 0 20px 38px -16px rgba(234, 88, 12, 0.65); }

.btn--blue {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 16px 30px -18px rgba(3, 105, 161, 0.6);
}
.btn--blue:hover { background: var(--blue-900); color: #fff; }

.btn--ghost {
  border-color: var(--line);
  background: #fff;
  color: var(--blue-900);
}
.btn--ghost:hover { border-color: var(--blue-500); color: var(--blue-700); background: var(--blue-soft); }

.btn--wa { background: #1faa53; color: #fff; box-shadow: 0 14px 30px -16px rgba(31, 170, 83, 0.6); }
.btn--wa:hover { background: #23bd5d; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: 0 14px 30px -22px rgba(12, 74, 110, 0.5); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.34rem;
  letter-spacing: -0.02em;
  color: var(--blue-900);
}
.brand-tag {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-top: 4px;
}

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

.nav-link {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-link:hover { color: var(--orange); }
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.header-phone { padding: 11px 20px; font-size: 0.92rem; }

.menu-btn {
  display: none;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-900);
  border-radius: 10px;
  padding: 9px 11px;
  cursor: pointer;
}

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  padding: 14px 20px 22px;
  background: #fff;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 12px 4px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
  font-weight: 500;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .btn { margin-top: 16px; width: 100%; }

@media (max-width: 1020px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-phone { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 420px at 88% -10%, rgba(14, 165, 233, 0.16), transparent 60%),
    linear-gradient(180deg, #eaf4fb 0%, #ffffff 78%);
  padding: clamp(56px, 7vw, 96px) 0 clamp(48px, 6vw, 72px);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.05rem, 4.4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 20px;
}
.hero h1 .hl-o { display: block; }
.hero-text { color: var(--muted); font-size: clamp(1.02rem, 1.5vw, 1.14rem); max-width: 560px; margin-bottom: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }

.hero-media { position: relative; }
.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3.1;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 34px 60px -34px rgba(12, 74, 110, 0.55);
}
.hero-badge {
  position: absolute;
  left: -16px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 20px 44px -24px rgba(12, 74, 110, 0.5);
}
.hero-badge .icon-chip { flex: none; }
.hero-badge strong { display: block; font-family: var(--font-head); font-size: 0.98rem; line-height: 1.2; }
.hero-badge span { color: var(--muted); font-size: 0.82rem; }

.icon-chip {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--blue-soft);
  color: var(--blue-700);
}
.icon-chip svg { width: 21px; height: 21px; }

/* Tira de ventajas */
.strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: clamp(40px, 5vw, 60px);
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
}

@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 640px; }
  .hero-badge { left: 14px; }
  .strip { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .strip { grid-template-columns: 1fr; } }

/* ---------- Tarjetas de servicios ---------- */
.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(14, 165, 233, 0.55);
  box-shadow: 0 30px 55px -34px rgba(12, 74, 110, 0.45);
}
.card .icon-chip { margin-bottom: 18px; }
.card h3 { font-size: 1.16rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.95rem; }

.card ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.card li { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 0.92rem; }
.card li svg { flex: none; width: 16px; height: 16px; color: #16a34a; }

@media (max-width: 760px) { .cards-2 { grid-template-columns: 1fr; } }

/* ---------- Marcas ---------- */
.brands { overflow: hidden; position: relative; padding: 12px 0; }
.brands::before,
.brands::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.brands::before { left: 0; background: linear-gradient(90deg, var(--soft), transparent); }
.brands::after { right: 0; background: linear-gradient(270deg, var(--soft), transparent); }
.section--white .brands::before { background: linear-gradient(90deg, #fff, transparent); }
.section--white .brands::after { background: linear-gradient(270deg, #fff, transparent); }

.brands-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brandScroll 34s linear infinite;
}
.brands:hover .brands-track { animation-play-state: paused; }
@keyframes brandScroll { to { transform: translateX(-50%); } }

.brands-track img {
  height: 34px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: filter 0.25s ease, opacity 0.25s ease;
}
.brands-track img:hover { filter: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .brands::before, .brands::after { display: none; }
}

/* ---------- Zonas ---------- */
.zones { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.zone {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.zone-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #fff;
}
.zone-head svg { width: 21px; height: 21px; }
.zone-head h3 { margin: 0; font-size: 1.06rem; color: #fff; }
.zone ul {
  list-style: none;
  margin: 0;
  padding: 18px 22px 22px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 18px;
}
.zone li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.zone li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); opacity: 0.8; }

.zone-note { margin-top: 26px; text-align: center; color: var(--muted); }

@media (max-width: 1020px) { .zones { grid-template-columns: 1fr 1fr; } .zones .zone:last-child { grid-column: span 2; } }
@media (max-width: 660px) { .zones { grid-template-columns: 1fr; } .zones .zone:last-child { grid-column: auto; } }

/* ---------- Split (por qué elegirnos) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
}
.split-media img {
  width: 100%;
  aspect-ratio: 4 / 3.2;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 32px 58px -36px rgba(12, 74, 110, 0.5);
}
.split-copy p { color: var(--muted); }

.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 15px; }
.check { display: flex; gap: 13px; align-items: flex-start; }
.check-icon {
  flex: none;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue-700);
}
.check-icon svg { width: 17px; height: 17px; }
.check h4 { font-size: 1rem; margin: 0 0 2px; }
.check p { margin: 0; color: var(--muted); font-size: 0.93rem; }

@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq details[open] { border-color: rgba(14, 165, 233, 0.6); box-shadow: 0 18px 36px -28px rgba(12, 74, 110, 0.5); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  cursor: pointer;
  list-style: none;
  padding: 19px 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--orange);
  background: #fff;
  font-size: 1.2rem;
  font-weight: 400;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq details[open] summary::after { content: "–"; transform: rotate(180deg); background: var(--orange-soft); }
.faq .faq-body { color: var(--muted); padding: 0 0 20px; margin: 0; font-size: 0.96rem; }

/* ---------- Testimonios ---------- */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.tst {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stars { display: flex; gap: 3px; color: #f5a623; }
.stars svg { width: 17px; height: 17px; }
.tst blockquote { margin: 0; color: var(--muted); font-size: 0.96rem; font-style: italic; flex: 1; }
.tst-author { display: flex; align-items: center; gap: 13px; }
.avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  color: var(--blue-700);
  font-weight: 700;
  font-family: var(--font-head);
}
.tst-author h4 { margin: 0; font-size: 0.96rem; }
.tst-author p { margin: 0; color: var(--muted-2); font-size: 0.85rem; }

@media (max-width: 1020px) { .tst-grid { grid-template-columns: 1fr; } }

/* ---------- Contacto ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 52px);
  align-items: start;
}

.form {
  display: grid;
  gap: 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 36px);
}
.field { display: grid; gap: 7px; }
.field label { font-size: 0.92rem; font-weight: 600; color: var(--ink); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fbfdff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.97rem;
  padding: 13px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2354657c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 42px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue-500);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: #9aa9bb; }

.consent { display: flex; gap: 11px; align-items: flex-start; color: var(--muted); font-size: 0.88rem; line-height: 1.55; }
.consent input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--blue-600); flex: none; }

.form-status { display: none; border-radius: var(--radius-sm); padding: 13px 16px; font-size: 0.93rem; }
.form-status.ok { display: block; background: #e9f9ef; border: 1px solid #9fe0b5; color: #14663a; }
.form-status.err { display: block; background: #fdeceb; border: 1px solid #f0a3a3; color: #8f2020; }

.info-card {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 34px);
}
.info-card h3 { font-size: 1.24rem; margin-bottom: 22px; }

.info-row { display: flex; gap: 15px; align-items: flex-start; }
.info-row + .info-row { margin-top: 20px; }
.info-icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--blue-700);
}
.info-icon svg { width: 19px; height: 19px; }
.info-row h4 { margin: 1px 0 2px; font-size: 0.98rem; }
.info-row p { margin: 0; color: var(--muted); font-size: 0.93rem; }

.hours { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.hours h4 { font-size: 0.95rem; margin-bottom: 10px; }
.hours div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  color: var(--muted);
  font-size: 0.93rem;
  border-bottom: 1px dashed var(--line);
}
.hours div:last-child { border-bottom: 0; }
.hours span:last-child { color: var(--ink); }

@media (max-width: 1020px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }

/* ---------- Mapa (carga bajo demanda) ---------- */
.map-box {
  margin-top: clamp(40px, 6vw, 64px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--soft);
}
.map-facade {
  min-height: 280px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 24px;
  gap: 14px;
  background: radial-gradient(circle at 50% 0%, rgba(14, 165, 233, 0.12), transparent 60%), var(--soft);
}
.map-facade p { margin: 0; color: var(--muted); max-width: 460px; }
.map-box iframe { display: block; width: 100%; height: 380px; border: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: #0c2233;
  color: #dbe7f0;
  padding: clamp(52px, 7vw, 76px) 0 30px;
}
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }

.foot-brand .brand-name { color: #fff; }
.foot-brand .brand-tag { color: #8fb0c7; }
.foot-brand p { color: #9fb3c8; font-size: 0.93rem; max-width: 320px; margin-top: 16px; }

.foot-col h4 {
  font-size: 0.86rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7dd3fc;
  margin-bottom: 16px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: #b9cbd9; font-size: 0.93rem; }
.foot-col a:hover { color: #fff; }
.foot-col li { display: flex; gap: 10px; align-items: flex-start; color: #b9cbd9; font-size: 0.93rem; }
.foot-col li svg { flex: none; width: 17px; height: 17px; margin-top: 4px; color: #fb923c; }

.foot-bottom {
  margin-top: clamp(40px, 5vw, 54px);
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 14px 26px;
  align-items: center;
  justify-content: space-between;
  color: #9fb3c8;
  font-size: 0.88rem;
}
.legal-links { display: flex; flex-wrap: wrap; gap: 18px; }
.legal-links a { color: #b9cbd9; }
.legal-links a:hover { color: #fff; }

@media (max-width: 1020px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .foot-grid { grid-template-columns: 1fr; } .foot-bottom { justify-content: flex-start; } }

/* ---------- Botones flotantes ---------- */
.fab-stack {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  display: grid;
  gap: 12px;
  justify-items: end;
}
.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  box-shadow: 0 16px 34px -16px rgba(12, 74, 110, 0.55);
  transition: transform 0.2s ease, background 0.2s ease;
}
.fab:hover { transform: translateY(-3px); }
.fab--wa { background: #1faa53; color: #fff; }
.fab--wa:hover { background: #23bd5d; color: #fff; }
.fab--top {
  background: #fff;
  border-color: var(--line);
  color: var(--orange);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.2s ease;
}
.fab--top.show { opacity: 1; visibility: visible; }
.fab svg { width: 23px; height: 23px; }

/* ---------- Animaciones ---------- */
.reveal { opacity: 0; transform: translateY(20px); }
.reveal.in { opacity: 1; transform: none; transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .card, .btn, .fab { transition: none; }
}

/* ---------- Páginas legales y gracias ---------- */
.legal-page { padding: clamp(48px, 7vw, 84px) 0; }
.legal-page .wrap { max-width: 860px; }
.legal-page h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); padding-bottom: 18px; border-bottom: 3px solid var(--blue-soft); }
.legal-page h2 { font-size: 1.22rem; margin-top: 2.2em; color: var(--blue-900); }
.legal-page p, .legal-page li { color: var(--muted); font-size: 0.97rem; }
.legal-page ul { padding-left: 22px; }
.legal-page li { margin-bottom: 8px; }
.legal-page strong { color: var(--ink); }
.legal-page .updated { color: var(--muted-2); font-size: 0.88rem; }

.thanks-card { max-width: 640px; margin: 0 auto; text-align: center; }
.thanks-card .check-icon {
  width: 64px; height: 64px; border-radius: 50%;
  margin: 0 auto 22px; background: #e9f9ef; color: #16a34a;
}
.thanks-card .check-icon svg { width: 30px; height: 30px; }
.thanks-title { border: 0; text-align: center; }

/* ---------- Utilidades ---------- */
.svg-sprite { display: none; }
.eyebrow--c { justify-content: center; }
.lang--menu { margin-top: 14px; }
.no-margin { margin: 0; }
.mt-36 { margin-top: 36px; }
.center { text-align: center; }
.mt-28 { margin-top: 28px; }
.ml-10 { margin-left: 10px; }
.map-pin { color: #0369a1; }
.foot-bottom--plain { margin-top: 0; border-top: 0; padding-top: 0; }
.city-item a { color: inherit; }
.city-item a:hover { color: var(--orange); }

/* ---------- Páginas internas (servicios y zonas) ---------- */
.crumbs { padding: 16px 0 0; font-size: 0.88rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; gap: 8px; align-items: center; color: var(--muted-2); }
.crumbs li + li::before { content: "›"; color: var(--muted-2); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--blue-700); }
.crumbs [aria-current="page"] { color: var(--orange); }

.page-hero {
  padding: clamp(36px, 5vw, 64px) 0 clamp(30px, 4vw, 46px);
  background: linear-gradient(180deg, #eef7fd, #ffffff);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.page-hero .lead { max-width: 760px; }
.page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}
.content-main h2 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); margin-top: 1.8em; }
.content-main h2:first-child { margin-top: 0; }
.content-main p { color: var(--muted); }
.content-main ul { color: var(--muted); padding-left: 20px; }
.content-main li { margin-bottom: 8px; }

.side-card {
  position: sticky;
  top: 96px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.side-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.side-card p { color: var(--muted); font-size: 0.93rem; }
.side-list { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; }
.side-list a { color: var(--muted); font-size: 0.93rem; }
.side-list a:hover { color: var(--blue-700); }
.side-card .btn { width: 100%; margin-top: 18px; }

.link-cloud { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 18px 0 0; list-style: none; }
.link-cloud a {
  display: inline-flex;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88rem;
  background: #fff;
}
.link-cloud a:hover { border-color: var(--blue-500); color: var(--blue-700); }

.mini-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.mini-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px;
  display: block;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.mini-card:hover { border-color: rgba(14, 165, 233, 0.55); transform: translateY(-3px); }
.mini-card h3 { font-size: 0.98rem; margin-bottom: 6px; }
.mini-card p { font-size: 0.86rem; color: var(--muted); margin: 0; }

.cta-band {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.1), rgba(234, 88, 12, 0.06)), var(--soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(36px, 5vw, 56px) 0;
}
.cta-band .cta-inner { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; }
.cta-band h2 { margin: 0; font-size: clamp(1.25rem, 2.4vw, 1.7rem); }
.cta-band p { margin: 6px 0 0; color: var(--muted); }
.cta-band .cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 1020px) {
  .content-grid { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .mini-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 660px) { .mini-cards { grid-template-columns: 1fr; } }
.card h3 a, .mini-card h3 a { color: inherit; }
.card h3 a:hover, .mini-card h3 a:hover { color: var(--orange); }
.mini-cards--4 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 660px) { .mini-cards--4 { grid-template-columns: 1fr; } }

/* ---------- Selector de idioma ---------- */
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 0.84rem; font-weight: 600; letter-spacing: 0.06em; color: var(--muted-2); }
.lang a { color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.lang a:hover { color: var(--orange); }
.lang .is-active { color: var(--blue-700); }
.lang span { color: var(--line); }
