/* ================================================
   DryProTek — Design System
   ================================================ */

[hidden] { display: none !important; }

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Lato:wght@400;700&display=swap');

:root {
  --naranja:       #EA690F;
  --naranja-hover: #FF7200;
  --rojo-urgente:  #D63030;
  --negro:         #0A0A0A;
  --carbon:        #141414;
  --carbon-claro:  #1E1E1E;
  --borde:         rgba(255,255,255,0.08);
  --blanco:        #F5F5F3;
  --gris-texto:    #B0B0AA;
  --font-display:  'Poppins', sans-serif;
  --font-body:     'Lato', sans-serif;
  --radius:        14px;
  --radius-sm:     8px;
  --radius-pill:   999px;
  --ease-out:      cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out:   cubic-bezier(0.77, 0, 0.175, 1);
  --max-w:         1200px;

  /* Z-index scale */
  --z-nav:         100;
  --z-nav-mega:     99;
  --z-backdrop:    200;
  --z-drawer:      201;
  --z-wa-fab:      300;
  --z-emerg-tab:   301;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--negro);
  color: var(--blanco);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ================================================
   NAVBAR
   ================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: var(--z-nav);
  padding: 0 24px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--borde);
  transition: background 300ms ease;
}
.nav__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__logo img { height: 38px; width: auto; }
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gris-texto);
  transition: color 200ms ease;
}
.nav__links a:hover,
.nav__links a.active { color: var(--blanco); }
.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--naranja);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  transition: background 200ms ease, transform 160ms var(--ease-out);
}
.nav__cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .nav__cta:hover { background: var(--naranja-hover); }
}
.nav__burger {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--blanco);
}
.nav__burger svg { display: block; }

/* --- Nav Dropdown / Mega Menu --- */
.nav__dropdown { position: static; }
.nav__dropdown-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gris-texto);
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
  transition: color 200ms ease;
}
.nav__dropdown-btn:hover,
.nav__dropdown-btn.active { color: var(--blanco); }
.nav__chevron { transition: transform 220ms var(--ease-out); flex-shrink: 0; }
.nav__dropdown:hover .nav__chevron,
.nav__dropdown.is-open .nav__chevron { transform: rotate(180deg); }

/* Mega panel */
.nav__mega-panel {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  background: #111;
  border-top: 1px solid rgba(255,255,255,0.07);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 24px 72px rgba(0,0,0,0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 200ms ease, transform 200ms ease, visibility 0ms 200ms;
  z-index: var(--z-nav-mega);
  padding: 24px 0 28px;
}
@media (hover: hover) and (pointer: fine) {
  .nav__dropdown:hover .nav__mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition: opacity 200ms ease, transform 200ms ease;
  }
}
.nav__dropdown.is-open .nav__mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 200ms ease, transform 200ms ease;
}
/* bridge invisible hover gap nav→panel */
.nav__mega-panel::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

/* Inner: sections column + CTA */
.nav__mega-inner {
  display: grid;
  grid-template-columns: 1fr 176px;
  gap: 0 28px;
  align-items: start;
}

/* Stacked category rows */
.nav__mega-sections { display: flex; flex-direction: column; }

/* Each category = one horizontal row */
.nav__mega-section {
  display: grid;
  grid-template-columns: 156px 1fr;
  gap: 0 20px;
  align-items: start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.nav__mega-section:first-child { padding-top: 0; }
.nav__mega-section:last-child  { border-bottom: none; padding-bottom: 0; }

/* Category label (left) */
.nav__mega-section-head {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 3px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: color 160ms ease;
}
.nav__mega-section-head:hover { color: var(--naranja); }

.nav__mega-heading-icon {
  width: 28px;
  height: 28px;
  background: rgba(234,105,15,0.13);
  border-radius: 7px;
  display: grid;
  place-items: center;
  color: var(--naranja);
  flex-shrink: 0;
}

/* Sub-groups spread horizontally */
.nav__mega-section-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  align-items: flex-start;
}
.nav__mega-section-cols > div { min-width: 118px; }

