/* ================================================================
   KAIRUM — Hoja de estilos principal
   Paleta: #1b5e20 (verde corporativo) · #ffffff (blanco)
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  --green-900:    #1b5e20;
  --green-800:    #2e7d32;
  --green-600:    #43a047;
  --green-400:    #66bb6a;
  --green-100:    #e8f5e9;
  --green-50:     #f1f8f1;
  --white:        #ffffff;
  --gray-50:      #f9fafb;
  --gray-100:     #f3f4f6;
  --gray-200:     #e5e7eb;
  --gray-400:     #9ca3af;
  --gray-600:     #6b7280;
  --gray-900:     #111827;
  --text:         #1a2a1a;
  --text-muted:   #5a6a5a;

  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --r-sm:         .375rem;
  --r-md:         .75rem;
  --r-lg:         1.25rem;
  --r-full:       999px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.08);
  --shadow-md:    0 4px 14px rgba(0,0,0,.10);
  --shadow-lg:    0 10px 32px rgba(0,0,0,.13);
  --t:            .22s ease;
  --max:          1200px;
  --header-h:     110px;
}

/* ── Reset ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--gray-50);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }

/* ── Container ──────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* ── Botones ─────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .7rem 1.6rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t), box-shadow var(--t);
  white-space: nowrap;
  line-height: 1;
}
.btn:focus-visible { outline: 3px solid var(--green-400); outline-offset: 3px; }
.btn:active { transform: scale(.97); }

.btn-primary  { background: var(--green-900); color: var(--white); border-color: var(--green-900); }
.btn-primary:hover { background: var(--green-800); border-color: var(--green-800); box-shadow: var(--shadow-md); }

.btn-secondary { background: transparent; color: var(--green-900); border-color: var(--green-900); }
.btn-secondary:hover { background: var(--green-900); color: var(--white); box-shadow: var(--shadow-md); }

.btn-outline  { background: transparent; color: var(--white); border-color: rgba(255,255,255,.8); }
.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); }

.btn-white    { background: var(--white); color: var(--green-900); border-color: var(--white); }
.btn-white:hover { background: var(--green-100); border-color: var(--green-100); }

.btn-ghost    { background: transparent; color: var(--text-muted); border-color: var(--gray-200); }
.btn-ghost:hover { background: var(--gray-100); border-color: var(--gray-400); color: var(--text); }

.btn-lg  { padding: .9rem 2rem; font-size: 1.05rem; }
.btn-full { width: 100%; }

/* Hero: botón primario — fondo blanco, texto verde */
.btn-hero { background: var(--white); color: var(--green-900); border-color: var(--white); font-weight: 700; }
.btn-hero:hover { background: var(--green-100); border-color: var(--green-100); box-shadow: var(--shadow-md); }
/* Hero: botón secundario — hueco con borde blanco */
.btn-hero.btn-outline { background: transparent; color: var(--white); border-color: var(--white); font-weight: 600; }
.btn-hero.btn-outline:hover { background: rgba(255,255,255,.15); border-color: var(--white); box-shadow: var(--shadow-md); }

/* ── HEADER ──────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  height: var(--header-h);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
}

.header-left   { justify-self: start;  display: flex; align-items: center; }
.header-center { justify-self: center; display: flex; align-items: center; }
.header-right  { justify-self: end;    display: flex; align-items: center; gap: 1.5rem; }

/* Corrección: blindaje del tamaño del logo en escritorio */
.header-left img,
.header-left .logo img { 
  height: 85px !important; 
  width: auto !important; 
  max-height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

.nav-list { display: flex; gap: 30px; }
.nav-list a {
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--text);
  position: relative;
  padding-block: .25rem;
  transition: color var(--t);
}
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--green-900);
  transition: width var(--t);
}
.nav-list a:hover { color: var(--green-900); }
.nav-list a:hover::after, .nav-list a:focus::after { width: 100%; }

