/* ========================================
   main.css — Estilos globales: variables, reset, tipografía
   Lausant Global — Logística Internacional
   ======================================== */

/* ========================================
   VARIABLES GLOBALES
   ======================================== */
:root {
  /* ── Paleta Lausant Global — Azul corporativo del logo ── */
  --lb-base:         #081F4D;   /* background principal */
  --lb-deep:         #0B2F6B;   /* secundario */
  --lb-mid:          #123D82;   /* secciones/cards */
  --lb-accent:       #00AEEF;   /* accent azul del logo */
  --lb-accent-hover: #2CC4FF;   /* hover accent */
  --lb-text:         #F5F8FC;   /* texto principal */
  --lb-text-muted:   #AFC0D9;   /* texto secundario */
  --lb-border:       rgba(255,255,255,.08);

  /* ── Alias para todo el sitio ── */
  --navy:         #081F4D;
  --navy-dark:    #050F2B;
  --brand-dark:   #0B2F6B;
  --accent:       #00AEEF;
  --accent-light: #2CC4FF;
  --accent-dim:   rgba(0, 174, 239, 0.12);
  --blue:         #0B2F6B;
  --blue-light:   #123D82;
  --electric:     #00AEEF;
  --white:        #FFFFFF;
  --text-muted:   #AFC0D9;

  /* ── Grises ── */
  --gray-50:      #F5F8FC;
  --gray-100:     #E8EDF5;
  --gray-200:     #D0D9E8;
  --gray-400:     #8892A4;
  --gray-600:     #4A5568;
  --gray-800:     #1A202C;
  --glass:        rgba(255,255,255,0.05);
  --glass-border: rgba(255,255,255,0.08);
  --transition:   cubic-bezier(0.4, 0, 0.2, 1);

  /* ── Tipografía ── */
  --font-display: 'Barlow Condensed', sans-serif;
  --font-body:    'Inter', sans-serif;
}

/* ========================================
   RESET Y BASE
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* { font-family: var(--font-body); }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: #081F4D;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  background-color: #081F4D;
  color: var(--gray-800);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 2px; }

/* ========================================
   TIPOGRAFÍA
   ======================================== */
h1, h2,
.hero-title,
.bento-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
}

.stat-number,
.bento-stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
}

p,
.hero-subtitle,
.bento-desc,
.stat-label,
.bento-stat-label,
.bento-stat-detail,
.feature-title,
.feature-sub {
  font-family: var(--font-body);
  font-weight: 400;
}