/* List items */
.nav__mega-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 1px; }
.nav__mega-list li a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--gris-texto);
  padding: 5px 7px;
  border-radius: var(--radius-sm);
  transition: color 140ms ease, background 140ms ease;
}
.nav__mega-list li a:hover { color: var(--blanco); background: rgba(255,255,255,0.05); }
.nav__mega-list li a.active { color: var(--naranja); }
.nav__mega-list li a::before {
  content: '';
  width: 4px;
  height: 4px;
  background: rgba(234,105,15,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Sub-group label */
.nav__mega-subgroup {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--naranja);
  margin: 0 0 3px 7px;
}

/* CTA column */
.nav__mega-cta {
  background: rgba(234,105,15,0.07);
  border: 1px solid rgba(234,105,15,0.18);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
}
.nav__mega-cta-title {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 2px;
}
.nav__mega-cta-sub {
  font-size: 0.75rem;
  color: var(--gris-texto);
  line-height: 1.45;
  margin-bottom: 6px;
}
.nav__mega-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  transition: background 160ms ease;
  text-align: center;
}
.nav__mega-btn--orange { background: var(--naranja); color: #fff; }
.nav__mega-btn--orange:hover { background: var(--naranja-hover); }
.nav__mega-btn--wa { background: #25D366; color: #fff; }
.nav__mega-btn--wa:hover { background: #1da851; }

/* --- Service Pages (srv-*) --- */
.srv-section { padding-block: 80px; }
.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.srv-card {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 28px 24px 32px;
}
.srv-card__icon {
  width: 44px;
  height: 44px;
  background: rgba(234,105,15,0.12);
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  color: var(--naranja);
}
.srv-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 14px;
}
.srv-card__list { display: flex; flex-direction: column; gap: 7px; list-style: none; padding: 0; }
.srv-card__list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--gris-texto);
  line-height: 1.4;
}
.srv-card__list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--naranja);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}
.srv-industries {
  background: var(--carbon);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-top: 48px;
}
.srv-industries__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--blanco);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.srv-industries__title svg { color: var(--naranja); flex-shrink: 0; }
.srv-industries__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 10px 28px;
  list-style: none;
  padding: 0;
}
.srv-industries__grid li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--gris-texto);
}
.srv-industries__grid li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--naranja);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- Urgencia bar --- */
.urgencia-bar {
  background: var(--rojo-urgente);
  color: #fff;
  text-align: center;
  padding: 8px 24px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.urgencia-bar a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ================================================
   BUTTONS
   ================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--primary { background: var(--naranja); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--primary:hover { background: var(--naranja-hover); } }
.btn--outline { background: transparent; color: var(--blanco); border-color: rgba(255,255,255,0.35); }
@media (hover: hover) and (pointer: fine) { .btn--outline:hover { border-color: var(--blanco); background: rgba(255,255,255,0.06); } }
.btn--urgente { background: var(--rojo-urgente); color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--urgente:hover { background: #bf2929; } }
.btn--whatsapp { background: #25D366; color: #fff; }
@media (hover: hover) and (pointer: fine) { .btn--whatsapp:hover { background: #1ebe5d; } }
.btn--lg { padding: 17px 36px; font-size: 1.05rem; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ================================================
   SECTION BASE
   ================================================ */
.section {
  position: relative;
  overflow: hidden;
  padding-block: 96px;
}
.section--sm { padding-block: 64px; }
.section--dark { background: var(--carbon); }
.section--darker { background: var(--negro); }
.section--light {
  background: #ffffff;
  color: #1a1a1a;
}
.section--light .section__title { color: #111111; }
.section--light .section__label { color: var(--naranja); }
.section--light .section__sub { color: #555555; }
.section--light .servicio-card {
  background: #f7f7f7;
  border-color: rgba(0,0,0,0.08);
}
.section--light .servicio-card__title { color: #111111; }
.section--light .servicio-card__desc { color: #555555; }
.section--light .servicio-card__list li { color: #444444; }
.section--light .servicio-card__list li::before { background: var(--naranja); }
.section--light .servicio-card__link { color: var(--naranja); }
.section--light .servicio-card__link:hover { color: var(--naranja-hover); }

/* ── Escudo 360 card — negro con texto blanco ── */
.servicio-card--escudo {
  background: #0A0A0A !important;
  border-color: rgba(255,255,255,0.10) !important;
}
.servicio-card--escudo .servicio-card__title { color: #ffffff !important; }
.servicio-card--escudo .servicio-card__desc  { color: #aaaaaa !important; }
.servicio-card--escudo .servicio-card__link  { color: var(--naranja) !important; }

/* ── Light section: testimonials overrides ── */
.section--light .testimonio {
  background: #f7f7f7;
  border-color: rgba(0,0,0,0.08);
}
.section--light .testimonio__text { color: #555; }
.section--light .testimonio__name { color: #111; }
.section--light .testimonio__source { color: #888; }

/* ── Home Improvement Feature Grid ── */
.hi-feature .section__title,
.hi-feature .section__label,
.hi-feature .section__sub { color: inherit; }

.hi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.hi-card {
  border-radius: 16px;
  overflow: hidden;
  background: #1a1a1a;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
.hi-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.50);
}

.hi-card__img {
  position: relative;
  height: 220px;
  background-size: cover;
  background-position: center;
  background-color: #1e1e1e;
  flex-shrink: 0;
}

/* Gradient placeholder when no real image loaded yet */
.hi-card:nth-child(1) .hi-card__img { background-image: linear-gradient(135deg, #1a2a3a 0%, #0d1f2d 100%); }
.hi-card:nth-child(2) .hi-card__img { background-image: linear-gradient(135deg, #2a1a1a 0%, #1a0d0d 100%); }
.hi-card:nth-child(3) .hi-card__img { background-image: linear-gradient(135deg, #1a2a1a 0%, #0d1a0d 100%); }
.hi-card:nth-child(4) .hi-card__img { background-image: linear-gradient(135deg, #1a1a2a 0%, #0d0d1a 100%); }
.hi-card:nth-child(5) .hi-card__img { background-image: linear-gradient(135deg, #2a2a1a 0%, #1a1a0d 100%); }
.hi-card:nth-child(6) .hi-card__img { background-image: linear-gradient(135deg, #2a1a2a 0%, #1a0d1a 100%); }

.hi-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  gap: 6px;
}
.hi-card__overlay svg {
  color: var(--naranja);
  flex-shrink: 0;
  margin-bottom: 2px;
}
.hi-card__overlay h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.hi-card__body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hi-card__body p {
  font-size: 0.875rem;
  color: #aaaaaa;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}
.hi-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--naranja);
  text-decoration: none;
  transition: gap 180ms ease;
}
.hi-card__link:hover { gap: 10px; }

@media (max-width: 1024px) {
  .hi-grid { grid-template-columns: repeat(2, 1fr); }
  .hi-card__img { height: 200px; }
}
@media (max-width: 600px) {
  .hi-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hi-card__img { height: 160px; }
  .hi-card__overlay h3 { font-size: 1rem; }
  .hi-card__body { padding: 14px 14px 16px; }
}
@media (max-width: 400px) {
  .hi-grid { grid-template-columns: 1fr; }
  .hi-card__img { height: 200px; }
}
.section__label {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--naranja);
  margin-bottom: 12px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 20px;
}
.section__sub {
  font-size: 1.05rem;
  color: var(--gris-texto);
  max-width: 600px;
  line-height: 1.7;
}

/* --- Section background --- */
.section-bg,
.section-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.section-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6,6,6,0.88);
}
.section > .container { position: relative; z-index: 2; }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 80px;
}
.hero__bg,
.hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.75) 60%, rgba(8,8,8,0.55) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 760px; }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(214,48,48,0.15);
  border: 1px solid rgba(214,48,48,0.4);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff6b6b;
  margin-bottom: 24px;
}
.hero__badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rojo-urgente);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__title .accent { color: var(--naranja); }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--gris-texto);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 36px;
}
.hero__phone {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gris-texto);
}
.hero__phone a { color: var(--blanco); }
.hero__phone svg { color: var(--naranja); flex-shrink: 0; }
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--borde);
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--naranja);
  line-height: 1;
}
.hero__stat-label {
  font-size: 0.82rem;
  color: var(--gris-texto);
  margin-top: 4px;
}

/* ================================================
   SERVICIOS GRID
   ================================================ */
.servicios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.servicio-card {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  transition: border-color 300ms ease, transform 200ms var(--ease-out);
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .servicio-card:hover {
    border-color: rgba(234,105,15,0.45);
    transform: translateY(-3px);
  }
  .servicio-card:hover .servicio-card__img {
    transform: scale(1.04);
  }
}
.servicio-card__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 500ms var(--ease-out);
}
.servicio-card__body {
  padding: 24px 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.servicio-card__icon {
  display: none;
}
.servicio-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.servicio-card__desc { font-size: 0.9rem; color: var(--gris-texto); line-height: 1.65; }
.servicio-card__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.servicio-card__list li {
  font-size: 0.85rem;
  color: var(--gris-texto);
  padding-left: 16px;
  position: relative;
}
.servicio-card__list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--naranja);
}
.servicio-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--naranja);
  transition: gap 200ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .servicio-card:hover .servicio-card__link { gap: 10px; }
}

/* ================================================
   STATS BAR
   ================================================ */
.stats-bar {
  background: var(--naranja);
  padding: 48px 24px;
}
.stats-bar__grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-bar__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stats-bar__label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  margin-top: 6px;
  font-weight: 600;
}
.stats-bar__google {
  display: block;
  color: inherit;
  text-decoration: none;
}
.stats-bar__google:hover .stats-bar__num { text-decoration: underline; text-underline-offset: 4px; }

/* ================================================
   ABOUT / SPLIT
   ================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }
.split__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.split__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
/* Van image stretched to match text column height */
.split__media--stretch {
  aspect-ratio: unset;
  align-self: stretch;
}

/* Stacked two-image left column */
.split__media-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-self: stretch;
}
.split__media-stack__top,
.split__media-stack__bottom {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  flex: 1;
  min-height: 0;
}
.split__media-stack__top img,
.split__media-stack__bottom img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 768px) {
  .split__media-stack { flex-direction: row; height: 260px; }
  .split__media-stack__top,
  .split__media-stack__bottom { flex: 1; }
}

.split__badge-img {
  position: absolute;
  bottom: 20px; right: 20px;
  background: rgba(10,10,10,0.85);
  border: 1px solid var(--borde);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--naranja);
}
.split__items { display: flex; flex-direction: column; gap: 28px; margin-top: 32px; }
.split__item { display: flex; gap: 16px; }
.split__item-icon {
  width: 44px; height: 44px;
  background: rgba(234,105,15,0.12);
  border: 1px solid rgba(234,105,15,0.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--naranja);
}
.split__item-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; }
.split__item-desc { font-size: 0.88rem; color: var(--gris-texto); line-height: 1.6; }

/* ================================================
   PROCESO STEPS
   ================================================ */
.pasos__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 52px;
}
.paso-card {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.paso-card__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(234,105,15,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.paso-card__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.paso-card__desc { font-size: 0.88rem; color: var(--gris-texto); }

/* ================================================
   TESTIMONIOS
   ================================================ */
.testimonios__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.testimonio {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 28px;
}
.testimonio__stars { color: #F5C518; font-size: 0.9rem; letter-spacing: 2px; margin-bottom: 14px; }
.testimonio__text { font-size: 0.92rem; color: var(--gris-texto); line-height: 1.7; font-style: italic; margin-bottom: 20px; }
.testimonio__author { display: flex; align-items: center; gap: 12px; }
.testimonio__avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--carbon);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--naranja);
  flex-shrink: 0;
}
.testimonio__name { font-family: var(--font-display); font-size: 0.88rem; font-weight: 700; }
.testimonio__source { font-size: 0.78rem; color: var(--gris-texto); }

/* ================================================
   ZONAS DE SERVICIO
   ================================================ */
.zonas__ticker {
  overflow: hidden;
  margin-top: 32px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.zonas__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.zonas__item {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gris-texto);
  padding: 0 24px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.zonas__item::after { content: "·"; margin-left: 24px; color: var(--naranja); }

/* ================================================
   FAQ
   ================================================ */
.faq__list {
  max-width: 780px;
  margin: 48px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq__list details {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  overflow: hidden;
}
.faq__list summary {
  padding: 20px 24px;
  font-family: var(--font-display);
  font-size: 0.97rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--naranja);
  flex-shrink: 0;
  transition: transform 250ms ease;
}
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p {
  padding: 0 24px 20px;
  font-size: 0.9rem;
  color: var(--gris-texto);
  line-height: 1.7;
}

/* ================================================
   CTA BAND
   ================================================ */
.cta-band {
  background: var(--naranja);
  padding: 72px 24px;
  text-align: center;
}
.cta-band__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}
.cta-band__sub { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 32px; }
.cta-band .btn--outline { border-color: rgba(255,255,255,0.6); color: #fff; }
@media (hover: hover) and (pointer: fine) {
  .cta-band .btn--outline:hover { background: rgba(255,255,255,0.15); border-color: #fff; }
}

/* ================================================
   GALERÍA FOTOS
   ================================================ */
.galeria__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.galeria__item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 1;
}
.galeria__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 400ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .galeria__item:hover img { transform: scale(1.06); }
}
.galeria__item--tall { aspect-ratio: 1/1.6; grid-row: span 2; }

/* ================================================
   BEFORE / AFTER SLIDERS
   ================================================ */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  cursor: col-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
}
.ba-after,
.ba-before {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ba-after { width: 100%; }
.ba-before {
  width: 50%;
  border-right: 2px solid rgba(255,255,255,0.6);
}
.ba-after img,
.ba-before img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  /* ensure before image aligns left edge same as after */
}
.ba-before img {
  width: var(--ba-full-w, 100%);
  max-width: none;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
.ba-line {
  flex: 1;
  width: 2px;
  background: #fff;
  box-shadow: 0 0 8px rgba(0,0,0,0.6);
}
.ba-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--naranja);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.5), 0 0 0 3px rgba(255,255,255,0.25);
  color: #fff;
  transition: transform 200ms var(--ease-out), box-shadow 200ms;
}
.ba-slider:hover .ba-btn {
  transform: translateY(-50%) scale(1.12);
  box-shadow: 0 6px 24px rgba(234,105,15,0.55), 0 0 0 4px rgba(255,255,255,0.35);
}
.ba-label {
  position: absolute;
  top: 14px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
  z-index: 11;
}
.ba-label--before {
  left: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
}
.ba-label--after {
  right: 14px;
  background: var(--naranja);
  color: #fff;
}
@media (max-width: 768px) {
  .ba-grid { grid-template-columns: 1fr; }
  .ba-slider { aspect-ratio: 4/3; }
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: #070707;
  border-top: 1px solid var(--borde);
  padding: 64px 24px 32px;
}
.footer__grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo { height: 36px; width: auto; margin-bottom: 16px; }
.footer__tagline { font-size: 0.88rem; color: var(--gris-texto); line-height: 1.6; max-width: 280px; }
.footer__col-title {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a {
  font-size: 0.88rem;
  color: var(--gris-texto);
  transition: color 200ms ease;
}
.footer__links a:hover { color: var(--blanco); }
.footer__contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer__contact-item svg { color: var(--naranja); flex-shrink: 0; margin-top: 2px; }
.footer__contact-item span { font-size: 0.88rem; color: var(--gris-texto); line-height: 1.5; }
.footer__social { display: flex; gap: 12px; margin-top: 20px; }
.footer__social a {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  display: flex; align-items: center; justify-content: center;
  color: var(--gris-texto);
  transition: color 200ms ease, border-color 200ms ease;
}
.footer__social a:hover { color: var(--blanco); border-color: rgba(255,255,255,0.2); }
.footer__bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-top: 28px;
  border-top: 1px solid var(--borde);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--gris-texto);
}
.footer__bottom a { color: var(--gris-texto); transition: color 200ms ease; }
.footer__bottom a:hover { color: var(--blanco); }

