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

:root {
  --navy: #1C2B5E;
  --navy-dark: #111d42;
  --cyan: #00AEEF;
  --cyan-dark: #0090c8;
  --red: #C03B2E;
  --purple: #7B3FA0;
  --purple-light: #f0e8f7;
  --white: #ffffff;
  --off-white: #f7f6f3;
  --gray-light: #eeecea;
  --gray-mid: #999;
  --text-dark: #0e1830;
  --text-body: #2e3a5c;
  --text-muted: #6b7a9e;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --max: 1200px;
  --radius: 12px;
  --radius-lg: 20px;
}

html { scroll-behavior: smooth; }
body { 
  font-family: var(--font-body); 
  color: var(--text-dark); 
  overflow-x: hidden;
  position: relative;
}

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28,43,94,0.08);
  padding: 0 2rem;
  height: 85px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 24px rgba(28,43,94,0.10); }
.nav-logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-logo img {
  height: 65px;
  width: auto;
  object-fit: contain;
}
.nav-logo span { color: var(--cyan); }
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a { text-decoration: none; font-size: 0.9rem; font-weight: 500; color: var(--text-body); transition: color 0.2s; }
.nav-links a:hover { color: var(--cyan); }
.nav-cta {
  background: var(--navy); color: var(--white);
  padding: 0.55rem 1.4rem; border-radius: 50px;
  text-decoration: none; font-size: 0.88rem; font-weight: 600;
  transition: background 0.2s, transform 0.15s;
}
.nav-cta:hover { background: var(--cyan); transform: translateY(-1px); }

/* ─── HERO ─── */
#hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 85px;
  z-index: 1;
}
.hero-geo {
  position: absolute; inset: 0; pointer-events: none;
  overflow: hidden;
  z-index: 1;
}
.hero-geo svg { position: absolute; }
.hero-inner {
  max-width: var(--max);
  margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 4rem;
  position: relative; z-index: 2;
  width: 100%;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,174,239,0.15);
  border: 1px solid rgba(0,174,239,0.3);
  color: var(--cyan);
  font-size: 0.78rem; font-weight: 600;
  padding: 0.35rem 1rem; border-radius: 50px;
  margin-bottom: 1.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.4rem;
  letter-spacing: -1px;
}
.hero-title em { color: var(--cyan); font-style: normal; }
.hero-subtitle {
  font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 2.4rem;
  max-width: 460px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.btn-primary {
  background: var(--cyan); color: var(--white);
  padding: 0.85rem 2rem; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(0,174,239,0.35);
}
.btn-primary:hover { background: var(--cyan-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,174,239,0.4); }
.btn-ghost {
  color: rgba(255,255,255,0.85); font-weight: 500; font-size: 0.95rem;
  text-decoration: none; display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--cyan); }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover::after { transform: translateX(4px); }

.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-char-wrap {
  position: relative;
  width: 420px; height: 480px;
}
.hero-char-bg {
  position: absolute; inset: 0;
  background: rgba(0,174,239,0.07);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}

/* Stats bar */
.hero-stats {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: rgba(255,255,255,0.05);
  border-top: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  z-index: 3;
}
.hero-stats-inner {
  max-width: var(--max); margin: 0 auto; padding: 0 2rem;
  display: flex; justify-content: space-around; align-items: center;
  height: 80px;
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700;
  color: var(--cyan); line-height: 1;
}
.stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.55); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
.stat-divider { width: 1px; height: 32px; background: rgba(255,255,255,0.15); }

/* Hero Clients Band */
.hero-clients-band {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  height: 84px;
  padding: 0 2rem;
  gap: 1rem;
  background: rgba(255,255,255,0.08);
  border-top: 1px solid rgba(255,255,255,0.15);
  z-index: 2;
  animation: heroBandReveal 0.7s ease 0.6s both;
}

.hero-clients-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  white-space: nowrap;
}

.hero-clients-divider {
  width: 1px;
  height: 24px;
  background: rgba(255,255,255,0.12);
  flex-shrink: 0;
}

.hero-clients-track {
  flex: 1;
  display: flex;
  overflow: hidden;
  gap: 1rem;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.hero-clients-set {
  display: flex;
  gap: 1rem;
  will-change: transform;
}

.hero-clients-set:nth-child(1) {
  animation: scrollLeft 20s linear infinite;
}

.hero-clients-set:nth-child(2) {
  animation: scrollLeft 20s linear infinite reverse;
}

.hero-clients-track:hover .hero-clients-set:nth-child(1),
.hero-clients-track:hover .hero-clients-set:nth-child(2) {
  animation-play-state: paused;
}

.hero-client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 90px;
  height: 40px;
}

