/* ===========================================================
   CONTENEDORES Y BASE
=========================================================== */
.container-tight {
  max-width: 1100px;
}

/* =========================================================== */
/* HEADER Y FOOTER — Fondo con wave-premium-b */
.header-ml,
.footer-ml {
  background: url('/assets/wave-premium-b.png') no-repeat center bottom;
  background-size: cover;
  color: white;
}

.header-ml nav a,
.header-ml span {
  color: white !important;
}

.footer-ml {
  color: white;
}
  
/* ===========================================================
   HERO
=========================================================== */
/* HERO SERVICIOS */
.hero-servicios {
  background: url('/assets/wave-premium-a.png') no-repeat center bottom;
  background-size: cover;
}

/* Cuadro degradado detrás del subtítulo */
.hero-blur-box {
  background: linear-gradient(135deg, rgba(255,255,255,0.7), rgba(255,255,255,0.35));
  backdrop-filter: blur(4px);
  padding: 16px 24px;
  border-radius: 14px;
  display: inline-block;
  margin-top: 14px;
}


/* ===========================================================
   FONDOS DE SECCIONES
=========================================================== */
.fondo-servicios {
  background: #F8F2EB url('/assets/flow-automation-c.png') no-repeat center;
  background-size: cover;
}

.fondo-claro {
  background: #ffffff url('/assets/abstract-divider-e.png') no-repeat center;
  background-size: cover;
}

.fondo-oscuridad {
  background: #0D0D0D url('/assets/elegant-flow-d.png') no-repeat center;
  background-size: cover;
}

/* ===========================================================
   TARJETAS PREMIUM
=========================================================== */
.tilt {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.10);
  transition: transform .25s ease, box-shadow .25s ease;
}
.tilt:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0,0,0,0.18);
}

/* ===========================================================
   BOTÓN SHIMMER
=========================================================== */
.btn-shimmer {
  position: relative;
  overflow: hidden;
  background-image: linear-gradient(110deg, rgba(255,255,255,.15) 0%, rgba(255,255,255,.35) 20%, rgba(255,255,255,.15) 40%);
  background-size: 200% 100%;
}
.btn-shimmer:hover {
  animation: shimmer 1.2s linear forwards;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* ===========================================================
   FOOTER ICONS
=========================================================== */
footer img {
  width: 24px;
  height: 24px;
}

/* ===========================================================
   FIXES
=========================================================== */
h1, h2, h3, p, a {
  text-decoration: none;
}

/* ===========================================================
   CSS adicional (para que contraste bien)
=========================================================== */
.fondo-oscuridad h2,
.fondo-oscuridad p {
  color: #000 !important;
}

/* ===========================================================
   QUIÉNES SOMOS — HERO
=========================================================== */
.hero-quienes {
  background: url('/assets/wave-premium-a.png') no-repeat center bottom;
  background-size: cover;
}

/* ===========================================================
   EQUIPO — TARJETAS
=========================================================== */
.card-equipo {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 22px;
  text-align: center;
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

.card-equipo:hover {
  transform: translateY(-6px);
  transition: 0.25s ease;
}

.equipo-foto {
  width: 110px;
  height: 110px;
  background: #d9d9d9;
  border-radius: 999px;
  margin: 0 auto;
  background-size: cover;
  background-position: center;
}

.equipo-foto[data-yair] {
  background-image: url('/assets/yair.png');
}

.equipo-foto[data-roberto] {
  background-image: url('/assets/roberto.png');
}

.equipo-foto[data-narcy] {
  background-image: url('/assets/narcy.png');
}

.equipo-foto[data-paola] {
  background-image: url('/assets/paola.png');
}

.borde-mision {
  border: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}

.borde-mision:hover {
  transform: translateY(-4px);
}

.card-equipo {
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.card-equipo:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 28px rgba(0,0,0,0.15);
}

.fondo-claro-alt {
  background: #ffffff url('/assets/abstract-divider-e.png') no-repeat center;
  background-size: cover;
}

/* =========================
   BLOG — estilos adicionales
   ========================= */

/* Hero del blog */
.hero-blog {
  background: url('/assets/wave-premium-a.png') no-repeat center bottom;
  background-size: cover;
}

/* Card post */
.card-post img { border-radius: 10px; }
.card-post h3 { color: #1B4A63; }

/* Article hero (portada) */
.article-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Prose (contenido del artículo) */
.prose h1, .prose h2, .prose h3 {
  color: #0f172a;
}
.prose p { color: #334155; line-height: 1.7; }

/* pequeñas animaciones */
.card-post { transform: translateY(0); transition: transform .28s ease, box-shadow .28s ease; }
.card-post:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(12,14,22,0.08); }

/* Responsividad */
@media (max-width: 768px) {
  .article-hero { padding: 40px 24px; }
}

