/* ==========================================================================
   WALFTY Property Group — Componentes
   Mobile-first (base 375px). Desktop es mejora progresiva.
   Depende de tokens.css. Ningun color literal aca salvo rgba() de overlays.
   ========================================================================== */

/* --- 1. Reset y base ------------------------------------------------------ */

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

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

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

body {
  margin: 0;
  font-family: var(--w-font-body);
  font-size: var(--w-fs-base);
  line-height: 1.65;
  color: var(--w-ink);
  background: var(--w-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* Aire para la barra fija de contacto en mobile */
  padding-bottom: var(--w-sticky-h);
}

@media (min-width: 900px) { body { padding-bottom: 0; } }

h1, h2, h3, h4 {
  font-family: var(--w-font-display);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--w-ink);
  margin: 0 0 var(--w-sp-4);
  text-wrap: balance;
}

h1 { font-size: var(--w-fs-3xl); }
h2 { font-size: var(--w-fs-2xl); }
h3 { font-size: var(--w-fs-lg); }
h4 { font-size: var(--w-fs-md); }

p  { margin: 0 0 var(--w-sp-4); text-wrap: pretty; }
a  { color: var(--w-blue-700); }
img, svg, iframe { max-width: 100%; }
img { height: auto; display: block; }

:focus-visible {
  outline: 3px solid var(--w-cyan-400);
  outline-offset: 3px;
  border-radius: var(--w-radius-sm);
}

.w-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;
}

/* --- 2. Layout ------------------------------------------------------------ */

.w-container {
  width: 100%;
  max-width: var(--w-container);
  margin-inline: auto;
  padding-inline: var(--w-sp-4);
}

@media (min-width: 768px) { .w-container { padding-inline: var(--w-sp-6); } }

.w-section { padding-block: var(--w-sp-7); }
.w-section--alt  { background: var(--w-bg-2); }
.w-section--dark { background: var(--w-grad-dark); color: var(--w-on-dark); }
.w-section--dark h2, .w-section--dark h3 { color: var(--w-on-dark); }
.w-section--dark p  { color: var(--w-on-dark-soft); }

@media (min-width: 768px) { .w-section { padding-block: var(--w-sp-9); } }

.w-section-head { max-width: 46rem; margin-bottom: var(--w-sp-6); }
.w-section-head--center { margin-inline: auto; text-align: center; }

.w-kicker {
  display: inline-block;
  font-family: var(--w-font-display);
  font-size: var(--w-fs-xs);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--w-blue-700);
  margin-bottom: var(--w-sp-3);
}

.w-section--dark .w-kicker { color: var(--w-cyan-400); }

.w-lead {
  font-size: var(--w-fs-md);
  color: var(--w-ink-2);
  margin-bottom: 0;
}

.w-section--dark .w-lead { color: var(--w-on-dark-soft); }

/* --- 3. Botones ----------------------------------------------------------- */

.w-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--w-sp-2);
  min-height: 52px;
  padding: var(--w-sp-3) var(--w-sp-5);
  font-family: var(--w-font-display);
  font-size: var(--w-fs-base);
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  border-radius: var(--w-radius-pill);
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.w-btn:hover  { transform: translateY(-2px); }
.w-btn:active { transform: translateY(0); }
.w-btn svg    { flex: none; width: 20px; height: 20px; }

/* Llamada telefonica: accion primaria */
.w-btn--call {
  background: var(--w-grad-brand);
  color: var(--w-on-dark);
  box-shadow: var(--w-shadow);
}

/* WhatsApp: misma jerarquia de tamano, distinto tratamiento */
.w-btn--wa {
  background: var(--w-bg);
  color: var(--w-blue-900);
  border-color: var(--w-blue-700);
  box-shadow: var(--w-shadow-sm);
}

.w-btn--wa:hover { background: var(--w-cyan-100); }

