/* =====================================================
   landing-clean.css — Landing Page B2B Premium
   Paleta Corporativa: Navy #042037 · Pantone 3015C #006298 · Naranja #FF6600
   ===================================================== */

/* ── Reset & Base ────────────────────────────────── */
.landing-body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #FFFFFF;
  color: #1E293B;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Smooth scroll for anchors ───────────────────── */
html { scroll-behavior: smooth; }

/* ── HEADER PREMIUM ──────────────────────────────── */
.landing-header {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
  transition: box-shadow .3s ease, background .3s ease;
}

.landing-header nav a {
  color: #042037;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.01em;
  position: relative;
  transition: color .25s ease;
}

.landing-header nav a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: #006298;
  transition: width .3s ease;
}

.landing-header nav a:hover {
  color: #006298 !important;
}

.landing-header nav a:hover::after {
  width: 100%;
}

/* ── HERO CINEMATOGRÁFICO (CARRUSEL) ─────────────── */
.hero-clean {
  position: relative;
  overflow: hidden;
  padding: 125px 0 75px;
  color: #FFFFFF;
  background-color: #042037;
}

/* Individual carousel slides */
.hero-carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.8s ease-in-out;
  z-index: 0;
  will-change: opacity;
}

.hero-carousel-slide.active {
  opacity: 1;
}

/* Subtle zoom animation on active slide */
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.06); }
}

.hero-carousel-slide.active {
  animation: heroZoom 6s ease-out forwards;
}

/* Dark gradient overlay for text readability */
.hero-carousel-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(0, 0, 0, .90) 0%,
      rgba(0, 0, 0, .75) 40%,
      rgba(0, 0, 0, .45) 70%,
      rgba(0, 0, 0, .30) 100%);
  pointer-events: none;
}

.hero-clean::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #006298, #FF6600);
}

.hero-clean-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 980px) {
  .hero-clean-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.hero-clean-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: #4BB3E6;
  margin-bottom: 1rem;
}

.hero-clean-title {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.hero-clean-title span {
  color: #FFFFFF;
}

.hero-clean-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(241, 245, 249, 0.85);
  margin-bottom: 1.8rem;
  max-width: 480px;
}

/* ── Hero Bullet List ────────────────────────────── */
.hero-bullet-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.hero-bullet-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.98rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.hero-bullet-list li i {
  color: #FF6600;
  font-size: 0.95rem;
  flex-shrink: 0;
}

/* ── FORMULARIO PREMIUM (Lead Box) ───────────────── */
.hero-form-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 2rem 1.8rem;
  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(226, 232, 240, 0.50);
  color: #1E293B;
  position: relative;
}

.hero-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, #006298, #FF6600);
}

.hero-form-title {
  font-size: 1.3rem;
  font-weight: 900;
  color: #042037;
  margin: 0.2rem 0 0.35rem;
}

.hero-form-sub {
  font-size: 0.88rem;
  color: #64748B;
  margin-bottom: 1.2rem;
}

.clean-input {
  width: 100%;
  padding: 0.72rem 0.95rem;
  border-radius: 10px;
  border: 1.5px solid #E2E8F0;
  font-size: 0.93rem;
  font-family: 'Inter', sans-serif;
  color: #1E293B;
  background: #FFFFFF;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  margin-bottom: 0.75rem;
}

.clean-input:focus {
  outline: none;
  border-color: #006298;
  box-shadow: 0 0 0 3px rgba(0, 98, 152, 0.12);
}

.clean-input::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.btn-form-submit {
  width: 100%;
  background: linear-gradient(135deg, #FF6600 0%, #E05500 100%);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 24px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 22px rgba(255, 102, 0, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 102, 0, 0.38);
}

.btn-form-submit:active {
  transform: translateY(0);
}

/* ── SECCIÓN DE SOLUCIONES ───────────────────────── */
.section-clean {
  padding: 80px 0;
}

.clean-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 0;
}

@media (max-width: 980px) {
  .clean-card-grid {
    grid-template-columns: 1fr;
  }
}

.clean-solution-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s cubic-bezier(.22,.61,.36,1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.clean-solution-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #006298, #006298);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s cubic-bezier(.22,.61,.36,1);
}

.clean-solution-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(4, 32, 55, 0.10);
  border-color: rgba(0, 98, 152, 0.25);
}

.clean-solution-card:hover::after {
  transform: scaleX(1);
}

.clean-solution-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform .4s cubic-bezier(.22,.61,.36,1);
}

.clean-solution-card:hover .clean-solution-img {
  transform: scale(1.04);
}

.clean-solution-body {
  padding: 1.5rem;
}

.clean-solution-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #042037;
  margin: 0 0 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.clean-solution-title i {
  color: #006298;
  font-size: 1rem;
}

.clean-solution-text {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 0;
}

/* ── BENEFICIOS TARJETAS ─────────────────────────── */
.benefit-card-premium {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.3rem 1.1rem;
  text-align: center;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.03);
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s ease, border-color .3s ease;
  position: relative;
  overflow: hidden;
}

.benefit-card-premium::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #006298;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .35s ease;
}

.benefit-card-premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(4, 32, 55, 0.08);
  border-color: rgba(0, 98, 152, 0.20);
}

.benefit-card-premium:hover::before {
  transform: scaleY(1);
}

.benefit-card-premium img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 0.7rem;
}

.benefit-card-premium h3 {
  font-size: 0.98rem;
  font-weight: 800;
  color: #042037;
  margin: 0 0 0.25rem;
}

.benefit-card-premium p {
  font-size: 0.85rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
}

/* ── MARCAS CAROUSEL CON FADE LATERAL ────────────── */
.brandsCarousel {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
}