.hero-client-logo img {
  max-height: 40px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.hero-client-logo:hover img {
  opacity: 1;
}

@keyframes heroBandReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── SECTIONS BASE ─── */
section { padding: 6rem 2rem; position: relative; z-index: 1; }

/* Renderizado diferido para secciones fuera de pantalla */
#problema, #ecosistema, #shape, #clientes, #licencias, #linkedin, #contacto {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}
.container { max-width: var(--max); margin: 0 auto; }
.section-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.1; letter-spacing: -0.5px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1.05rem; color: var(--text-muted);
  line-height: 1.7; margin-top: 1rem; max-width: 600px;
}
.section-sub.light { color: rgba(255,255,255,0.65); }

/* ─── PROBLEMA ─── */
#problema { background: var(--off-white); position: relative; overflow: visible; }
.problema-inner {
  display: grid; grid-template-columns: 1fr 1.2fr;
  align-items: center; gap: 5rem;
}
.pain-quotes { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pain-item {
  background: var(--white);
  border-left: 3px solid var(--cyan);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.95rem; font-style: italic; color: var(--text-body);
  box-shadow: 0 2px 12px rgba(28,43,94,0.06);
  animation: fadeInLeft 0.6s ease both;
}
.pain-item:nth-child(1) { animation-delay: 0.1s; }
.pain-item:nth-child(2) { animation-delay: 0.2s; }
.pain-item:nth-child(3) { animation-delay: 0.3s; }
.pain-item:nth-child(4) { animation-delay: 0.4s; }
@keyframes fadeInLeft { from { opacity:0; transform: translateX(-20px); } to { opacity:1; transform: translateX(0); } }

.problema-visual {
  position: relative;
}
.problema-visual img[src*="notconsulter"] {
  position: relative;
  z-index: 2;
}

/* ─── ECOSISTEMA ─── */
#ecosistema { background: var(--white); }
.eco-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.eco-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  position: relative; overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: default;
}
.eco-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(28,43,94,0.12); }
.eco-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
}
.eco-card.shape::before { background: var(--cyan); }
.eco-card.pulse::before { background: var(--purple); }
.eco-card.licencias::before { background: var(--navy); }
.eco-icon {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; font-size: 1.5rem;
}
.eco-card.shape .eco-icon { background: rgba(0,174,239,0.12); }
.eco-card.pulse .eco-icon { background: rgba(123,63,160,0.12); }
.eco-card.licencias .eco-icon { background: rgba(28,43,94,0.1); }
.eco-card h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; }
.eco-card p { font-size: 0.93rem; color: var(--text-muted); line-height: 1.65; }
.eco-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.5rem; font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: gap 0.2s;
}
.eco-card.shape .eco-link { color: var(--cyan); }
.eco-card.pulse .eco-link { color: var(--purple); }
.eco-card.licencias .eco-link { color: var(--navy); }
.eco-link:hover { gap: 0.7rem; }

/* ─── SHAPE SECTION ─── */
#shape { background: var(--navy); }
.shape-inner {
  display: grid; grid-template-columns: 1.1fr 1fr;
  align-items: center; gap: 5rem;
}
.mcgraw-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 1rem; border-radius: 6px;
  font-size: 0.8rem; color: rgba(255,255,255,0.7);
  margin-top: 2rem;
}
.shape-pillars { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1rem; }
.pillar {
  display: flex; align-items: flex-start; gap: 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 1.1rem 1.25rem; border-radius: var(--radius);
  transition: background 0.2s;
}
.pillar:hover { background: rgba(0,174,239,0.08); }
.pillar-num {
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 900;
  color: var(--cyan); min-width: 32px; line-height: 1;
}
.pillar-text h4 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.2rem; }
.pillar-text p { font-size: 0.85rem; color: rgba(255,255,255,0.55); }

/* SHAPE wheel visual */
.shape-wheel-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}

/* Contenedor de la imagen de la rueda */
.shape-wheel-img-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Halo de brillo detrás de la rueda */
.shape-wheel-img-wrap::before {
  content: '';
  position: absolute;
  inset: -30px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,174,239,0.18) 0%, rgba(0,174,239,0.06) 50%, transparent 75%);
  pointer-events: none;
  z-index: 0;
}

/* La imagen: mix-blend-mode screen elimina el negro y mantiene los cian/blancos */
.shape-wheel-img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
  height: auto;
  mix-blend-mode: screen;
  filter: brightness(1.05) contrast(1.05);
  display: block;
}