/* ================================================
   BOTÓN WHATSAPP FLOTANTE
   ================================================ */
.wa-fab {
  position: fixed;
  bottom: calc(24px + env(safe-area-inset-bottom, 0px)); right: 24px;
  z-index: var(--z-wa-fab);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px 14px 18px;
  background: #25D366;
  color: #fff;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  transition: background 200ms ease, transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.wa-fab:active { transform: scale(0.96); }
@media (hover: hover) and (pointer: fine) {
  .wa-fab:hover { background: #1ebe5d; box-shadow: 0 6px 28px rgba(37,211,102,0.55); transform: translateY(-2px); }
}
.wa-fab__icon { width: 22px; height: 22px; flex-shrink: 0; }

/* ================================================
   REVEAL ANIMATIONS
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* Directional variants */
[data-reveal="left"]  { opacity: 0; transform: translateX(-28px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--stagger, 0ms); }
[data-reveal="right"] { opacity: 0; transform: translateX(28px);  transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: var(--stagger, 0ms); }
[data-reveal="scale"] { opacity: 0; transform: scale(0.96);        transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); transition-delay: var(--stagger, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }

.media-clip {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 700ms var(--ease-out);
  transition-delay: var(--stagger, 0ms);
}
.media-clip.is-visible { clip-path: inset(0 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  .reveal { transform: none; transition: opacity 200ms ease; transition-delay: 0ms; }
  [data-reveal] { transform: none; transition: opacity 200ms ease; transition-delay: 0ms; }
  .media-clip { clip-path: none; transition: none; }
  .btn, .servicio-card, .wa-fab { transition: none; }
}

/* ================================================
   MOBILE NAV — slide-in drawer
   ================================================ */

/* Hidden at all widths by default; media query enables them */
.nav__mobile-drawer,
.nav__backdrop { display: none; }

@media (max-width: 900px) {
  /* Hide desktop elements */
  .nav__links, .nav__cta { display: none !important; }
  .nav__burger { display: flex; }

  /* ── Backdrop ── */
  .nav__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0);
    z-index: var(--z-backdrop);
    display: none;
    cursor: pointer;
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: background 300ms ease, backdrop-filter 300ms ease;
  }
  .nav__backdrop.is-open {
    display: block;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
  }

  /* ── Drawer ── */
  .nav__mobile-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 92vw);
    background: #0e0e0e;
    border-left: 1px solid rgba(255,255,255,0.08);
    z-index: var(--z-drawer);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateX(110%);
    transition: transform 320ms cubic-bezier(0.4,0,0.2,1),
                box-shadow 320ms ease;
    box-shadow: none;
  }
  .nav__mobile-drawer.is-open {
    transform: translateX(0);
    box-shadow: -20px 0 60px rgba(0,0,0,0.8);
  }

  /* ── Drawer header ── */
  .nav__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    flex-shrink: 0;
    height: 68px;
  }
  .nav__drawer-logo { height: 36px; width: auto; display: block; }
  .nav__drawer-close {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    display: grid; place-items: center;
    color: var(--blanco);
    flex-shrink: 0;
    transition: background 160ms ease, transform 160ms ease;
  }
  .nav__drawer-close:hover {
    background: rgba(255,255,255,0.14);
    transform: rotate(90deg);
  }
  .nav__drawer-close svg { display: block; }

  /* ── Drawer scrollable body ── */
  .nav__drawer-body {
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
  }
  .nav__drawer-body::-webkit-scrollbar { width: 3px; }
  .nav__drawer-body::-webkit-scrollbar-track { background: transparent; }
  .nav__drawer-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 2px; }

  /* ── Nav links inside drawer ── */
  .nav__drawer-body .nav__links-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .nav__drawer-body .nav__links-mobile li { }
  .nav__drawer-body .nav__links-mobile > li > a,
  .nav__drawer-body .nav__dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
    padding: 17px 22px;
    font-family: var(--font-display);
    font-size: 0.98rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    border: none;
    background: none;
    cursor: pointer;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: color 140ms, background 140ms;
    text-align: left;
  }
  .nav__drawer-body .nav__links-mobile > li > a:hover,
  .nav__drawer-body .nav__dropdown-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.04);
  }
  .nav__drawer-body .nav__links-mobile > li > a.active {
    color: var(--naranja);
  }

  /* Services dropdown chevron */
  .nav__drawer-body .nav__chevron { flex-shrink: 0; transition: transform 240ms ease; }
  .nav__drawer-body .nav__dropdown.is-open .nav__chevron { transform: rotate(180deg); }

  /* ── Mega panel inside drawer ── */
  .nav__drawer-body .nav__mega-panel {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: rgba(255,255,255,0.025);
    border: none;
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    box-shadow: none;
    padding: 4px 0 12px;
    display: none;
    transition: none !important;
    max-height: 0;
    overflow: hidden;
  }
  .nav__drawer-body .nav__dropdown.is-open .nav__mega-panel {
    display: block;
    max-height: none;
  }
  .nav__drawer-body .nav__mega-inner { display: block; padding: 0 12px; }
  .nav__drawer-body .nav__mega-sections { flex-direction: column; gap: 0; }
  .nav__drawer-body .nav__mega-section {
    display: block;
    padding: 10px 0 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav__drawer-body .nav__mega-section:last-child { border-bottom: none; }
  .nav__drawer-body .nav__mega-section-head {
    font-size: 0.75rem;
    padding: 4px 6px 8px;
    color: var(--naranja);
    pointer-events: none;
  }
  .nav__drawer-body .nav__mega-heading-icon { width: 20px; height: 20px; }
  .nav__drawer-body .nav__mega-section-cols {
    flex-direction: column; gap: 0; padding-left: 4px;
  }
  .nav__drawer-body .nav__mega-section-cols > div { min-width: unset; }
  .nav__drawer-body .nav__mega-subgroup {
    margin: 6px 0 2px 6px;
    font-size: 0.56rem;
    color: rgba(234,105,15,0.7);
  }
  .nav__drawer-body .nav__mega-list li a {
    font-size: 0.82rem;
    padding: 6px 8px 6px 18px;
    border-radius: 6px;
    color: rgba(255,255,255,0.6);
  }
  .nav__drawer-body .nav__mega-list li a:hover {
    color: #fff;
    background: rgba(255,255,255,0.07);
  }
  .nav__drawer-body .nav__mega-cta { display: none; }

  /* ── Drawer footer ── */
  .nav__drawer-foot {
    flex-shrink: 0;
    padding: 16px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.07);
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .nav__drawer-call {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 14px 20px;
    background: var(--naranja);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    transition: background 160ms;
  }
  .nav__drawer-call:hover { background: var(--naranja-hover); }
  .nav__drawer-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 13px 20px;
    background: rgba(37,211,102,0.1);
    border: 1px solid rgba(37,211,102,0.3);
    border-radius: var(--radius-pill);
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    color: #25d366;
    transition: background 160ms, border-color 160ms;
  }
  .nav__drawer-wa-btn:hover {
    background: rgba(37,211,102,0.18);
    border-color: rgba(37,211,102,0.5);
  }

  .nav__drawer-lang { display: none; }

  /* ── Body scroll lock ── */
  body.drawer-open { overflow: hidden; }

  /* ── Hide FAB when drawer is open ── */
  body.drawer-open .wa-fab { display: none; }

  /* ── Page-level adjustments ── */
  .srv-grid { grid-template-columns: 1fr; }
  .srv-industries { padding: 24px; }
  .srv-industries__grid { grid-template-columns: 1fr 1fr; }
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 768px) {
  .servicios__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .servicios__grid { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .stats-bar__grid { grid-template-columns: repeat(3, 1fr); }
  .stats-bar__grid > div:last-child { grid-column: span 1; }
}
@media (max-width: 768px) {
  .section { padding-block: 64px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse { direction: ltr; }
  .pasos__grid { grid-template-columns: 1fr; }
  .testimonios__grid { grid-template-columns: 1fr; }
  .galeria__grid { grid-template-columns: repeat(2, 1fr); }
  .galeria__item--tall { aspect-ratio: 1; grid-row: span 1; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .hero__stats { gap: 24px; }
  .cta-row { flex-direction: column; align-items: flex-start; }
  .wa-fab { bottom: 16px; right: 16px; padding: 12px 16px; font-size: 0.82rem; }
  .hero { padding-top: 130px; padding-bottom: 60px; }
}

/* ================================================
   HERO WITH FORM — split layout
   ================================================ */
.hero--with-form { align-items: flex-start; padding-top: 120px; padding-bottom: 80px; }
.hero__split {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 48px;
  align-items: start;
  position: relative;
  z-index: 2;
}

/* --- Estimate form card --- */
.hero-form-card {
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 32px 28px;
}
.hero-form-card__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blanco);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.hero-form-card__sub {
  font-size: 0.82rem;
  color: var(--gris-texto);
  margin-bottom: 20px;
}
.hero-form-card .form { gap: 12px; }
.hero-form-card .form__input { padding: 11px 14px; font-size: 0.88rem; }
.hero-form-card .form__label { font-size: 0.76rem; }

/* --- Hero slideshow --- */
.hero__slide {
  opacity: 0;
  animation: hero-slide-fade 30s ease-in-out infinite;
}
.hero__slide:nth-child(1) { animation-delay:  0s; opacity: 1; }
.hero__slide:nth-child(2) { animation-delay:  5s; }
.hero__slide:nth-child(3) { animation-delay: 10s; }
.hero__slide:nth-child(4) { animation-delay: 15s; }
.hero__slide:nth-child(5) { animation-delay: 20s; }
.hero__slide:nth-child(6) { animation-delay: 25s; }
@keyframes hero-slide-fade {
  0%    { opacity: 1; }
  16%   { opacity: 1; }
  20%   { opacity: 0; }
  100%  { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; opacity: 0; }
  .hero__slide:nth-child(1) { opacity: 1; }
}

/* --- Hero ticker --- */
.hero__ticker {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 6px;
  margin-bottom: 20px;
}
.hero__ticker span {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1.6vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--naranja);
}
.hero__ticker-dot {
  color: rgba(255,255,255,0.3) !important;
  font-size: 1.1rem !important;
  font-weight: 300 !important;
  letter-spacing: 0 !important;
}

/* --- Form extras --- */
.form__row--3 { grid-template-columns: 1fr 1fr 2fr; }
.form__field--span2 { grid-column: span 2; }
.form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23B0B0AA' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
  cursor: pointer;
}
.form__select option { background: var(--carbon); color: var(--blanco); }

