html, body {
  margin: 0;
  padding: 0;
  background-color: #003c69; /*final del gradiente */
}

/* =========================
   ABOUT 
========================= */

.about-imex {
  position: relative;
  background: linear-gradient(135deg, #003c69 0%, #002a4a 100%);
  color: #ffffff;
  padding: 120px 20px;
  overflow: hidden;
}

/* Logo de fondo */
.about-bg-logo {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 1920px;
  height: 1080px;
  background: url('../logos/Logotipo_IMEX_Lean_Project_10.png') no-repeat center;
  background-size: contain;
  opacity: 0.05; /* MUY sutil */
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}
.about-container {
  position: relative;
  z-index: 2;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.about-label {
  color: #fcd900;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
}

.about-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin: 20px 0;
}

.about-header h3 {
  font-size: 20px;
  font-weight: 400;
  color: #d9e6f2;
  max-width: 750px;
  margin: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 35px;
  margin-top: 70px;
}

.about-block {
  background: rgba(255,255,255,0.06);
  padding: 35px;
  border-radius: 16px;
  backdrop-filter: blur(8px);
  transition: all .4s ease;
  border: 1px solid rgba(255,255,255,0.08);
}

.about-block:hover {
  transform: translateY(-10px);
  background: rgba(255,255,255,0.12);
  border-color: #fcd900;
}

.about-block h4 {
  color: #fcd900;
  margin-bottom: 18px;
  font-size: 18px;
}

.about-block p {
  color: #e6eef5;
  font-size: 15px;
  line-height: 1.7;
}

/* Línea decorativa */
.about-extended {
  margin-top: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about-line {
  width: 60px;
  height: 4px;
  background: #fcd900;
  margin: 0 auto 25px auto;
  border-radius: 2px;
}

.about-extended p {
  font-size: 18px;
  color: #ffffff;
  font-weight: 500;
}

.about-cta {
  margin-top: 60px;
}

.about-cta h5 {
  color: #fcd900;
  font-size: 20px;
  font-weight: 700;
}

.about-cta p {
  font-size: 16px;
  color: #d9e6f2;
}

/* =========================
   ANIMACIONES
========================= */

/* Reveal base */
.reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: all 1s cubic-bezier(.19,1,.22,1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Glow dorado dinámico en título */
.about-header h2 {
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 0%;
  height: 3px;
  background: #fcd900;
  transition: width .8s ease, left .8s ease;
}

.reveal.show .about-header h2::after {
  width: 100%;
  left: 0;
}

/* Logo flotante suave */
.about-bg-logo {
  animation: floatLogo 12s ease-in-out infinite alternate;
}

@keyframes floatLogo {
  0% { transform: translate(-50%, -50%) scale(1); }
  100% { transform: translate(-50%, -52%) scale(1.05); }
}

/* Cards con efecto magnético */
.about-block {
  transform: translateY(0);
  transition: all .4s cubic-bezier(.19,1,.22,1);
}

.about-block:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
  border-color: #fcd900;
}

/* Línea animada */
.about-line {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .8s ease;
}

.reveal.show .about-line {
  transform: scaleX(1);
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 992px) {

  .about-imex {
    padding: 90px 20px;
  }

  .about-header h2 {
    font-size: 32px;
  }

  .about-header h3 {
    font-size: 18px;
  }

  .about-bg-logo {
    width: 1200px;
    height: 800px;
    opacity: 0.04;
  }

}

@media (max-width: 768px) {

  .about-imex {
    padding: 70px 15px;
  }

  .about-header h2 {
    font-size: 26px;
  }

  .about-header h3 {
    font-size: 16px;
  }

  .about-grid {
    gap: 25px;
    margin-top: 50px;
  }

  .about-block {
    padding: 25px;
  }

  .about-bg-logo {
    width: 900px;
    height: 600px;
    opacity: 0.03;
  }

  .about-extended p {
    font-size: 16px;
  }

}

@media (max-width: 480px) {

  .about-header h2 {
    font-size: 22px;
  }

  .about-label {
    font-size: 12px;
  }

  .about-bg-logo {
    width: 700px;
    height: 500px;
  }

}

/* ================
   ANIMACIONES 
=================== */

/* Reveal base */
.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: all 1.2s cubic-bezier(.19,1,.22,1);
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Glow dorado elegante en título */
.about-header h2 {
  position: relative;
  display: inline-block;
}

.about-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg,#fcd900,#ffe96b,#fcd900);
  transition: width .9s ease, left .9s ease;
}

.reveal.show .about-header h2::after {
  width: 100%;
  left: 0;
}

/* Logo flotante suave */
.about-bg-logo {
  animation: imexFloat 14s ease-in-out infinite alternate;
}

@keyframes imexFloat {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -52%) scale(1.06);
  }
}

/* Cards efecto premium */
.about-block {
  transition: all .5s cubic-bezier(.19,1,.22,1);
}

.about-block:hover {
  transform: translateY(-14px) scale(1.04);
  box-shadow: 0 25px 60px rgba(0,0,0,.35);
  border-color: #fcd900;
}

/* Línea animada */
.about-line {
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .9s ease;
}

.reveal.show .about-line {
  transform: scaleX(1);
}

/* Fondo con luz radial sutil */
.about-imex::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(252,217,0,0.15) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  z-index: 1;
  animation: pulseLight 8s infinite alternate ease-in-out;
}

@keyframes pulseLight {
  0% { opacity: .3; transform: scale(1); }
  100% { opacity: .6; transform: scale(1.1); }
}

.section-title {
  font-weight: 700;
  color: #0d2b5c; /* azul  */
  letter-spacing: 2px;
}

.section-title2 {
  font-weight: 700;
  color: #fcd900; /* amarillo  */
  letter-spacing: 2px;
}

.how-we-do-it {
  background: linear-gradient(135deg, #f4f7fb, #e9f1ff);
}

.process-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.05);
  transition: 0.4s ease;
  height: 100%;
}

.process-card:hover {
  transform: translateY(-8px);
}

.process-number {
  font-size: 40px;
  font-weight: 700;
  color: #1e5bb8;
  margin-bottom: 15px;
}

.why-choose-us {
  background: #003c69;
  color: rgb(255, 255, 255);
}

.why-card {
  background: rgba(188, 0, 0, 0.08);
  padding: 25px;
  border-radius: 15px;
  transition: 0.4s ease;
  height: 100%;
  
}

.why-card:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-6px);
  
}

/* =========================
   IMEX EN NUMEROS
========================= */

.imex-stats {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  padding: 100px 20px;
  color: #fff;
  text-align: center;
}

.stats-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 70px;
  letter-spacing: 2px;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center; 
  gap: 60px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  min-width: 140px;
  transition: transform 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-10px); /* efecto sutil */
}

.counter {
  font-size: 3.2rem;
  font-weight: 700;
  color: #fcd900;
  display: block;
}

.stat-item p {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 10px;
  opacity: 0.8;
}