.w-btn--wa-dark {
  background: transparent;
  color: var(--w-on-dark);
  border-color: rgba(255, 255, 255, .55);
}

.w-btn--wa-dark:hover { background: rgba(255, 255, 255, .12); border-color: var(--w-on-dark); }

.w-btn--ghost {
  background: transparent;
  color: var(--w-blue-700);
  border-color: var(--w-line);
  min-height: 46px;
}

.w-btn--ghost:hover { border-color: var(--w-blue-500); background: var(--w-bg-2); }

.w-btn--sm { min-height: 42px; padding: var(--w-sp-2) var(--w-sp-4); font-size: var(--w-fs-sm); }
.w-btn--block { width: 100%; }

.w-btn-row { display: flex; flex-direction: column; gap: var(--w-sp-3); }

@media (min-width: 560px) {
  .w-btn-row { flex-direction: row; flex-wrap: wrap; }
  .w-btn-row .w-btn { flex: 1 1 auto; min-width: 15rem; }
}

/* --- 4. Marcador de dato pendiente del cliente ---------------------------- */
/* Deliberadamente estridente: ningun build con esto visible sale a produccion. */

.w-pending {
  display: inline;
  padding: .1em .45em;
  font-family: var(--w-font-body);
  font-size: .85em;
  font-weight: 700;
  font-style: normal;
  color: var(--w-pending-ink);
  background: var(--w-pending-bg);
  border: 2px dashed var(--w-pending-border);
  border-radius: var(--w-radius-sm);
  text-transform: none;
  letter-spacing: 0;
}

/* --- 5. Barra de aviso + Nav --------------------------------------------- */

.w-topbar {
  background: var(--w-navy-900);
  color: var(--w-on-dark);
  font-size: var(--w-fs-xs);
  text-align: center;
  padding: var(--w-sp-2) var(--w-sp-4);
  letter-spacing: .02em;
}

.w-topbar strong { color: var(--w-cyan-400); }

.w-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--w-line);
}

.w-nav__inner {
  display: flex;
  align-items: center;
  gap: var(--w-sp-4);
  min-height: var(--w-nav-h);
}

.w-logo {
  display: inline-flex;
  align-items: center;
  gap: var(--w-sp-3);
  text-decoration: none;
  margin-right: auto;
}

.w-logo__mark { flex: none; width: 38px; height: 30px; }
.w-logo__text { display: flex; flex-direction: column; line-height: 1; }

.w-logo__name {
  font-family: var(--w-font-display);
  font-size: var(--w-fs-md);
  font-weight: 800;
  letter-spacing: .04em;
  color: var(--w-blue-900);
}

.w-logo__sub {
  font-family: var(--w-font-display);
  font-size: .5rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--w-cyan-400);
  margin-top: 3px;
}

.w-nav__links { display: none; }

@media (min-width: 900px) {
  .w-nav__links {
    display: flex;
    align-items: center;
    gap: var(--w-sp-5);
    list-style: none;
    margin: 0;
    padding: 0;
  }
  .w-nav__links a {
    font-family: var(--w-font-display);
    font-size: var(--w-fs-sm);
    font-weight: 600;
    color: var(--w-ink-2);
    text-decoration: none;
  }
  .w-nav__links a:hover,
  .w-nav__links a[aria-current="page"] { color: var(--w-blue-700); }
}

.w-nav__cta { display: none; }
@media (min-width: 900px) { .w-nav__cta { display: inline-flex; } }

.w-navtoggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  background: none;
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius-sm);
  cursor: pointer;
  color: var(--w-blue-900);
}

@media (min-width: 900px) { .w-navtoggle { display: none; } }

.w-navdrawer {
  display: none;
  padding: var(--w-sp-4) 0 var(--w-sp-5);
  border-top: 1px solid var(--w-line);
}

.w-navdrawer[data-open="true"] { display: block; }
.w-navdrawer ul { list-style: none; margin: 0 0 var(--w-sp-4); padding: 0; }
.w-navdrawer li + li { border-top: 1px solid var(--w-line); }

