/* ==========================================================================
   Residencial Red Bienestar — Landing Page 2026
   Branding conservado: acento #c1a379 · oscuro #212529 · WhatsApp #25d366
   ========================================================================== */

:root {
  --brand: #c1a379;        /* dorado/tostado de marca */
  --brand-dark: #8a6d3f;   /* bronce oscuro: contraste AA sobre blanco */
  --dark: #212529;         /* carbón (footer actual) */
  --dark-2: #2b3035;
  --text: #4c4c4c;
  --muted: #767676;
  --bg: #ffffff;
  --bg-soft: #f7f4ef;      /* tono crema derivado del dorado */
  --wa: #25d366;
  --wa-dark: #128c7e;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(33, 37, 41, .10);
  --font: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, 92%);
  margin-inline: auto;
}

/* ============ Botones ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 700;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-align: center;
}
.btn:active { transform: scale(.98); }

.btn-primary {
  background: var(--brand);
  color: #2b2113; /* texto oscuro sobre dorado: contraste WCAG AA (~5.9:1) */
  box-shadow: 0 8px 20px rgba(193, 163, 121, .45);
}
.btn-primary:hover { background: var(--brand-dark); color: #fff; transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-outline:hover { background: rgba(255, 255, 255, .12); }

.btn-ghost {
  background: transparent;
  color: var(--dark);
  border-color: var(--brand);
}
.btn-ghost:hover { background: var(--bg-soft); }
.icon-inline {
  width: 18px;
  height: 18px;
  vertical-align: -3px;
  flex-shrink: 0;
}
.hero-trust .icon-inline, .hero-eyebrow .icon-inline { color: var(--brand); }
.contact-lines .icon-inline, .footer-col .icon-inline { color: var(--brand); }

.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn-sm { padding: .55rem 1.15rem; font-size: .95rem; }
.btn-block { width: 100%; padding: .95rem 1rem; font-size: 1rem; }

/* ============ Header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eee;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .8rem;
}
.brand-logo { height: 40px; width: auto; }

.main-nav { display: flex; gap: 1.4rem; }
.main-nav a { font-weight: 600; color: var(--dark); font-size: .95rem; }
.main-nav a:hover { color: var(--brand-dark); }

.header-cta { display: flex; gap: .6rem; align-items: center; }

/* Hamburger menu (mobile only) */
.mobile-nav-toggle { display: none; position: relative; }
.hamburger {
  list-style: none;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #e0d4bd;
  border-radius: 8px;
  background: #fff;
}
.hamburger::-webkit-details-marker { display: none; }
.hamburger::marker { display: none; }
.hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--dark);
  border-radius: 1px;
  transition: transform .15s ease;
}
.mobile-nav {
  position: absolute;
  top: calc(100% + .5rem);
  right: 0;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(33,37,41,.12);
  min-width: 190px;
  padding: .5rem 0;
  display: none;
}
.mobile-nav-toggle[open] .mobile-nav { display: block; }
.mobile-nav a {
  display: block;
  padding: .65rem 1.2rem;
  font-weight: 600;
  color: var(--dark);
  font-size: .95rem;
}
.mobile-nav a:active { background: var(--bg-soft); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    linear-gradient(rgba(33, 37, 41, .78), rgba(33, 37, 41, .82)),
    radial-gradient(circle at 20% 20%, rgba(193, 163, 121, .35), transparent 45%),
    var(--dark);
  color: #fff;
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  text-align: center;
}
.hero-inner { display: grid; justify-items: center; gap: 1.4rem; max-width: 780px; position: relative; padding-bottom: 2.6rem; }
.scroll-indicator {
  position: absolute;
  bottom: 0;
  color: rgba(255,255,255,.45);
  animation: scrollBounce 1.8s ease-in-out infinite;
}
.scroll-indicator svg { width: 28px; height: 28px; }
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); opacity: .75; }
}