/* Radio groups */
.form__radios-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__radio-group { display: flex; flex-direction: column; gap: 6px; }
.form__radio-label {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--gris-texto);
  letter-spacing: 0.03em;
}
.form__radio-row { display: flex; gap: 20px; }
.form__radio {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--blanco);
  cursor: pointer;
}
.form__radio input[type="radio"] {
  width: 16px; height: 16px;
  accent-color: var(--naranja);
  cursor: pointer;
  flex-shrink: 0;
}

/* Checkbox */
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--gris-texto);
  line-height: 1.5;
  cursor: pointer;
  margin-top: 4px;
}
.form__checkbox input[type="checkbox"] {
  width: 16px; height: 16px;
  accent-color: var(--naranja);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
}
.form__checkbox a { color: var(--naranja); text-decoration: underline; text-underline-offset: 2px; }

/* ================================================
   SERVICE NAV (services.html)
   ================================================ */
.service-nav {
  background: var(--carbon-claro);
  border-bottom: 1px solid var(--borde);
  padding: 0 24px;
  display: flex;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.service-nav::-webkit-scrollbar { display: none; }
.service-nav a {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gris-texto);
  padding: 16px 20px;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 200ms ease, border-color 200ms ease;
}
.service-nav a:hover { color: var(--naranja); border-bottom-color: var(--naranja); }

