/* =========================================================
   CERRAJERÍA PUNTO SEGURO 24H — DEMO
   Hoja de estilos única. Organizada por bloques.
   ========================================================= */

/* --- 1. VARIABLES --- */
:root {
  --bg-primary: #0a0e17;
  --bg-secondary: #12161f;
  --surface: #1b212c;
  --surface-alt: #232a37;
  --border: #2a3140;
  --border-soft: #1f2532;

  --text-primary: #f5f1e6;
  --text-secondary: #aab0bd;
  --text-muted: #7d8494;

  --accent: #f2a93b;
  --accent-strong: #ffc266;
  --accent-ink: #1a1204;

  --whatsapp: #2fbf6e;
  --whatsapp-strong: #3ed67f;

  --focus-ring: #ffd166;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --maxw: 1180px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;

  --shadow-card: 0 10px 30px -18px rgba(0, 0, 0, 0.7);
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --mobilebar-h: 64px;
  --header-offset: 96px;
}

/* --- 2. RESET --- */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--font-base);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
}
h1, h2, h3, p {
  margin: 0;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* --- 3. UTILIDADES --- */
.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section {
  padding-block: var(--space-xl);
}
.section--tight {
  padding-block: var(--space-lg);
}
.section-head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-sm);
}
.h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-sm);
}
.lede {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 60ch;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
.lede--centered {
  margin-inline: auto;
}
.lede--small {
  font-size: 0.9rem;
}
.link-inline {
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  text-decoration: underline;
}
.link-inline--accent {
  color: var(--accent);
}
.link-inline--whatsapp {
  color: var(--whatsapp);
}
.media-frame--sm {
  min-height: 180px;
  margin-bottom: 0.5rem;
}
.zones-cta {
  margin-top: 1.25rem;
}
.skip-link {
  position: absolute;
  left: 1rem;
  top: -60px;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 1rem;
}

/* Foco visible global */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --- 4. BOTONES --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}
.btn:active {
  transform: translateY(1px);
}
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 22px -10px rgba(242, 169, 59, 0.55);
}
.btn--primary:hover {
  background: var(--accent-strong);
}
.btn--whatsapp {
  background: var(--whatsapp);
  color: #06210f;
}
.btn--whatsapp:hover {
  background: var(--whatsapp-strong);
}
.btn--ghost {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.btn--block {
  width: 100%;
}
.btn--sm {
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
}
.icon {
  width: 1.15em;
  height: 1.15em;
  flex-shrink: 0;
}

/* --- 5. AVISO DE DEMOSTRACIÓN --- */
.demo-banner {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.55rem 1rem;
  position: relative;
  z-index: 60;
}
.demo-banner strong {
  color: var(--accent);
}

/* Compensa la cabecera sticky al navegar por anclas */
#servicios,
#como-trabajamos,
#urgencias,
#seguridad,
#zonas,
#opiniones,
#preguntas {
  scroll-margin-top: var(--header-offset);
}