.hero-eyebrow {
  display: inline-block;
  background: rgba(193, 163, 121, .18);
  border: 1px solid rgba(193, 163, 121, .5);
  color: #e9dcc6;
  padding: .45rem 1.1rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
}
.hero h1 { font-size: clamp(2rem, 5.4vw, 3.3rem); line-height: 1.15; color: #fff; }
.hero .accent { color: var(--brand); }
.hero-sub { max-width: 620px; font-size: 1.08rem; color: #e8e8e8; }
.hero-sub strong { color: #fff; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: .5rem; }

.hero-trust {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: .6rem;
  margin-top: 1.4rem;
  width: 100%;
}
.hero-trust li {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  padding: .7rem .9rem;
  border-radius: 12px;
  font-size: .92rem;
}

/* ============ Secciones genéricas ============ */
.section { padding: clamp(3.5rem, 8vw, 5.5rem) 0; }
.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 700;
  font-size: .82rem;
  color: var(--brand-dark);
  margin-bottom: .6rem;
}
.section-eyebrow.light { color: var(--brand); }
.section-title {
  font-size: clamp(1.7rem, 4vw, 2.4rem);
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 1.4rem;
}
.section-title.light { color: #fff; }
.center { text-align: center; margin-top: 2rem; }

/* ============ Prueba social ============ */
.social-proof { background: var(--bg-soft); }
.testimonials { margin-top: 1.6rem; }
.testimonial-viewport {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  border-radius: var(--radius);
}
.testimonial-viewport::-webkit-scrollbar { display: none; }
.testimonial-track { display: flex; gap: 1.1rem; }
.testimonial-slide { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 720px) { .testimonial-slide { flex-basis: calc((100% - 1.1rem) / 2); } }
@media (min-width: 1024px) { .testimonial-slide { flex-basis: calc((100% - 2.2rem) / 3); } }
.proof-card {
  background: #fff;
  border: 1px solid #eee;
  border-top: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.4rem;
}
.t-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid #e0d4bd;
  background: #fff;
  color: var(--brand-dark);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.t-arrow:hover:not(:disabled) { background: var(--brand); color: #fff; }
.t-arrow:disabled { opacity: .35; cursor: default; }
.t-dots { display: flex; gap: .2rem; }
.t-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: grid;
  place-items: center;
}
.t-dot::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ddd;
  transition: width .2s ease, background .2s ease;
}
.t-dot.active::before { background: var(--brand); width: 20px; }
.t-dot:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Confianza: bloque humano con foto */
.trust-human {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.4rem;
  align-items: center;
  margin-bottom: 2.4rem;
}
.trust-human-img img {
  width: 100%;
  max-width: 440px;
  display: block;
  margin-inline: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
.trust-human-text h3 { font-size: 1.35rem; color: var(--dark); margin-bottom: .6rem; }
.trust-human-text p { color: var(--muted); margin-bottom: .6rem; }
.trust-human-extra { color: var(--brand-dark); font-weight: 600; }
@media (max-width: 720px) {
  .trust-human { grid-template-columns: 1fr; gap: 1.4rem; }
  .trust-human-img img { max-width: 100%; }
}
.stars { color: #f5a623; font-size: 1.2rem; letter-spacing: 2px; margin-bottom: .6rem; }
.proof-text { font-style: italic; color: var(--text); margin-bottom: .8rem; }
.proof-author { font-weight: 600; color: var(--dark); font-size: .92rem; }
.proof-author span { color: var(--muted); font-weight: 400; }

.proof-media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.proof-item {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
}
/* .proof-icon ahora es un círculo con SVG (ver arriba) */
.proof-item p { font-size: .95rem; }
.proof-item strong { color: var(--dark); }
.proof-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4ede0, #e8ddc8);
  border: 1px solid #e0d4bd;
  color: var(--brand-dark);
  flex-shrink: 0;
}
.proof-icon svg { width: 24px; height: 24px; }

.proof-note { text-align: center; margin-top: 1.6rem; }
.proof-note a { color: var(--brand-dark); font-weight: 600; text-decoration: underline; }

/* ============ Galería (fotos reales) ============ */
.gallery-intro {
  max-width: 720px;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 1.02rem;
}
.gallery-intro strong { color: var(--dark); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: .8rem;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  margin: 0;
}
.gallery-item img {
  width: 100%;
  height: 195px;
  object-fit: cover;
  transition: transform .3s ease;
}
.gallery-item:hover img { transform: scale(1.04); }
.gallery-note {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--muted);
}
.gallery-cta {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
}

/* ============ Servicios ============ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.2rem;
  margin-top: 1.4rem;
}
.service-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f4ede0, #e8ddc8);
  border: 1px solid #e0d4bd;
  color: var(--brand-dark);
  margin-bottom: 1rem;
  transition: transform .18s ease, box-shadow .18s ease;
}
.service-card:hover .service-icon {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(193, 163, 121, .35);
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { font-size: 1.05rem; color: var(--dark); margin-bottom: .4rem; }
.service-card p { font-size: .93rem; color: var(--muted); }
.services-extra {
  text-align: center;
  margin-top: 1.8rem;
  color: var(--muted);
  font-size: .95rem;
}
.services-extra strong { color: var(--dark); }
.text-cta {
  color: var(--brand-dark);
  font-weight: 700;
  text-decoration: underline;
}
.text-cta:hover { color: var(--dark); }
.services-cta { margin-top: 1.2rem; }
.faq-link { color: var(--brand-dark); font-weight: 600; text-decoration: underline; }

/* Artículos de interés */
.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}
.related-card {
  background: #fff;
  border: 1px solid #eee;
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1.2rem 1.3rem;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.related-tag { display: block; font-weight: 700; color: var(--dark); margin-bottom: .3rem; }
.related-desc { display: block; font-size: .9rem; color: var(--muted); }
.related-note { text-align: center; margin-top: 1.3rem; font-size: .85rem; color: var(--muted); }

/* ============ Guía: para decidir con confianza ============ */
.lead-magnet {
  background:
    linear-gradient(135deg, rgba(193, 163, 121, .16), rgba(33, 37, 41, .96)),
    var(--dark);
  color: #fff;
  text-align: center;
}
.lead-magnet-intro {
  max-width: 680px;
  margin: 0 auto 1.4rem;
  color: #e8e8e8;
  font-size: 1.02rem;
}
.lead-magnet-list {
  list-style: none;
  display: grid;
  gap: .6rem;
  max-width: 640px;
  margin: 1.4rem auto 0;
  text-align: left;
}
.lead-magnet-list li {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .14);
  padding: .7rem .9rem;
  border-radius: 12px;
  font-size: .95rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.lead-check { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; margin-top: .15rem; }

.lead-magnet-cta { margin-top: 2rem; }
.lead-magnet-wa { margin-top: 1rem; color: #e8e8e8; font-size: .93rem; }
.lead-magnet-wa a { font-weight: 600; color: var(--brand); }
.lead-magnet-wa a:hover { text-decoration: underline; }
.final-form-card h3 { color: var(--dark); margin-bottom: 1rem; font-size: 1.3rem; }

/* ============ Formularios ============ */
form label { display: block; font-weight: 600; font-size: .9rem; color: var(--dark); margin: .8rem 0 .3rem; }
form input, form select {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid #ddd;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: #fff;
}
form input:focus, form select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(193,163,121,.25); }
form .btn { margin-top: 1rem; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; margin-top: .6rem; }
.form-success {
  background: #e9f9ef;
  border: 1px solid #b8e6c8;
  color: #1a7f43;
  border-radius: 12px;
  padding: 1.2rem;
  font-weight: 600;
  text-align: center;
}

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 1.4rem auto 0; display: grid; gap: .8rem; }
.faq-item {
  background: #fff;
  border: 1px solid #eee;
  border-radius: var(--radius);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.3rem;
  font-weight: 700;
  color: var(--dark);
  font-size: 1rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-toggle {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bg-soft);
  border: 1px solid #e6dccb;
  position: relative;
  transition: transform .2s ease;
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--brand-dark);
  border-radius: 2px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.faq-toggle::before { width: 12px; height: 2px; }
.faq-toggle::after { width: 2px; height: 12px; }
.faq-item[open] .faq-toggle { transform: rotate(45deg); }
.faq-item p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .97rem; }