.header-phone {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--green-900);
  white-space: nowrap;
  transition: color var(--t), opacity var(--t);
}
.header-phone:hover { opacity: .8; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px; height: 20px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.nav-toggle span {
  display: block; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ── HERO ─────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: clamp(480px, 74vh, 680px);
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 30% 50%, var(--green-800) 0%, var(--green-900) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/patron-kairum.png');
  background-repeat: repeat;
  background-size: 80px;
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.18);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  padding-block: 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-logo-flotante {
  position: absolute;
  top: 40px;
  left: clamp(1.5rem, 5vw, 4rem);
  max-width: 180px;
  width: 100%;
  height: auto;
  z-index: 10;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero-eyebrow {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--green-400);
  margin-bottom: 1rem;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 800px;
  margin-bottom: 1.2rem;
}
.hero h1 span { color: var(--green-400); }
.hero-subtitle {
  font-size: clamp(1rem, 2.2vw, 1.18rem);
  max-width: 800px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.2rem;
  line-height: 1.8;
}
.hero-subtitle strong { color: var(--green-400); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.75rem; justify-content: center; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; }
.badge {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: var(--white);
  font-size: .78rem;
  font-weight: 500;
  padding: .35rem .8rem;
  border-radius: var(--r-full);
}

/* ── MARCA DE AGUA LOGO ───────────────────────────────────────────── */
.logo-watermark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.logo-watermark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/logo.png') center / auto 55% no-repeat;
  opacity: 0.09;
  pointer-events: none;
  z-index: -1;
}

/* ── TRUST BAR ────────────────────────────────────────────────────── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 1.2rem;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem 2.5rem;
  justify-content: center;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.trust-item svg { color: var(--green-900); flex-shrink: 0; }

/* ── SECCIONES GENÉRICAS ──────────────────────────────────────────── */
.services-section, .contact-section { padding-block: 7rem; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 4rem;
}
.section-tag {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-900);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  padding: .28rem .8rem;
  border-radius: var(--r-full);
  margin-bottom: .75rem;
}
.section-tag--light {
  background: rgba(255,255,255,.15);
  color: var(--white);
}
.section-header h2 {
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .7rem;
}
.section-header p {
  font-size: 1.03rem;
  color: var(--text-muted);
  line-height: 1.72;
}

/* ── CARDS VIVIENDA ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow var(--t), transform var(--t);
}
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.service-card--featured { border: 2px solid var(--green-900); }

.tarjeta-destacada {
  position: relative;
  border: 2px solid var(--green-900);
}

.etiqueta-destacada {
  position: absolute;
  top: -14px;
  right: 20px;
  background-color: var(--green-900);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 15px;
  font-weight: 700;
  font-size: 0.8rem;
  z-index: 10;
  letter-spacing: .04em;
}

.service-card-icon {
  width: 50px; height: 50px;
  border-radius: var(--r-md);
  background: var(--green-100);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-900);
  flex-shrink: 0;
}
.service-card-icon svg { width: 26px; height: 26px; }

.service-card h3 { font-size: 1.18rem; font-weight: 700; }
.card-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

.service-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green-900);
  flex-shrink: 0;
  margin-top: .44rem;
}
.card-badge {
  position: absolute;
  top: -12px; right: 1.4rem;
  background: var(--green-900);
  color: var(--white);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: .22rem .75rem;
  border-radius: var(--r-full);
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin-top: auto;
  padding-top: .5rem;
}

/* ── ROI BANNER ───────────────────────────────────────────────────── */
.roi-banner {
  background: linear-gradient(135deg, var(--green-900), var(--green-800));
  color: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-md);
}
.roi-icon {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.12);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-400);
  flex-shrink: 0;
}
.roi-text { flex: 1; min-width: 220px; display: flex; flex-direction: column; gap: .4rem; }
.roi-text strong { font-size: 1.05rem; font-weight: 700; line-height: 1.4; }
.roi-text span { font-size: .88rem; opacity: .88; line-height: 1.6; }