/* ─── THE PULSE ─── */
#pulse { background: var(--white); }
.pulse-inner {
  display: grid; grid-template-columns: 1fr 1.1fr;
  align-items: center; gap: 5rem;
}
.pulse-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.pf-item {
  background: var(--purple-light);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.pf-item h4 { font-size: 0.9rem; font-weight: 600; color: var(--purple); margin-bottom: 0.3rem; }
.pf-item p { font-size: 0.82rem; color: #5a3870; line-height: 1.5; }

/* ─── CLIENTES (posición destacada: justo tras el Hero) ─── */
#clientes {
  background: linear-gradient(180deg, var(--navy-dark) 0%, #0a1436 100%);
  padding: 7rem 2rem 6rem;
  position: relative;
  overflow: hidden;
}
#clientes::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 50%, var(--red) 100%);
}
.clients-header {
  text-align: center;
  margin-bottom: 3rem;
  max-width: 820px;
  margin-left: auto; margin-right: auto;
}
.clients-header .section-title.light { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.clients-hero-band {
  display: grid; grid-template-columns: 1fr 1.1fr;
  align-items: center; gap: 3.5rem;
  max-width: 1100px; margin: 0 auto 4rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,174,239,0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
}
.clients-hero-band .cta-quote {
  font-family: var(--font-display);
  font-size: 1.45rem; font-weight: 700;
  color: var(--white); line-height: 1.35;
  letter-spacing: -0.5px;
}
.clients-hero-band .cta-quote em { color: var(--cyan); font-style: normal; }
.clients-hero-band .cta-sub {
  font-size: 0.95rem; color: rgba(255,255,255,0.6);
  margin-top: 1rem; line-height: 1.6;
}
.clients-character-wrap {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.clients-character-wrap::after {
  content: ''; position: absolute;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(0,174,239,0.18) 0%, transparent 70%);
  z-index: 0;
}
.clients-character-wrap img {
  max-width: 100%; height: auto; max-height: 300px;
  opacity: 0.92;
  position: relative; z-index: 1;
}
.clients-metrics {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem; margin-bottom: 3.5rem;
  max-width: 1100px; margin-left: auto; margin-right: auto;
}
.metric-card {
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 1.8rem 0.8rem;
  transition: transform 0.2s, border-color 0.2s;
}
.metric-card:hover { transform: translateY(-3px); border-color: rgba(0,174,239,0.3); }
.metric-num {
  font-family: var(--font-display); font-size: 2.4rem; font-weight: 900;
  color: var(--cyan); line-height: 1;
}
.metric-label { font-size: 0.74rem; color: rgba(255,255,255,0.5); margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 0.5px; }
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 0; border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg); overflow: hidden;
  max-width: 1100px; margin: 0 auto;
}
.logo-item {
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: background 0.2s;
  min-height: 72px;
}
.logo-item:nth-child(6n) { border-right: none; }
.logo-item:hover { background: rgba(255,255,255,0.04); }
.logo-item span {
  font-size: 0.82rem; font-weight: 600;
  color: rgba(255,255,255,0.35);
  text-align: center; letter-spacing: 0.5px;
  transition: color 0.2s;
}
.logo-item:hover span { color: rgba(255,255,255,0.7); }

/* ─── LICENCIAMIENTO ─── */
#licencias {
  background: var(--navy);
  position: relative;
}
#licencias::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cyan) 0%, var(--purple) 50%, var(--red) 100%);
}
.licencias-intro { max-width: 600px; }
.licencias-intro .section-label { color: rgba(0,174,239,0.85); }
.licencias-intro .section-title { color: var(--white); }
.licencias-intro .section-sub { color: rgba(255,255,255,0.65); }
.lic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.lic-card {
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  border: 1px solid rgba(0,174,239,0.15);
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.lic-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(28,43,94,0.2); }
.lic-card.featured {
  background: linear-gradient(135deg, #00AEEF 0%, #0090c8 100%);
  border-color: transparent;
  box-shadow: 0 12px 40px rgba(0, 174, 239, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: visible;
}
.lic-card.featured::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.lic-card.featured:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0, 174, 239, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.lic-badge {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  background: var(--white); color: #060808;
  font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px;
  padding: 0.5rem 1.2rem; border-radius: 50px;
  text-transform: uppercase; white-space: nowrap;
  border: none;
  z-index: 10;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.25);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lic-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--cyan); margin-bottom: 0.5rem; position: relative; z-index: 1; }
