/* ============================================================
   FreshPro — Limpieza Profesional
   Sistema de diseño
   ============================================================ */

:root {
  --navy-deep: #0A1C3F;
  --navy: #102A5C;
  --navy-mid: #1B3B7A;
  --green: #5BB130;
  --green-dark: #4A9526;
  --blue: #1E90DE;

  --text: #3A465C;
  --text-muted: #5B6A85;
  --text-light: #8A99B3;
  --text-on-dark: #B9C7DE;

  --bg: #F4F7FA;
  --surface: #ffffff;
  --field: #F8FAFC;

  --border: #E2E8F0;
  --border-strong: #C9D5E4;

  --font-display: Montserrat, system-ui, -apple-system, sans-serif;
  --font-body: Barlow, system-ui, -apple-system, sans-serif;

  --shadow-green: 0 10px 26px rgba(91, 177, 48, .3);
  --shadow-card: 0 24px 60px rgba(16, 42, 92, .16);
  --shadow-soft: 0 18px 44px rgba(16, 42, 92, .12);

  --wrap: 1180px;
  --radius: 18px;
}

/* ---------- Reset ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: var(--navy-mid); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--green); }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--green); color: #fff; }

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

.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; left: -999px; top: 0; z-index: 200;
  background: var(--green); color: #fff; padding: 12px 20px;
  font-family: var(--font-display); font-weight: 700; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: 28px; width: 100%; }
main { flex: 1; }

.section { padding-block: 88px; }
.section--tight { padding-block: 76px; }
.section--white { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--navy { background: var(--navy); }

/* La entrada anima solo `transform`, nunca `opacity`.
   Si el contenido pinta la primera vez con opacity:0, Chrome lo descarta como
   candidato a LCP: el hero deja de contar y la métrica pasa a medir el botón
   flotante. Medido: con opacity el LCP móvil es 1348 ms; sin ella, 780 ms. */
.view { animation: fpFade .32s ease both; }
.view[hidden] { display: none; }

@keyframes fpFade {
  from { transform: translateY(10px); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Tipografía ---------- */
.eyebrow {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--green);
  text-transform: uppercase;
}
.eyebrow--navy { color: var(--navy-mid); }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -.02em;
  margin: 0;
}

.h-hero {
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -.025em;
  margin: 0 0 24px;
}
.h-page {
  font-weight: 800;
  font-size: clamp(34px, 5.4vw, 52px);
  line-height: 1.05;
  letter-spacing: -.025em;
  margin: 14px 0 20px;
  max-width: 820px;
}
.h-section {
  font-weight: 800;
  font-size: clamp(28px, 3.6vw, 38px);
  line-height: 1.1;
  margin: 12px 0 0;
}
.h-block {
  font-weight: 800;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.12;
  margin: 12px 0 18px;
}
.h-card { font-weight: 700; font-size: 18px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em; }

.accent { font-style: italic; color: var(--green); }

.lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.62; color: var(--text-muted); margin: 0; text-wrap: pretty; }
.body-text { font-size: 17px; line-height: 1.62; color: var(--text-muted); margin: 0 0 24px; }
.card-text { font-size: 15px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 999px;
  border: 0;
  text-align: center;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--green); color: #fff; box-shadow: var(--shadow-green); }
.btn--primary:hover { background: var(--green-dark); color: #fff; }

.btn--ghost {
  background: var(--surface);
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
}
.btn--ghost:hover { border-color: var(--navy); color: var(--navy); }

.btn--sm { font-size: 14px; padding: 13px 24px; }
.btn--md { font-size: 15px; padding: 15px 26px; }
.btn--lg { font-size: 17px; padding: 18px 26px; }

.link-arrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  color: var(--green);
}
.link-arrow:hover { color: var(--green-dark); }

