/* ===============================
   PALETA SEGURA (ALTO CONTRASTE)
================================ */
:root {
  --orange: #FF7A1A;
  --orange-soft: #ffbe8b;
  --blue: #22B8D9;
  --blue-soft: #b2eeff;

  --ink: #0B1220;
  --ink-soft: #334155;
  --white: #ffb685;
  --gray: #64748B;
}

/* ===============================
   BASE
================================ */
body {
  background: rgb(84, 201, 255);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}

h1, h2, h3 {
  color: var(--ink);
}

p {
  color: var(--ink-soft);
  color: #78d9ff;
}

/* ===============================
   HERO (LEGIBLE SIEMPRE)
================================ */
.hero-pattern {
  position: relative;
  background: linear-gradient(
    180deg,
    #03cdff 0%,
    #78d9ff 40%,
    #38c7ff 75%,
    #c4fbff 100%
  );
}

.hero-pattern::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.25),
    rgba(0,0,0,0.05)
  );
}

.hero-pattern * {
  position: relative;
  color: rgb(255, 255, 255) !important;
}

/* ===============================
   SECCIONES BLANCAS
================================ */
section {
  background: #ff9f46;
}

/* ===============================
   CARDS
================================ */
.premium-shadow {
  background: rgb(185, 255, 234);
  border-radius: 2.5rem;
  border: 1px solid #ffffff;
  box-shadow:
    0 30px 50px -30px rgb(34, 183, 217),
    0 10px 25px -20px #ff964b;
}

.premium-shadow h3 {
  color: var(--ink);
}

.premium-shadow li,
.premium-shadow p {
  color: var(--gray);
}

/* Números grandes */
.text-9xl {
  color: var(--orange);
}

/* ===============================
   BOTONES
================================ */
button {
  font-weight: 600;
  letter-spacing: 0.15em;
}

button.bg-dark-bg,
button.btn-primary {
  background: linear-gradient(135deg, var(--orange), #4d7cff);
  color: rgb(255, 163, 102);
}

button.bg-white {
  background: rgb(255, 149, 87);
  color: var(--ink);
  border: 1px solid #e67846;
}

/* ===============================
   ESTADÍSTICAS
================================ */
.bg-dark-bg {
  background: linear-gradient(
    180deg,
    #020617,
    #0B1220
  );
  color: rgb(255, 255, 255);
}

.bg-dark-bg .text-6xl {
  color: var(--blue);
}

.bg-dark-bg p {
  color: #000000;
}

/* ===============================
   CTA FINAL
================================ */
.bg-dark-bg .rounded-\[48px\] {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ===============================
   ANIMACIONES BASE
================================ */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.16,1,.3,1);
}
.fade-up.delay-200 {
  transition-delay: 0.2s;
}
.fade-up.delay-400 {
  transition-delay: 0.4s;
}
.fade-up.delay-600 {
  transition-delay: 0.6s;
}
.fade-up.delay-800 {
  transition-delay: 0.8s;
}
.fade-up.delay-1000 {
  transition-delay: 1s;
}
.fade-up.delay-1200 {
  transition-delay: 1.2s;
}
.fade-up.delay-1400 {
  transition-delay: 1.4s;
}
.fade-up.delay-1600 {
  transition-delay: 1.6s;
}
.fade-up.delay-1800 {
  transition-delay: 1.8s;
}
.fade-up.delay-2000 {
  transition-delay: 2s;
}

.scale-in {
  opacity: 0;
  transform: scale(0.8);
}

.scale-in.show {
  opacity: 1;
  transform: scale(1);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.16,1,.3,1);
}

.scale-in.delay-200 {
  transition-delay: 0.2s;
}
.scale-in.delay-400 {
  transition-delay: 0.4s;
}
.scale-in.delay-600 {
  transition-delay: 0.6s;
}

nav {
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ===============================
   CARDS – ALTA PRESENCIA VISUAL
================================ */
.premium-shadow {
  background: #ffffff;
  border-radius: 2.75rem;
  border: 1px solid rgba(255, 138, 61, 0.35);

  box-shadow:
    0 60px 120px -40px rgba(255, 138, 61, 0.35),
    0 30px 60px -30px rgba(59, 184, 212, 0.25),
    0 10px 20px rgba(15, 23, 42, 0.12);

  transition:
    transform .6s cubic-bezier(.16,1,.3,1),
    box-shadow .6s cubic-bezier(.16,1,.3,1);
}


/* Hover elegante */
.premium-shadow:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow:
    0 80px 160px -40px rgba(255, 138, 61, 0.45),
    0 40px 80px -30px rgba(59, 184, 212, 0.35),
    0 20px 30px rgba(15, 23, 42, 0.2);
  transition:
    transform .6s cubic-bezier(.16,1,.3,1),
    box-shadow .6s cubic-bezier(.16,1,.3,1);
}

/* ===============================
   CARDS EN SECCIÓN CLARA
================================ */
section {
  background: linear-gradient(
    180deg,
    #FFFFFF,
    #F8FAFC
  );
}

/* ===============================
   LOGO NAVBAR – DESTACADO
================================ */
.nav-logo {
  height: 42px;
  width: auto;

  padding: 6px 10px;
  border-radius: 14px;

  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(6px);

  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 255, 255, 0.25);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

/* Hover elegante */
.nav-logo:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow:
    0 14px 30px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.35);
}