.lic-card.featured .lic-tier { color: rgba(255,255,255,0.9); }
.lic-name { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--navy); margin-bottom: 0.75rem; position: relative; z-index: 1; }
.lic-card.featured .lic-name { color: var(--white); }
.lic-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; position: relative; z-index: 1; }
.lic-card.featured .lic-desc { color: rgba(255,255,255,0.9); }
.lic-features { list-style: none; margin-top: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; position: relative; z-index: 1; }
.lic-features li { font-size: 0.85rem; color: var(--text-body); display: flex; align-items: center; gap: 0.6rem; }
.lic-features li::before { content: ''; width: 6px; height: 6px; background: var(--cyan); border-radius: 50%; flex-shrink: 0; }
.lic-card.featured .lic-features li { color: rgba(255,255,255,0.95); }
.lic-card.featured .lic-features li::before { background: rgba(255,255,255,0.4); }
.lic-cta {
  display: block; text-align: center;
  margin-top: 2rem; padding: 0.75rem;
  border-radius: 8px; font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
  border: 1.5px solid;
  position: relative;
  z-index: 1;
}
.lic-card:not(.featured) .lic-cta { color: var(--navy); border-color: var(--navy); }
.lic-card:not(.featured) .lic-cta:hover { background: var(--navy); color: var(--white); }
.lic-card.featured .lic-cta { background: rgba(255, 255, 255, 0.25); color: var(--white); border-color: rgba(255, 255, 255, 0.4); }
.lic-card.featured .lic-cta:hover { background: rgba(255, 255, 255, 0.35); border-color: rgba(255, 255, 255, 0.6); }
.lic-icp {
  text-align: center; margin-top: 2.5rem;
  font-size: 0.85rem; color: rgba(255,255,255,0.6);
}
.lic-icp strong { color: rgba(255,255,255,0.85); }

/* ─── NEWSLETTER ─── */
#newsletter { background: var(--white); padding: 5rem 2rem; }
.newsletter-inner {
  max-width: 680px; margin: 0 auto; text-align: center;
}
.nl-icon {
  width: 56px; height: 56px; background: rgba(0,174,239,0.15);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}
.nl-title { font-family: var(--font-display); font-size: 2.2rem; font-weight: 900; color: var(--navy); margin-bottom: 1rem; }
.nl-sub { font-size: 1rem; color: var(--text-muted); margin-bottom: 2.5rem; line-height: 1.6; }
.nl-form { display: flex; gap: 0.75rem; max-width: 460px; margin: 0 auto; }
.nl-form input {
  flex: 1; padding: 0.9rem 1.25rem;
  background: var(--off-white);
  border: 1px solid rgba(28,43,94,0.15);
  border-radius: 8px; color: var(--text-dark);
  font-family: var(--font-body); font-size: 0.93rem;
  outline: none; transition: border-color 0.2s;
}
.nl-form input::placeholder { color: var(--text-muted); }
.nl-form input:focus { border-color: var(--cyan); }
.nl-form button {
  background: var(--navy); color: var(--white);
  border: none; padding: 0.9rem 1.75rem;
  border-radius: 8px; font-family: var(--font-body);
  font-weight: 600; font-size: 0.93rem; cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}
.nl-form button:hover { background: var(--cyan); transform: translateY(-1px); }
.nl-disclaimer { font-size: 0.75rem; color: var(--text-muted); margin-top: 1rem; }

/* ─── PULSE CTA BUTTON ─── */
.pulse-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
  background: var(--purple);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(123, 63, 160, 0.2);
}
.pulse-cta:hover {
  background: #6a2e8f;
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(123, 63, 160, 0.35);
}
.pulse-cta svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.pulse-cta:hover svg {
  transform: translateX(4px);
}
.pulse-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15);
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}
.pulse-cta:hover::before {
  left: 100%;
}

/* ─── PULSE MODAL ─── */
.pulse-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
  pointer-events: none;
}
.pulse-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.pulse-modal-content {
  width: 90%;
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modalFadeIn 0.8s ease forwards;
}
.pulse-modal.active .pulse-modal-content {
  animation: modalFadeIn 0.8s ease forwards;
}
.pulse-modal-content img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  opacity: 0;
  animation: imageFadeIn 0.6s ease 0.3s forwards;
}
@keyframes imageFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes modalFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.pulse-modal-close {
  display: none;
}

/* ─── BUTTON EXPLOSION ─── */
@keyframes buttonExplode {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.2);
    opacity: 0;
  }
}
@keyframes particleExplode {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}
.pulse-cta.exploding {
  animation: buttonExplode 0.5s ease-out forwards;
}
.pulse-particle {
  position: fixed;
  pointer-events: none;
  background: var(--purple);
  border-radius: 50%;
  animation: particleExplode 0.6s ease-out forwards;
}

/* ═══ CHARACTER ILLUSTRATIONS ═══ */
.character-illustration {
  max-width: 220px;
  pointer-events: none;
  user-select: none;
  animation: characterFloat 3s ease-in-out infinite;
}