.link-serv {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--navy-mid);
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  border: 0; background: none; padding: 0;
  display: flex; align-items: center; gap: 10px;
}
.brand__mark { width: 58px; height: 58px; object-fit: cover; border-radius: 8px; }
.brand__text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand__name {
  font-family: var(--font-display);
  font-weight: 800; font-style: italic; font-size: 22px;
  letter-spacing: -.01em; color: var(--navy);
}
.brand__name span { color: var(--green); }
.brand__tag {
  font-family: var(--font-display);
  font-weight: 600; font-size: 8.5px; letter-spacing: .28em;
  color: var(--navy-mid); margin-top: 4px;
}

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav__link {
  border: 0; background: none;
  padding: 10px 14px;
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px; color: var(--navy);
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  transition: color .18s ease;
}
.nav__link:hover { color: var(--green); }
.nav__link::after {
  content: "";
  display: block; width: 18px; height: 3px; border-radius: 2px;
  background: var(--green);
  opacity: 0;
  transition: opacity .18s ease;
}
.nav__link[aria-current="page"]::after { opacity: 1; }
.nav__cta { margin-left: 10px; }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  border-radius: 12px;
  padding: 10px;
  width: 46px; height: 46px;
  align-items: center; justify-content: center;
}
.nav-toggle__bars { display: block; position: relative; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; transition: background-color .2s ease; }
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px;
  background: var(--navy); border-radius: 2px; transition: transform .2s ease;
}
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Migas de pan ---------- */
.migas { background: var(--surface); border-bottom: 1px solid var(--border); }
.migas ol {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-light);
}
.migas li { display: flex; align-items: center; gap: 8px; }
.migas li + li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--border-strong);
  transform: rotate(45deg);
  display: block;
  flex: none;
}
.migas a { color: var(--navy-mid); font-weight: 500; }
.migas a:hover { color: var(--green); }
.migas [aria-current="page"] { color: var(--text-light); }

@media (max-width: 640px) {
  .migas ol { padding: 12px 0; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero { background: var(--surface); border-bottom: 1px solid var(--border); }
.hero__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 76px 28px 84px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 64px;
  align-items: center;
}
.hero__kicker { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.hero__lead { font-size: 19px; line-height: 1.62; color: #4A5872; margin: 0 0 34px; max-width: 520px; text-wrap: pretty; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 34px; }

.diamond {
  width: 9px; height: 9px; background: var(--green);
  transform: rotate(45deg); display: block; flex: none;
}
.diamond--sm { width: 7px; height: 7px; }
.diamond--blue { background: var(--blue); }

.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 999px; padding: 9px 16px; margin-bottom: 30px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); display: block; }
.badge span:last-child { font-size: 14px; font-weight: 500; color: var(--navy-mid); }

.hero__proof {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 26px;
  border-top: 1px solid var(--border);
  padding-top: 26px;
}
.hero__proof div { display: flex; align-items: center; gap: 10px; }
.hero__proof span:last-child { font-size: 15px; color: #4A5872; }

.hero__media { display: flex; justify-content: flex-end; }
.hero__frame { position: relative; width: 100%; max-width: 430px; }
.hero__photo {
  aspect-ratio: 4 / 5;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }

.stat-chip {
  position: absolute; left: -24px; bottom: 38px;
  background: var(--navy); color: #fff;
  border-radius: 16px; padding: 20px 24px;
  box-shadow: 0 16px 34px rgba(16, 42, 92, .28);
}
.stat-chip__n { font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1; }
.stat-chip__l { font-size: 13px; color: var(--text-on-dark); margin-top: 4px; max-width: 150px; line-height: 1.4; }

/* ---------- Encabezado de sección ---------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 32px; margin-bottom: 38px; flex-wrap: wrap;
}

/* ---------- Grid de servicios ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }

.card-serv {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.card-serv:hover {
  border-color: var(--green);
  transform: translateY(-3px);
  box-shadow: 0 14px 34px rgba(16, 42, 92, .1);
}
.card-serv__media { aspect-ratio: 4 / 5; overflow: hidden; }
.card-serv__media img { width: 100%; height: 100%; object-fit: cover; }
.card-serv__body { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.card-serv__body .link-arrow { margin-top: auto; padding-top: 14px; }

/* ---------- Panel "por qué" ---------- */
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 56px 52px;
}
.panel__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; }
.reasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 40px; }
.reason__n { font-family: var(--font-display); font-weight: 800; font-size: 14px; color: var(--green); margin-bottom: 10px; }
.reason h3 { font-weight: 700; font-size: 17px; margin: 0 0 8px; }