.roi-banner .btn-primary {
  background: rgba(255,255,255,.15);
  border: 2px solid #ffffff;
  color: var(--white);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.roi-banner .btn-primary:hover {
  background: var(--white);
  color: var(--green-900);
  border-color: var(--white);
  box-shadow: var(--shadow-md);
}

/* ── B2B ──────────────────────────────────────────────────────────── */
.services-b2b {
  background: linear-gradient(135deg, var(--green-900) 0%, var(--green-800) 100%);
  padding-block: 7rem;
  color: var(--white);
}
.b2b-inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 4rem;
  align-items: center;
}
.b2b-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.b2b-text > p {
  font-size: 1.03rem;
  opacity: .9;
  margin-bottom: 1.75rem;
  line-height: 1.75;
}
.b2b-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  margin-bottom: 2rem;
}
.b2b-list li {
  font-size: .92rem;
  opacity: .9;
  line-height: 1.6;
  padding-left: 1rem;
  border-left: 3px solid var(--green-400);
}
.b2b-list strong {
  display: block;
  font-size: .95rem;
  color: var(--green-400);
  margin-bottom: .2rem;
}
.b2b-subblocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
.b2b-subblock {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
}
.b2b-subblock h3 {
  font-size: .92rem;
  font-weight: 700;
  color: var(--green-400);
  margin-bottom: .65rem;
}
.b2b-subblock ul {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.b2b-subblock li {
  font-size: .86rem;
  opacity: .9;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: .45rem;
}
.b2b-subblock li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--green-400);
  flex-shrink: 0;
  margin-top: .46rem;
}
.b2b-subblock p {
  font-size: .86rem;
  opacity: .9;
  line-height: 1.65;
}

.b2b-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.b2b-stat {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-md);
  padding: 1.4rem 1rem;
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--green-400);
  line-height: 1;
}
.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-label {
  display: block;
  font-size: .78rem;
  opacity: .82;
  margin-top: .3rem;
}

/* ── CONTACTO ─────────────────────────────────────────────────────── */
.contact-section { background: var(--gray-50); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
}

/* Avisos de envío */
.form-notice {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-size: .95rem;
  line-height: 1.55;
  box-shadow: var(--shadow-sm);
}
.form-notice svg { flex-shrink: 0; margin-top: .15rem; }
.form-notice p  { margin: 0; }
.form-notice--success {
  background: #f0faf1;
  border-color: #a8d5ab;
  color: #1b5e20;
}
.form-notice--success svg { stroke: #2e7d32; }
.form-notice--error {
  background: #fff5f5;
  border-color: #f5c0c0;
  color: #9b1c1c;
}
.form-notice--error svg { stroke: #c53030; }

/* Formulario */
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.form-fieldset { border: none; padding: 0; }
.form-fieldset legend { font-weight: 600; font-size: .93rem; margin-bottom: .8rem; }
.radio-group { display: flex; gap: 1.5rem; }
.radio-label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .93rem;
  cursor: pointer;
  user-select: none;
}
.radio-label input[type="radio"] { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-custom {
  width: 18px; height: 18px;
  border: 2px solid var(--gray-200);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--t), background var(--t);
}
.radio-custom::after {
  content: '';
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--white);
  transform: scale(0);
  transition: transform var(--t);
}
.radio-label input[type="radio"]:checked + .radio-custom { border-color: var(--green-900); background: var(--green-900); }
.radio-label input[type="radio"]:checked + .radio-custom::after { transform: scale(1); }
.radio-label input[type="radio"]:focus-visible + .radio-custom { outline: 2px solid var(--green-400); outline-offset: 2px; }

.form-group { display: flex; flex-direction: column; gap: .42rem; }
.form-group label { font-size: .86rem; font-weight: 600; }
.form-group label span { color: var(--green-900); }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: .72rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-family: var(--font);
  font-size: .94rem;
  color: var(--text);
  background: var(--gray-50);
  transition: border-color var(--t), box-shadow var(--t);
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-900);
  box-shadow: 0 0 0 3px rgba(27,94,32,.11);
}
.form-legal { font-size: .74rem; color: var(--gray-400); text-align: center; }

/* Info contacto lateral */
.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.contact-info h3 { font-size: 1.12rem; font-weight: 700; margin-bottom: .2rem; }

.contact-direct,
.contact-address {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
  text-decoration: none;
  color: var(--text);
}
.contact-direct:hover { border-color: var(--green-900); box-shadow: var(--shadow-md); transform: translateX(4px); }