.brandsCarousel::before,
.brandsCarousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.brandsCarousel::before {
  left: 0;
  background: linear-gradient(90deg, #FFFFFF 0%, transparent 100%);
}

.brandsCarousel::after {
  right: 0;
  background: linear-gradient(270deg, #FFFFFF 0%, transparent 100%);
}

/* ── SECTION TITLES PREMIUM ──────────────────────── */
.section-title-premium {
  font-size: 2.1rem;
  font-weight: 900;
  color: #042037;
  margin: 0;
  position: relative;
  display: inline-block;
}

.section-title-premium::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: #FF6600;
  border-radius: 2px;
  margin: 0.6rem auto 0;
}

/* ── CTA BANNER PREMIUM ─────────────────────────── */
.cta-banner-premium {
  background: linear-gradient(135deg, #042037 0%, #006298 100%);
  position: relative;
  overflow: hidden;
}

.cta-banner-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
}

.cta-banner-premium::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255, 102, 0, 0.06);
}

.cta-btn-premium {
  background: #FF6600;
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 800;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 25px rgba(255, 102, 0, 0.35);
  transition: transform .25s ease, box-shadow .25s ease;
  position: relative;
  z-index: 1;
}

.cta-btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 35px rgba(255, 102, 0, 0.45);
}

/* ── SCROLL REVEAL ANIMATIONS ────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1);
}

.reveal-stagger.visible > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger.visible > *:nth-child(2) { transition-delay: 80ms; }
.reveal-stagger.visible > *:nth-child(3) { transition-delay: 160ms; }
.reveal-stagger.visible > *:nth-child(4) { transition-delay: 240ms; }
.reveal-stagger.visible > *:nth-child(5) { transition-delay: 320ms; }
.reveal-stagger.visible > *:nth-child(6) { transition-delay: 400ms; }

.reveal-stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── PROCESO DE TRABAJO (TIMELINE HORIZONTAL) ──── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-grid::before {
  content: "";
  position: absolute;
  top: 38px;
  left: calc(12.5% + 20px);
  right: calc(12.5% + 20px);
  height: 2px;
  background: linear-gradient(90deg, #006298, #FF6600);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.process-number {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid #006298;
  display: grid;
  place-items: center;
  margin: 0 auto 1.2rem;
  font-size: 1.6rem;
  color: #006298;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
  box-shadow: 0 6px 20px rgba(0, 98, 152, 0.12);
}

.process-step:hover .process-number {
  background: #006298;
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 10px 30px rgba(0, 98, 152, 0.25);
}

.process-step h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #042037;
  margin: 0 0 0.35rem;
}

.process-step p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.45;
  margin: 0;
  max-width: 200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .process-grid::before { display: none; }
}

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

/* ── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  .benefit-card-premium { padding: 1rem; }
}

@media (max-width: 640px) {
  .hero-clean { padding: 80px 0 50px; }
}

/* ── HEADER COMPONENTS ──────────────────────────── */
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.header-logo {
  height: 42px;
  width: auto;
  display: block;
}

.header-nav {
  display: flex;
  gap: 2.2rem;
  align-items: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #042037;
  text-decoration: none;
  font-size: 0.9rem;
}

.header-phone i {
  color: #006298;
  font-size: 0.85rem;
}

.header-cta {
  background: #FF6600;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 9px 22px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 14px rgba(255, 102, 0, 0.22);
  transition: transform .2s ease, box-shadow .2s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 102, 0, 0.35);
}

/* ── MOBILE TOGGLE ───────────────────────────────── */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.4rem;
  color: #042037;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background .2s ease;
}

.mobile-toggle:hover {
  background: rgba(0, 98, 152, 0.06);
}

/* ── MOBILE NAV PANEL ────────────────────────────── */
.mobile-nav {
  display: none;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.mobile-nav.is-open {
  display: block;
}

.mobile-nav a {
  display: block;
  padding: 12px 24px;
  color: #042037;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.mobile-nav a:hover {
  background: #F1F5F9;
  color: #006298;
}

.mobile-nav .mobile-cta {
  margin: 12px 16px 4px;
  background: #FF6600;
  color: #FFFFFF !important;
  font-weight: 700;
  border-radius: 10px;
  text-align: center;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.mobile-nav .mobile-cta:hover {
  background: #E05500;
}

@media (max-width: 768px) {
  .header-nav,
  .header-actions {
    display: none !important;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
  }
}

/* ── SOCIAL PROOF BAR ────────────────────────────── */
.social-proof {
  background: #042037;
  padding: 28px 0;
  position: relative;
  overflow: hidden;
}

.social-proof::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #006298, #FF6600);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.proof-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .proof-number { font-size: 1.8rem; }
}

/* ── BENEFITS GRID RESPONSIVE ────────────────────── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

@media (max-width: 980px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

/* ── BENEFIT ICON CARD (6th card placeholder) ───── */
.benefit-icon-card {
  width: 100%;
  aspect-ratio: 1024 / 365;
  background: linear-gradient(135deg, #F0F7FC 0%, #E8F4FD 100%);
  border-radius: 6px;
  margin-bottom: 0.7rem;
  display: grid;
  place-items: center;
}

.benefit-icon-card i {
  font-size: 3.5rem;
  color: #006298;
  opacity: 0.7;
  transition: opacity .3s ease, transform .3s ease;
}

.benefit-card-premium:hover .benefit-icon-card i {
  opacity: 1;
  transform: scale(1.1);
}

/* ── FORM VALIDATION VISUAL ──────────────────────── */
.clean-input:invalid:not(:placeholder-shown):not(:focus) {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.08);
}