.w-navdrawer a {
  display: block;
  padding: var(--w-sp-3) 0;
  font-family: var(--w-font-display);
  font-weight: 600;
  color: var(--w-ink);
  text-decoration: none;
}

/* --- 6. Hero -------------------------------------------------------------- */

.w-hero {
  position: relative;
  background: var(--w-grad-dark);
  color: var(--w-on-dark);
  padding-block: var(--w-sp-7) var(--w-sp-8);
  overflow: hidden;
}

/* Eco del isotipo: barras diagonales muy sutiles */
.w-hero::after {
  content: "";
  position: absolute;
  inset-block: -20%;
  right: -12%;
  width: 60%;
  background: repeating-linear-gradient(115deg, rgba(41, 176, 247, .12) 0 34px, transparent 34px 96px);
  pointer-events: none;
}

@media (max-width: 767px) { .w-hero::after { opacity: .5; } }

.w-hero__inner { position: relative; z-index: 1; max-width: 44rem; }
.w-hero h1 { color: var(--w-on-dark); }
.w-hero h1 em { font-style: normal; color: var(--w-cyan-400); }

.w-hero__lead {
  font-size: var(--w-fs-md);
  color: var(--w-on-dark-soft);
  margin-bottom: var(--w-sp-5);
}

.w-hero .w-kicker { color: var(--w-cyan-400); }

.w-hero__note {
  margin: var(--w-sp-4) 0 0;
  font-size: var(--w-fs-sm);
  color: var(--w-on-dark-soft);
}

.w-hero--compact { padding-block: var(--w-sp-6) var(--w-sp-7); }

/* --- 7. Trust bar --------------------------------------------------------- */

.w-trustbar {
  background: var(--w-bg-2);
  border-bottom: 1px solid var(--w-line);
  padding-block: var(--w-sp-5);
}

.w-trustbar__grid { display: grid; grid-template-columns: 1fr; gap: var(--w-sp-4); }

@media (min-width: 640px) { .w-trustbar__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .w-trustbar__grid { grid-template-columns: repeat(4, 1fr); } }

.w-trustitem { display: flex; align-items: flex-start; gap: var(--w-sp-3); }

.w-trustitem__icon {
  flex: none;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius-pill);
  color: var(--w-blue-700);
}

.w-trustitem__icon svg { width: 20px; height: 20px; }

.w-trustitem strong {
  display: block;
  font-family: var(--w-font-display);
  font-size: var(--w-fs-sm);
  color: var(--w-ink);
}

.w-trustitem span { display: block; font-size: var(--w-fs-xs); color: var(--w-muted); line-height: 1.5; }

/* --- 8. Grid de servicios ------------------------------------------------- */

.w-grid { display: grid; grid-template-columns: 1fr; gap: var(--w-sp-4); }

@media (min-width: 640px) { .w-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .w-grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .w-grid--4 { grid-template-columns: repeat(4, 1fr); } }

.w-card {
  display: flex;
  flex-direction: column;
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius-lg);
  padding: var(--w-sp-5);
  box-shadow: var(--w-shadow-sm);
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.w-card:hover { box-shadow: var(--w-shadow); transform: translateY(-3px); border-color: var(--w-cyan-400); }

/* Vertical con landing propia: se destaca del resto */
.w-card--featured { border-color: var(--w-blue-500); box-shadow: var(--w-shadow); }

.w-card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  margin-bottom: var(--w-sp-4);
  background: var(--w-cyan-100);
  border-radius: var(--w-radius);
  color: var(--w-blue-700);
}

.w-card--featured .w-card__icon { background: var(--w-grad-brand); color: var(--w-on-dark); }
.w-card__icon svg { width: 26px; height: 26px; }