/* ---------- Pasos ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
.step { border-top: 3px solid var(--border); padding-top: 22px; }
.step:first-child { border-top-color: var(--green); }
.step__n { font-family: var(--font-display); font-weight: 800; font-size: 34px; color: var(--border); line-height: 1; margin-bottom: 14px; }

/* ---------- Tira de proceso ---------- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.strip__img { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; }
.strip__img img { width: 100%; height: 100%; object-fit: cover; }
.strip figcaption { font-size: 15px; line-height: 1.45; color: var(--text-muted); margin-top: 12px; }
.strip figure { margin: 0; }

/* ---------- Antes / Después ---------- */
.ba-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 14px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.ba-card:hover { border-color: var(--green); box-shadow: 0 12px 30px rgba(16, 42, 92, .09); }
.ba-card--lg { padding: 16px; }
.ba-card__media { position: relative; aspect-ratio: 4 / 5; border-radius: 13px; overflow: hidden; }
.ba-card--lg .ba-card__media { max-width: 360px; margin: 0 auto; }
.ba-card__media img { width: 100%; height: 100%; object-fit: cover; }

.tag {
  position: absolute; top: 14px; pointer-events: none;
  font-family: var(--font-display); font-weight: 700;
  font-size: 10.5px; letter-spacing: .14em;
  padding: 6px 12px; border-radius: 999px; color: #fff;
}
.tag--antes { left: 14px; background: rgba(10, 28, 63, .85); }
.tag--despues { right: 14px; background: var(--green); }

.ba-card__caption { padding: 16px 6px 4px; }
.ba-card--lg .ba-card__caption { padding: 18px 6px 4px; text-align: center; }
.ba-card__title { font-family: var(--font-display); font-weight: 700; font-size: 16px; line-height: 1.3; color: var(--navy); }
.ba-card--lg .ba-card__title { font-size: 17px; }
.ba-card__meta { font-size: 14px; color: var(--text-light); margin-top: 5px; }
.ba-card__desc { font-size: 14.5px; line-height: 1.6; color: var(--text-muted); margin: 10px 0 0; }
h3.ba-card__title { font-family: var(--font-display); }
.ba-card--lg .ba-card__meta { font-size: 15px; }

