/* ============================================================
   SCREEN UP — styles.css
   Archetype: Glassmorphism Modern (blue/white brand palette)
   ============================================================ */

/* --- CUSTOM PROPERTIES --- */
:root {
  --blue:       #1a3a8f;
  --blue-dark:  #0f2560;
  --blue-light: #2b5cd6;
  --blue-pale:  #e8edf8;
  --blue-mist:  #f0f4fc;
  --white:      #ffffff;
  --off-white:  #f7f9fd;
  --ink:        #1a1a2e;
  --ink-soft:   #3a3a5c;
  --ink-mute:   #6b6b8d;
  --accent:     #25d366;
  --accent-warm:#ff6b35;
  --glass:      rgba(255, 255, 255, 0.55);
  --glass-2:    rgba(255, 255, 255, 0.3);
  --glass-border: rgba(255, 255, 255, 0.6);
  --line:       rgba(26, 58, 143, 0.1);
  --shadow-sm:  0 2px 8px rgba(26, 58, 143, 0.08);
  --shadow-md:  0 8px 32px rgba(26, 58, 143, 0.12);
  --shadow-lg:  0 16px 64px rgba(26, 58, 143, 0.16);
  --shadow-xl:  0 32px 80px rgba(26, 58, 143, 0.2);
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--off-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- SPLASH --- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
.splash.hide {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.splash-logo {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.15em;
  animation: splashPulse 1.5s ease-in-out infinite alternate;
}
@keyframes splashPulse {
  from { opacity: 0.6; transform: scale(0.96); }
  to   { opacity: 1;   transform: scale(1); }
}

/* --- NAV --- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 16px 0;
  transition: background 0.35s, backdrop-filter 0.35s, box-shadow 0.35s, padding 0.35s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  transition: color 0.35s;
}
.nav.scrolled .nav-brand { color: var(--blue); }
.nav-brand-accent { color: var(--blue-light); }
.nav.scrolled .nav-brand-accent { color: var(--blue-light); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.25s;
  position: relative;
}
.nav.scrolled .nav-links a { color: var(--ink-soft); }
.nav-links a:hover { color: var(--white); }
.nav.scrolled .nav-links a:hover { color: var(--blue); }
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--white) !important;
  color: var(--blue) !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.nav-cta::after { display: none !important; }
.nav.scrolled .nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
  z-index: 1001;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s, background 0.3s;
}
.nav.scrolled .nav-toggle span { background: var(--ink); }
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(26, 58, 143, 0.3);
}
.btn-primary:hover {
  background: var(--blue-dark);
  box-shadow: 0 8px 28px rgba(26, 58, 143, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--white);
}
.btn-whatsapp {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}
.btn-whatsapp:hover {
  background: #1fb855;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp svg { flex-shrink: 0; }
.btn-plan {
  width: 100%;
  justify-content: center;
  margin-top: auto;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: #050a1a;
}
.hero-bg-img {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg,
    rgba(5, 10, 26, 0.4) 0%,
    rgba(5, 10, 26, 0.2) 40%,
    rgba(5, 10, 26, 0.5) 70%,
    rgba(5, 10, 26, 0.85) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 160px 0 100px;
}
.hero-text--centered {
  text-align: center;
  max-width: 700px;
}
.hero-text--centered .hero-sub {
  margin: 0 auto 36px;
}
.hero-text--centered .hero-buttons {
  justify-content: center;
}
.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title em {
  font-style: normal;
  background: linear-gradient(135deg, #6495ed, #a8c4f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* --- VALOR PERCIBIDO --- */
.section-valor {
  background: var(--white);
  overflow: hidden;
}
.valor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.valor-layout--text-only {
  grid-template-columns: 1fr;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}
.valor-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.valor-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.valor-text p:not(.section-kicker) {
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* --- GALERÍA --- */
.section-galeria {
  background: var(--blue-mist);
}
.galeria-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.galeria-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: var(--shadow-sm);
}
.galeria-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.galeria-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.galeria-item:hover img {
  transform: scale(1.05);
}
.galeria-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px 20px;
  background: linear-gradient(transparent, rgba(0,0,0,0.6));
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8rem;
  animation: scrollHint 2s ease-in-out infinite;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.4; }
  50%      { transform: translateX(-50%) translateY(8px); opacity: 0.8; }
}

