/* ===================================
   EducaHogar — Landing Page Styles
   =================================== */

* { margin:0; padding:0; box-sizing:border-box; }
body { font-family:'Plus Jakarta Sans',sans-serif; background:#fff; color:#003623; }
a { text-decoration:none; }

/* Inner container */
.inner {
  max-width:1380px;
  margin:0 auto;
  padding:0 64px;
}

/* ===== HERO ===== */
.hero {
  background:#2B563A;
  position:relative;
  overflow:hidden;
  padding-bottom:80px;
}
.hero-bg-photo {
  position:absolute; inset:0;
  background-image:url('../assets/hero-bg.jpg');
  background-size:cover; background-position:center right;
  opacity:0.08;
}
.hero::before {
  content:''; position:absolute; top:-100px; right:-100px;
  width:500px; height:500px;
  background:radial-gradient(circle,rgba(240,100,20,0.18) 0%,transparent 65%);
  border-radius:50%; z-index:1;
}

.hero-nav {
  display:flex; align-items:center; justify-content:space-between;
  padding:28px 0; position:relative; z-index:2;
}
.hero-logo { display:flex; align-items:center; gap:12px; }
.hero-logo-icon {
  width:46px; height:46px;
  background:linear-gradient(135deg,#F06414,#FF8C32);
  border-radius:12px; display:flex; align-items:center; justify-content:center;
  font-size:24px; box-shadow:0 4px 16px rgba(240,100,20,0.4);
}
.hero-brand { font-family:'Playfair Display',serif; font-size:28px; font-weight:700; color:#DCFFE9; }
.hero-brand span { color:#FF8C32; }
.hero-nav-links { display:flex; gap:32px; align-items:center; }
.hero-nav-link { color:rgba(220,255,233,0.65); font-size:14px; font-weight:500; cursor:pointer; transition:color 0.2s; }
.hero-nav-link:hover { color:#DCFFE9; }
.btn-nav-cta {
  background:rgba(240,100,20,0.15); border:1px solid rgba(240,100,20,0.35);
  color:#FF8C32; padding:9px 22px; border-radius:9999px;
  font-size:13px; font-weight:700; transition:background 0.2s;
}
.btn-nav-cta:hover { background:rgba(240,100,20,0.25); }

.hero-body {
  display:grid; grid-template-columns:1fr 1fr;
  gap:56px; align-items:center;
  padding-top:40px; position:relative; z-index:2;
}
.hero-eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  background:rgba(154,235,184,0.12); border:1px solid rgba(154,235,184,0.25);
  color:#9AEBB8; padding:6px 16px; border-radius:9999px;
  font-size:12px; font-weight:700; letter-spacing:1px; text-transform:uppercase;
  margin-bottom:24px;
}
.hero-headline {
  font-family:'Playfair Display',serif;
  font-size:68px; font-weight:900; line-height:1.1;
  color:#FFF8EE; margin-bottom:24px;
}
.hero-headline em { color:#FF8C32; font-style:italic; }
.hero-sub {
  font-size:18px; line-height:1.75; color:rgba(208,254,226,0.85);
  margin-bottom:40px; max-width:520px;
}
.hero-sub strong { color:#9AEBB8; }
.hero-actions { display:flex; align-items:center; gap:18px; margin-bottom:48px; }

.btn-primary {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#F06414,#FF8C32);
  color:white; padding:15px 32px; border-radius:9999px;
  font-size:15px; font-weight:700;
  box-shadow:0 6px 24px rgba(240,100,20,0.45);
  transition:transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 10px 32px rgba(240,100,20,0.55); }
.btn-ghost { color:rgba(220,255,233,0.65); font-size:14px; font-weight:500; }

.hero-stats {
  display:grid; grid-template-columns:1fr 1fr 1fr;
  background:rgba(255,248,238,0.06);
  border:1px solid rgba(154,235,184,0.15);
  border-radius:16px; overflow:hidden;
}
.hero-stat { padding:18px 20px; border-right:1px solid rgba(154,235,184,0.1); }
.hero-stat:last-child { border-right:none; }
.hero-stat-num { font-family:'Playfair Display',serif; font-size:34px; font-weight:900; color:#FF8C32; }
.hero-stat-label { font-size:12px; color:#9AEBB8; text-transform:uppercase; letter-spacing:1px; margin-top:4px; }

/* Phone mockup wrapper */
.hero-phone-side { position:relative; display:flex; justify-content:center; }
.phone-frame {
  width:270px; position:relative;
  background:#0d2318; border-radius:36px; padding:10px;
  box-shadow:0 32px 80px rgba(0,0,0,0.5), 0 0 0 1px rgba(154,235,184,0.2);
}
.phone-notch {
  position:absolute; top:10px; left:50%; transform:translateX(-50%);
  width:80px; height:22px; background:#0d2318;
  border-radius:0 0 14px 14px; z-index:10;
}
.phone-screen { background:#dbffe9; border-radius:28px; overflow:hidden; min-height:520px; }
.phone-header {
  background:#dbffe9; padding:32px 16px 12px;
  display:flex; align-items:center; justify-content:space-between;
}
.phone-greeting-name { font-size:11px; font-weight:800; color:#376543; letter-spacing:1px; }
.phone-greeting-sub { font-size:9px; color:#35654e; margin-top:1px; }
.phone-notif-btn {
  width:32px; height:32px; background:#c4fedd;
  border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:14px;
}
.phone-banner { margin:0 12px; border-radius:16px; overflow:hidden; position:relative; height:110px; }
.phone-banner img { width:100%; height:100%; object-fit:cover; }
.phone-banner-overlay {
  position:absolute; inset:0;
  background:linear-gradient(to top,rgba(0,54,35,0.6) 0%,transparent 60%);
}
.phone-banner-label {
  position:absolute; bottom:8px; left:10px;
  color:white; font-size:10px; font-weight:700;
}
.phone-section-title {
  font-size:10px; font-weight:800; color:#003623;
  text-transform:uppercase; letter-spacing:1px; margin-bottom:8px;
}
.phone-asistencia { padding:12px 12px 4px; }
.phone-kids-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:6px; }
.phone-kid { text-align:center; }
.phone-kid-avatar {
  width:44px; height:44px; border-radius:50%; overflow:hidden;
  border:2px solid #9AEBB8; margin:0 auto 3px;
}
.phone-kid-avatar img { width:100%; height:100%; object-fit:cover; }
.phone-kid-avatar.ausente { border-color:#ede4a7; }
.phone-kid-name { font-size:7px; font-weight:700; color:#003623; }
.phone-kid-dot { width:8px; height:8px; background:#376543; border-radius:50%; margin:2px auto 0; }
.phone-kid-dot.ausente { background:#ede4a7; border:1px solid #999; }

.phone-galeria { padding:8px 12px; }
.phone-galeria-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:4px; border-radius:12px; overflow:hidden; }
.phone-galeria-grid img { width:100%; height:52px; object-fit:cover; }
.phone-galeria-more {
  position:relative; height:52px;
  background:#003623;
  display:flex; align-items:center; justify-content:center;
  color:white; font-size:11px; font-weight:800;
}
.phone-galeria-more img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0.5; }
.phone-galeria-more span { position:relative; z-index:1; }

.phone-nav {
  background:rgba(255,255,255,0.92); backdrop-filter:blur(8px);
  padding:8px 12px 14px; display:flex; justify-content:space-around; margin-top:6px;
}
.phone-nav-item { display:flex; flex-direction:column; align-items:center; gap:2px; }
.phone-nav-icon {
  width:28px; height:28px; border-radius:50%;
  display:flex; align-items:center; justify-content:center; font-size:13px;
}
.phone-nav-icon.active { background:#a4ecc6; }
.phone-nav-label { font-size:7px; font-weight:700; color:#003623; }
.phone-nav-label.inactive { font-weight:600; color:#35654e; }

.badge-floating-top {
  position:absolute; top:-18px; left:-80px; z-index:20;
  background:#1e3d2b; border:1px solid rgba(154,235,184,0.3);
  border-radius:14px; padding:10px 14px;
  display:flex; align-items:center; gap:10px;
  box-shadow:0 8px 24px rgba(0,0,0,0.35); white-space:nowrap;
}
.badge-dot { width:8px; height:8px; background:#4ade80; border-radius:50%; flex-shrink:0; animation:pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }
.badge-floating-text { font-size:12px; font-weight:700; color:#DCFFE9; }
.badge-floating-sub { font-size:10px; color:#9AEBB8; margin-top:1px; }

.badge-floating-bottom {
  position:absolute; bottom:-16px; left:50%; transform:translateX(-50%);
  background:linear-gradient(135deg,#F06414,#FF8C32);
  border-radius:16px; padding:14px 20px; text-align:center;
  box-shadow:0 8px 24px rgba(240,100,20,0.5); white-space:nowrap;
}
.badge-bottom-num { font-family:'Playfair Display',serif; font-size:28px; font-weight:900; color:white; line-height:1; }
.badge-bottom-label { font-size:11px; color:rgba(255,255,255,0.85); font-weight:600; }

/* ===== SECTION COMMONS ===== */
.section-divider { height:3px; background:linear-gradient(90deg,transparent,#F06414,#FF8C32,transparent); opacity:0.2; }
.seccion-label { font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:#F06414; margin-bottom:12px; }
.seccion-label-light { font-size:11px; font-weight:700; letter-spacing:3px; text-transform:uppercase; color:#9AEBB8; margin-bottom:12px; }
.seccion-headline {
  font-family:'Playfair Display',serif;
  font-size:52px; font-weight:900; line-height:1.15; color:#2B563A; margin-bottom:16px;
}
.seccion-headline-light {
  font-family:'Playfair Display',serif;
  font-size:52px; font-weight:900; color:#FFF8EE; margin-bottom:8px;
}
.seccion-sub-light { font-size:17px; color:rgba(208,254,226,0.7); margin-bottom:56px; }

/* ===== PROBLEMA ===== */
.seccion-problema { background:#FFF8EE; padding:112px 0; }
.problema-grid { display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.problema-photo-wrap { position:relative; }
.problema-photo { width:100%; height:420px; object-fit:cover; border-radius:24px; box-shadow:0 12px 40px rgba(43,86,58,0.15); }
.problema-photo-overlay {
  position:absolute; bottom:20px; left:20px; right:20px;
  background:rgba(43,86,58,0.92); border-radius:14px; padding:16px 20px;
  display:flex; align-items:center; gap:14px; backdrop-filter:blur(8px);
}
.overlay-icon { font-size:32px; }
.overlay-text { font-size:16px; font-weight:700; color:#DCFFE9; }
.overlay-sub { font-size:13px; color:#9AEBB8; margin-top:3px; }
.problema-stat-big { font-family:'Playfair Display',serif; font-size:120px; font-weight:900; color:#E65546; line-height:1; margin-bottom:8px; }
.problema-stat-label { font-size:24px; font-weight:700; color:#2B563A; margin-bottom:20px; }
.problema-desc { font-size:17px; line-height:1.75; color:#35654e; max-width:480px; margin-bottom:32px; }
.problema-items { display:flex; flex-direction:column; gap:14px; }
.problema-item { display:flex; align-items:flex-start; gap:14px; background:white; border-radius:16px; padding:18px 20px; box-shadow:0 2px 12px rgba(43,86,58,0.07); }
.problema-item-icon { width:44px; height:44px; min-width:44px; background:#DCFFE9; border-radius:12px; display:flex; align-items:center; justify-content:center; font-size:20px; }
.problema-item-title { font-size:14px; font-weight:700; color:#2B563A; margin-bottom:3px; }
.problema-item-desc { font-size:12px; color:#35654e; line-height:1.5; }

/* ===== SOLUCIÓN (BENTO) ===== */
.seccion-solucion { background:#DCFFE9; padding:112px 0; }
.seccion-center { text-align:center; margin-bottom:48px; }
.bento-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; }
.bento-card { background:white; border-radius:24px; padding:28px; box-shadow:0 4px 20px rgba(43,86,58,0.08); overflow:hidden; transition:transform 0.2s; }
.bento-card:hover { transform:translateY(-4px); }
.bento-photo { width:100%; height:160px; object-fit:cover; border-radius:16px; margin-bottom:20px; }
.bento-card-icon { width:48px; height:48px; background:linear-gradient(135deg,#376543,#2a5938); border-radius:14px; display:flex; align-items:center; justify-content:center; font-size:22px; margin-bottom:16px; box-shadow:0 4px 12px rgba(55,101,67,0.35); }
.bento-card-icon.orange { background:linear-gradient(135deg,#F06414,#FF8C32); box-shadow:0 4px 12px rgba(240,100,20,0.35); }
.bento-card-icon.yellow { background:linear-gradient(135deg,#635c2d,#595324); }
.bento-card-title { font-size:20px; font-weight:800; color:#003623; margin-bottom:10px; }
.bento-card-desc { font-size:15px; line-height:1.65; color:#35654e; }
.bento-card-badge { display:inline-block; margin-top:14px; background:#DCFFE9; color:#376543; border-radius:9999px; padding:5px 14px; font-size:11px; font-weight:700; }
.bento-card-badge.orange { background:#FFF8EE; color:#F06414; }
.bento-card-badge.yellow { background:#ede4a7; color:#595324; }

/* ===== USUARIOS ===== */
.seccion-usuarios { background:#2B563A; padding:112px 0; }
.usuarios-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:20px; }
.usuario-card { background:rgba(255,255,255,0.05); border:1px solid rgba(154,235,184,0.15); border-radius:24px; overflow:hidden; transition:background 0.2s; }
.usuario-card:hover { background:rgba(255,255,255,0.09); }
.usuario-photo { width:100%; height:200px; object-fit:cover; object-position:top; }
.usuario-body { padding:24px; }
.usuario-role { font-size:11px; font-weight:700; color:#9AEBB8; letter-spacing:2px; text-transform:uppercase; margin-bottom:4px; }
.usuario-title { font-size:18px; font-weight:800; color:#FFF8EE; margin-bottom:10px; }
.usuario-pain { font-size:13px; color:rgba(208,254,226,0.65); line-height:1.6; margin-bottom:14px; }
.usuario-benefit { display:flex; align-items:center; gap:8px; font-size:12px; font-weight:600; color:#9AEBB8; background:rgba(154,235,184,0.1); padding:8px 14px; border-radius:9999px; }

/* ===== TESTIMONIO ===== */
.seccion-testimonio { background:#FFF8EE; padding:88px 0; }
.testimonio-grid { display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.testimonio-photo-wrap { position:relative; }
.testimonio-photo { width:100%; height:480px; object-fit:cover; object-position:50% 15%; border-radius:24px; box-shadow:0 12px 48px rgba(43,86,58,0.2); }
.testimonio-photo-badge {
  position:absolute; bottom:-20px; left:50%; transform:translateX(-50%);
  background:#2B563A; border-radius:16px; padding:14px 24px; white-space:nowrap;
  box-shadow:0 8px 24px rgba(0,0,0,0.2); text-align:center;
}
.testimonio-badge-name { font-size:14px; font-weight:800; color:#DCFFE9; }
.testimonio-badge-role { font-size:11px; color:#9AEBB8; margin-top:2px; }
.testimonio-content { padding-left:16px; }
.testimonio-tag { display:inline-flex; align-items:center; gap:8px; background:#DCFFE9; color:#376543; padding:7px 18px; border-radius:9999px; font-size:12px; font-weight:700; margin-bottom:28px; }
.quote-mark { font-family:'Playfair Display',serif; font-size:80px; line-height:0.6; color:#F06414; opacity:0.35; margin-bottom:16px; display:block; }
.testimonio-text { font-family:'Playfair Display',serif; font-size:20px; font-style:italic; line-height:1.6; color:#2B563A; margin-bottom:28px; }
.testimonio-author { font-size:14px; font-weight:700; color:#376543; margin-bottom:32px; }
.testimonio-author span { font-weight:400; color:#35654e; }
.marcha-card { background:#2B563A; border-radius:24px; padding:36px; }
.marcha-label { font-size:11px; font-weight:700; color:#9AEBB8; letter-spacing:2px; text-transform:uppercase; margin-bottom:10px; }
.marcha-titulo { font-family:'Playfair Display',serif; font-size:32px; font-weight:900; color:#FFF8EE; margin-bottom:10px; }
.marcha-sub { font-size:14px; color:rgba(208,254,226,0.8); line-height:1.6; margin-bottom:22px; }
.marcha-items { display:flex; flex-direction:column; gap:10px; margin-bottom:26px; }
.marcha-item { display:flex; align-items:center; gap:10px; font-size:13px; color:#9AEBB8; }
.marcha-check { color:#FF8C32; }

/* ===== FORM CTA ===== */
.seccion-cta { background:#DCFFE9; padding:88px 0; text-align:center; }
.cta-headline { font-family:'Playfair Display',serif; font-size:42px; font-weight:900; color:#2B563A; margin-bottom:12px; }
.cta-sub { font-size:17px; color:#35654e; margin-bottom:40px; max-width:480px; margin-left:auto; margin-right:auto; line-height:1.6; }
.form-wrap { max-width:560px; margin:0 auto; background:white; border-radius:28px; padding:40px; box-shadow:0 8px 40px rgba(43,86,58,0.1); text-align:left; }
.form-title { font-family:'Playfair Display',serif; font-size:32px; font-weight:900; color:#2B563A; margin-bottom:6px; }
.form-sub { font-size:14px; color:#35654e; margin-bottom:28px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.form-field { display:flex; flex-direction:column; gap:6px; }
.form-label { font-size:11px; font-weight:700; color:#2B563A; text-transform:uppercase; letter-spacing:0.5px; }
.form-input { background:#DCFFE9; border:none; border-radius:12px; padding:12px 16px; font-size:14px; color:#003623; font-family:'Plus Jakarta Sans',sans-serif; outline:none; transition:background 0.2s; width:100%; }
.form-input:focus { background:#b8f6d3; }
.form-submit { width:100%; padding:14px; background:linear-gradient(135deg,#F06414,#FF8C32); color:white; border:none; border-radius:9999px; font-size:15px; font-weight:700; cursor:pointer; margin-top:8px; box-shadow:0 6px 20px rgba(240,100,20,0.4); font-family:'Plus Jakarta Sans',sans-serif; display:flex; align-items:center; justify-content:center; gap:8px; transition:transform 0.2s; }
.form-submit:hover { transform:translateY(-2px); }
.whatsapp-cta { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:16px; font-size:13px; color:#35654e; }
.whatsapp-cta a { color:#376543; font-weight:700; display:flex; align-items:center; gap:4px; }

/* ===== FOOTER ===== */
.footer { background:#1e3d2b; padding:40px 0; }
.footer-inner { display:flex; justify-content:space-between; align-items:center; }
.footer-brand { font-family:'Playfair Display',serif; font-size:20px; color:#DCFFE9; }
.footer-brand span { color:#FF8C32; }
.footer-location { font-size:12px; color:rgba(154,235,184,0.55); margin-top:4px; }
.footer-links { display:flex; gap:28px; }
.footer-link { font-size:13px; color:rgba(154,235,184,0.55); transition:color 0.2s; }
.footer-link:hover { color:#9AEBB8; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  /* Layout general */
  .inner { padding:0 20px; }

  /* NAV — ocultar links, mostrar solo logo + botón */
  .hero-nav-links .hero-nav-link { display:none; }
  .hero-nav { padding:20px 0; }
  .hero-brand { font-size:22px; }

  /* HERO BODY — columna única, centrado */
  .hero-body {
    grid-template-columns:1fr;
    gap:40px;
    padding-top:28px;
    text-align:center;
  }

  /* Eyebrow pill */
  .hero-eyebrow {
    font-size:11px;
    padding:5px 14px;
    justify-content:center;
    white-space:normal;
    text-align:center;
  }

  /* Headline */
  .hero-headline {
    font-size:42px;
    line-height:1.15;
    margin-bottom:20px;
  }

  /* Subtítulo */
  .hero-sub {
    font-size:16px;
    max-width:100%;
    margin-bottom:32px;
  }

  /* Botones — centrados en columna */
  .hero-actions {
    flex-direction:column;
    align-items:center;
    gap:14px;
    margin-bottom:36px;
  }
  .btn-primary { width:100%; justify-content:center; font-size:15px; padding:14px 24px; }
  .btn-ghost { font-size:14px; }

  /* Stats — 3 columnas compactas */
  .hero-stats { grid-template-columns:1fr 1fr 1fr; }
  .hero-stat { padding:14px 10px; }
  .hero-stat-num { font-size:24px; }
  .hero-stat-label { font-size:10px; }

  /* Mockup — mitad superior recortada con fade */
  .hero-phone-side {
    display:flex;
    justify-content:center;
    overflow:hidden;
    height:280px;
    position:relative;
    margin-top:8px;
  }
  .hero-phone-side::after {
    content:'';
    position:absolute;
    bottom:0; left:0; right:0;
    height:120px;
    background:linear-gradient(to bottom, transparent, #2B563A);
    z-index:6;
    pointer-events:none;
  }
  .hero-phone-side .phone-frame {
    transform:scale(0.82);
    transform-origin:top center;
    flex-shrink:0;
  }
  /* Ocultar badges flotantes en móvil para no desbordar */
  .badge-floating-top, .badge-floating-bottom { display:none; }

  /* Secciones */
  .problema-grid { grid-template-columns:1fr; }
  .bento-grid { grid-template-columns:1fr; }
  .usuarios-grid { grid-template-columns:1fr; }
  .testimonio-grid { grid-template-columns:1fr; }
  .seccion-headline, .seccion-headline-light { font-size:36px; }
  .cta-headline { font-size:32px; }

  /* Footer */
  .footer-inner { flex-direction:column; gap:20px; text-align:center; }
}

@media (max-width: 480px) {
  .hero-headline { font-size:36px; }
  .hero-stats { grid-template-columns:1fr; gap:0; }
  .hero-stat { border-right:none; border-bottom:1px solid rgba(154,235,184,0.1); }
  .hero-stat:last-child { border-bottom:none; }
  .seccion-headline, .seccion-headline-light { font-size:30px; }
  .problema-stat-big { font-size:80px; }
}

/* ===== INSTAGRAM ICON ===== */
.hero-nav-ig {
  display:flex; align-items:center; justify-content:center;
  color:rgba(220,255,233,0.65);
  transition:color 0.2s, transform 0.2s;
  padding:4px;
}
.hero-nav-ig:hover { color:#FF8C32; transform:scale(1.15); }
.footer-ig {
  display:inline-flex; align-items:center; gap:6px;
}
.footer-ig svg { vertical-align:middle; }

/* ===== HERO ENTRY ANIMATIONS ===== */
@keyframes heroFadeUp {
  from { opacity:0; transform:translateY(28px); }
  to   { opacity:1; transform:translateY(0); }
}
@keyframes heroFadeRight {
  from { opacity:0; transform:translateX(36px); }
  to   { opacity:1; transform:translateX(0); }
}
.hero-eyebrow  { animation: heroFadeUp 0.75s 0.1s both ease-out; }
.hero-headline { animation: heroFadeUp 0.75s 0.25s both ease-out; }
.hero-sub      { animation: heroFadeUp 0.75s 0.4s  both ease-out; }
.hero-actions  { animation: heroFadeUp 0.75s 0.55s both ease-out; }
.hero-stats    { animation: heroFadeUp 0.75s 0.7s  both ease-out; }
.hero-phone-side { animation: heroFadeRight 0.9s 0.4s both ease-out; }

/* Float continuo en el mockup */
@keyframes floatPhone {
  0%,100% { transform:translateY(0px); }
  50%      { transform:translateY(-10px); }
}
.phone-frame { animation: floatPhone 4.5s ease-in-out infinite; }

/* ===== SCROLL REVEAL ===== */
.anim {
  opacity:0;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.anim-up    { transform:translateY(44px); }
.anim-left  { transform:translateX(-48px); }
.anim-right { transform:translateX(48px); }

.anim.visible { opacity:1; transform:none; }

.anim-d1 { transition-delay:0.1s; }
.anim-d2 { transition-delay:0.22s; }
.anim-d3 { transition-delay:0.34s; }

/* ===== HOVER EFFECTS EN IMÁGENES ===== */
.bento-card { overflow:hidden; }
.bento-photo {
  transition: transform 0.5s ease;
}
.bento-card:hover .bento-photo { transform:scale(1.06); }

.usuario-card { overflow:hidden; }
.usuario-photo {
  transition: transform 0.5s ease;
}
.usuario-card:hover .usuario-photo { transform:scale(1.05); }

.problema-photo {
  transition: transform 0.6s ease;
}
.problema-photo-wrap:hover .problema-photo { transform:scale(1.04); }

/* Glow en stat grande al entrar */
.problema-stat-big.visible {
  text-shadow: 0 0 60px rgba(230,85,70,0.35);
}