/* ================================================
   PASOS (franchise.html — alias for paso-card)
   ================================================ */
.paso {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 300ms ease;
}
.paso:hover { border-color: rgba(234,105,15,0.3); }
.paso__num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(234,105,15,0.2);
  line-height: 1;
  margin-bottom: 16px;
}
.paso__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.paso__desc { font-size: 0.88rem; color: var(--gris-texto); line-height: 1.65; }

/* ================================================
   CONTACT FORM
   ================================================ */
.form { display: flex; flex-direction: column; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form__field { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gris-texto);
  letter-spacing: 0.03em;
}
.form__input {
  background: var(--carbon-claro);
  border: 1px solid var(--borde);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--blanco);
  width: 100%;
  transition: border-color 200ms ease;
  outline: none;
}
.form__input::placeholder { color: rgba(176,176,170,0.5); }
.form__input:focus { border-color: var(--naranja); }
.form__textarea { resize: vertical; min-height: 120px; }
.form__field.has-error .form__input { border-color: var(--rojo-urgente); }
.form__error {
  font-size: 0.78rem;
  color: var(--rojo-urgente);
  min-height: 1rem;
}
.form__ok {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.3);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #25D366;
  margin-top: 8px;
}
.btn--full { width: 100%; justify-content: center; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }
.contact-info__item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info__icon {
  width: 44px; height: 44px;
  background: rgba(234,105,15,0.12);
  border: 1px solid rgba(234,105,15,0.25);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--naranja);
  flex-shrink: 0;
}
.contact-info__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gris-texto);
  margin-bottom: 4px;
}
.contact-info__value {
  font-size: 0.95rem;
  color: var(--blanco);
  line-height: 1.55;
  transition: color 200ms ease;
}
a.contact-info__value:hover { color: var(--naranja); }

