:root {
  --sage: #7A9E8E;
  --sage-dark: #5F7F72;
  --sage-soft: #EAF1EE;
  --gold: #FFC107;
}

html, body {
  overflow-x: hidden;
  font-family: 'Poppins', sans-serif;
  background-color: #F6F9F8;
  margin: 0; padding: 0;
}

/* --- TIPOGRAFÍA --- */
.display-3 {
  font-size: clamp(1.5rem, 5vw, 2.8rem); 
  font-weight: 500;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: clamp(1.0rem, 2vw, 1.25rem);
  max-width: 750px;
  margin: 0 auto;
  opacity: 0.9;
}

h2, h3 { color: var(--sage-dark); font-weight: 600; }

/* --- HERO --- */
.hero {
  position: relative;
  background: url('fotos/landing.png') center/cover no-repeat;
  color: #ffffff;
  padding: 110px 0 60px; 
  min-height: 60vh; 
  display: flex; align-items: center;
}

.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.hero-content { position: relative; z-index: 2; }

/* LOGO */
.hero-logo {
  position: absolute; top: 25px; left: 40px; z-index: 10;
  display: flex; align-items: center; gap: 20px;
}

.logo-svg { height: clamp(70px, 8vw, 100px); width: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)); }

.logo-text {
  display: flex; flex-direction: column; justify-content: center;
  border-left: 2px solid rgba(255,255,255,0.4); padding-left: 20px; color: #ffffff;
}

.logo-text .brand-name { font-size: clamp(1.2rem, 3vw, 1.8rem); font-weight: 700; text-transform: uppercase; line-height: 1; }
.logo-text .brand-sub { font-size: clamp(0.8rem, 2vw, 1.2rem); font-weight: 300; letter-spacing: 4px; text-transform: uppercase; margin-top: 5px; }

/* BOTONES */
.btn-hero {
  background-color: var(--sage-dark); color: #ffffff;
  padding: 14px 35px; border-radius: 35px; text-decoration: none;
  display: inline-block; font-weight: 600; margin-top: 1.5rem; transition: 0.3s;
}
.btn-hero:hover { background-color: #4c6a5e; transform: translateY(-3px); color: #ffffff; }
.btn-custom { background-color: var(--sage); color: #ffffff; border-radius: 30px; padding: 12px 28px; border: none; transition: 0.3s; }

/* SECCIONES */
.section-padding { padding: 70px 0; }
.section-gray { background-color: var(--sage-soft); }
.experience-divider { width: 70px; height: 2px; background-color: var(--sage); margin: 0 auto; opacity: 0.8; }
.image-wrapper { width: 100%; overflow: hidden; border-radius: 20px; box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.image-wrapper img { width: 100%; height: auto; object-fit: cover; display: block; }

/* --- PROCESO (CON EFECTO PARALLAX) --- */
.process-bg {
  background: linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)), url("fotos/ninos.png") center/cover no-repeat fixed;
  color: #ffffff;
}

.process-wrapper {
  display: flex; justify-content: center; align-items: flex-start;
  gap: 40px; flex-wrap: nowrap; margin-top: 3rem;
}

.process-step { text-align: center; flex: 0 1 150px; }

/* PESO 400 PARA ESCRITORIO CON ALTA PRIORIDAD */
.process-step p {
  font-weight: 400 !important;
  margin-top: 5px;
}

.process-circle {
  width: 85px; height: 85px; background-color: var(--sage); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 1.8rem; margin: 0 auto 15px;
  border: 3px solid rgba(255,255,255,0.2);
}

.process-arrow {
  display: flex; align-items: center; height: 85px;
  font-size: 2rem; color: rgba(255,255,255,0.6);
}

.process-arrow i { animation: arrow-flow-h 2s infinite ease-in-out; }
@keyframes arrow-flow-h { 0%, 100% { transform: translateX(0); opacity: 0.4; } 50% { transform: translateX(10px); opacity: 1; } }

/* TESTIMONIOS */
.testimonial-card { background-color: #ffffff; padding: 35px; border-radius: 25px; box-shadow: 0 12px 35px rgba(0,0,0,0.06); height: 100%; }
.stars { color: var(--gold); margin-bottom: 12px; display: block; font-size: 1.3rem; }

/* BOTONES SOCIALES */
.social-float {
  position: fixed; bottom: 25px; right: 25px;
  display: flex; flex-direction: column; gap: 15px; z-index: 9999;
}
.whatsapp-float, .instagram-float {
  width: 60px; height: 60px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; color: #ffffff; text-decoration: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.2); transition: 0.3s;
}
.whatsapp-float { background-color: #25D366; }
.instagram-float { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.whatsapp-float:hover, .instagram-float:hover { transform: scale(1.1); color: #ffffff; }

footer { background-color: #333333; color: #ffffff; padding: 40px 0; }
.footer-text { font-size: 0.9rem; opacity: 0.8; }

/* ==========================================================================
   --- RESPONSIVE (CELULAR) ---
   ========================================================================== */
@media (max-width: 768px) {
  .display-3 { font-size: 1.5rem !important; }
  .hero-description { font-size: 1.0rem !important; padding: 0 15px; }
  .section-padding p.text-muted.fs-5 { font-size: 1.0rem !important; }
  .list-unstyled.lead li { font-size: 1.0rem !important; }
  
  /* PESO LIGERO PARA MÓVIL */
  .process-step p { font-size: 0.85rem !important; font-weight: 300 !important; }

  /* FOOTER MÁS PEQUEÑO */
  .footer-text { font-size: 0.7rem !important; opacity: 0.7; }

  /* LOGO VERTICAL CENTRADO */
  .hero-logo {
    left: 50%; transform: translateX(-50%); top: 15px;
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; width: 100%; gap: 10px;
  }
  .logo-text { border-left: none; padding-left: 0; align-items: center; }
  .hero { padding: 160px 0 40px; }

  /* PROCESO VERTICAL EN MÓVIL (SIN PARALLAX) */
  .process-bg { background-attachment: scroll; }
  .process-wrapper { flex-direction: column; align-items: center; gap: 10px; }
  .process-arrow { height: auto; transform: rotate(90deg); margin: 10px 0 20px; }

  /* SOCIAL */
  .social-float { bottom: 20px; right: 20px; gap: 10px; }
  .whatsapp-float, .instagram-float { width: 45px; height: 45px; font-size: 22px; }
}