/* ---------- Garantía (navy) ---------- */
.guarantee {
  max-width: var(--wrap); margin: 0 auto;
  padding: 76px 28px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px; align-items: center;
}
.guarantee h2 { color: #fff; }
.guarantee p { font-size: 17px; line-height: 1.62; color: var(--text-on-dark); margin: 0 0 28px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.stat-box {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 16px; padding: 26px 22px;
}
.stat-box__n { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: #fff; line-height: 1; margin-bottom: 10px; }
.stat-box__l { font-size: 14px; line-height: 1.5; color: var(--text-on-dark); }

/* ---------- Cobertura ---------- */
.coverage { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 52px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 8px 15px; font-size: 14px; color: var(--navy-mid);
}
.map-frame {
  height: 400px; border-radius: 20px; overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 16px 40px rgba(16, 42, 92, .1);
}
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- FAQ ---------- */
.faq { max-width: 900px; margin: 0 auto; padding: 84px 28px; }
.faq__item { border-top: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%; border: 0; background: none;
  padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--navy);
  transition: color .18s ease;
}
.faq__q:hover { color: var(--green); }
.faq__icon {
  font-family: var(--font-display); font-weight: 700; font-size: 22px;
  color: var(--green); flex: none; line-height: 1;
  transition: transform .22s ease;
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { display: none; }
.faq__a p { font-size: 16px; line-height: 1.65; color: var(--text-muted); margin: 0 0 24px; max-width: 680px; }
.faq__q[aria-expanded="true"] + .faq__a { display: block; animation: fpFade .25s ease both; }

/* ---------- Servicios (filas alternas) ---------- */
.serv-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 60px; align-items: center;
  padding: 80px 0 0;
}
.serv-row--last { padding-bottom: 88px; }
.serv-row__media {
  width: 100%; max-width: 430px; aspect-ratio: 4 / 5;
  border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-soft);
}
.serv-row__media img { width: 100%; height: 100%; object-fit: cover; }
.serv-row__media--right { order: 2; justify-self: end; }
.serv-row__n {
  font-family: var(--font-display); font-weight: 800; font-size: 13px;
  color: var(--green); letter-spacing: .14em; margin-bottom: 14px;
}
.serv-row h2 { font-weight: 800; font-size: clamp(26px, 3vw, 34px); line-height: 1.12; margin: 0 0 16px; }
.checks { display: grid; gap: 12px; margin-bottom: 30px; }
.checks div { display: flex; gap: 12px; align-items: flex-start; }
.checks .diamond { margin-top: 8px; }
.checks span:last-child { font-size: 16px; color: var(--text); }
.serv-row__actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

.include-card {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 26px;
}

/* ---------- Banda CTA ---------- */
.cta-band {
  max-width: var(--wrap); margin: 0 auto;
  padding: 70px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 32px); line-height: 1.12; margin: 0 0 10px; }
.cta-band p { font-size: 17px; color: var(--text-on-dark); margin: 0; }
.cta-band .btn { flex: none; }

.cta-box {
  margin-top: 56px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 40px 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-box h2 { font-weight: 800; font-size: 26px; margin: 0 0 8px; }
.cta-box p { font-size: 16px; color: var(--text-muted); margin: 0; }

/* ---------- Filtros de galería ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.filter {
  border: 1.5px solid var(--border-strong);
  background: var(--surface); color: var(--navy);
  font-family: var(--font-display); font-weight: 700; font-size: 14px;
  padding: 11px 20px; border-radius: 999px;
  transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}
.filter:hover { border-color: var(--green); }
.filter[aria-pressed="true"] { background: var(--green); border-color: var(--green); color: #fff; }
.filters__status { font-size: 14px; color: var(--text-light); margin-left: 6px; }
.filters__status b { color: var(--navy-mid); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gallery > [hidden] { display: none; }

/* ---------- Formulario ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 52px; align-items: start; }
.form-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 22px; padding: 40px 38px;
}
.form-card h2 { font-weight: 800; font-size: 26px; margin: 0 0 26px; }
.form-grid { display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
.field > span {
  font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--navy-mid);
}
.field input, .field select, .field textarea {
  border: 1.5px solid var(--border);
  border-radius: 12px; padding: 14px 16px;
  font-size: 16px; color: var(--navy);
  outline: none; background: var(--field);
  transition: border-color .18s ease, background-color .18s ease;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--green); background: var(--surface);
}
.form-note { font-size: 13px; color: var(--text-light); margin: 0; line-height: 1.5; }
.form-ok {
  background: #F0F7EC; border: 1px solid #CBE5BC;
  border-radius: 12px; padding: 14px 16px;
  font-size: 15px; color: #3F7A24;
}
.form-ok[hidden] { display: none; }

.contact-side { display: grid; gap: 22px; }
.contact-card { background: var(--navy); border-radius: 22px; padding: 36px 34px; color: #fff; }
.contact-card__tel {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(22px, 2.4vw, 28px); color: #fff;
  letter-spacing: -.01em; display: inline-block; white-space: nowrap;
}
.contact-card__tel:hover { color: var(--green); }
.contact-card p { font-size: 16px; line-height: 1.6; color: var(--text-on-dark); margin: 16px 0 22px; }
.hours { display: grid; gap: 10px; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; }
.hours div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.hours span:first-child { color: var(--text-on-dark); }
.hours span:last-child { font-weight: 600; }

.map-card { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; overflow: hidden; }
.map-card__frame { height: 280px; }
.map-card__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-card__body { padding: 24px 26px; }

/* ============================================================
   Páginas de servicio (servicio-*.html)
   ============================================================ */

.sp { padding-bottom: 104px; }

/* Cabecera simple */
.sp-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.sp-header__inner {
  max-width: 1120px; margin: 0 auto;
  padding: 12px 28px;
  display: flex; align-items: center; gap: 20px;
}
.sp-header .brand { text-decoration: none; }
.sp-header .brand__mark { width: 54px; height: 54px; }
.sp-header .brand__name { font-size: 21px; }
.sp-header .brand__tag { font-size: 8px; letter-spacing: .26em; }
.sp-header__cta { margin-left: auto; flex: none; }

/* CTA con pulso */
@keyframes fpPulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(91, 177, 48, .34); }
  50%      { box-shadow: 0 14px 44px rgba(91, 177, 48, .62); }
}
.btn--pulse { animation: fpPulse 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .btn--pulse { animation: none; } }