/* --- Emergency strip --- */
.emergency-strip {
  background: rgba(214,48,48,0.1);
  border-top: 1px solid rgba(214,48,48,0.25);
  border-bottom: 1px solid rgba(214,48,48,0.25);
  padding: 20px 24px;
}
.emergency-strip__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.emergency-strip__icon { font-size: 1.5rem; flex-shrink: 0; }
.emergency-strip__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--blanco);
}
.emergency-strip__sub { font-size: 0.85rem; color: var(--gris-texto); }
.emergency-strip__inner .btn { margin-left: auto; white-space: nowrap; }

/* --- Map --- */
.map-section { padding-block: 64px 0; }
.map-embed { overflow: hidden; }
.map-embed iframe { display: block; width: 100%; }

/* ================================================
   RESPONSIVE — NEW COMPONENTS
   ================================================ */
@media (max-width: 1100px) {
  .hero__split { grid-template-columns: 1fr 420px; gap: 32px; }
}
@media (max-width: 900px) {
  .hero__split { grid-template-columns: 1fr; }
  .hero--with-form { padding-top: 110px; }
  .hero-form-card { margin-top: 8px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .emergency-strip__inner .btn { margin-left: 0; }
  .form__row--3 { grid-template-columns: 1fr 1fr; }
  .form__field--span2 { grid-column: span 2; }
}
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; }
  .form__row--3 { grid-template-columns: 1fr; }
  .form__field--span2 { grid-column: span 1; }
  .form__radios-row { grid-template-columns: 1fr; }
  .service-nav { justify-content: flex-start; }
  .pasos__grid { grid-template-columns: 1fr; }
}