@media (max-width: 768px) {
  .character-illustration {
    max-width: 120px;
  }
  .character-illustration.hide-mobile {
    display: none;
  }
}

/* ═══ LINKEDIN SLIDER SECTION ═══ */
#linkedin {
  background: var(--navy);
  padding: 7rem 2rem;
  position: relative;
  overflow: visible;
}

.linkedin-section {
  position: relative;
}

.linkedin-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.linkedin-header .section-label {
  color: rgba(0,174,239,0.85);
}

.linkedin-header .section-title {
  color: var(--white);
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
}

.linkedin-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
}

/* Slider wrapper */
.linkedin-slider-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 0;
  min-height: 550px;
}

/* Track and cards */
.linkedin-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  /* Ocultar scrollbars en todos los navegadores */
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Mostrar 3 cards a la vez */
  width: 100%;
  max-width: 1200px;
  padding: 2rem 0;
  align-items: center;
}

/* Ocultar scrollbar en Chrome/Safari */
.linkedin-track::-webkit-scrollbar {
  display: none;
}

@media (max-width: 768px) {
  .linkedin-track {
    max-width: 100%;
  }
}

/* LinkedIn card */
.linkedin-card {
  flex: 0 0 calc(33.333% - 1rem);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,174,239,0.2);
  border-radius: 16px;
  backdrop-filter: blur(8px);
  padding: 28px;
  scroll-snap-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  opacity: 0.7;
  transform: scale(0.95);
}

.linkedin-card.active {
  opacity: 1;
  transform: scale(1.03);
  border-color: var(--cyan);
  box-shadow: 0 0 32px rgba(0,174,239,0.15);
}

/* Header de la card */
.linkedin-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.linkedin-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.linkedin-card-meta {
  flex: 1;
}

.linkedin-card-name {
  font-weight: 600;
  color: var(--white);
  font-size: 0.95rem;
  margin: 0;
}

.linkedin-card-title {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin: 0.25rem 0 0 0;
}

/* Contenido del post */
.linkedin-card-text {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Métricas */
.linkedin-card-stats {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
}

.linkedin-stat {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Fecha */
.linkedin-card-date {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 1rem;
}

/* Enlace del post */
.linkedin-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--cyan);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: gap 0.2s;
}

.linkedin-card-link:hover {
  gap: 0.7rem;
}

/* Flechas de navegación */
.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  flex-shrink: 0;
}

.slider-arrow:hover {
  background: var(--cyan);
  border-color: var(--cyan);
  color: var(--navy);
}

.slider-arrow:focus {
  outline: none;
}

.slider-arrow:active {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: var(--white);
}

.slider-prev,
.slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.slider-prev {
  left: -60px;
}

.slider-next {
  right: -60px;
}

@media (max-width: 1024px) {
  .slider-prev {
    left: 0;
    position: relative;
    transform: none;
  }
  .slider-next {
    right: 0;
    position: relative;
    transform: none;
  }
}

/* Dots de navegación */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.3s;
}

.slider-dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--cyan);
}

/* CTA LinkedIn */
.linkedin-cta {
  text-align: center;
}

.linkedin-cta a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border: 1.5px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.linkedin-cta a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0,174,239,0.1);
}

/* Responsive */
@media (max-width: 1024px) and (min-width: 769px) {
  .linkedin-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 768px) {
  #linkedin {
    padding: 5rem 1rem 4rem;
  }

  .linkedin-header {
    margin-bottom: 3rem;
  }

  .linkedin-slider-wrap {
    gap: 1rem;
    margin-bottom: 2rem;
    min-height: auto;
  }

  .linkedin-track {
    max-width: 100%;
  }

  .linkedin-card {
    flex: 0 0 100%;
    min-width: 100%;
  }

  .slider-prev,
  .slider-next {
    position: relative;
    width: 36px;
    height: 36px;
    font-size: 1rem;
    left: auto;
    right: auto;
    transform: none;
  }

  .slider-dots {
    gap: 0.75rem;
  }
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 3.5rem 2rem 2rem;
}
.footer-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-inner--compact { grid-template-columns: 2fr 1fr 1fr; }
.footer-logo { font-family: var(--font-display); font-size: 1.3rem; font-weight: 900; color: var(--white); margin-bottom: 0.75rem; }
.footer-logo span { color: var(--cyan); }
.footer-tagline { font-size: 0.85rem; color: rgba(255,255,255,0.45); line-height: 1.6; max-width: 240px; margin-bottom: 1.5rem; }
.footer-presence { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.country-tag {
  font-size: 0.72rem; font-weight: 600; color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 0.2rem 0.6rem; border-radius: 4px;
}
.footer-col h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: rgba(255,255,255,0.35); margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.7rem; }
.footer-col ul a { font-size: 0.88rem; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: var(--max); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.25);
}