.w-card h3 { margin-bottom: var(--w-sp-2); font-size: var(--w-fs-md); }
.w-card p  { font-size: var(--w-fs-sm); color: var(--w-ink-2); margin-bottom: var(--w-sp-4); }
.w-card__foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: var(--w-sp-2); }

.w-card__tag {
  display: inline-block;
  align-self: flex-start;
  margin-bottom: var(--w-sp-3);
  padding: 2px 10px;
  font-family: var(--w-font-display);
  font-size: var(--w-fs-xs);
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--w-blue-700);
  background: var(--w-cyan-100);
  border-radius: var(--w-radius-pill);
}

.w-card__link {
  display: inline-block;
  padding-block: var(--w-sp-1);
  font-family: var(--w-font-display);
  font-weight: 600;
  font-size: var(--w-fs-sm);
  color: var(--w-blue-700);
  text-decoration: none;
}

.w-card__link:hover { text-decoration: underline; }

/* --- 9. Pilares de marca -------------------------------------------------- */

.w-pillar__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  margin-bottom: var(--w-sp-3);
  background: var(--w-grad-brand);
  border-radius: var(--w-radius-pill);
  color: var(--w-on-dark);
}

.w-pillar__icon svg { width: 22px; height: 22px; }

.w-pillar h3 {
  font-size: var(--w-fs-base);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--w-cyan-400);
  margin-bottom: var(--w-sp-2);
}

.w-pillar p { font-size: var(--w-fs-sm); margin-bottom: 0; }

/* --- 10. Pasos del proceso ------------------------------------------------ */

.w-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--w-sp-5);
  grid-template-columns: 1fr;
  counter-reset: wstep;
}

@media (min-width: 700px)  { .w-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .w-steps { grid-template-columns: repeat(4, 1fr); } }

.w-steps li { counter-increment: wstep; position: relative; padding-top: var(--w-sp-6); }

.w-steps li::before {
  content: counter(wstep, decimal-leading-zero);
  position: absolute;
  top: 0; left: 0;
  font-family: var(--w-font-display);
  font-size: var(--w-fs-xl);
  font-weight: 800;
  line-height: 1;
  color: var(--w-cyan-400);
  opacity: .85;
}

.w-steps h3 { font-size: var(--w-fs-base); margin-bottom: var(--w-sp-2); }
.w-steps p  { font-size: var(--w-fs-sm); color: var(--w-ink-2); margin-bottom: 0; }

/* --- 11. Sintomas / problemas comunes ------------------------------------ */

.w-problems { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--w-sp-3); grid-template-columns: 1fr; }

@media (min-width: 640px) { .w-problems { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .w-problems { grid-template-columns: repeat(3, 1fr); } }

.w-problems li {
  padding: var(--w-sp-4);
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-left: 4px solid var(--w-cyan-400);
  border-radius: var(--w-radius);
}

.w-problems strong {
  display: block;
  font-family: var(--w-font-display);
  font-size: var(--w-fs-sm);
  margin-bottom: 2px;
}

.w-problems span { font-size: var(--w-fs-sm); color: var(--w-muted); line-height: 1.5; }

/* --- 12. Bloque split (texto + panel) ------------------------------------ */

.w-split { display: grid; gap: var(--w-sp-6); grid-template-columns: 1fr; align-items: center; }

@media (min-width: 900px) { .w-split { grid-template-columns: 1fr 1fr; gap: var(--w-sp-7); } }

.w-panel {
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius-lg);
  padding: var(--w-sp-5);
  box-shadow: var(--w-shadow-sm);
}

.w-panel--brand { background: var(--w-grad-brand); color: var(--w-on-dark); border: 0; box-shadow: var(--w-shadow-lg); }
.w-panel--brand h3 { color: var(--w-on-dark); }
.w-panel--brand p  { color: rgba(255, 255, 255, .88); }

.w-checklist { list-style: none; margin: 0; padding: 0; }