/* --- 6. HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 14, 23, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-soft);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}
.brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.15;
  min-width: 0;
  flex-shrink: 1;
}
.brand__name {
  font-weight: 800;
  font-size: clamp(0.95rem, 4.2vw, 1.15rem);
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.brand__tagline {
  font-size: 0.72rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-desktop {
  display: none;
}
.nav-desktop ul {
  display: flex;
  gap: 1.5rem;
}
.nav-desktop a {
  text-decoration: none;
  font-size: 0.92rem;
  color: var(--text-secondary);
}
.nav-desktop a:hover {
  color: var(--text-primary);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.availability-pill {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
}
.availability-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--whatsapp);
}
.header-actions .btn span.btn-label-full {
  display: none;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
}
.menu-toggle__icon {
  position: relative;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.menu-toggle__icon::before,
.menu-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 20px;
  height: 2px;
  background: currentColor;
}
.menu-toggle__icon::before {
  top: -6px;
}
.menu-toggle__icon::after {
  top: 6px;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  transform: translateX(100%);
  transition: transform 0.28s ease;
}
.mobile-nav[hidden] {
  display: none;
}
.mobile-nav[data-open="true"] {
  transform: translateX(0);
}
.mobile-nav__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
}
.mobile-nav__close {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text-primary);
  font-size: 1.4rem;
  cursor: pointer;
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.mobile-nav a {
  display: block;
  padding: 0.9rem 0.25rem;
  font-size: 1.15rem;
  text-decoration: none;
  border-bottom: 1px solid var(--border-soft);
}
.mobile-nav__actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding-top: var(--space-md);
}
.no-scroll {
  overflow: hidden;
}

/* --- 7. HERO --- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(500px, 80vh, 720px);
  padding-block: clamp(3.25rem, 9vw, 5.5rem);
  background-color: #0a0e17;
}
.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__photo picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 13, 21, 0.94) 0%, rgba(8, 13, 21, 0.82) 34%, rgba(8, 13, 21, 0.42) 62%, rgba(8, 13, 21, 0.14) 84%),
    linear-gradient(180deg, rgba(6, 10, 16, 0.32) 0%, rgba(6, 10, 16, 0) 28%, rgba(6, 10, 16, 0) 72%, rgba(6, 10, 16, 0.42) 100%);
}
.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
}
.hero__content {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
}
.hero__content .lede {
  margin-inline: auto;
}
.hero__title {
  margin-block: 0.85rem 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero__title-line {
  display: block;
  white-space: nowrap;
  font-size: clamp(1.5rem, 7.6vw, 3.4rem);
  line-height: 1.08;
}
.hero__nowrap {
  white-space: nowrap;
}
.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-top: var(--space-md);
}
.hero__actions .btn {
  width: 100%;
  max-width: 320px;
}
.hero__disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.35rem;
  margin-top: var(--space-md);
  max-width: 560px;
  margin-inline: auto;
}
.hero__trust li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
}
.hero__trust .icon {
  color: var(--accent);
  flex-shrink: 0;
}

/* CTA en fila solo cuando hay espacio cómodo; apilados hasta 480px inclusive */
@media (min-width: 481px) {
  .hero__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero__actions .btn {
    width: auto;
    max-width: none;
  }
}

/* Encuadre — foto de escritorio en el tramo 768–860px (ajuste fino existente) */
@media (min-width: 768px) and (max-width: 860px) {
  .hero__photo-img {
    object-position: 76% 40%;
  }
}
/* Encuadre — foto móvil dedicada (art direction vía <picture>/<source>):
   ya viene recortada, solo necesita una posición neutra. */
@media (max-width: 767px) {
  .hero__photo-img {
    object-position: center 32%;
    filter: brightness(1.22) contrast(1.04) saturate(1.06);
  }

  .hero__overlay {
    background:
      linear-gradient(
        180deg,
        rgba(8, 13, 21, 0.60) 0%,
        rgba(8, 13, 21, 0.38) 24%,
        rgba(8, 13, 21, 0.32) 70%,
        rgba(8, 13, 21, 0.52) 100%
      ),
      linear-gradient(
        90deg,
        rgba(8, 13, 21, 0.42) 0%,
        rgba(8, 13, 21, 0.18) 100%
      );
  }

  .hero__content .eyebrow,
  .hero__title,
  .hero__content .lede,
  .hero__disclaimer {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  }
}

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background:
    repeating-linear-gradient(135deg, var(--surface-alt) 0 18px, var(--surface) 18px 36px);
  min-height: 260px;
}
.media-frame img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}
.media-frame__placeholder {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem;
  text-align: center;
}
.media-frame__icon {
  width: 64px;
  height: 64px;
  color: var(--text-muted);
  opacity: 0.6;
}
.media-frame__fallback-text {
  display: none;
  color: var(--text-muted);
  font-size: 0.85rem;
}
/* Cuando la fotografía no carga, script.js añade esta clase al contenedor */
.media-frame.is-broken img {
  display: none;
}
.media-frame.is-broken .media-frame__fallback-text {
  display: block;
}

/* --- 8. SELECTOR "¿QUÉ HA OCURRIDO?" --- */
.need-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
.need-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.need-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.need-card__icon {
  width: 34px;
  height: 34px;
  color: var(--accent);
}
.need-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.need-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  flex-grow: 1;
}
.need-card__action {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* --- 9. OFERTA --- */
/* BLOQUE-OFERTA: componente modular de precio ficticio de demostración */
.offer {
  background: linear-gradient(160deg, var(--surface-alt), var(--surface));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  display: grid;
  gap: var(--space-md);
  box-shadow: var(--shadow-card);
}
.offer__tag {
  display: inline-block;
  align-self: start;
  background: rgba(242, 169, 59, 0.12);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}
.offer__price {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  overflow-wrap: break-word;
}
.offer__note {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 65ch;
}
.offer__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

/* --- 10. SERVICIOS --- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.service-card__icon {
  width: 32px;
  height: 32px;
  color: var(--accent);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
}
.service-card p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.services-cta {
  margin-top: var(--space-md);
  text-align: center;
  color: var(--text-secondary);
}

/* --- 11. PROCESO --- */
.process-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  counter-reset: step;
}
.process-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.process-step__num {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--accent);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.process-step p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.process-cta {
  margin-top: var(--space-lg);
  text-align: center;
}