/* ─── CHARACTER ILLUSTRATIONS (brand PNGs + SVG placeholders) ─── */
.char-container { position: relative; }
.brand-illustration { max-width: 100%; height: auto; display: block; }
.brand-illustration.on-dark { opacity: 0.92; }
.brand-illustration.on-light { filter: none; opacity: 0.92; }
.hero-visual .brand-illustration {
  max-width: 440px; max-height: 460px;
  opacity: 0.9;
  animation: floatSlow 6s ease-in-out infinite;
}
@keyframes floatSlow {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1) translateY(-12px); }
}

@keyframes zoomIn {
  from {
    transform: scale(1);
    filter: brightness(1.05) contrast(1.05);
  }
  to {
    transform: scale(1.5);
    filter: brightness(1.15) contrast(1.15);
  }
}
.problema-visual {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 2rem;
}
.problema-visual img {
  max-width: 340px; width: 100%; height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 40px rgba(28,43,94,0.18);
}

/* ─── CARRUSEL INFINITO DE CLIENTES ─── */
.carousel-wrapper {
  position: relative;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1rem 0;
  mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.carousel-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.carousel-set {
  display: flex;
  gap: 1.5rem;
}

.track-left {
  animation: scrollLeft 45s linear infinite;
  will-change: transform;
}

.track-right {
  animation: scrollRight 45s linear infinite;
  will-change: transform;
}

/* Pausa al hacer hover sobre el wrapper entero */
.carousel-wrapper:hover .track-left,
.carousel-wrapper:hover .track-right {
  animation-play-state: paused;
}

/* ═══ GALERÍA PABLO ═══ */
#galeria {
  padding: 5rem 0 4rem;
  background: var(--navy);
  overflow: hidden;
}

.galeria-header {
  text-align: center;
  padding: 0 2rem 2.5rem;
}

.galeria-header .section-title {
  color: #fff;
}

.galeria-header .section-sub {
  color: rgba(255,255,255,0.6);
  max-width: 520px;
  margin: 0 auto;
}

.galeria-carousel-wrap {
  position: relative;
  width: 100%;
}

.galeria-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  padding: 0.5rem 3rem 1.5rem;
  scrollbar-width: none;
}

.galeria-track::-webkit-scrollbar {
  display: none;
}

.galeria-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.galeria-item {
  flex: 0 0 340px;
  height: 260px;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.galeria-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

/* Degradados laterales para efecto de profundidad */
.galeria-fade-left,
.galeria-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  pointer-events: none;
  z-index: 2;
}

.galeria-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
}

.galeria-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--navy) 0%, transparent 100%);
}

.galeria-hint {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
  font-family: 'DM Sans', sans-serif;
}

@media (max-width: 768px) {
  .galeria-item {
    flex: 0 0 260px;
    height: 200px;
  }
}


/* Hover sobre logo individual: resaltar */

.carousel-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 2rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  min-width: 180px;
  height: 80px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
}

.carousel-logo img {
  max-width: 100%;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.05);
  transition: filter 0.4s ease, transform 0.4s ease;
}

.carousel-wrapper .carousel-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.08);
  background: rgba(255,255,255,0.08);
  border-color: var(--cyan);
  box-shadow: 0 10px 30px rgba(0, 174, 239, 0.2);
  z-index: 10;
}

.carousel-wrapper .carousel-logo:hover span {
  color: var(--white);
}