.bento-tag,
.bento-stat-label,
.feature-title,
.bento-photo-label {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.btn-primary,
.btn-secondary,
.nav-cta,
.bento-link {
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.bento-quote-text {
  font-family: var(--font-body);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.6;
}

.bento-quote-text strong {
  font-style: normal;
  font-weight: 600;
}

/* ========================================
   SECCIONES — ESTILOS GENERALES
   ======================================== */
section { position: relative; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 3px;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.1;
  color: var(--navy);
}
.section-title-white { color: var(--white); }

/* ========================================
   SCROLL REVEAL
   ======================================== */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ========================================
   PARTICLES CANVAS
   ======================================== */
#particles-canvas {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}

/* ========================================
   FEATURES STRIP
   ======================================== */
.features-strip {
  background: #081F4D;
  border-top: 1px solid rgba(175, 192, 217, 0.1);
  padding: clamp(1rem, 2.5vh, 1.8rem) clamp(1.5rem, 5vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: center;
  padding: 0 clamp(0.5rem, 1.5vw, 1.5rem);
}
.feature-icon {
  color: #AFC0D9;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.feature-title {
  font-size: clamp(0.75rem, 0.9vw, 0.9rem);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.2;
}
.feature-sub {
  font-size: clamp(0.65rem, 0.75vw, 0.78rem);
  color: #AFC0D9;
  line-height: 1.2;
}
.feature-divider {
  width: 1px;
  height: 36px;
  background: rgba(175, 192, 217, 0.15);
  flex-shrink: 0;
}

/* ========================================
   NOSOTROS — BENTO GRID
   ======================================== */
.bento-section {
  padding: clamp(4rem, 8vh, 7rem) clamp(1.5rem, 6vw, 6rem);
  background: #FFFFFF;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-flow: row dense;
  gap: 14px;
  max-width: 1280px;
  margin: 0 auto;
}

.bento-main  { grid-column: span 2; grid-row: span 2; }
.bento-quote { grid-column: span 2; }

.bento-card {
  border-radius: 16px;
  padding: clamp(1.5rem, 2.8vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid #E4ECF5;
  box-shadow: 0 2px 12px rgba(8, 31, 77, 0.04);
  transition: transform 0.35s cubic-bezier(.2,.7,.2,1), box-shadow 0.35s;
}

.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 40px rgba(8, 31, 77, 0.10);
}

.bento-dark {
  background: linear-gradient(150deg, #061527 0%, #081F4D 60%, #0A2558 100%);
  border-color: rgba(175,192,217,0.1);
  box-shadow: 0 4px 22px rgba(6, 18, 40, 0.38);
}
.bento-mid {
  background: linear-gradient(150deg, #0A2558 0%, #0D3272 100%);
  border-color: rgba(175,192,217,0.1);
  box-shadow: 0 4px 18px rgba(8, 31, 77, 0.3);
}
.bento-accent {
  background: linear-gradient(145deg, #005f9e 0%, #0087c8 60%, #00AEEF 100%);
  border-color: rgba(255,255,255,0.12);
  box-shadow: 0 4px 24px rgba(0, 95, 158, 0.38);
}
.bento-light {
  background: linear-gradient(145deg, #F2F7FC 0%, #EAF2FB 100%);
  border-color: #D4E1F0;
}

.bento-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00AEEF;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bento-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, #00AEEF, rgba(0,174,239,0.2));
  border-radius: 2px;
  flex-shrink: 0;
}

.bento-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 3.6rem);
  font-weight: 800;
  color: #081F4D;
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin: 0;
}

.bento-desc {
  font-size: clamp(0.88rem, 1.05vw, 0.98rem);
  color: #4A5568;
  line-height: 1.78;
  max-width: 400px;
  margin-top: 2px;
}

.bento-link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #081F4D;
  text-decoration: none;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #E4ECF5;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease, gap 0.25s ease;
}
.bento-link:hover {
  color: #00AEEF;
  gap: 14px;
}

.bento-stat { justify-content: flex-end; min-height: 155px; }

.bento-stat-num {
  font-size: clamp(2.6rem, 4.8vw, 4.8rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-top: auto;
}
.bento-dark .bento-stat-num,
.bento-mid .bento-stat-num,
.bento-accent .bento-stat-num { color: #FFFFFF; }
.bento-light .bento-stat-num  { color: #081F4D; }

.bento-stat-label {
  font-size: clamp(0.65rem, 0.78vw, 0.76rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.bento-dark .bento-stat-label,
.bento-mid .bento-stat-label   { color: #AFC0D9; }
.bento-accent .bento-stat-label { color: rgba(255,255,255,0.85); }
.bento-light .bento-stat-label  { color: #0B2F6B; }

.bento-stat-detail {
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.bento-dark .bento-stat-detail,
.bento-mid .bento-stat-detail   { color: rgba(175,192,217,0.5); }
.bento-accent .bento-stat-detail { color: rgba(255,255,255,0.6); }
.bento-light .bento-stat-detail  { color: #64748B; }

.bento-quote-mark {
  font-size: 5rem;
  line-height: 0.75;
  color: var(--accent, #00AEEF);
  opacity: 0.28;
  font-family: Georgia, serif;
  font-style: normal;
  user-select: none;
}
.bento-quote-text {
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  color: #FFFFFF;
  line-height: 1.65;
  font-style: italic;
  font-weight: 400;
}
.bento-quote-text strong { color: rgba(175,192,217,0.9); font-style: normal; }

/* ── Photo placeholder blocks ── */
.bento-photo {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 200px;
  background: #0B2F6B;
  border-color: rgba(175,192,217,0.15);
  border-radius: 14px;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}
.bento-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: absolute;
  inset: 0;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform: translateZ(0) scale(1);
  -webkit-transform: translateZ(0) scale(1);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  image-rendering: auto;
}
.bento-photo:hover .bento-photo-img {
  transform: translateZ(0) scale(1.04);
  -webkit-transform: translateZ(0) scale(1.04);
}
.bento-photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  background: linear-gradient(
    to top,
    rgba(8,31,77,0.88) 0%,
    rgba(8,31,77,0.3) 60%,
    transparent 100%
  );
  z-index: 1;
  border-radius: 0 0 14px 14px;
}
.bento-photo-label {
  font-size: 11px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.bento-photo-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 2;
}
.bento-photo-empty-icon { color: #AFC0D9; opacity: 0.7; }
.bento-photo-empty-text {
  font-size: 10px;
  font-weight: 600;
  color: #AFC0D9;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
}


/* ========================================
   TESTIMONIALS
   ======================================== */
#testimonials {
  padding: 120px 5vw;
  background: var(--white);
}
.testimonials-inner { max-width: 1200px; margin: 0 auto; }
.testimonials-header { text-align: center; margin-bottom: 64px; }
.testimonials-header .section-label { justify-content: center; }
.testimonials-header .section-label::before { display: none; }
.testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.testimonial-card {
  padding: 36px 32px;
  border: 1px solid var(--gray-100);
  border-radius: 20px;
  background: var(--white);
  transition: all 0.4s var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: 0 24px 60px rgba(8,31,77,0.08);
  transform: translateY(-4px);
  border-color: rgba(0,174,239,0.2);
}
.testimonial-quote {
  font-size: 40px; line-height: 1; color: var(--accent); font-weight: 900;
  margin-bottom: 16px; opacity: 0.6;
}
.testimonial-text {
  font-size: 15px; color: var(--gray-600); line-height: 1.75;
  margin-bottom: 28px; font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 16px; color: var(--white); flex-shrink: 0;
}
.author-name { font-size: 14px; font-weight: 700; color: var(--navy); }
.author-company { font-size: 12px; color: var(--gray-400); margin-top: 2px; }
.testimonial-stars {
  position: absolute; top: 32px; right: 32px;
  color: var(--accent); font-size: 14px; letter-spacing: 2px;
}

/* ========================================
   CLIENTS
   ======================================== */
#clients {
  padding: 64px 5vw;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-100);
}
.clients-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.clients-label {
  font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--gray-400); margin-bottom: 40px;
}
.clients-logos {
  display: flex; align-items: center; justify-content: center;
  gap: 48px; flex-wrap: wrap;
}
.client-logo {
  padding: 14px 28px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 10px;
  font-size: 13px; font-weight: 800; color: var(--gray-400);
  letter-spacing: 1.5px; text-transform: uppercase;
  transition: all 0.3s;
}
.client-logo:hover { border-color: var(--gray-200); color: var(--navy); }

/* ========================================
   CTA FINAL
   ======================================== */
#cta-final {
  padding: clamp(100px, 16vh, 160px) 5vw;
  background: #050F2B;
  position: relative; overflow: hidden;
}

/* Anillos decorativos concéntricos — profundidad sin ruido */
#cta-final::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 680px; height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(0,174,239,0.07);
  pointer-events: none;
}
#cta-final::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 1040px; height: 1040px;
  border-radius: 50%;
  border: 1px solid rgba(0,174,239,0.04);
  pointer-events: none;
}

/* Stage light — foco desde abajo hacia el centro */
.cta-final-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 65% at 50% 130%,
      rgba(0,174,239,0.24) 0%,
      rgba(0,174,239,0.06) 40%,
      transparent 60%),
    radial-gradient(ellipse 60% 40% at 50% 50%,
      rgba(11,47,107,0.5) 0%,
      transparent 100%);
}

/* Línea neon superior — ancla visual premium */
.cta-final-grid {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: auto;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 8%,
    rgba(0,174,239,0.35) 22%,
    rgba(0,174,239,0.9) 50%,
    rgba(0,174,239,0.35) 78%,
    transparent 92%
  );
  box-shadow: 0 0 18px rgba(0,174,239,0.45), 0 0 55px rgba(0,174,239,0.12);
}
.cta-final-inner {
  max-width: 800px; margin: 0 auto;
  text-align: center; position: relative; z-index: 2;
}
.cta-final-inner .section-label { justify-content: center; }
.cta-final-inner .section-label::before { display: none; }
.cta-final-title {
  font-size: clamp(32px, 4vw, 58px);
  font-weight: 900; color: var(--white); letter-spacing: -2px;
  line-height: 1.1; margin-bottom: 20px;
}
.cta-final-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-final-sub {
  font-size: 17px; color: rgba(255,255,255,0.6); line-height: 1.7;
  max-width: 500px; margin: 0 auto 48px;
}
.cta-final-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========================================
   FOOTER
   ======================================== */
footer {
  background: #050F2B;
  padding: 80px 5vw 40px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid; grid-template-columns: 2fr 3fr; gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 40px;
}
.footer-cols-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.footer-brand { display: block; }
.footer-brand .nav-logo { margin-bottom: 20px; display: inline-flex; }
.footer-tagline {
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.75;
  max-width: 280px; margin-bottom: 24px;
}
.footer-social { display: flex; gap: 10px; }
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px;
  transition: all 0.3s;
}
.social-link:hover { background: rgba(255,255,255,0.1); color: var(--white); border-color: rgba(255,255,255,0.15); }
.footer-col h4 {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: rgba(255,255,255,0.5); margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  font-size: 14px; color: rgba(255,255,255,0.4); text-decoration: none;
  transition: color 0.25s;
}
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.25); }
.footer-copy strong { color: rgba(255,255,255,0.4); }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a {
  font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none;
  transition: color 0.25s;
}
.footer-legal a:hover { color: rgba(255,255,255,0.5); }

