@font-face {
  font-family: 'Crystal Clarity';
  src: url('fonts/Crystal\ Clarity\.otf') format('truetype');
}
@font-face {
  font-family: 'Information Boards';
  src: url('fonts/Information\ Boards\.otf') format('truetype');
}
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Inter:wght@300;400;500&display=swap');
/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', sans-serif;
}

/* === AUDIO PLAYER (body-audio.html) === */
.body-audio {
  background-color: #1E4B26;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.card {
  background-image: url(img/box-audio2.png);
  background-size: cover;
  background-position: center;
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 400px;
}

.microfono {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-right: 20px;
}

.microfono img {
  height: 75px;
}

.card h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.card p {
  margin-bottom: 1.5rem;
}

button {
  background: #6BAC73;
  border: none;
  padding: 1rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background: #1E4B26;
}

.wave {
  display: none;
  margin-top: 20px;
  width: 100%;
  height: 20px;
  border-radius: 10px;
  background: linear-gradient(90deg, #00c9a7, transparent);
  background-size: 200% 100%;
  background-position: 200% center;
  animation: wave 2s linear infinite;
}

@keyframes wave {
  0% { background-position: 200% center; }
  100% { background-position: -200% center; }
}


/* === INDEX (Landing Page) === */
.body-index {
  background-color: #F9ECD9;
  color: #2c2c2c;
  font-family: 'Arial', sans-serif;
}

/* PROMO BANNER - Fijo arriba */
.promo-banner {
  background-color: #EBAF2B;
  color: #333;
  text-align: center;
  padding: 9px 0;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

/* HEADER - debajo del banner */
.main-header {
  background-color: #166D20;
  padding: 20px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100%;
  top: 32px; /* Altura del banner */
  z-index: 998;
}


.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo img {
  height: 60px;
}

/* NAVIGATION */
.nav-menu {
  display: flex;
  background-color: #F9ECD9;
  padding: 15px 0;
  margin-top: 150px; /* espacio para header fijo */
  justify-content: center;
  gap: 30px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 0 20px;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.nav-menu a:hover {
  color: #666;
}

/* Botón hamburguesa */
.menu-hamburguesa-toggle {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

/* Menú móvil oculto por defecto */
.nav-menu-mobile {
  display: none;
  flex-direction: column;
  background-color: #F9ECD9;
  padding: 15px 20px;
  gap: 15px;
  text-align: center;
}

.nav-menu-mobile a {
  text-decoration: none;
  color: #333;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.nav-menu-mobile a:hover {
  color: #666;
}

/* BIENVENIDA ANIMADA */
.landing-bg-slide {
  position: relative;
  width: 100%;
  height: 100px;
  top: 90px;
  background-color: #166D20;
  animation: bgSlideIn 1.5s forwards;
  z-index: 10;
}

.landing-text-intro {
  position: relative;
  top: 20px;
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #F9ECD9;
  opacity: 0;
  animation: textRise 1.2s 0.5s forwards;
  z-index: 20;
}
.landing-text-intro h1 {
  font-size: 40px;
  font-family: 'Crystal Clarity', sans-serif;
  font-size: 70px;
  letter-spacing: 10px;
}
/* SECTIONS */
.landing-main {
  padding-top: 90px;
}

.section {
  padding: 100px 20px;
  text-align: center;
}

.section-inicio { background: #fff; }
.section-servicios { background: #e8f8f5; }
.section-contacto { background: #ddeaf6; }

.section-title {
  font-size: 2rem;
  margin-bottom: 20px;
}

.section-text {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* HERO */
/* Nueva sección estilo tarjeta dividida */
.quienes-somos-section {
  padding: 60px 20px;
  background: #F9ECD9;
}

.quienes-somos-container {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #f5f5f5;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  flex-wrap: wrap;
}

.quienes-somos-texto {
  flex: 1;
  background-color: #1E4B26;
  color: #F9ECD9;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quienes-somos-texto .main-title {
  font-size: 80px;
  margin-bottom: 20px;
  text-align: center;
  font-family: "Crystal Clarity", sans-serif;
}

.quienes-somos-texto .subtitle {
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #e4e4e4;
}

.quienes-somos-texto .decorative-line {
  width: 60px;
  height: 2px;
  background-color: white;
  margin-bottom: 20px;
}

.quienes-somos-imagen {
  flex: 1;
  height: 500px;
}

.quienes-somos-imagen img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center;
  
}
/*Animaciones quienes somos*/
.quienes-somos-texto {
  animation: fadeUp 1s ease-out forwards;
  opacity: 0;
  animation-delay: 0.3s;
}

.quienes-somos-imagen {
  animation: fadeLeft 1.2s ease-out forwards;
  opacity: 0;
  animation-delay: 0.6s;
}

/* Responsive */

/*COMO FUNCIONA*/
/* === SECCIÓN ¿CÓMO FUNCIONA? === */
.como-funciona-section {
  background-color: #F9ECD9;
  padding: 80px 20px;
  
  
  
}
.container-rectangulo{
  background-color: #ff8d00;
  

}
.como-funciona-titulo {
  font-size: 80px;
  color: #1E4B26;
  padding-top: 35px;
  margin-bottom: 30px;
  font-weight: 700;
  text-align: center;
  font-family: "Crystal Clarity", sans-serif;
}

.pasos-funciona {
  display: flex;
  gap: 40px;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin: auto;
}

.edit {
  padding-bottom: 40px;
  font-size: 30px;
  color: #F9ECD9;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  
  
}
.paso-funciona {
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  width: 100%;
  height: auto;
 
}

.paso-funciona h3 {
  font-size: 40px;
  margin-bottom: 10px;
  color: #166D20;
  text-align: center;
  font-family: "Information Boards", sans-serif;
  
}

.paso-funciona p {
  font-size: 1rem;
  color: #fff;
  text-align: center;
 
}

.link-formatos {
  color: #EBAF2B;
  font-weight: bold;
  text-decoration: none;
}

.link-formatos:hover {
  text-decoration: underline;
}



.cta-button {
  display: inline-block;
  padding: 15px 35px;
  border: 2px solid #2c2c2c;
  background: transparent;
  color: #2c2c2c;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.cta-button:hover {
  background: #2c2c2c;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 44, 44, 0.2);
}


/*SECTION FORMATO*/
.formato-title{
  text-align: center;
  font-family: "Crystal Clarity", sans-serif;
  font-size: 80px;
  color: #F9ECD9;
  position: relative;
  width: 100%;
  height: auto;
  background-color: #166D20;
  animation: bgSlideIn 1.5s forwards;
  z-index: 10;
}
.formato-animation{
  position: relative;
  opacity: 0;
  animation: textRise 1.2s 0.5s forwards;
  z-index: 20;
}

.secitom-formato {
            font-family: 'Arial', sans-serif;
            background: linear-gradient(135deg, #ff7b7b, #ff9a56);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 2rem;
}
.cards-container {
            background: white;
            border-radius: 20px;
            padding: 3rem 2rem;
            box-shadow: 0 20px 40px rgba(0,0,0,0.1);
            max-width: 1200px;
            width: 100%;
            margin: auto;
           
        }

        .cards-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 2rem;
            align-items: start;
        }

        .card {
            text-align: center;
            margin: auto;
            padding: 1.5rem;
            border-radius: 15px;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            cursor: pointer;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
          
        }

        .face-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 1.5rem;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5rem;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .face-icon::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            border-radius: 50%;
            opacity: 0.1;
            transition: opacity 0.3s ease;
        }

        .card:hover .face-icon::before {
            opacity: 0.2;
        }

        /* Caritas específicas para cada sección */
        .learn-card .face-icon {
           background-color: #166D20;
            animation: bounce 2s infinite;
        }

        .learn-card .face-icon::after {
            content: '🗝️';
            font-size: 2.5rem;
        }

        .learn-card:hover .face-icon::after {
            content: '🔑';
            animation: spin 0.5s ease;
        }

        .cook-card .face-icon {
           background-color: #166D20;
            animation: wiggle 2s infinite;
        }

        .cook-card .face-icon::after {
            content: '📷';
            font-size: 2.5rem;
        }

        .cook-card:hover .face-icon::after {
            content: '📷';
            animation: pulse 0.5s ease;
        }

        .eat-card .face-icon {
            background: linear-gradient(135deg, #b19cd9, #8e7cc3);
            animation: shake 2s infinite;
        }

        .eat-card .face-icon::after {
            content: '😍';
            font-size: 2.5rem;
        }

        .eat-card:hover .face-icon::after {
            content: '🤤';
            animation: zoom 0.5s ease;
        }

        .shop-card .face-icon {
            background: linear-gradient(135deg, #a8e6cf, #88d8c0);
            animation: float 2s infinite;
        }

        .shop-card .face-icon::after {
            content: '🛒';
            font-size: 2.5rem;
            
        }

        .shop-card:hover .face-icon::after {
            content: '🤑';
            animation: rotate 0.5s ease;
        }

        .card-title {
            font-size: 1.4rem;
            font-weight: bold;
            margin-bottom: 1rem;
            color: #333;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .card-description {
            color: #fff;
            line-height: 1.6;
            margin-bottom: 2rem;
            font-size: 0.95rem;
        }

       
        


/* === LOGIN === */
.ingreso-body {
  background-color: #1E4B26;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.ingreso-card {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: blur(10px);
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  max-width: 400px;
  width: 90%;
  animation: slideFade 0.6s ease-in-out;
}

.lock-edit {
  color: #F9ECD9;
}
.ingreso-titulo {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #EBAF2B;
}

.ingreso-input {
  padding: 0.9rem;
  font-size: 1rem;
  width: 100%;
  border-radius: 10px;
  border: none;
  margin-bottom: 1rem;
  outline: none;
}

.ingreso-boton {
  background: #6BAC73;
  border: none;
  padding: 0.9rem 1.5rem;
  color: white;
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s;
}

.ingreso-boton:hover {
  background: #1E4B26;
}

.ingreso-error {
  display: none;
  margin-top: 1rem;
  color: #ff6b6b;
  font-weight: bold;
}


/*----------FOOTER-----------*/
.footer {
  background-color: #166D20;
  color: #F9ECD9;
  padding: 2rem 1rem;
  font-family: 'Arial', sans-serif;
  margin-top: 120px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: auto;
}

.footer-section {
  flex: 1 1 300px;
}
.footer-section a {
  text-decoration: none;
  display: flex;
  color: #F9ECD9;
  padding: 10px;
}
.footer-section p {
  padding: 10px;
}
.footer-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #EBAF2B;
  cursor: pointer;
}
.faq-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
}

.faq-list.open {
  display: block;
}

.faq-question {
  background-color: #6BAC73;
  color: #166D20;
  border: none;
  padding: 0.5rem 1rem;
  margin-bottom: 0.3rem;
  cursor: pointer;
  width: 100%;
  text-align: left;
  font-weight: bold;
}

.faq-answer {
  display: none;
  margin: 0.3rem 1rem 1rem 1rem;
  color: #F9ECD9;
}

.faq-question.active + .faq-answer {
  display: block;
}

.footer-rights {
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid #F9ECD9;
  padding-top: 1rem;
  font-size: 0.9rem;
}

.footer i {
  margin-right: 0.5rem;
  font-size: 19px;
}

/* === ANIMACIONES === */
@keyframes slideFade {
  from { opacity: 0; transform: translateY(-15px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bgSlideIn {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes textRise {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*Animacion de Quienes Somos*/
/* Animaciones */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Animaciones para las caritas */
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        @keyframes wiggle {
            0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
            40% { transform: translateY(-10px); }
            60% { transform: translateY(-5px); }
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            25% { transform: translateX(-5px); }
            75% { transform: translateX(5px); }
        }

        @keyframes float {
            0%, 100% { transform: translateY(0px); }
            50% { transform: translateY(-8px); }
        }

        @keyframes spin {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.2); }
        }

        @keyframes zoom {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.3); }
        }

        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }


/* === UTILS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in.delay-1 { animation-delay: 0.2s; }
.fade-in.delay-2 { animation-delay: 0.4s; }
.fade-in.delay-3 { animation-delay: 0.6s; }

.decorative-line {
  width: 60px;
  height: 2px;
  background: #2c2c2c;
  margin: 20px auto;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  .main-title { font-size: 2.4rem; }
  .image-container img { height: 300px; }
}
@media (max-width: 900px) {
  .quienes-somos-container {
    flex-direction: column;
  }

  .quienes-somos-imagen {
    height: 250px;
  }

  .quienes-somos-texto {
    padding: 30px 20px;
  }
}
@media (max-width: 832px){
  .landing-text-intro h1{
    font-size: 40px;
  }
}
@media (min-width: 801px){
  .landing-bg-slide{
    top: 20px;
  }
  .landing-text-intro{
    top: -55px;
  }
  .header-container{
    justify-content: center;
  }
}
@media (max-width: 800px) {
  .nav-menu {
    display: none;
  }

  .menu-hamburguesa-toggle {
    display: block;

  }

  .nav-menu-mobile.show {
    display: flex;
  }
 .main-header {
  padding: 5px;
 }
 .landing-bg-slide{
  margin-top: 30px;
 }
 .quienes-somos-container{
  margin-top: 10px;
 }
 .main-header{
  top: 30px;
 }
 
 .pasos-funciona{
  flex-direction: column;
 }
}

@media (max-width: 768px) {
  .hero-section {
    padding: 20px 15px;
  }

  .nav-container {
    flex-wrap: wrap;
    gap: 20px;
  }

  .main-title { font-size: 2rem; }
  .subtitle { font-size: 1rem; }
  .image-container img { height: 250px; }
  .cta-button {
    padding: 12px 25px;
    font-size: 0.8rem;
  }

  .cards-container {
                padding: 2rem 1rem;
            }
            
            .cards-grid {
                grid-template-columns: 1fr;
                gap: 1.5rem;
            }
            
            .face-icon {
                width: 70px;
                height: 70px;
                font-size: 2rem;
            }
            * Efectos de partículas */
            .particle {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(255,255,255,0.8);
            border-radius: 50%;
            pointer-events: none;
            animation: particle-float 2s ease-out forwards;
        }

         @keyframes particle-float {
            0% {
                opacity: 1;
                transform: translateY(0) scale(1);
            }
            100% {
                opacity: 0;
                transform: translateY(-50px) scale(0);
            }
        }
        /* Responsive: en pantallas más grandes se muestra en fila */

        .pasos-funciona {
            flex-direction: column;
            ustify-content: space-evenly;
  }

        .paso-funciona {
           flex: 1;
   }
   .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .faq-question {
    font-size: 1rem;
  }

  .footer-section p {
    margin: 0.5rem 0;
  }
}
@media (max-width: 686px){
  .landing-text-intro h1 {
    font-size: 30px;
  }
}
@media (max-width: 511px){
  .landing-text-intro h1 {
    font-size: 25px;
  }
  .quienes-somos-container{
    margin-top: 20px;
  }
  .main-title, .como-funciona-titulo, .formato-title{
    font-size: 40px !important;
  }
  
}
@media (max-width: 480px) {
  .main-title { font-size: 1.8rem; }
  .promo-banner {
    font-size: 11px;

  }

  .nav-container {
    flex-direction: column;
    gap: 15px;
  }

  .content-center {
    padding: 20px 10px;
  }
  .landing-text-intro h1{
    font-size: 25px;
  }
  .ingreso-titulo{
    font-size: 25px;
  }
}