/* ── Financing page ── */
.fin-tabs { display:flex; gap:0; justify-content:center; margin:36px 0 48px; background:rgba(255,255,255,0.04); border:1px solid var(--borde); border-radius:50px; padding:4px; width:fit-content; margin-inline:auto; }
.fin-tab { padding:10px 32px; border-radius:50px; border:none; background:transparent; color:var(--gris-texto); cursor:pointer; font-family:var(--font-body); font-size:0.875rem; font-weight:600; letter-spacing:.02em; transition:background 200ms ease, color 200ms ease, box-shadow 200ms ease; white-space:nowrap; }
.fin-tab:hover { color:var(--blanco); }
.fin-tab--active { background:var(--naranja); color:#fff; box-shadow:0 2px 16px rgba(234,105,15,.35); }
.fin-panel--hidden { display:none !important; }

/* Partner split */
.fin-partner-split { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:24px; }
.fin-logo-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:40px 36px; display:flex; flex-direction:column; gap:20px; }
.fin-logo-card__img { display:flex; align-items:center; }
.fin-logo-card__img img { max-height:72px; width:auto; object-fit:contain; background:#fff; padding:12px 20px; border-radius:10px; }
.fin-logo-card__tag { display:inline-block; font-size:.72rem; font-weight:700; letter-spacing:.14em; text-transform:uppercase; color:var(--naranja); background:rgba(234,105,15,.1); border:1px solid rgba(234,105,15,.25); border-radius:4px; padding:3px 10px; }
.fin-logo-card__headline { font-family:var(--font-display); font-size:clamp(1.1rem,2vw,1.35rem); font-weight:700; color:var(--blanco); line-height:1.3; margin:0; }
.fin-logo-card__features { display:flex; flex-direction:column; gap:10px; margin-top:4px; }
.fin-logo-card__feat { display:flex; align-items:center; gap:10px; font-size:.875rem; color:var(--gris-texto); }
.fin-logo-card__feat-icon { width:28px; height:28px; border-radius:6px; background:rgba(234,105,15,.1); display:grid; place-items:center; flex-shrink:0; font-size:.8rem; }

/* QR / Calculator card */
.fin-calc-card { background:#0C0E12; border:1px solid rgba(234,105,15,.3); border-radius:16px; padding:32px 28px; display:flex; flex-direction:column; align-items:center; gap:16px; position:relative; overflow:hidden; }
.fin-calc-card::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at 50% 0%, rgba(234,105,15,.08) 0%, transparent 65%); pointer-events:none; }
.fin-calc-card__eyebrow { font-family:'Courier New', Courier, monospace; font-size:.7rem; letter-spacing:.2em; text-transform:uppercase; color:var(--naranja); background:rgba(234,105,15,.1); border:1px solid rgba(234,105,15,.2); border-radius:4px; padding:3px 12px; }
.fin-calc-card__question { font-family:var(--font-display); font-size:1.1rem; font-weight:700; color:var(--blanco); text-align:center; line-height:1.4; margin:0; }
.fin-calc-card__qr { background:#fff; border-radius:12px; padding:10px; box-shadow:0 0 0 1px rgba(234,105,15,.25), 0 8px 32px rgba(0,0,0,.5); }
.fin-calc-card__qr img { display:block; width:160px; height:160px; object-fit:contain; }
.fin-calc-card__cta { font-family:'Courier New', Courier, monospace; font-size:.8rem; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.5); display:flex; align-items:center; gap:6px; }
.fin-calc-card__cta::before, .fin-calc-card__cta::after { content:''; flex:1; height:1px; background:rgba(255,255,255,.1); }

/* Info cards below */
.fin-info-grid { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.fin-info-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.07); border-radius:14px; padding:28px 28px 32px; }
.fin-info-card__label { font-size:.72rem; font-weight:700; letter-spacing:.16em; text-transform:uppercase; color:var(--naranja); margin-bottom:18px; }
.fin-checklist { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.fin-checklist li { display:flex; align-items:flex-start; gap:10px; color:var(--gris-texto); font-size:.88rem; line-height:1.5; }
.fin-checklist li::before { content:'✓'; color:var(--naranja); font-weight:700; flex-shrink:0; margin-top:.05em; }
.fin-headline-badge { display:flex; align-items:center; gap:10px; margin-bottom:16px; }
.fin-headline-badge strong { font-family:var(--font-display); font-size:.95rem; font-weight:700; color:var(--blanco); }
.fin-pills { display:flex; flex-wrap:wrap; gap:8px; margin-top:4px; }
.fin-pill { font-size:.78rem; font-weight:600; color:var(--blanco); background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); border-radius:50px; padding:5px 14px; letter-spacing:.01em; transition:background 200ms ease, border-color 200ms ease, color 200ms ease; }
.fin-pill:hover { background:rgba(234,105,15,.15); border-color:rgba(234,105,15,.4); color:var(--naranja); }