/* ========================================
   CONTACT MODAL
   ======================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(8,31,77,0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: 24px;
  padding: 52px;
  width: 100%; max-width: 520px;
  transform: scale(0.96) translateY(20px);
  transition: transform 0.35s var(--transition);
  position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-overlay.open .modal { transform: scale(1) translateY(0); }
.modal-close {
  position: absolute; top: 20px; right: 20px;
  width: 36px; height: 36px;
  background: var(--gray-100); border: none;
  border-radius: 50%; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover { background: var(--gray-200); }
.modal h2 {
  font-size: 26px; font-weight: 900; color: var(--navy); letter-spacing: -1px; margin-bottom: 6px;
}
.modal p { font-size: 14px; color: var(--gray-400); margin-bottom: 32px; line-height: 1.6; }
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; font-size: 12px; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: 10px; font-size: 14px; color: var(--gray-800);
  font-family: 'Inter', sans-serif;
  background: var(--white);
  transition: border-color 0.25s;
  outline: none;
  appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-submit {
  width: 100%; padding: 16px;
  background: linear-gradient(135deg, var(--brand-dark), var(--accent));
  color: var(--white); font-weight: 700; font-size: 15px;
  border: none; border-radius: 10px; cursor: pointer;
  margin-top: 8px;
  transition: all 0.3s var(--transition);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,174,239,0.35); }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr; gap: 40px; }
  .footer-cols-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
}
@media (max-width: 900px) {
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-main  { grid-column: span 2; }
  .bento-quote { grid-column: span 2; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .feature-divider { display: none; }
  .features-strip { flex-wrap: wrap; gap: 16px; }
  .feature-item { flex: 0 0 45%; justify-content: flex-start; }
  .form-row { grid-template-columns: 1fr; }
  #nosotros, #servicios, #cobertura, #testimonials { padding: 60px 5vw; }
  #cta-final { padding: 90px 5vw; }
  .modal { padding: 32px 24px; }
}
@media (max-width: 540px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-main, .bento-quote { grid-column: span 1; }
}
@media (max-width: 480px) {
  .cta-final-actions { flex-direction: column; align-items: center; }
}

/* ── Hero stats — texto en lugar de número ── */
.stat-number.stat-text-sm {
  font-size: clamp(0.85rem, 1.2vw, 1rem);
  letter-spacing: 0.02em;
  font-weight: 700;
  white-space: nowrap;
}