/* --- 12. BLOQUE 24 HORAS --- */
.urgent-block {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-soft);
}
.urgent-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
.urgent-situations {
  display: grid;
  gap: 0.55rem;
  margin-block: var(--space-md);
}
.urgent-situations li {
  display: flex;
  gap: 0.55rem;
  color: var(--text-secondary);
  font-size: 0.94rem;
}
.urgent-situations .icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.urgent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}
.urgent-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
}

/* --- 13. TRANSPARENCIA --- */
.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  height: 100%;
}
.trust-card__icon {
  width: 30px;
  height: 30px;
  color: var(--whatsapp);
  margin-bottom: 0.6rem;
}
.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.trust-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* --- 14. URGENCIAS Y SEGURIDAD PROGRAMADA --- */
.dual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
.dual-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}
.dual-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
}
.dual-card p {
  color: var(--text-secondary);
}

/* --- 15. ZONA DE SERVICIO --- */
.zones-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
.zones-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-block: var(--space-md);
}
.zones-list li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  text-align: center;
}
.map-frame {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}
.map-frame img {
  width: 100%;
  height: auto;
  display: block;
}
.map-disclaimer {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  text-align: center;
}

/* --- 16. RESEÑAS --- */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-sm);
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  height: 100%;
}
.review-card__badge {
  align-self: start;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
}
.review-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-primary);
}
.review-card cite {
  font-style: normal;
  color: var(--text-secondary);
  font-size: 0.85rem;
}
.reviews-disclaimer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: var(--space-md);
  max-width: 60ch;
  margin-inline: auto;
}

/* --- 17. FAQ --- */
.faq-list {
  border-top: 1px solid var(--border-soft);
}
.faq-item {
  border-bottom: 1px solid var(--border-soft);
}
.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 1.15rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.02rem;
  font-weight: 600;
}
.faq-question__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}
.faq-question[aria-expanded="true"] .faq-question__icon {
  transform: rotate(45deg);
}
.faq-answer {
  overflow: hidden;
}
/* Sin JavaScript, todas las respuestas permanecen visibles y accesibles.
   El colapsado solo se activa cuando script.js confirma que JS está disponible. */
.js-enabled .faq-answer {
  max-height: 0;
  transition: max-height 0.25s ease;
}
.js-enabled .faq-answer[data-open="true"] {
  max-height: 600px;
}
.faq-answer__inner {
  padding-bottom: 1.25rem;
  color: var(--text-secondary);
  max-width: 68ch;
}

/* --- 18. CTA FINAL --- */
.cta-final {
  background: var(--surface-alt);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  margin-inline: 1.25rem;
}
.cta-final__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: var(--space-md);
}
.cta-final__disclaimer {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: var(--space-sm);
}

/* --- 19. FOOTER --- */
.site-footer {
  padding-block: var(--space-lg);
  padding-bottom: calc(var(--space-lg) + var(--mobilebar-h));
  border-top: 1px solid var(--border-soft);
  background: var(--bg-secondary);
}
.footer-grid {
  display: grid;
  gap: var(--space-md);
}
.footer-brand__name {
  font-weight: 800;
  font-size: 1.1rem;
}
.footer-brand__tagline {
  color: var(--text-secondary);
  font-size: 0.88rem;
}
.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-nav a,
.footer-legal button {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  background: none;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding: 0.15rem 0;
  margin: 0;
  font-family: inherit;
  line-height: inherit;
}
.footer-nav a:hover,
.footer-legal button:hover {
  color: var(--text-primary);
}
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-fine-print {
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: var(--space-md);
  max-width: 75ch;
}
.footer-fine-print p + p {
  margin-top: 0.4rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* --- 20. BARRA MÓVIL FIJA --- */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  padding-bottom: calc(0.6rem + env(safe-area-inset-bottom));
  background: rgba(10, 14, 23, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border);
}
.mobile-bar[hidden] {
  display: none;
}
.mobile-bar .btn {
  width: 100%;
}