/* Regions */
.fin-regions-hero { display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:24px; }
.fin-regions-logo-card { background:rgba(255,255,255,0.03); border:1px solid rgba(255,255,255,0.08); border-radius:16px; padding:40px 36px; display:flex; flex-direction:column; gap:16px; justify-content:center; }
.fin-regions-logo-card img { max-height:64px; width:auto; object-fit:contain; background:#fff; padding:12px 20px; border-radius:10px; }
.fin-regions-contact { background:linear-gradient(135deg,rgba(234,105,15,.1) 0%,rgba(234,105,15,.04) 100%); border:1px solid rgba(234,105,15,.25); border-radius:16px; padding:40px 36px; display:flex; flex-direction:column; gap:16px; justify-content:center; }

@media(max-width:860px){
  .fin-partner-split, .fin-info-grid, .fin-regions-hero { grid-template-columns:1fr; }
  .fin-calc-card { padding:24px 20px; }
}
@media(max-width:480px){
  .fin-tabs { flex-direction:column; border-radius:12px; width:100%; }
  .fin-tab { border-radius:8px; text-align:center; }
  .fin-calc-card__qr img { width:130px; height:130px; }
}

/* ── Certifications strip ── */
.cert-strip { background:#0A0B0E; border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); padding:28px 0; display:flex; align-items:center; gap:32px; overflow:hidden; }
.cert-strip__label { font-size:.68rem; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:rgba(255,255,255,.25); white-space:nowrap; padding-left:max(40px, calc((100vw - 1200px)/2)); flex-shrink:0; }
.cert-strip__track-wrap { flex:1; overflow:hidden; mask-image:linear-gradient(to right,transparent 0%,#000 8%,#000 92%,transparent 100%); }
.cert-strip__track { display:flex; align-items:center; gap:56px; width:max-content; animation:cert-scroll 22s linear infinite; }
.cert-strip__track:hover { animation-play-state:paused; }
.cert-logo { display:flex; align-items:center; height:52px; }
.cert-logo img { height:100%; width:auto; max-width:180px; object-fit:contain; filter:grayscale(1) brightness(1.4); opacity:.6; transition:filter .3s, opacity .3s; }
.cert-logo img:hover { filter:grayscale(0) brightness(1); opacity:1; }
@keyframes cert-scroll { from { transform:translateX(0) } to { transform:translateX(-50%) } }
@media(prefers-reduced-motion:reduce){ .cert-strip__track { animation:none; } }
@media(max-width:640px){ .cert-strip__label { display:none; } }

/* ── Cert logos row (static) ── */
.cert-logos-row { display:flex; align-items:center; justify-content:center; gap:48px; flex-wrap:wrap; padding:8px 0; }
.cert-logos-row .cert-logo { display:flex; align-items:center; height:56px; }
.cert-logos-row .cert-logo img { height:100%; width:auto; max-width:160px; object-fit:contain; filter:none; opacity:1; }
@media(max-width:640px){ .cert-logos-row { gap:28px; } .cert-logos-row .cert-logo { height:40px; } }

/* ── FAQ split layout ── */
.faq-split { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:start; }
.faq-split__img { position:sticky; top:100px; display:flex; flex-direction:column; gap:12px; }
.faq-split__img img:first-child { width:100%; aspect-ratio:3/4; object-fit:cover; display:block; border-radius:var(--radius); }
.faq-split__img img:last-child { width:100%; height:auto; display:block; border-radius:var(--radius); }
.faq-split__content .section__label { display:inline-block; margin-bottom:12px; }
.faq-split__content .section__title { margin-bottom:32px; }
@media(max-width:860px){ .faq-split { grid-template-columns:1fr; } .faq-split__img { position:static; aspect-ratio:16/9; } }

/* ── Why Choose Us — card strip ── */
.why-section { background:var(--negro); padding-block:80px 0; overflow:hidden; }
.why-header { display:flex; justify-content:space-between; align-items:center; margin-bottom:48px; flex-wrap:wrap; gap:20px; }
.why-header__title { font-family:var(--font-display); font-size:clamp(1.9rem,4vw,2.8rem); font-weight:700; color:var(--blanco); line-height:1.2; }
.why-header__btn { display:inline-flex; align-items:center; gap:12px; padding:14px 20px 14px 28px; background:var(--naranja); color:#fff; border-radius:var(--radius-pill); font-family:var(--font-display); font-size:.9rem; font-weight:600; transition:background .2s; white-space:nowrap; }
.why-header__btn:hover { background:var(--naranja-hover); }
.why-header__btn-arrow { width:36px; height:36px; background:rgba(0,0,0,.25); border-radius:50%; display:grid; place-items:center; flex-shrink:0; }
.why-cards-wrap { width:100%; overflow-x:auto; scrollbar-width:none; padding-bottom:80px; }
.why-cards-wrap::-webkit-scrollbar { display:none; }
.why-cards { display:flex; gap:14px; padding-inline:max(24px,calc((100vw - 1200px)/2)); width:max-content; align-items:flex-end; }
.why-card { flex-shrink:0; width:270px; height:380px; border-radius:20px; overflow:hidden; position:relative; }
.why-card--tall { height:460px; }
.why-card img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .5s var(--ease-out); }
.why-card:hover img { transform:scale(1.05); }
.why-card__overlay { position:absolute; inset:0; background:linear-gradient(to top, rgba(0,0,0,.88) 35%, rgba(0,0,0,.15) 75%, transparent 100%); }
.why-card__content { position:absolute; bottom:0; left:0; right:0; padding:24px 22px; }
.why-card__title { font-family:var(--font-display); font-size:1.05rem; font-weight:700; color:var(--blanco); margin-bottom:8px; line-height:1.3; }
.why-card__desc { font-size:.8rem; color:var(--naranja); line-height:1.55; }
@media(max-width:640px){ .why-card { width:220px; height:320px; } .why-card--tall { height:390px; } }

/* ════════════════════════════════════════════════════
   FLOATING EMERGENCY TAB
   ════════════════════════════════════════════════════ */
.emerg-tab {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-emerg-tab);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: var(--naranja);
  border-radius: 0 14px 14px 0;
  padding: 18px 10px 14px;
  box-shadow: 4px 0 24px rgba(0,0,0,0.32);
  width: 48px;
}

.emerg-tab__badge {
  background: var(--negro);
  color: var(--naranja);
  font-family: var(--font-display);
  font-size: 0.5rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  border-radius: 6px;
  padding: 3px 4px;
  line-height: 1;
}

.emerg-tab__text {
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
}

.emerg-tab__divider {
  width: 26px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.emerg-tab__btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.18);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background 160ms ease, transform 160ms ease;
  flex-shrink: 0;
}

.emerg-tab__btn:hover {
  background: rgba(255,255,255,0.35);
  transform: scale(1.08);
}

.emerg-tab__btn svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

@media (max-width: 900px) {
  .emerg-tab { display: none; }
}

/* ════════════════════════════════════════════════════
   LANGUAGE TOGGLE
   ════════════════════════════════════════════════════ */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 20px;
  padding: 4px 6px;
  cursor: default;
  height: 34px;
  flex-shrink: 0;
}

.lang-toggle__opt {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--gris-texto);
  padding: 3px 7px;
  border-radius: 14px;
  cursor: pointer;
  transition: color 140ms ease, background 140ms ease;
  line-height: 1;
  border: none;
  background: transparent;
}

.lang-toggle__opt.is-active {
  color: #fff;
  background: var(--naranja);
}

.lang-toggle__opt:hover:not(.is-active) {
  color: var(--blanco);
}

.lang-toggle__sep {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.2);
  user-select: none;
  pointer-events: none;
}

@media (max-width: 900px) {
  /* Show compact toggle inline in the mobile header bar */
  .lang-toggle {
    display: flex;
    height: 30px;
    padding: 3px 4px;
    gap: 0;
    border-radius: 14px;
  }
  .lang-toggle__opt {
    font-size: 0.62rem;
    padding: 2px 6px;
  }
  .lang-toggle__sep {
    font-size: 0.58rem;
  }
}