/* ── Bento stat icon (svg check) ── */
.bento-stat-icon {
  width: clamp(2rem, 3.2vw, 3rem);
  height: clamp(2rem, 3.2vw, 3rem);
  margin-top: auto;
  color: #081F4D;
}
.bento-light .bento-stat-icon { color: #081F4D; }

/* ========================================
   FILOSOFÍA Y HISTORIA
   ======================================== */
.philosophy-section {
  background: #FFFFFF;
  padding: clamp(5rem, 9vh, 8rem) clamp(2rem, 7vw, 7rem);
  position: relative;
}

.philosophy-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(4rem, 7vw, 8rem);
  align-items: start;
}

.philosophy-tag {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00AEEF;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 1.4rem;
}
.philosophy-tag::before {
  content: '';
  display: block;
  width: 28px;
  height: 1.5px;
  background: linear-gradient(90deg, #00AEEF, rgba(0,174,239,0.2));
  border-radius: 2px;
  flex-shrink: 0;
}

.philosophy-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  font-weight: 800;
  color: #081F4D;
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin-bottom: 2.8rem;
}

/* ── Timeline de historia ── */
.history-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 38px;
  top: 16px;
  bottom: 16px;
  width: 1px;
  background: linear-gradient(to bottom, #00AEEF 0%, rgba(0,174,239,0.08) 100%);
}