.w-checklist li {
  position: relative;
  padding-left: var(--w-sp-6);
  margin-bottom: var(--w-sp-3);
  font-size: var(--w-fs-sm);
  color: var(--w-ink-2);
}

.w-checklist li::before {
  content: "";
  position: absolute;
  left: 0; top: .3em;
  width: 16px; height: 9px;
  border-left: 3px solid var(--w-success);
  border-bottom: 3px solid var(--w-success);
  transform: rotate(-45deg);
}

.w-panel--brand .w-checklist li { color: rgba(255, 255, 255, .92); }
.w-panel--brand .w-checklist li::before { border-color: var(--w-on-dark); }

/* --- 13. Comparativa a dos columnas -------------------------------------- */

.w-compare { display: grid; gap: var(--w-sp-4); grid-template-columns: 1fr; }

@media (min-width: 760px) { .w-compare { grid-template-columns: repeat(2, 1fr); } }

.w-compare__col {
  padding: var(--w-sp-5);
  border-radius: var(--w-radius-lg);
  border: 1px solid var(--w-line);
  background: var(--w-bg);
}

.w-compare__col--go { border-color: var(--w-blue-500); background: var(--w-cyan-100); }
.w-compare__col h3 { font-size: var(--w-fs-md); margin-bottom: var(--w-sp-3); }
.w-compare__col p  { font-size: var(--w-fs-sm); color: var(--w-ink-2); }
.w-compare__col ul { margin: 0; padding-left: 1.1rem; font-size: var(--w-fs-sm); color: var(--w-ink-2); }
.w-compare__col li { margin-bottom: var(--w-sp-2); }

/* --- 14. Galeria (slots para fotos reales del cliente) ------------------- */

.w-gallery { display: grid; gap: var(--w-sp-3); grid-template-columns: repeat(2, 1fr); }

@media (min-width: 760px) { .w-gallery { grid-template-columns: repeat(3, 1fr); } }

.w-gallery__slot {
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  padding: var(--w-sp-4);
  text-align: center;
  font-size: var(--w-fs-xs);
  color: var(--w-muted);
  background: var(--w-bg-3);
  border: 2px dashed var(--w-line);
  border-radius: var(--w-radius);
}

/* --- 15. Zonas de servicio ------------------------------------------------ */

.w-cities { list-style: none; display: flex; flex-wrap: wrap; gap: var(--w-sp-2); margin: 0 0 var(--w-sp-5); padding: 0; }

.w-cities li {
  padding: var(--w-sp-2) var(--w-sp-4);
  font-family: var(--w-font-display);
  font-size: var(--w-fs-sm);
  font-weight: 600;
  color: var(--w-blue-900);
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius-pill);
}

.w-section--dark .w-cities li {
  color: var(--w-on-dark);
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
}

/* --- 16. Prueba social ---------------------------------------------------- */

.w-review {
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius-lg);
  padding: var(--w-sp-5);
}

.w-review__stars { color: var(--w-cyan-400); letter-spacing: .18em; font-size: var(--w-fs-md); }
.w-review p { font-size: var(--w-fs-sm); color: var(--w-ink-2); margin-block: var(--w-sp-3); }
.w-review footer { font-family: var(--w-font-display); font-size: var(--w-fs-sm); font-weight: 600; }

/* --- 17. FAQ -------------------------------------------------------------- */

.w-faq { max-width: 48rem; margin-inline: auto; }

.w-faq details {
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius);
  background: var(--w-bg);
  margin-bottom: var(--w-sp-3);
  overflow: hidden;
}

.w-faq details[open] { border-color: var(--w-blue-500); }

.w-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--w-sp-4);
  padding: var(--w-sp-4);
  font-family: var(--w-font-display);
  font-size: var(--w-fs-base);
  font-weight: 600;
  color: var(--w-ink);
  cursor: pointer;
  list-style: none;
}

.w-faq summary::-webkit-details-marker { display: none; }

