:root {
  --forest: #2D4A2D;
  --moss: #4A7C59;
  --sage: #8DB48E;
  --mist: #E8F0E8;
  --warm: #F5F0E8;
  --gold: #C8A96E;
  --charcoal: #1A2419;
}

/* Transición suave para el cambio de color del header */
#main-header { transition: all 0.4s ease-in-out; }

body { font-family: 'Inter', sans-serif; color: var(--charcoal); background: #fff; }
h1, h2, h3 { font-family: 'Playfair Display', serif; }

/* NAV */
#navbar { transition: all 0.4s ease; }
#navbar.scrolled { background: #2d4a2d !important; box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-link { position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -3px; left: 0; width: 0; height: 2px; background: var(--moss); transition: width 0.3s ease; }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* HERO */
.hero-bg {
  background: linear-gradient(135deg, #1a2e1a 0%, #2d4a2d 40%, #3d5e3d 70%, #4a7c59 100%);
  position: relative; overflow: hidden;
}
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background: url('../images/lugar-hogar-don-bosco.webp') center/cover no-repeat;
  opacity: 0.25; mix-blend-mode: luminosity;
}
.hero-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }

/* CARDS */
.feature-card { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(45,74,45,0.12); }

/* BADGE */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.badge-green { background: #e8f5e9; color: var(--moss); border: 1px solid #c8e6c9; }
.badge-gold { background: #fdf6e9; color: #9a7740; border: 1px solid #f0ddb0; }

/* CTA BUTTON */
.btn-primary { background: var(--gold); color: var(--forest); font-weight: 600; padding: 12px 28px; border-radius: 999px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn-primary:hover { background: #b8963e; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,169,110,0.4); }
.btn-dark { background: var(--forest); color: #fff; font-weight: 600; padding: 12px 28px; border-radius: 999px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn-dark:hover { background: var(--moss); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(45,74,45,0.3); }
.btn-outline { border: 2px solid var(--forest); color: var(--forest); font-weight: 600; padding: 10px 26px; border-radius: 999px; transition: all 0.3s ease; display: inline-flex; align-items: center; gap: 8px; }
.btn-outline:hover { background: var(--forest); color: #fff; transform: translateY(-2px); }

/* SECTION DIVIDER */
.section-eyebrow { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--moss); margin-bottom: 12px; }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(to bottom, rgba(26,36,25,0.72), rgba(45,74,45,0.55)),
    url('https://images.unsplash.com/photo-1568495248636-6432b97bd949?w=1600&q=80') center/cover no-repeat;
  min-height: 340px; display: flex; align-items: center; justify-content: center; text-align: center;
}

/* TEAM ICONS */
.team-card { background: var(--warm); border-radius: 20px; padding: 28px 24px; text-align: center; transition: transform 0.3s; }
.team-card:hover { transform: translateY(-4px); }
.icon-circle { width: 52px; height: 52px; border-radius: 50%; background: var(--mist); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 16px; }

/* ROOMS */
.room-card { border-radius: 20px; overflow: hidden; position: relative; }
.room-card img { transition: transform 0.5s ease; }
.room-card:hover img { transform: scale(1.04); }

/* FORM */
.form-input {
  width: 100%; padding: 12px 16px; border: 1.5px solid #d1d5db; border-radius: 10px;
  font-family: 'Inter', sans-serif; font-size: 0.9rem; transition: border-color 0.2s, box-shadow 0.2s;
  background: #fff; color: var(--charcoal);
}
.form-input:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(74,124,89,0.12); }

/* ADMISSION STEPS */
.step-card { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 16px; padding: 24px 20px; text-align: center; transition: all 0.3s; }
.step-card:hover { border-color: var(--sage); box-shadow: 0 8px 24px rgba(45,74,45,0.1); }

/* STATS */
.stat-num { font-family: 'Playfair Display', serif; font-size: 3rem; font-weight: 700; color: var(--forest); }

/* TESTIMONIAL */
.testimonial-card { background: var(--warm); border-radius: 20px; padding: 32px; border-left: 4px solid var(--gold); }

/* FOOTER */
footer a:hover { color: var(--sage); }

/* MOBILE MENU */
#mobile-menu { transition: all 0.3s ease; max-height: 0; overflow: hidden; }
#mobile-menu.open { max-height: 400px; }

/* SCROLL ANIMATIONS */
[data-aos] { opacity: 0; }
[data-aos].aos-animate { opacity: 1; }

/* CHECKLIST */
.req-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid #f0f0f0; align-items: flex-start; }
.req-item:last-child { border-bottom: none; }