.history-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding-bottom: 2.2rem;
  position: relative;
}

.history-year-wrap {
  flex-shrink: 0;
  width: 76px;
  display: flex;
  justify-content: center;
}

.history-year {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  color: #00AEEF;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.25);
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 0.06em;
  position: relative;
  z-index: 1;
}

.history-content {
  padding-top: 3px;
}

.history-company {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: #081F4D;
  display: block;
  margin-bottom: 5px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.history-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #64748B;
  line-height: 1.65;
  margin: 0;
}

/* ── Misión ── */
.mission-block {
  margin-bottom: 2.8rem;
  padding: 2rem 2rem 2rem 1.8rem;
  background: linear-gradient(135deg, #F4F8FD 0%, #EDF4FC 100%);
  border-radius: 14px;
  border: 1px solid #D8E8F5;
  border-left: 3px solid #00AEEF;
}

.mission-text {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  font-weight: 400;
  color: #1E3A5F;
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}

/* ── Valores ── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 1rem;
}

.value-item {
  background: #FFFFFF;
  border: 1px solid #E4ECF5;
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: 0 2px 10px rgba(8, 31, 77, 0.04);
  transition: border-color 0.25s, box-shadow 0.3s, transform 0.3s;
}

.value-item:hover {
  border-color: rgba(0,174,239,0.35);
  box-shadow: 0 8px 28px rgba(0,174,239,0.09);
  transform: translateY(-2px);
}

.value-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.18rem;
  font-weight: 800;
  color: #081F4D;
  margin: 0 0 7px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.value-desc {
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: #4A5568;
  line-height: 1.62;
  margin: 0;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .philosophy-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .philosophy-title {
    margin-bottom: 1.8rem;
  }
}

@media (max-width: 540px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAB STACK (scroll-top + whatsapp + phone) ── */
.fab-stack {
  position: fixed;
  bottom: clamp(1.5rem, 4vh, 2.5rem);
  right: clamp(1.2rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 90;
}

.fab-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(166,202,225,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  text-decoration: none;
  color: #FFFFFF;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background 0.22s ease,
    box-shadow 0.22s ease;
  box-shadow: 0 4px 18px rgba(5,15,43,0.45);
}

/* WhatsApp */
.fab-wa {
  background: #25D366;
  color: #FFFFFF;
  border-color: transparent;
}
.fab-wa:hover {
  background: #1DAA56;
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 6px 22px rgba(37,211,102,0.4);
}

/* Phone */
.fab-phone {
  background: var(--lb-deep);
  color: var(--accent);
  border-color: rgba(0,174,239,0.25);
  position: relative;
}
.fab-phone:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px) scale(1.07);
  box-shadow: 0 6px 22px rgba(0,174,239,0.35);
}