/* ============ Ubicación ============ */
.location { background: var(--bg-soft); }
.location-inner {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: center;
}
.location-address { font-size: 1.15rem; color: var(--dark); margin-bottom: .6rem; }
.location-info p { margin-bottom: .8rem; }
.location-links { list-style: none; display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1rem; }
.location-links .btn-outline { color: var(--dark); border-color: var(--brand); }
.location-map iframe { border-radius: var(--radius); box-shadow: var(--shadow); display: block; }
@media (max-width: 900px) { .location-inner { grid-template-columns: 1fr; } }
/* ============ Páginas de contenido (guía, artículos) ============ */
.content-page { max-width: 780px; padding: 2.5rem 0 4rem; }
.breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--brand-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.content-page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--dark); line-height: 1.2; margin-bottom: .8rem; }
.content-page .lead { font-size: 1.08rem; color: var(--muted); margin-bottom: 2rem; border-left: 3px solid var(--brand); padding-left: 1rem; }
.content-page h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); color: var(--dark); margin: 2.2rem 0 .8rem; }
.content-page h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: .3rem; }
.content-page p { margin-bottom: .9rem; }
.content-list { list-style: none; padding: 0; display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.content-list li { padding-left: 1.5rem; position: relative; }
.content-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.steps-list { list-style: none; padding: 0; display: grid; gap: 1.1rem; margin-bottom: 1.6rem; }
.steps-list li { counter-increment: step; padding-left: 3rem; position: relative; }
.steps-list li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 2rem; height: 2rem; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: .95rem; display: grid; place-items: center; }
.content-page .callout { background: var(--bg-soft); border: 1px solid #e6dccb; border-radius: var(--radius); padding: 1.5rem 1.8rem; margin: 2rem 0; }
.content-page .callout h2 { margin-top: 0; }
.callout-brand { background: linear-gradient(135deg, rgba(193,163,121,.12), rgba(33,37,41,.03)); border-color: var(--brand); }
.callout-badges { display: flex; gap: .8rem; margin-bottom: 1rem; }
.callout-badges img { height: 54px; width: auto; border-radius: 8px; }
.cta-bottom { text-align: center; padding: 2.5rem 0 0; border-top: 1px solid #eee; margin-top: 2rem; }
.cta-bottom h2 { color: var(--dark); margin-bottom: .4rem; }
.cta-bottom-btns { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.2rem; }
.btn-outline-dark { border-color: var(--brand); color: var(--dark); background: transparent; }
.btn-outline-dark:hover { background: var(--bg-soft); }

/* Video embebido (artículos) */
.video-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #000;
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Transcripción (artículos) */
.transcript p { margin-bottom: .9rem; }
.transcript .speaker { font-weight: 700; color: var(--dark); }
.transcript-source { margin-top: 1.5rem; font-size: .9rem; color: var(--muted); }
.transcript-source a { color: var(--brand-dark); font-weight: 600; }
.transcript-source a:hover { text-decoration: underline; }
/* ============ Formulario final ============ */
.final-form {
  background:
    linear-gradient(rgba(33, 37, 41, .92), rgba(33, 37, 41, .94)),
    var(--dark);
  color: #fff;
}
.final-form-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.final-form-copy p { color: #e8e8e8; margin-bottom: 1rem; }
.contact-lines { display: grid; gap: .2rem; margin-top: 1.2rem; }
.contact-lines p { display: flex; align-items: center; gap: .5rem; }
.contact-lines a { color: var(--brand); font-weight: 600; display: inline-block; padding: .35rem 0; }
.contact-lines a:hover { text-decoration: underline; }

.final-form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.final-wa-card { text-align: center; }
.final-wa-desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.2rem; }
.final-wa-card .btn { margin-top: .4rem; }

/* ============ Footer ============ */
.site-footer { background: var(--dark); color: #c9c9c9; padding-top: 3rem; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
}
.footer-logo { filter: brightness(0) invert(1); opacity: .9; height: 36px; width: auto; margin-bottom: .8rem; }
.footer-col p { font-size: .92rem; margin-bottom: .4rem; }
.footer-col h4 { color: #fff; margin-bottom: .7rem; font-size: 1.05rem; }
.footer-col a { display: inline-block; padding: .25rem 0; }
.footer-col a:hover { color: var(--brand); }
.footer-badges { display: flex; gap: .8rem; margin-top: 1rem; }
.footer-badges img { height: 54px; width: auto; border-radius: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-block: 1.2rem;
  text-align: center;
  font-size: .85rem;
}

/* ============ WhatsApp flotante ============ */
.wa-float {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .5);
  transition: transform .15s ease, background .15s ease;
}
.wa-float:hover { transform: scale(1.08); background: var(--wa-dark); }

/* ============ Barra móvil (siempre visible) ============ */
.mobile-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: none;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  border-top: 2px solid var(--brand);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-bar-btn {
  padding: 1rem;
  text-align: center;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
}
.mobile-call { background: var(--brand); color: var(--dark); }
.mobile-call:active { background: var(--brand-dark); }
.mobile-wa { background: var(--wa); color: #fff; }
.mobile-wa:active { background: var(--wa-dark); }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .lead-magnet-inner, .final-form-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .main-nav { display: none; }
  .header-cta { display: none; } /* en móvil: solo logo + hamburguesa (los CTA están en hero y barra inferior) */
  .mobile-nav-toggle { display: block; }
  .hero { padding-top: 3rem; }
  .hero-ctas .btn { width: 100%; }
  .hero-ctas .btn-outline { display: none; } /* "Llamar ahora" ya está en la barra inferior */
  .hero-trust { grid-template-columns: 1fr 1fr; gap: .45rem; }
  .hero-trust li { padding: .5rem .7rem; font-size: .82rem; }
  .footer-inner { grid-template-columns: 1fr; }
  /* espacio para la barra móvil */
  .site-footer { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
  .mobile-bar { display: grid; }
  .wa-float { display: none; } /* la barra inferior ya tiene WhatsApp */
}