/* ===============================
   LOGO NAV – RESALTADO + VIDA
================================ */
.nav-logo {
  height: 42px;
  width: auto;

  padding: 6px 12px;
  border-radius: 16px;

  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.25),
    rgba(255,255,255,0.1)
  );

  backdrop-filter: blur(8px);

  box-shadow:
    0 10px 25px rgba(0,0,0,0.25),
    0 0 0 1px rgba(255,255,255,0.35);

  transition:
    transform 0.4s cubic-bezier(.16,1,.3,1),
    box-shadow 0.4s cubic-bezier(.16,1,.3,1);
}

/* Hover */
.nav-logo:hover {
  transform: translateY(-3px) scale(1.06);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.35),
    0 0 0 1px rgba(255,255,255,0.45);
}
/* ===============================
   HERO – MENSAJE DESTACADO
================================ */
.hero-message {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 32px;
  padding: 24px 32px;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ===============================
   HERO LAYOUT (TEXTO + IMAGEN)
================================ */
.hero-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

/* TEXTO */
.hero-text h1 {
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  line-height: 1.05;
  color: white;
}

/* IMAGEN */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  border-radius: 2.5rem;

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.35);

  animation: float 6s ease-in-out infinite;
}

/* Animación suave */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-wrapper {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-image {
    margin-top: 3rem;
  }
}

/* ===============================
   HERO IMAGE – GRANDE Y CUADRADA
================================ */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-img-square {
  width: 420px;
  height: 420px;

  object-fit: cover;
  border-radius: 24px; /* cuadrado con bordes suaves */

  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.35);

  animation: float 6s ease-in-out infinite;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero-img-square {
    width: 320px;
    height: 320px;
  }
}
/* ===============================
   HERO IMAGE – IMAGEN EN HTML
================================ */
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ===============================
   HERO IMAGE – ARREGLADA
================================ */

.hero-image {
  width: 420px;          /* ancho correcto en pantallas grandes */
  height: 520px;
  overflow: hidden;
  border-radius: 28px;
  flex-shrink: 0;        /* 🔑 evita que se aplaste */
  box-shadow:
    0 40px 90px rgba(255, 255, 255, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: float 6s ease-in-out infinite;
  margin-left: 80px; /* ajusta a gusto */
}

.hero-img-square {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 28px;
}

@media (max-width: 768px) {
  .hero-image {
    width: 100%;
    max-width: 320px;
    height: 420px;
    margin: 0 auto;
    border-radius: 28px;
  }
}

.hero-image:hover {
  transform: translateY(-6px);
  box-shadow: 
    0 30px 60px rgba(0,0,0,0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-buttons {
  display: flex;
  gap: 24px;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: 
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.7);
  transform: translateY(-2px);
}
/* Borde luminoso suave */
.premium-shadow {
  background: #ffffff;
  border-radius: 2.75rem;
  border: 1px solid rgba(255, 138, 61, 0.35);
  box-shadow:
    0 60px 120px -40px rgba(255, 138, 61, 0.35),
    0 30px 60px -30px rgba(59, 184, 212, 0.25),
    0 10px 20px rgba(15, 23, 42, 0.12);
  transition:
    transform .6s cubic-bezier(.16,1,.3,1),
    box-shadow .6s cubic-bezier(.16,1,.3,1);
}

/* Hover elegante */
.premium-shadow:hover {
  transform: translateY(-12px) scale(1.025);
  box-shadow:
    0 80px 160px -40px rgba(255, 138, 61, 0.45),
    0 40px 80px -30px rgba(59, 184, 212, 0.35),
    0 20px 30px rgba(15, 23, 42, 0.2);
  transition:
    transform .6s cubic-bezier(.16,1,.3,1),
    box-shadow .6s cubic-bezier(.16,1,.3,1);
} 

/* CONTENEDOR DE LA SECCIÓN */
section {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  padding: 90px 20px;
  text-align: center;
}

/* TÍTULO */
section h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
}

/* TEXTO */
section p {
  max-width: 720px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #4b5563;
}

/* BOTÓN (SOBRESCRIBE TAILWIND SI EXISTE) */
section button {
  padding: 14px 38px;
  border-radius: 999px;
  background: transparent;
  border: 2px solid #c46d27;
  color: #c56322;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* HOVER BOTÓN */
section button:hover {
  background: #ffb168;
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 197, 94, 0.35);
}

/* ===============================
   EF – INNOVACIÓN (SIN FONDO)
================================ */

.ef-innovation {
  background: transparent !important;
  padding: 4rem 1.5rem;
}

.ef-innovation h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #000000;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ef-innovation p {
  max-width: 64rem;
  font-size: 1.125rem;
  font-weight: 300;
  color: #475569;
  line-height: 1.75;
}

/* Desktop */
@media (min-width: 768px) {
  .ef-innovation p {
    font-size: 1.25rem;
  }
}
--------------------------
/* ===============================
   FOOTER EF – OSCURO PREMIUM
================================ */

.ef-footer {
  background: linear-gradient(
    180deg,
    #020617,
    #0B1220
  );
  color: #E5E7EB;
  padding: 5rem 2rem 2.5rem;
}

.ef-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  color: #CBD5E1;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.25s ease;
}

.footer-col a:hover {
  color: #22B8D9;
}

/* ===============================
   FOOTER BOTTOM
================================ */

.ef-footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  color: #94A3B8;
  text-decoration: none;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-copy {
  text-align: right;
}

/* ===============================
   RESPONSIVE
================================ */

@media (max-width: 900px) {
  .ef-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-copy {
    text-align: left;
  }
}

@media (max-width: 600px) {
  .ef-footer-grid {
    grid-template-columns: 1fr;
  }

  .ef-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
} 

html {
  scroll-behavior: smooth;
}