/* Toast "Número copiado" */
.fab-phone-toast {
  position: absolute;
  right: 54px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  border: 1px solid rgba(0,174,239,0.3);
  color: var(--lb-text);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.fab-phone-toast.show { opacity: 1; }

/* Scroll top — hidden by default, appears on scroll */
.fab-top {
  background: var(--lb-deep);
  color: var(--accent);
  border-color: rgba(0,174,239,0.25);
  opacity: 0;
  transform: translateY(10px) scale(0.88);
  pointer-events: none;
}
.fab-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-top:hover {
  background: var(--accent);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-2px) scale(1.07);
}
.fab-btn:active { transform: scale(0.93); }

@media (max-width: 768px) {
  .fab-stack {
    bottom: 1.4rem;
    right: 1rem;
    gap: 8px;
  }
  .fab-btn {
    width: 42px;
    height: 42px;
  }
}

/* ── BANNER DE COOKIES ── */
.cookie-banner {
  position: fixed;
  bottom: clamp(1rem, 3vh, 2rem);
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  transform: translateY(120px);
  z-index: 999;
  width: calc(100% - clamp(2rem, 6vw, 5rem));
  max-width: 860px;
  background: var(--navy, #081F4D);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: 14px;
  padding: clamp(1rem, 2.5vh, 1.5rem)
           clamp(1.2rem, 2.5vw, 1.8rem);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 8px 32px rgba(5,15,43,0.6),
    0 0 0 1px rgba(0,174,239,0.1);
  transition: transform 0.5s cubic-bezier(0.34,1.56,0.64,1),
              opacity 0.4s ease;
  opacity: 0;
  pointer-events: none;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.cookie-banner.is-hiding {
  transform: translateY(120px);
  opacity: 0;
  pointer-events: none;
}

.cookie-banner-inner {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  flex-wrap: wrap;
}

.cookie-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0,174,239,0.1);
  border: 1px solid rgba(0,174,239,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent, #00AEEF);
  flex-shrink: 0;
}

.cookie-text {
  flex: 1;
  min-width: 200px;
}

.cookie-title {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 3px;
}

.cookie-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(175,192,217,0.75);
  line-height: 1.5;
}

.cookie-link {
  color: var(--accent, #00AEEF);
  text-decoration: none;
  font-weight: 500;
  margin-left: 4px;
}

.cookie-link:hover { text-decoration: underline; }

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn-reject {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(175,192,217,0.7);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-reject:hover {
  border-color: rgba(255,255,255,0.25);
  color: #FFFFFF;
}

.cookie-btn-accept {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy, #081F4D);
  background: var(--accent, #00AEEF);
  border: none;
  padding: 8px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: var(--accent-light, #2CC4FF);
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cookie-actions {
    width: 100%;
  }
  .cookie-btn-reject,
  .cookie-btn-accept {
    flex: 1;
    text-align: center;
    justify-content: center;
  }
}

/* ── PAGE HERO (secciones internas) ── */
.page-hero {
  background: #081F4D;
  padding: calc(clamp(56px, 7vh, 72px) + clamp(3rem, 6vh, 5rem))
           clamp(2rem, 7vw, 7rem)
           clamp(3rem, 6vh, 5rem);
  border-bottom: 1px solid rgba(175, 192, 217, 0.1);
  position: relative;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,174,239,0.3), transparent);
}

.page-hero-inner { max-width: 860px; }

@keyframes hero-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.page-hero-tag {
  font-family: 'Inter', sans-serif;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #00AEEF;
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 1rem;
  animation: hero-up 0.55s ease both;
  animation-delay: 0.05s;
}

.page-hero-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 800; color: #FFFFFF;
  line-height: 1.0; letter-spacing: -0.02em;
  animation: hero-up 0.55s ease both;
  animation-delay: 0.2s;
}

.page-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: clamp(0.92rem, 1.15vw, 1.04rem);
  color: #AFC0D9;
  line-height: 1.75;
  margin-top: 1.2rem;
  max-width: 540px;
  animation: hero-up 0.55s ease both;
  animation-delay: 0.35s;
}