.cd-icon { flex-shrink: 0; color: var(--green-900); display: flex; }
.contact-direct--whatsapp .cd-icon { color: #25D366; }

.cd-text { display: flex; flex-direction: column; gap: .12rem; }
.cd-text strong { font-size: .84rem; font-weight: 700; }
.cd-text span, .cd-text address { font-size: .9rem; color: var(--text-muted); }

.contact-address { cursor: default; }

/* ── FOOTER ───────────────────────────────────────────────────────── */
.site-footer {
  background: #0d1f0e;
  color: rgba(255,255,255,.82);
  padding-top: 3.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { margin-top: 1.5rem; font-size: .86rem; line-height: 1.75; color: rgba(255,255,255,.55); text-align: center; }
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-brand img { height: 90px; width: auto; max-width: 240px; }
.footer-contact h3,
.footer-nav h3,
.footer-zone h3 { font-size: .92rem; font-weight: 700; color: var(--white); margin-bottom: .85rem; }
.footer-contact address { font-size: .86rem; line-height: 1.95; color: rgba(255,255,255,.55); }
.footer-contact a, .footer-nav a { color: rgba(255,255,255,.72); transition: color var(--t); }
.footer-contact a:hover, .footer-nav a:hover { color: var(--green-400); }
.footer-nav ul, .footer-zone ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a { font-size: .86rem; }
.footer-zone li { font-size: .86rem; color: rgba(255,255,255,.55); }
.footer-bottom { padding-block: 1.2rem; }
.footer-bottom p { font-size: .77rem; color: rgba(255,255,255,.38); text-align: center; }

/* ── BOTONES FLOTANTES ────────────────────────────────────────────── */
.floating-contacts {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  z-index: 200;
}
.float-btn {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .65rem 1.15rem;
  border-radius: var(--r-full);
  font-size: .86rem;
  font-weight: 700;
  color: var(--white);
  box-shadow: var(--shadow-lg);
  transition: transform var(--t), box-shadow var(--t);
  text-decoration: none;
}
.float-btn:hover { transform: scale(1.06); box-shadow: 0 14px 40px rgba(0,0,0,.22); }
.float-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.float-whatsapp { background: #25D366; }
.float-email    { background: var(--green-900); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .b2b-inner { grid-template-columns: 1fr; }
  .b2b-visual { grid-template-columns: repeat(4, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  /* Corrección: escalado del logo en móvil */
  .logo img { height: 45px; }

  .nav-toggle { display: flex; }

  .header-center {
    position: absolute;
    top: var(--header-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 1rem 1.5rem 1.5rem;
    display: none;
    flex: none;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .header-center.is-open { display: block; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { display: block; padding: .72rem 0; border-bottom: 1px solid var(--gray-100); }
  .nav-list li:last-child a { border-bottom: none; }

  .site-header { position: relative; }
  .header-inner {
    display: flex;
    justify-content: space-between;
    position: relative;
    align-items: center;
  }
  .header-left  { flex: 0 0 auto; justify-self: unset; }
  .header-right  { flex: 0 0 auto; gap: .75rem; }
  
  /* Corrección: Previene que el teléfono choque con el menú en pantallas pequeñas */
  .header-phone {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.85rem; 
  }

  .hero-ctas { flex-direction: column; justify-content: center; }
  .hero-ctas .btn { width: 100%; text-align: center; }

  .hero-logo-flotante { display: none; }

  .hero-content { padding-block: 2.5rem; }
  .hero-badges { justify-content: center; }

  .services-grid { grid-template-columns: 1fr; }
  .b2b-visual { grid-template-columns: 1fr 1fr; }

  .roi-banner { flex-direction: column; text-align: center; }
  .roi-icon { margin-inline: auto; }

  .b2b-subblocks { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }

  .float-btn span { display: none; }
  .float-btn { padding: .85rem; }
  .float-btn svg { width: 24px; height: 24px; }
}

@media (max-width: 480px) {
  .contact-form { padding: 1.5rem; }
  .trust-bar-inner { gap: 1rem 1.5rem; }
  .b2b-visual { grid-template-columns: 1fr 1fr; }
}