.btn--xl { font-size: clamp(18px, 2vw, 21px); padding: 22px 42px; font-weight: 800; }
.btn--xxl { font-size: clamp(18px, 2.2vw, 22px); padding: 24px 48px; font-weight: 800; }

/* Hero */
.sp-hero { background: var(--surface); }
.sp-hero__inner {
  max-width: 1120px; margin: 0 auto;
  padding: 64px 28px 72px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 56px; align-items: center;
}
.sp-badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: #F0F7EC; border: 1px solid #CBE5BC;
  border-radius: 999px; padding: 8px 16px; margin-bottom: 24px;
}
.sp-badge span:last-child {
  font-family: var(--font-display); font-weight: 600;
  font-size: 12px; letter-spacing: .1em; color: #3F7A24;
}
.sp-hero h1 {
  font-weight: 800; font-size: clamp(32px, 4.4vw, 50px);
  line-height: 1.05; letter-spacing: -.025em; margin: 0 0 20px;
}
.sp-hero__lead {
  font-size: 19px; line-height: 1.6; color: #4A5872;
  margin: 0 0 32px; max-width: 520px; text-wrap: pretty;
}
.sp-hero__micro { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 20px; }
.sp-hero__micro span { font-size: 15px; color: var(--text-muted); }
.sp-hero__tel { font-size: 16px; color: var(--text-light); margin: 18px 0 0; }
.sp-hero__tel a { font-weight: 600; color: var(--navy-mid); }
.sp-hero__media { display: flex; justify-content: flex-end; }
.sp-hero__frame {
  width: 100%; max-width: 400px; aspect-ratio: 4 / 5;
  border-radius: 20px; overflow: hidden;
  box-shadow: 0 22px 54px rgba(16, 42, 92, .16);
}
.sp-hero__frame img { width: 100%; height: 100%; object-fit: cover; }

/* Bloques de ancho */
.sp-wrap { max-width: 1120px; margin: 0 auto; padding-inline: 28px; }
.sp-narrow { max-width: 820px; margin: 0 auto; padding-inline: 28px; }

.sp-h2 {
  font-weight: 800; font-size: clamp(25px, 3vw, 32px);
  line-height: 1.12; margin: 0 0 8px;
}
.sp-h2--sm { font-size: clamp(24px, 2.8vw, 30px); }

/* Resultados */
.sp-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.sp-results .ba-card__caption { font-size: 16px; color: var(--text-muted); padding: 16px 6px 4px; }