@media (prefers-reduced-motion: reduce) {
  .page-hero-tag,
  .page-hero-title,
  .page-hero-sub { animation: none; }
}

/* ========================================
   MOBILE PREMIUM — correcciones responsive
   ======================================== */

/* ── 1. FABs: ocultar phone y WA al inicio del hero,
         aparecer solo después de 80px de scroll (via JS class).
         En mobile reducimos tamaño y los mantenemos más arriba
         para no pisar el contenido del hero. ── */
@media (max-width: 768px) {
  .fab-stack {
    bottom: 1.8rem;
    right: 0.9rem;
    gap: 9px;
  }
  .fab-btn {
    width: 44px;
    height: 44px;
  }
  .fab-wa,
  .fab-phone {
    opacity: 0;
    transform: translateY(8px) scale(0.88);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease,
                background 0.22s ease, box-shadow 0.22s ease;
  }
  .fab-wa.is-visible,
  .fab-phone.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }
}

/* ── 2. Features strip: grid 2 columnas limpio en mobile ── */
@media (max-width: 768px) {
  .features-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    padding: 0;
    border-top: none;
  }
  .feature-divider { display: none; }
  .feature-item {
    flex: unset;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(175,192,217,0.08);
    border-right: none;
  }
  /* nth-of-type omite los .feature-divider del conteo */
  .feature-item:nth-of-type(odd)  { border-right: 1px solid rgba(175,192,217,0.08); }
  .feature-item:nth-of-type(even) { border-right: none; }
  .feature-item:last-of-type {
    grid-column: 1 / -1;
    border-right: none;
    border-bottom: none;
  }
  .feature-item:nth-last-of-type(2) { border-bottom: none; }
  .feature-icon svg { width: 18px; height: 18px; }
  .feature-title { font-size: 0.82rem; font-weight: 600; }
  .feature-sub   { font-size: 0.7rem; line-height: 1.3; }
}

/* ── 3. CTA final title: evitar letras apretadas en mobile ── */
@media (max-width: 640px) {
  .cta-final-title {
    font-size: clamp(28px, 8.5vw, 42px);
    letter-spacing: -0.5px;
    line-height: 1.15;
    word-break: keep-all;
  }
  .cta-final-sub {
    font-size: 15px;
    line-height: 1.65;
    padding: 0 4px;
  }
  #cta-final {
    padding: 70px 5vw 80px;
  }
}

/* ── 4. Footer mobile: layout compacto de 2 columnas para links,
         brand encima a ancho completo ── */
@media (max-width: 768px) {
  footer {
    padding: 48px 5vw 32px;
  }
  .footer-top {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 0;
    border-bottom: none;
    margin-bottom: 0;
  }
  .footer-brand {
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 28px;
  }
  .footer-tagline {
    max-width: 100%;
    font-size: 13px;
  }
  .footer-cols-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    margin-bottom: 20px;
  }
  .footer-cols-grid .footer-col:last-child {
    grid-column: 1 / -1;
    padding-top: 4px;
    border-top: 1px solid rgba(255,255,255,0.05);
  }
  .footer-cols-grid .footer-col:last-child ul {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .footer-col h4 {
    margin-bottom: 12px;
    font-size: 10px;
  }
  .footer-col ul {
    gap: 8px;
  }
  .footer-col ul li a {
    font-size: 13px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-copy {
    font-size: 12px;
  }
  .footer-legal {
    gap: 16px;
  }
}

/* ── SEO Brand Intro block ── */
.seo-brand-intro {
  background: #F7F9FC;
  border-top: 1px solid #E8EEF5;
  border-bottom: 1px solid #E8EEF5;
  padding: clamp(1rem, 2vw, 1.5rem) clamp(1.5rem, 5vw, 7rem);
}
.seo-brand-intro-inner {
  max-width: 1380px;
  margin: 0 auto;
}
.seo-brand-intro p {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: clamp(0.78rem, 0.9vw, 0.88rem);
  line-height: 1.7;
  color: #64748B;
  text-wrap: pretty;
}
.seo-brand-intro strong { color: #475569; }
.seo-brand-intro em { font-style: normal; color: #475569; }