.w-faq summary::after {
  content: "+";
  flex: none;
  font-size: var(--w-fs-lg);
  font-weight: 400;
  line-height: 1;
  color: var(--w-blue-700);
}

.w-faq details[open] summary::after { content: "-"; }

.w-faq__body { padding: 0 var(--w-sp-4) var(--w-sp-4); }
.w-faq__body p { font-size: var(--w-fs-sm); color: var(--w-ink-2); }
.w-faq__body p:last-child { margin-bottom: 0; }

/* --- 18. CTA final -------------------------------------------------------- */

.w-cta-final { text-align: center; }
.w-cta-final .w-btn-row { justify-content: center; margin-inline: auto; max-width: 34rem; }

/* --- 19. Interlinking entre verticales ----------------------------------- */

.w-otherservices { display: grid; gap: var(--w-sp-3); grid-template-columns: 1fr; }

@media (min-width: 700px) { .w-otherservices { grid-template-columns: repeat(3, 1fr); } }

.w-otherservices a {
  display: block;
  padding: var(--w-sp-4);
  background: var(--w-bg);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.w-otherservices a:hover { border-color: var(--w-blue-500); box-shadow: var(--w-shadow-sm); }

.w-otherservices strong {
  display: block;
  font-family: var(--w-font-display);
  font-size: var(--w-fs-base);
  color: var(--w-blue-900);
  margin-bottom: 2px;
}

.w-otherservices span { font-size: var(--w-fs-sm); color: var(--w-muted); }

/* --- 20. Footer ----------------------------------------------------------- */

.w-footer {
  background: var(--w-navy-900);
  color: var(--w-on-dark-soft);
  padding-block: var(--w-sp-7) var(--w-sp-6);
  font-size: var(--w-fs-sm);
}

.w-footer__grid { display: grid; gap: var(--w-sp-6); grid-template-columns: 1fr; margin-bottom: var(--w-sp-6); }

@media (min-width: 760px) { .w-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }

.w-footer h4 {
  font-size: var(--w-fs-sm);
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--w-on-dark);
  margin-bottom: var(--w-sp-3);
}

.w-footer ul { list-style: none; margin: 0; padding: 0; }
.w-footer li { margin-bottom: var(--w-sp-1); }
/* inline-block + padding para que el objetivo tactil supere los 24px minimos */
.w-footer a  { display: inline-block; padding-block: var(--w-sp-1); color: var(--w-on-dark-soft); text-decoration: none; }
.w-footer a:hover { color: var(--w-cyan-400); }
.w-footer .w-logo__name { color: var(--w-on-dark); }

.w-footer__legal {
  padding-top: var(--w-sp-5);
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: var(--w-fs-xs);
  line-height: 1.7;
}

/* --- 21. Barra fija de contacto (mobile) --------------------------------- */

.w-sticky {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--w-sp-2);
  padding: var(--w-sp-2);
  background: rgba(255, 255, 255, .97);
  border-top: 1px solid var(--w-line);
  box-shadow: 0 -4px 20px rgba(14, 26, 51, .12);
}

.w-sticky .w-btn { min-height: 52px; font-size: var(--w-fs-sm); padding-inline: var(--w-sp-3); }

@media (min-width: 900px) { .w-sticky { display: none; } }

/* --- 22. Utilidades ------------------------------------------------------- */

.w-mt-5 { margin-top: var(--w-sp-5); }
.w-mt-6 { margin-top: var(--w-sp-6); }
.w-mb-0 { margin-bottom: 0; }
.w-center { text-align: center; }
.w-narrow { max-width: 42rem; margin-inline: auto; }

/* --- Agregados v2 (AC Orlando) ------------------------------------------- */

/* Aviso de consentimiento para mensajes de texto. Requisito del registro de
   operador (A2P 10DLC): tiene que ser visible donde el usuario deja su numero
   o inicia el contacto, y enlazar a la politica de privacidad. */