@keyframes scrollLeft {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes scrollRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

/* Responsive para móviles */
@media (max-width: 900px) {
  .carousel-logo {
    min-width: 140px;
    height: 60px;
    padding: 0 1rem;
  }
  .carousel-logo span { font-size: 0.75rem; }
  .track-left { animation-duration: 35s; }
  .track-right { animation-duration: 35s; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2rem; padding: 3rem 1.5rem 7rem; }
  .hero-visual { display: none; }
  .hero-clients-band { display: none; }
  .hero-badge {
    font-size: 0.66rem;
    letter-spacing: 0.5px;
    padding: 0.32rem 0.85rem;
    max-width: 100%;
  }
  .hero-stats-inner { gap: 0.5rem; padding: 0 0.75rem; }
  .stat-number { font-size: 1.2rem; }
  .stat-label { font-size: 0.62rem; }
  .problema-inner, .shape-inner, .pulse-inner { grid-template-columns: 1fr; gap: 3rem; }
  .eco-grid, .lic-grid { grid-template-columns: 1fr; }
  .clients-hero-band { grid-template-columns: 1fr; text-align: center; padding: 2rem 1.5rem; gap: 1.5rem; }
  .clients-metrics { grid-template-columns: repeat(2,1fr); }
  .logo-wall { grid-template-columns: repeat(3,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner--compact { grid-template-columns: 1fr 1fr; }
  .pulse-features { grid-template-columns: 1fr; }
  .hero-actions { justify-content: center; }
  .section-sub { max-width: 100%; }
}

/* ─── MENÚ MÓVIL (hamburguesa) ─── */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 10px;
  background: none; border: none; cursor: pointer;
  margin-left: auto;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#navbar.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#navbar.open .nav-toggle span:nth-child(2) { opacity: 0; }
#navbar.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  nav { padding: 0 1.25rem; }
  .nav-logo img { height: 52px; }

  .nav-links {
    position: fixed;
    top: 85px; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(28,43,94,0.08);
    box-shadow: 0 16px 28px rgba(28,43,94,0.12);
    padding: 0.5rem 1.5rem 1.25rem;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease;
    max-height: calc(100vh - 85px);
    overflow-y: auto;
  }
  #navbar.open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block; width: 100%;
    padding: 0.95rem 0.25rem;
    font-size: 1rem;
    border-bottom: 1px solid rgba(28,43,94,0.07);
  }
  .nav-links a.active { color: var(--cyan); }

  /* El CTA suelto se oculta: la navegación ya está dentro del menú */
  .nav-cta { display: none; }
}

/* SHAPE Wheel Zoom Animation */
.shape-wheel-img {
  transition: transform 2.5s ease-out, filter 2.5s ease-out;
  cursor: pointer;
}

.shape-wheel-img:hover {
  transform: scale(1.5);
  filter: brightness(1.15) contrast(1.15);
}

/* ═══ PÁGINA DE CONTACTO ═══ */
#contacto-page {
  background: var(--navy);
  min-height: 100vh;
  padding: calc(85px + 5rem) 2rem 6rem;
  position: relative;
  overflow: hidden;
}
#contacto-page .container { position: relative; z-index: 2; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Columna info */
.contact-info .section-title { margin-bottom: 0.5rem; }
.contact-info .section-sub { margin-bottom: 2.5rem; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
}
.contact-detail:hover {
  background: rgba(0,174,239,0.08);
  border-color: rgba(0,174,239,0.4);
  transform: translateX(4px);
}
.contact-detail-icon {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0,174,239,0.12);
}
.contact-detail-label {
  display: block;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: rgba(255,255,255,0.4);
}
.contact-detail-value {
  display: block;
  font-size: 0.95rem; font-weight: 600; color: var(--white);
}
.contact-presence { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* Columna formulario */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.6rem; font-weight: 700; color: var(--navy);
  margin-bottom: 1.75rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-field { display: flex; flex-direction: column; gap: 0.45rem; }
.contact-field label {
  font-size: 0.82rem; font-weight: 600; color: var(--text-body);
}
.contact-field label .optional { color: var(--text-muted); font-weight: 400; }
.contact-field input,
.contact-field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem; color: var(--text-dark);
  padding: 0.8rem 1rem;
  border: 1px solid var(--gray-light);
  border-radius: var(--radius);
  background: var(--off-white);
  transition: border-color 0.3s, box-shadow 0.3s, background 0.3s;
  width: 100%;
}
.contact-field textarea { resize: vertical; min-height: 120px; }
.contact-field input::placeholder,
.contact-field textarea::placeholder { color: var(--text-muted); }
.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: var(--cyan);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(0,174,239,0.12);
}
.contact-submit {
  margin-top: 0.5rem;
  background: var(--cyan); color: var(--white);
  border: none; cursor: pointer;
  padding: 0.95rem 2rem; border-radius: 50px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(0,174,239,0.35);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}
.contact-submit:hover { background: var(--cyan-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,174,239,0.4); }
.contact-submit.form-success { background: #2e9e5b; box-shadow: none; }
.contact-submit:disabled { opacity: 0.7; cursor: progress; }
.contact-form-note {
  font-size: 0.75rem; color: var(--text-muted); line-height: 1.5; text-align: center;
}

/* Honeypot anti-spam: invisible para el usuario */
.contact-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  opacity: 0; pointer-events: none;
}