/* --- 21. MODAL --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 6, 10, 0.72);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
}
.modal-overlay[hidden] {
  display: none;
}
.modal {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 440px;
  width: 100%;
  padding: var(--space-lg) var(--space-md) var(--space-md);
  box-shadow: var(--shadow-card);
}
.modal h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.modal p {
  color: var(--text-secondary);
  font-size: 0.96rem;
  margin-bottom: var(--space-md);
}
.modal__close {
  margin-left: auto;
  display: block;
}

@media (min-width: 560px) {
  .modal-overlay {
    align-items: center;
  }
}

/* --- 22. RESPONSIVE MAYOR --- */
@media (min-width: 640px) {
  .zones-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Cabecera: hasta 359px solo marca + menú (los botones ya están en la barra inferior) */
@media (max-width: 359px) {
  .header-actions .btn {
    display: none;
  }
}

/* Cabecera: nav completa, indicador y textos de botón solo con espacio suficiente.
   Este breakpoint es propio de la cabecera y no afecta a las rejillas de contenido. */
@media (min-width: 1180px) {
  .nav-desktop {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
  .availability-pill {
    display: inline-flex;
  }
  .header-actions .btn span.btn-label-full {
    display: inline;
  }
  .mobile-bar {
    display: none;
  }
  .site-footer {
    padding-bottom: var(--space-lg);
  }
}

@media (min-width: 860px) {
  .need-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-list {
    grid-template-columns: repeat(3, 1fr);
  }
  .process-step {
    flex-direction: column;
    gap: 0.75rem;
  }
  .urgent-grid {
    grid-template-columns: 1fr 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .dual-grid {
    grid-template-columns: 1fr 1fr;
  }
  .zones-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
  .offer__actions {
    justify-self: end;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-inline: 2rem;
  }
  /* Hero: el bloque completo se desplaza a la zona izquierda del container,
     aprovechando el espacio vacío de la fotografía y despejando al profesional.
     La alineación interna (texto, CTA, confianza) permanece centrada. */
  .hero__content {
    margin-inline: 0 auto;
    max-width: 560px;
  }
  .hero__photo-img {
    object-position: 76% 42%;
  }
}

/* Ajuste móvil: fotografías amplias y proporción uniforme */
@media (max-width: 767px) {
  .media-frame {
    width: 100%;
    margin: 0;
    min-height: 0;
    aspect-ratio: 3 / 2;
  }

  .dual-card {
    padding: 1.25rem;
  }

  .dual-card .media-frame--sm {
    margin-bottom: 0.75rem;
  }
}

/* =========================================================
   TEMA HÍBRIDO CLARO — VERSIÓN COMERCIAL
   Hero y bloques de impacto oscuros; contenido principal luminoso.
   ========================================================= */
.theme-hybrid {
  --bg-primary: #f7f4ee;
  --bg-secondary: #101923;
  --surface: #ffffff;
  --surface-alt: #f0ece4;
  --border: #d9dee4;
  --border-soft: #e5e8ec;

  --text-primary: #18232e;
  --text-secondary: #52606d;
  --text-muted: #77828d;

  --accent: #d99018;
  --accent-strong: #efa72c;
  --accent-ink: #1f1607;

  --whatsapp: #28b968;
  --whatsapp-strong: #34ca77;

  --shadow-card: 0 16px 38px -28px rgba(20, 32, 44, 0.45);

  background: var(--bg-primary);
  color: var(--text-primary);
}

.theme-hybrid .section--light {
  background: #ffffff;
}

.theme-hybrid .section--soft {
  background: #f4f0e8;
}

.theme-hybrid .section--blue {
  background: #edf3f7;
}

.theme-hybrid .demo-banner {
  background: #eef2f5;
  border-bottom-color: #d8dee5;
  color: #52606d;
}

.theme-hybrid .demo-banner strong {
  color: #b96f00;
}

.theme-hybrid .site-header,
.theme-hybrid .mobile-bar {
  --text-primary: #f7f3e9;
  --text-secondary: #b8c1cc;
  --text-muted: #8995a3;
  --surface: #182331;
  --surface-alt: #213044;
  --border: #334154;
  --border-soft: #273548;
  color: var(--text-primary);
}

.theme-hybrid .site-header {
  background: rgba(10, 17, 26, 0.95);
  box-shadow: 0 8px 28px -24px rgba(0, 0, 0, 0.9);
}

.theme-hybrid .mobile-bar {
  background: rgba(10, 17, 26, 0.97);
}

.theme-hybrid .hero {
  --text-primary: #f8f4ea;
  --text-secondary: #c4ccd5;
  --text-muted: #98a4b2;
  --border: #304052;
  --border-soft: #243244;
  --surface: #172331;
  --surface-alt: #213044;
  color: var(--text-primary);
}

.theme-hybrid .need-card,
.theme-hybrid .service-card,
.theme-hybrid .trust-card,
.theme-hybrid .dual-card,
.theme-hybrid .review-card,
.theme-hybrid .zones-list li,
.theme-hybrid .map-frame {
  box-shadow: var(--shadow-card);
}

.theme-hybrid .need-card,
.theme-hybrid .service-card,
.theme-hybrid .trust-card,
.theme-hybrid .dual-card,
.theme-hybrid .review-card {
  border-color: #dce1e6;
}

.theme-hybrid .need-card:hover,
.theme-hybrid .service-card:hover,
.theme-hybrid .trust-card:hover,
.theme-hybrid .review-card:hover {
  border-color: rgba(217, 144, 24, 0.62);
}

.theme-hybrid .service-card,
.theme-hybrid .trust-card {
  border-top: 3px solid rgba(217, 144, 24, 0.72);
}

.theme-hybrid .trust-card__icon {
  color: #209b57;
}

.theme-hybrid .offer {
  background:
    linear-gradient(110deg, rgba(242, 169, 59, 0.12), transparent 48%),
    #ffffff;
  border-color: #e1c998;
  box-shadow: 0 20px 46px -32px rgba(93, 59, 7, 0.5);
}

.theme-hybrid .offer__tag {
  background: #fff3dc;
  color: #a65f00;
}

.theme-hybrid .process-step__num {
  background: #fff7e8;
  border-color: #e8c785;
  color: #ad6700;
}

.theme-hybrid .urgent-block {
  --text-primary: #f8f4ea;
  --text-secondary: #c3ccd6;
  --text-muted: #98a4b2;
  --border: #304052;
  --border-soft: #253447;
  --surface: #172331;
  --surface-alt: #213044;
  color: var(--text-primary);
  background:
    radial-gradient(720px 360px at 15% 15%, rgba(242, 169, 59, 0.12), transparent 68%),
    #101923;
}

.theme-hybrid .zones-list li {
  background: rgba(255, 255, 255, 0.92);
}

.theme-hybrid .map-frame {
  background: #ffffff;
}

.theme-hybrid .faq-list {
  background: #ffffff;
  border: 1px solid #dce1e6;
  border-radius: var(--radius-lg);
  padding-inline: 1.25rem;
  box-shadow: var(--shadow-card);
}

.theme-hybrid .faq-list,
.theme-hybrid .faq-item {
  border-color: #e1e5e9;
}

.theme-hybrid .cta-final {
  --text-primary: #f8f4ea;
  --text-secondary: #c3ccd6;
  --text-muted: #98a4b2;
  --border: #334356;
  --surface: #172331;
  --surface-alt: #213044;
  color: var(--text-primary);
  background:
    radial-gradient(620px 240px at 50% 0%, rgba(242, 169, 59, 0.15), transparent 70%),
    linear-gradient(135deg, #111c28, #172535);
  box-shadow: 0 24px 55px -36px rgba(0, 0, 0, 0.75);
}

.theme-hybrid .site-footer {
  --text-primary: #f8f4ea;
  --text-secondary: #bac4ce;
  --text-muted: #8d99a7;
  --border: #314053;
  --border-soft: #263447;
  color: var(--text-primary);
  background: #0f1822;
}

.theme-hybrid .mobile-nav {
  background: #f8f5ef;
  color: #18232e;
}

.theme-hybrid .mobile-nav .brand__tagline {
  color: #66727e;
}

.theme-hybrid .mobile-nav__close {
  background: #ffffff;
  color: #18232e;
  border-color: #d7dde3;
}

.theme-hybrid .mobile-nav a {
  border-bottom-color: #dde2e7;
}

.theme-hybrid .modal {
  background: #ffffff;
  color: #18232e;
  border-color: #d6dde4;
  box-shadow: 0 30px 70px -34px rgba(0, 0, 0, 0.48);
}

.theme-hybrid .modal .btn--ghost {
  color: #18232e;
  border-color: #cdd5dd;
}

.theme-hybrid .media-frame img {
  filter: saturate(1.04) contrast(1.02);
}

@media (max-width: 767px) {
  .theme-hybrid .section {
    padding-block: 4rem;
  }

  .theme-hybrid .faq-list {
    padding-inline: 1rem;
  }
}

/* =========================================================
   REFINAMIENTO VISUAL V4
   Jerarquía centrada, tarjetas equilibradas y composición
   comercial más armónica. No modifica funciones ni responsive.
   ========================================================= */

/* --- ENCABEZADOS GENERALES DE SECCIÓN --- */
.theme-hybrid .section-head {
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: var(--space-lg);
  text-align: center;
}
.theme-hybrid .section-head .h2 { text-wrap: balance; }
.theme-hybrid .section-head .lede { margin-inline: auto; }

/* --- ¿QUÉ HA OCURRIDO? --- */
.theme-hybrid .need-card {
  align-items: center;
  text-align: center;
}
.theme-hybrid .need-card h3 { text-wrap: balance; }
.theme-hybrid .need-card p {
  max-width: 31ch;
  margin-inline: auto;
}
.theme-hybrid .need-card__action { justify-content: center; }

/* --- OFERTA --- */
.theme-hybrid .offer {
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
}
.theme-hybrid .offer > div:first-child { max-width: 860px; }
.theme-hybrid .offer .lede,
.theme-hybrid .offer__note { margin-inline: auto; }
.theme-hybrid .offer__actions {
  justify-self: center;
  justify-content: center;
}

/* --- SERVICIOS --- */
.theme-hybrid .service-card {
  align-items: center;
  text-align: center;
}
.theme-hybrid .service-card h3 { text-wrap: balance; }
.theme-hybrid .service-card p {
  max-width: 34ch;
  margin-inline: auto;
}

/* --- CÓMO TRABAJAMOS --- */
.theme-hybrid .process-step {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.theme-hybrid .process-step h3 { text-wrap: balance; }
.theme-hybrid .process-step p {
  max-width: 38ch;
  margin-inline: auto;
}

/* --- URGENCIAS 24H --- */
.theme-hybrid .urgent-grid > div:first-child { text-align: center; }
.theme-hybrid .urgent-grid > div:first-child > .h2 { text-wrap: balance; }
.theme-hybrid .urgent-grid > div:first-child > .lede { margin-inline: auto; }
.theme-hybrid .urgent-situations {
  max-width: 620px;
  margin-inline: auto;
  text-align: left;
}
.theme-hybrid .urgent-actions { justify-content: center; }
.theme-hybrid .urgent-disclaimer { text-align: center; }

/* --- TRANSPARENCIA --- */
.theme-hybrid .trust-card { text-align: center; }
.theme-hybrid .trust-card__icon { margin-inline: auto; }
.theme-hybrid .trust-card h3 { text-wrap: balance; }
.theme-hybrid .trust-card p {
  max-width: 34ch;
  margin-inline: auto;
}

/* --- URGENCIA / SEGURIDAD --- */
.theme-hybrid .dual-card { text-align: center; }
.theme-hybrid .dual-card:first-child { justify-content: center; }
.theme-hybrid .dual-card h3 { text-wrap: balance; }
.theme-hybrid .dual-card p {
  max-width: 44ch;
  margin-inline: auto;
}
.theme-hybrid .dual-card > div:last-child { text-align: center; }

/* --- ZONAS --- */
.theme-hybrid .zones-grid > div:first-child { text-align: center; }
.theme-hybrid .zones-grid > div:first-child > .h2 { text-wrap: balance; }
.theme-hybrid .zones-grid > div:first-child > .lede { margin-inline: auto; }
.theme-hybrid .zones-list {
  max-width: 640px;
  margin-inline: auto;
}
.theme-hybrid .zones-cta { text-align: center; }

/* --- OPINIONES --- */
.theme-hybrid .review-card {
  align-items: center;
  text-align: center;
}
.theme-hybrid .review-card__badge { align-self: center; }
.theme-hybrid .review-card blockquote {
  max-width: 36ch;
  margin-inline: auto;
}

/* --- FAQ --- */
.theme-hybrid .faq-list {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
}
.theme-hybrid .faq-question,
.theme-hybrid .faq-answer__inner { text-align: left; }

/* --- TITULARES --- */
.theme-hybrid .h2,
.theme-hybrid .need-card h3,
.theme-hybrid .service-card h3,
.theme-hybrid .trust-card h3,
.theme-hybrid .dual-card h3,
.theme-hybrid .process-step h3 {
  text-wrap: balance;
}