.w-disclosure {
  font-size: var(--w-fs-xs);
  line-height: 1.55;
  color: var(--w-muted);
  max-width: 42rem;
  margin: var(--w-sp-4) auto 0;
}
.w-section--dark .w-disclosure,
.w-hero .w-disclosure,
.w-footer .w-disclosure { color: var(--w-on-dark-soft); }
.w-disclosure a { color: inherit; text-decoration: underline; }

/* Titular del hero: mismo aspecto que un h1, sin serlo. El h1 real es el
   kicker, que lleva la palabra clave (servicio + ciudad). */
.w-hero__title {
  font-family: var(--w-font-display);
  font-size: var(--w-fs-3xl);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--w-on-dark);
  margin: 0 0 var(--w-sp-4);
  text-wrap: balance;
}
.w-hero__title em { font-style: normal; color: var(--w-cyan-400); }
.w-hero h1.w-kicker { font-size: var(--w-fs-xs); letter-spacing: .14em; line-height: 1.5; }

/* Hero con formulario del widget a la derecha (en mobile va debajo) */
.w-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--w-sp-7);
  align-items: center;
}
.w-hero__form { position: relative; z-index: 1; width: 100%; max-width: 28rem; }
.w-hero__form .w-disclosure { margin: var(--w-sp-3) 0 0; }
@media (min-width: 1024px) {
  .w-hero__grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); }
  .w-hero__form { justify-self: end; }
}

/* Paginas legales: texto corrido legible */
.w-legal { max-width: 46rem; margin-inline: auto; }
.w-legal h1 { margin-bottom: var(--w-sp-3); }
.w-legal h2 { font-size: var(--w-fs-lg); margin: var(--w-sp-7) 0 var(--w-sp-3); }
.w-legal p, .w-legal li { color: var(--w-ink-2); }
.w-legal ul { padding-left: 1.25rem; margin: 0 0 var(--w-sp-4); }
.w-legal li { margin-bottom: var(--w-sp-2); }
.w-legal__meta { font-size: var(--w-fs-sm); color: var(--w-muted); }

/* Problemas comunes: icono a la izquierda de cada tarjeta */
.w-problems li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--w-sp-3);
  align-items: start;
}
.w-problems .w-problems__icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--w-cyan-100);
  border-radius: var(--w-radius-sm);
  color: var(--w-blue-700);
  line-height: 1;
}
.w-problems__icon svg { width: 22px; height: 22px; }

/* Fix de contraste: en la seccion oscura "How it works" el texto de los pasos
   heredaba --w-ink-2 (pensado para fondo claro) y no se leia. */
.w-section--dark .w-steps p { color: var(--w-on-dark-soft); }

/* Encabezado de seccion con imagen al costado (texto + foto). En mobile la
   foto va debajo del texto, mas baja. */
.w-intro-media {
  display: grid;
  gap: var(--w-sp-6);
  align-items: center;
  margin-bottom: var(--w-sp-7);
}
.w-intro-media .w-section-head { margin-bottom: 0; }
.w-intro-media__img { margin: 0; }
.w-intro-media__img img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--w-radius-lg);
  box-shadow: var(--w-shadow);
}
@media (min-width: 900px) {
  .w-intro-media { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--w-sp-8); }
  .w-intro-media--reverse { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
  .w-intro-media--reverse > .w-intro-media__img { order: -1; }
  .w-intro-media__img img { max-height: 460px; }
}

/* Fix barra de confianza: ".w-trustitem span" (display:block, color muted)
   tambien afectaba al contenedor del icono y le ganaba por especificidad, asi
   que el icono no se centraba en el circulo y salia gris. */
.w-trustitem .w-trustitem__icon {
  display: grid;
  place-items: center;
  color: var(--w-blue-700);
  line-height: 0;
}
.w-trustitem .w-trustitem__icon svg { display: block; }