/* Mensajes de estado del envío */
.contact-status {
  font-size: 0.88rem; line-height: 1.5; text-align: center;
  margin: 0; min-height: 0; transition: min-height 0.2s;
}
.contact-status:not(:empty) { margin: 0.25rem 0 0.25rem; }
.contact-status.ok { color: #1f8a4c; font-weight: 600; }
.contact-status.error { color: var(--red); font-weight: 600; }

@media (max-width: 900px) {
  #contacto-page { padding: calc(85px + 3rem) 1.5rem 4rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-form-card { padding: 1.75rem; }
}

/* ═══ PÁGINA NOSOTROS ═══ */
#about-hero {
  background: var(--navy);
  padding: calc(85px + 5rem) 2rem 5rem;
  position: relative; overflow: hidden;
}
.about-hero-inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem; align-items: center;
}
.about-hero-text .hero-title { margin-bottom: 1.4rem; }
.about-hero-text .hero-subtitle { color: rgba(255,255,255,0.72); }
.about-hero-visual { display: flex; justify-content: center; }
.about-hero-char {
  position: relative;
  width: 380px; max-width: 100%;
}
.about-hero-char::before {
  content: ''; position: absolute; inset: -5%;
  background: rgba(0,174,239,0.07);
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
}
.about-hero-char img {
  position: relative; z-index: 2;
  width: 100%; height: auto;
  animation: floatSlow 6s ease-in-out infinite;
}

/* Historia */
#historia { background: var(--off-white); padding: 6rem 2rem; }
#historia .container { max-width: 860px; }
.story-header { margin-bottom: 2.5rem; }
.about-lead {
  font-size: 1.2rem; line-height: 1.85;
  color: var(--text-body); margin-bottom: 1.5rem;
}
.about-lead strong { color: var(--navy); font-weight: 600; }
.about-lead em { color: var(--cyan); font-style: italic; }

.timeline {
  margin: 3.5rem 0 3rem;
  border-left: 2px solid rgba(28,43,94,0.12);
  padding-left: 2rem;
  display: flex; flex-direction: column; gap: 2.25rem;
}
.timeline-item { position: relative; }
.timeline-item::before {
  content: ''; position: absolute;
  left: calc(-2rem - 7px); top: 4px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 4px rgba(0,174,239,0.18);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 700;
  color: var(--cyan); margin-bottom: 0.35rem;
  letter-spacing: 0.5px;
}
.timeline-body h4 {
  font-size: 1.15rem; font-weight: 600; color: var(--navy);
  margin-bottom: 0.35rem;
}
.timeline-body p { font-size: 0.98rem; line-height: 1.65; color: var(--text-muted); }
.timeline-body em { color: var(--text-body); font-style: italic; }

.story-quote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 700; line-height: 1.4;
  color: var(--navy);
  border-left: 4px solid var(--cyan);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin-top: 3rem;
}

/* Por qué Shackleton */
#porque { background: var(--navy); padding: 6rem 2rem; }
.why-header { max-width: 700px; margin-bottom: 3.5rem; }
.values-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
.value-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.value-card:hover {
  background: rgba(0,174,239,0.08);
  border-color: rgba(0,174,239,0.4);
  transform: translateY(-4px);
}
.value-num {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 700; color: var(--cyan);
  margin-bottom: 0.75rem;
}
.value-card h3 { font-size: 1.2rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.value-card p { font-size: 0.95rem; line-height: 1.65; color: rgba(255,255,255,0.6); }

/* CTA */
#about-cta {
  background: var(--navy-dark);
  padding: 5rem 2rem;
  text-align: center;
}
.about-cta-inner { max-width: 640px; margin: 0 auto; }
.about-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900; color: var(--white);
  line-height: 1.15; margin-bottom: 1rem;
}
.about-cta-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.65);
  line-height: 1.7; margin-bottom: 2rem;
}

@media (max-width: 900px) {
  #about-hero { padding: calc(85px + 3rem) 1.5rem 3.5rem; }
  .about-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .about-hero-text .hero-actions { justify-content: center; }
  .about-hero-visual { order: -1; }
  .about-hero-char { width: 280px; }
  #historia, #porque { padding: 4rem 1.5rem; }
  .values-grid { grid-template-columns: 1fr; }
}

/* ─── MÓVILES ESTRECHOS (≤480px) ─── */
@media (max-width: 480px) {
  .hero-inner { padding: 2.5rem 1.25rem 9rem; }
  .hero-badge {
    font-size: 0.58rem;
    letter-spacing: 0.3px;
    padding: 0.3rem 0.75rem;
    gap: 0.4rem;
    line-height: 1.3;
    white-space: normal;
    text-align: center;
  }
  .hero-title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
  .hero-subtitle { font-size: 1rem; }

  /* Barra de estadísticas: rejilla de 3, sin divisores */
  .hero-stats-inner {
    flex-wrap: wrap;
    height: auto;
    padding: 0.85rem 0.5rem;
    gap: 0.85rem 0.4rem;
    justify-content: center;
  }
  .stat-item { flex: 0 0 28%; }
  .stat-divider { display: none; }
  .stat-number { font-size: 1.15rem; }
}