/* --- SECTIONS GENERAL --- */
.section {
  padding: 100px 0;
  position: relative;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px;
}
.section-kicker {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-kicker--light { color: rgba(255, 255, 255, 0.6); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.15;
}
.section-title--light { color: var(--white); }
.section-title em {
  font-style: normal;
  color: var(--blue);
}
.section-title--light em {
  color: rgba(168, 196, 247, 1);
}
.section-sub {
  font-size: 1.05rem;
  color: var(--ink-mute);
  margin-top: 16px;
  line-height: 1.7;
}

/* --- GLASS CARD --- */
.glass-card {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
@supports (backdrop-filter: blur(20px)) {
  .glass-card {
    background: var(--glass);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
  }
}
.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* --- PROBLEMA --- */
.section-problema {
  background: var(--white);
}
.problema-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.problema-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.problema-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.problema-card--solution {
  background: var(--blue);
  color: var(--white);
  border-color: transparent;
}
.problema-card.problema-card--solution h3 { color: #ffffff; }
.problema-card.problema-card--solution p { color: #ffffff; }
.problema-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}
.problema-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.problema-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
}

/* --- ABOUT --- */
.section-about {
  background: var(--blue-mist);
}
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}
.about-lead {
  font-size: 1.15rem;
  color: var(--ink);
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text p:not(.about-lead):not(.section-kicker) {
  color: var(--ink-soft);
  margin-bottom: 32px;
  line-height: 1.7;
}
.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.about-logo-img {
  max-width: 280px;
  width: 100%;
  border-radius: 50%;
  box-shadow: var(--shadow-lg);
}

/* --- VENTAJAS --- */
.section-ventajas {
  background: var(--off-white);
  position: relative;
}
.section-ventajas::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 400px;
  background: linear-gradient(180deg, var(--blue-pale) 0%, transparent 100%);
  pointer-events: none;
}
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}
.ventaja-card {
  padding: 36px 28px;
  text-align: center;
}
.ventaja-icon {
  width: 52px; height: 52px;
  margin: 0 auto 20px;
  color: var(--blue);
}
.ventaja-icon svg {
  width: 100%; height: 100%;
}
.ventaja-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ink);
}
.ventaja-card p {
  font-size: 0.9rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.ventajas-quote {
  margin-top: 56px;
  text-align: center;
}
.ventajas-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-left: 4px solid var(--blue);
  background: var(--white);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
  line-height: 1.6;
}

/* --- PLANES --- */
.section-planes {
  background: var(--white);
}
.planes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.plan-card {
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  background: var(--off-white);
  border: 2px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}
.plan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.plan-card--highlight {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  transform: scale(1.04);
  box-shadow: var(--shadow-xl);
}
.plan-card--highlight:hover {
  transform: scale(1.04) translateY(-6px);
}
.plan-badge {
  position: absolute;
  top: 20px; right: -30px;
  background: var(--accent-warm);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 6px 40px;
  transform: rotate(35deg);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.plan-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.plan-tagline {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0.65;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}
.plan-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 24px;
  opacity: 0.8;
}
.plan-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}
.plan-features li {
  font-size: 0.88rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.plan-card--highlight .plan-features li {
  border-bottom-color: rgba(255, 255, 255, 0.12);
}
.plan-check {
  flex-shrink: 0;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(26, 58, 143, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.plan-check svg {
  width: 10px; height: 10px;
  stroke: var(--blue);
  stroke-width: 3;
  fill: none;
}
.plan-card--highlight .plan-check {
  background: rgba(255, 255, 255, 0.2);
}
.plan-card--highlight .plan-check svg {
  stroke: var(--white);
}
.plan-card .btn-primary {
  background: var(--blue);
  color: var(--white);
}
.plan-card--highlight .btn-primary {
  background: var(--white);
  color: var(--blue);
}
.plan-card--highlight .btn-primary:hover {
  background: rgba(255, 255, 255, 0.9);
}

/* SOFTWARE BOX */
.software-box {
  margin-top: 48px;
  padding: 40px;
  background: var(--blue-mist);
  border: 1px solid var(--line);
}
.software-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}
.software-icon {
  width: 48px; height: 48px;
  flex-shrink: 0;
  color: var(--blue);
}
.software-icon svg { width: 100%; height: 100%; }
.software-header h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}
.software-header p {
  font-size: 0.9rem;
  color: var(--ink-soft);
}
.tag-optional {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
  margin-left: 8px;
}
.software-desc {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.65;
  margin-bottom: 16px;
}
.software-note {
  font-size: 0.85rem;
  color: var(--ink-mute);
  line-height: 1.65;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

/* --- SECTORES --- */
.section-sectores {
  background: var(--blue-mist);
}
.sectores-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.sector-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue);
}
.sector-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}
.sector-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.sector-card p {
  font-size: 0.82rem;
  color: var(--ink-mute);
  line-height: 1.55;
}