/* Qué incluye */
.sp-incluye {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 24px; padding: 48px 44px;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px;
}
.sp-incluye__list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 32px;
}
.sp-incluye__list div { display: flex; gap: 12px; align-items: flex-start; }
.sp-incluye__list .diamond { margin-top: 8px; }
.sp-incluye__list span:last-child { font-size: 16px; line-height: 1.5; color: var(--text); }

/* Señales */
.sp-senales { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.sp-senal {
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 16px; padding: 26px 24px;
}
.sp-senal h3 { font-weight: 700; font-size: 17px; margin: 0 0 8px; }

/* Límites honestos del servicio */
.sp-limites { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.sp-limite {
  background: var(--surface); border: 1px solid var(--border);
  border-left: 3px solid var(--border-strong);
  border-radius: 0 14px 14px 0; padding: 22px 24px;
}
.sp-limite h3 { font-weight: 700; font-size: 17px; margin: 0 0 8px; }
.sp-limite p { font-size: 15px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* Cuidado posterior */
.sp-cuidado { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; max-width: 780px; }
.sp-cuidado li {
  display: grid; gap: 4px;
  border-top: 1px solid var(--border); padding-top: 16px;
}
.sp-cuidado strong {
  font-family: var(--font-display); font-weight: 700;
  font-size: 16px; color: var(--navy);
}
.sp-cuidado span { font-size: 15px; line-height: 1.6; color: var(--text-muted); }

/* Pasos */
.sp-pasos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.sp-paso { border-top: 3px solid var(--border); padding-top: 20px; }
.sp-paso:first-child { border-top-color: var(--green); }
.sp-paso__n {
  font-family: var(--font-display); font-weight: 800;
  font-size: 30px; color: #D7E0EC; line-height: 1; margin-bottom: 12px;
}
.sp-paso h3 { font-weight: 700; font-size: 18px; margin: 0 0 8px; }
.sp-paso p { font-size: 16px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* FAQ estática */
.sp-faq { display: grid; gap: 26px; }
.sp-faq__item { border-top: 1px solid var(--border); padding-top: 22px; }
.sp-faq__item h3 { font-weight: 700; font-size: 19px; margin: 0 0 10px; }
.sp-faq__item p { font-size: 17px; line-height: 1.6; color: var(--text-muted); margin: 0; }

/* CTA final */
.sp-cta { background: var(--navy); }
.sp-cta__inner { max-width: 820px; margin: 0 auto; padding: 80px 28px; text-align: center; }
.sp-cta h2 {
  font-weight: 800; font-size: clamp(27px, 3.4vw, 40px);
  line-height: 1.12; color: #fff; margin: 0 0 16px;
}
.sp-cta p { font-size: 19px; line-height: 1.6; color: var(--text-on-dark); margin: 0 0 34px; }
.sp-cta__tel { font-size: 16px; color: #8FA3C4; margin: 22px 0 0; }
.sp-cta__tel a { color: #fff; font-weight: 600; }

/* Footer simple */
.sp-footer { background: var(--navy-deep); color: var(--text-light); }
.sp-footer div {
  max-width: 1120px; margin: 0 auto;
  padding: 34px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; font-size: 14px;
}
.sp-footer a { color: var(--text-on-dark); }

/* Barra fija inferior */
.sp-sticky {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: rgba(10, 28, 63, .96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, .12);
}
.sp-sticky__inner {
  max-width: 1120px; margin: 0 auto;
  padding: 16px 28px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
}
.sp-sticky__text {
  color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 17px;
}

/* Tira de proceso de 5 pasos */
.strip--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }

/* Otros servicios */
.sp-otros { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.sp-otro {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 16px 18px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  color: var(--navy); display: block;
  transition: border-color .18s ease, transform .18s ease;
}
.sp-otro:hover { border-color: var(--green); color: var(--navy); transform: translateY(-2px); }

@media (max-width: 1080px) {
  .strip--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .strip--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 44px 28px 56px; }
  .sp-hero__media { justify-content: flex-start; }
  .sp-hero__frame { max-width: 100%; }
  .sp-incluye { grid-template-columns: 1fr; gap: 28px; padding: 36px 30px; }
  .sp-senales { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-pasos { grid-template-columns: 1fr; gap: 22px; }
  .sp-otros { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .sp { padding-bottom: 148px; }
  .sp-header__inner, .sp-hero__inner, .sp-wrap, .sp-narrow,
  .sp-cta__inner, .sp-footer div, .sp-sticky__inner { padding-inline: 20px; }
  .sp-header__inner { gap: 12px; }
  .sp-header .brand__mark { width: 44px; height: 44px; }
  .sp-header .brand__name { font-size: 18px; }
  .sp-header .brand__tag { display: none; }
  .sp-header__cta { font-size: 13px; padding: 11px 16px; }
  .strip--5, .sp-results, .sp-senales, .sp-incluye__list, .sp-otros,
  .sp-limites { grid-template-columns: 1fr; }
  .sp-incluye { padding: 28px 22px; }
  .sp-hero .btn, .sp-cta .btn { width: 100%; }
  .sp-cta__inner { padding: 56px 20px; }
  .sp-sticky__inner { justify-content: center; text-align: center; padding: 12px 20px; }
  .sp-sticky__text { font-size: 15px; }
  .sp-sticky .btn { width: 100%; }
  .sp-footer div { justify-content: flex-start; }
}

.cobertura { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px; }
@media (max-width: 960px) { .cobertura { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cobertura { grid-template-columns: 1fr; } }

/* Marca de dato pendiente — visible a propósito, para que no se publique por descuido */
.pendiente {
  background: #FFF4CC; color: #7A5B00;
  border-left: 3px solid #E5A800;
  padding: 2px 8px; border-radius: 0 4px 4px 0;
  font-size: .95em; box-decoration-break: clone;
}

/* Tabla de precios */
.tabla-wrap { overflow-x: auto; }
.tabla-precios {
  width: 100%; border-collapse: collapse;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; overflow: hidden;
  font-size: 16px; min-width: 520px;
}
.tabla-precios caption { text-align: left; }
.tabla-precios thead th {
  background: var(--bg); text-align: left;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .08em; text-transform: uppercase; color: var(--navy-mid);
  padding: 14px 20px; border-bottom: 1px solid var(--border);
}
.tabla-precios tbody th {
  text-align: left; font-weight: 500; color: var(--text);
  padding: 14px 20px; font-family: var(--font-body);
}
.tabla-precios td { padding: 14px 20px; color: var(--text-muted); }
.tabla-precios tbody tr + tr th,
.tabla-precios tbody tr + tr td { border-top: 1px solid var(--border); }
.tabla-precios tbody tr:hover { background: var(--field); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-deep); color: var(--text-on-dark); }
.footer__inner {
  max-width: var(--wrap); margin: 0 auto;
  padding: 60px 28px 30px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, .9fr);
  gap: 48px;
}
.footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer__brand img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; }
.footer__brand span {
  font-family: var(--font-display); font-weight: 800; font-style: italic;
  font-size: 22px; color: #fff;
}
.footer__brand span span { color: var(--green); }
.footer p { font-size: 15px; line-height: 1.6; margin: 0 0 8px; max-width: 320px; }
.footer__slogan {
  font-family: var(--font-display); font-weight: 600; font-style: italic;
  font-size: 14px; color: var(--green); margin: 0;
}
.footer__title {
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
  letter-spacing: .12em; color: #fff; margin-bottom: 16px;
}
.footer__list { display: grid; gap: 10px; align-items: start; justify-items: start; }
.footer__list button {
  border: 0; background: none; padding: 0;
  font-size: 15px; color: var(--text-on-dark); font-family: var(--font-body);
  transition: color .18s ease;
}
.footer__list button:hover, .footer__list a:hover { color: var(--green); }
.footer__list a, .footer__list span { font-size: 15px; color: var(--text-on-dark); }
.footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.footer__bar div {
  max-width: var(--wrap); margin: 0 auto;
  padding: 20px 28px;
  display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap;
  font-size: 13px; color: var(--text-light);
}

/* ---------- CTA flotante ---------- */
.fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  background: var(--green); color: #fff;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 16px 24px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(16, 42, 92, .3);
  display: flex; align-items: center; gap: 10px;
  transition: background-color .18s ease, transform .18s ease;
}
.fab:hover { background: var(--green-dark); color: #fff; transform: translateY(-2px); }
.fab__dot { width: 9px; height: 9px; border-radius: 50%; background: #fff; display: block; flex: none; }

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1080px) {
  .hero__inner { gap: 44px; }
  .panel { padding: 44px 36px; }
  .panel__grid { gap: 40px; }
  .stat-chip { left: -12px; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 0 0 auto;
    top: 83px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(16, 42, 92, .12);
    padding: 12px 20px 22px;
    margin-left: 0;
    max-height: calc(100vh - 83px);
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, transform .2s ease, visibility .2s;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__link {
    flex-direction: row;
    justify-content: space-between;
    padding: 16px 6px;
    font-size: 17px;
    border-bottom: 1px solid var(--border);
  }
  .nav__link::after { width: 22px; }
  .nav__cta { margin: 18px 0 0; width: 100%; }
  .nav-toggle { display: flex; }

  .hero__inner { grid-template-columns: 1fr; padding: 48px 28px 60px; }
  .hero__media { justify-content: flex-start; }
  .hero__frame { max-width: 100%; }
  .stat-chip { left: auto; right: 18px; bottom: 18px; }

  .grid-3, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .panel__grid { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; gap: 40px; padding-block: 60px; }
  .coverage { grid-template-columns: 1fr; gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }

  .serv-row { grid-template-columns: 1fr; gap: 32px; padding-top: 60px; }
  .serv-row__media { order: -1; max-width: 100%; }
  .serv-row__media--right { order: -1; justify-self: stretch; }

  .footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }

  .section { padding-block: 64px; }
  .section--tight { padding-block: 56px; }
}

@media (max-width: 640px) {
  .wrap, .header__inner, .hero__inner, .guarantee, .cta-band, .footer__inner, .footer__bar div, .faq { padding-inline: 20px; }

  .brand__mark { width: 46px; height: 46px; }
  .brand__name { font-size: 19px; }
  .brand__tag { font-size: 7.5px; letter-spacing: .22em; }
  .nav { top: 71px; max-height: calc(100vh - 71px); }

  .grid-3, .grid-2, .gallery, .steps, .strip, .stat-grid, .reasons { grid-template-columns: 1fr; }
  .hero__proof { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }

  .panel { padding: 32px 24px; border-radius: 20px; }
  .form-card { padding: 28px 22px; }
  .contact-card { padding: 28px 24px; }
  .cta-box { padding: 28px 24px; }
  .map-frame { height: 320px; }

  .section { padding-block: 52px; }
  .section--tight { padding-block: 48px; }
  .faq { padding-block: 52px; }
  .serv-row { padding-top: 48px; }
  .serv-row--last { padding-bottom: 56px; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bar div { justify-content: flex-start; }

  .fab { right: 16px; bottom: 16px; padding: 14px 20px; font-size: 14px; }
  .stat-chip { padding: 16px 18px; }
  .stat-chip__n { font-size: 26px; }
}

/* ---------- Impresión ---------- */
@media print {
  .header, .fab, .nav-toggle, .filters, .map-frame, .map-card__frame { display: none !important; }
  .view[hidden] { display: block !important; }
  body { background: #fff; }
}