/* --- CONFIANZA --- */
.section-confianza {
  background: var(--white);
}
.confianza-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background: var(--off-white);
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.trust-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.trust-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}
.trust-icon svg { width: 22px; height: 22px; }
.trust-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--ink);
}
.trust-card p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.6;
}
.confianza-quote {
  margin-top: 56px;
  text-align: center;
}
.confianza-quote blockquote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--blue);
  max-width: 700px;
  margin: 0 auto;
  padding: 32px;
  border-left: 4px solid var(--blue);
  background: var(--blue-mist);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  text-align: left;
  line-height: 1.6;
}

/* --- CONTACTO --- */
.section-contacto {
  background: linear-gradient(165deg, var(--blue) 0%, var(--blue-dark) 60%, #0a1a45 100%);
  position: relative;
  overflow: hidden;
  padding: 120px 0;
}
.contacto-mesh {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(43, 92, 214, 0.4) 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, rgba(100, 149, 237, 0.3) 0%, transparent 50%);
  filter: blur(60px);
}
.contacto-content {
  position: relative; z-index: 1;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contacto-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 20px 0 40px;
  line-height: 1.7;
}
.contacto-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.contacto-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}
.contacto-info a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- FOOTER --- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.6;
}
.footer-links, .footer-contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a, .footer-contact a {
  font-size: 0.88rem;
  transition: color 0.25s;
}
.footer-links a:hover, .footer-contact a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
}

/* --- FAB WHATSAPP --- */
.fab-whatsapp {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 900;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  animation: fabPulse 3s ease-in-out infinite;
}
.fab-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
@keyframes fabPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4); }
  50%      { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 12px rgba(37, 211, 102, 0.15); }
}

/* --- REVEAL (scroll) --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-split] {
  opacity: 1;
  transform: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { order: -1; }
  .valor-layout { grid-template-columns: 1fr; gap: 40px; }
  .ventajas-grid { grid-template-columns: repeat(2, 1fr); }
  .planes-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .confianza-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-grid { grid-template-columns: repeat(2, 1fr); }
  .galeria-item--wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .section-header { margin-bottom: 48px; }

  .nav-links {
    position: fixed; top: 0; right: 0;
    width: 280px; height: 100vh;
    flex-direction: column;
    background: var(--white);
    padding: 100px 32px 40px;
    gap: 20px;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease-out);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { color: var(--ink) !important; font-size: 1rem; }
  .nav-cta {
    background: var(--blue) !important;
    color: var(--white) !important;
    text-align: center;
    width: 100%;
    justify-content: center;
  }
  .nav-toggle { display: flex; }

  .hero { min-height: 85vh; padding: 0; }
  .hero-content { padding: 140px 0 100px; }
  .hero-title { font-size: clamp(1.9rem, 7vw, 2.6rem); }
  .hero-scroll-hint { display: none; }

  .valor-layout { grid-template-columns: 1fr; gap: 32px; }
  .problema-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-item--wide { grid-column: span 1; aspect-ratio: 16/10; }
  .galeria-item { aspect-ratio: 16/10; }
  .ventajas-grid { grid-template-columns: 1fr; }
  .planes-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .plan-card--highlight { transform: scale(1); }
  .plan-card--highlight:hover { transform: translateY(-6px); }
  .sectores-grid { grid-template-columns: repeat(2, 1fr); }
  .confianza-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contacto-buttons { flex-direction: column; align-items: center; }
  .contacto-info { flex-direction: column; align-items: center; }

  .about-badge-wrap { width: 200px; height: 200px; }
  .about-badge { width: 160px; height: 160px; }
  .about-badge--secondary { width: 90px; height: 90px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-buttons { flex-direction: column; align-items: stretch; }
  .hero-buttons .btn { justify-content: center; }
  .sectores-grid { grid-template-columns: 1fr; }
}

/* Splash safety net: hide after 4.5s even if JS fails */
.splash {
  animation: splashSafetyHide 0.6s var(--ease-out) 4.5s forwards;
}
@keyframes splashSafetyHide {
  to { opacity: 0; visibility: hidden; pointer-events: none; }
}

/* Safety net: 6s after page load, force-reveal anything still hidden */
@keyframes safetyReveal {
  to { opacity: 1; transform: none; }
}
