
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgb(255, 255, 255, .7);
  border-bottom: 1px solid #eee;
  position: sticky; 
  z-index: 2;
  top: 0;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    background: #f2eee3;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* barra navegacion */

.nav {
    background: none;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav a.active {
    color: #d23838; 
    font-weight: bold; 
    border-bottom: 2px solid #d23838; 
}

.logo img {
    height: 50px;    
    width: auto;
    object-fit: contain;
    display: block;
}

.logo:hover { 
  transition: 0.3s;
 transform: scale(1.05);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: 0.3s;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
}
.nav a:hover {
    color: #ff4b4b;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: absolute;       
    top: 100%;               
    left: 0;
    right: 0;                
    width: 100%;
    background: rgba(255, 255, 255, 0.95); 
    flex-direction: column;
    align-items: center;     
    padding: 20px 0;
    display: none;           
    border-bottom: 2px solid #ef6d23; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15); 
    z-index: 999;            
  }
  .nav.active {
    display: flex !important;
  }

  .nav a {
    width: 100%;
    text-align: center;
    padding: 12px 0;
    font-size: 1.1rem;
  }

  .nav a.active {
    color: #d23838; 
    font-weight: bold; 
    border-bottom: none; 
    background-color: rgba(210, 56, 56, 0.1); 
  }
}


/* HERO */

.hero-img {
  width: 100%;
  height: auto;
  
}

.hero-logo {
  width: 80%;
  height: auto;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;}
 
.hero-logo:hover {
 transition: 0.3s;
 transform: scale(1.05);}

.hero {
    background: #f2eee3;
    text-align: center;
    padding-top: 120px; padding-bottom: 30px;}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    margin-left: 5%;
    margin-right: 5%;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;}

.btn {
    display: inline-block;
    background: #ef6d23;
    color: white;
    padding: 12px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    max-width: fit-content;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;}

.btn:hover {
    background: #dee44d;
    transform: scale(1.08);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: 0.3s;
  }
    


/* SOBRE LA MARCA */

.about {
  padding-top: 40px;
  text-align: center;
}

.about h1 {
  font-size: 3.2rem;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
  
}

.about-content {
  border-radius: 10px;
  padding: 5%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.4s;
}

.about-text {

  max-width: 600px;
  font-size: 1.1rem;
  text-align: center;
  background-color: #b0dbc2;
  padding: 3%;
  border-radius: 10px;
}

.about-image img {
  display: block;
  width: 250px;
  height: auto;
}
.about-cta { padding: 5%;
  align-content: center;
  }

.about-cta img {
  margin: auto;
  width: 80vw;}

.about-cta h2 {text-align: center;}

.shape-divider-about {
  position: relative;
  bottom: -10px;   
  width: 100%;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/* RESPONSIVE */

@media (max-width: 425px) {
  .about-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .about-text {
    text-align: center;
    font-size: 1rem;
    
  }
}


/* intro */

.intro {
  padding: 0px 60px;
}

.intro-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  gap: 80px;
}

.intro-image img {
  width: 320px;
  height: auto;
}

.intro-text h1 {
  color:#ef6d23;
  margin-bottom: 20px;
  line-height: 1;

}

.intro-text p {
  max-width: 400px;
  font-size: 1.2rem;
  line-height: 1.6;
}

@media (max-width: 425px) {
  .intro{
    padding: 5%;
  }
  .intro-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .intro-text h1 {
    font-size: 1.5em;
  }
  .intro-image img {
    width: 240px;
  }

  .intro-text p {
    margin: auto;
  }
}

/* SECCION FORMULA PERFECTA */

.formula {
  background: #e89ac2;
  border-radius: 40px;
  padding: 80px 40px;
  margin: 5%;
  text-align: center;
}
.formula-sobre {
  background: #f496c3;
  text-align: center;
  padding-bottom: 5%;
  padding-top: 5%;
  border-bottom-style: dashed;
  border-top-style:dashed;
  border-width: 20px;
  border-color:#f2eee3;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.formula-title {
  font-size: 2.2rem;
  color: #fff;
  margin-bottom: 60px;
  font-weight: bold;
}

.formula-cards {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.circle {
  width: 200px;
  height: 200px;
  margin: 10px;
  background: #f6f1e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.circle img {
  width: 80%;
  height: auto;
}

.formula-card p {
  margin-top: 20px;
  font-weight: bold;
  color: #000;
}

.formula-card:hover .circle {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(255, 253, 200, 0.898);
}

@media (max-width: 768px) {
  .formula-cards {
    gap: 40px;
  }

  .circle {
    width: 160px;
    height: 160px;
  }

   .formula-title {
    font-size: 1.5em;
  }
}


/* COLECCIÓN */

.collection {
  margin-top: 30px;
  text-align: center;
  opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}
.collection-text h1 {
  color:#ef6d23;
  margin-bottom: 20px;
}
.collection-text p {
  padding: 5%;
}

.container-col {
    width: 90%;
    max-width: 1100px;
    margin: auto;
    justify-content: center;
    display: flex;
    gap: 40px;
    
}

.card {
  border-radius: 10px;
  background-color:#a9b4ff;
  
}
.card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  transition: 0.3s;
}

.card img {
    width: 100%;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px ;
}

.card h3 {
    font-size: 2vw;
    margin: auto;
    color: #333;
}

/* FAQ */

.faq {
  justify-content: center;
  display: flex;
  background:#a9b4ff;
  border-radius: 40px;
  padding: 80px 40px;
  margin: 5%;
  text-align: center;
}
.faq details {
    background: #fff;
    margin: 10px auto;
    padding: 15px;
    max-width: 700px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-align: center;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
}

.faq-image img {
  width: 250px;
  height: auto;
}
@media (max-width:425px){
  .faq {display: block; padding: 5%;}
}

/* GALERÍA */
.gallery {
  background-color: #f5f1e6;
  padding: 80px 20px;
  text-align: center;
}

.gallery h2 {
  margin-bottom: 30px;
}


.gallery-grid {
  position: relative;   
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  padding: 5%;
  gap: 30px;
}

.gallery-grid img {
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease;
  text-align: center;
  width: 100%;
  height: auto;
  display: block;
}

.gallery-grid img:hover {

  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(239, 162, 79, 0.738);
}

.gallery-grid p{
  text-align: center;
}

.gallery-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.gallery-item p {
  font-size: 0.9rem;
  color: #555;
}

.gallery-grid-overlay {
  position: absolute;
  inset: 0;             
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  color: white;
}



/*video*/

.video-hero {
  position: relative;
  height: 65vh;
  overflow: hidden;
  z-index: 1; 
}

.video-hero video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 375px) {
  .video-hero {
    height: 30vh;
  }
}


.shape-divider {
  position: absolute;
  bottom: -4px;   
  width: 100%;
  height: auto;
  z-index: 3;
  pointer-events: none;
}

/*MAPA*/

.map-section {
  margin: auto;
  padding: 40px;
}

.map-container {
  position: relative;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
@media (max-width: 768px) {
  .map-container {
    height: 300px;
  }
}

/*DIVIDER EN LOOP*/

.divider-loop { 
  width: 100%;
  overflow: hidden;
}

.divider-track {
  display: flex;
  width: calc(1600px * 2);
  animation: moveDivider 15s linear infinite;
}

.divider-track img {
  width: 1600px;
  height: 80%;
  flex-shrink: 0;
}

@keyframes moveDivider {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-1600px);
  }
}

@media (max-width: 768px) {
  .divider-alto {
    height: 260px;
  }
}

/*SECCIÓN SUSCRIBIRSE*/

.newsletter {
  background: #f5f1e6;
  padding: 40px;
  text-align: center;
   opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;

}

.newsletter-box {
  background: #b0dbc2;
  border-radius: 40px;
  padding: 70px;
  display: grid;
  grid-template-columns: 1fr 1fr; 
  align-items: center;

  overflow: hidden;
}

/* FORMULARIO */
.formulario {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
  text-align: left;
}

.formulario input {
  padding: 8px;
  border-radius: 6px;
  border: none;
}

/* IMAGEN */
.estrella {
  display: flex;
  justify-content: center;
  align-items: center;
}

.estrella img {
  max-width: 80%;
  height: auto;
  object-fit: contain;
}

@media (max-width: 425px) {
  .newsletter-box {
    display: block;
  }

  .formulario {
    margin: 5%;
    text-align: center;
  }
  .map-section {
    text-align: left;
  }
}

/* contacto */

.contacto {
  display: flex;
  gap: 20px;
  background:#e89ac2;
  padding: 40px;
  opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;
}

.contacto-box {
  flex: 1;
  background: #eaabcb;
  border-radius: 14px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.contacto-box h3 {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 1px;
  color: #333;
}

.contacto-box p {
  margin: 0;
  font-size: 16px;
  color: #333;
}

.contacto-box:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);  
}

.contacto-box h3:hover {
  margin: 0 0 10px;
  font-size: 22px;
  letter-spacing: 1px;
  color: #d23838;
}

.contacto-box p:hover {
  margin: 0;
  font-size: 16px;
  color: #d23838;
}

@media (max-width: 768px) {
  .contacto {
    flex-direction: column;
    padding: 5%;
  }
  .contacto-box p {font-size: 70%;}
  .newsletter,.newsletter-box, .map-section {padding: 5%;} 
}

.about-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}


/* ENVIAR */

.enviar {
  padding: 5%;
  margin: auto;
  text-align: center;
  justify-content: center;
  opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s ease forwards;
    animation-delay: 0.6s;

}

.enviar img{
  max-width: 40%;
}

/* BOTON IR ARRIBA */
.arriba-container {
  display: flex;
  justify-content: center;
  padding: 5%;
}
.arriba {
    background: #464646;
    padding: 12px 25px;
    border-radius: 15px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    cursor: pointer;
    margin-top: 20px;
    max-width: fit-content; }

.arriba:hover {
background:#dee44d;
transform: scale(1.05);
}

.enlace-soft-scrolling {
  text-decoration: none;
  color: #f2eee3;
}

/* FOOTER */

.footer {
    background: #333;
    color: #fff;
    padding: 25px 0;
    text-align: center;
}



@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* --- BANNER HEADER PARA LA PÁGINA NOSOTROS --- */
.nosotros-hero {
    width: 100%;
    height: 300px; 
    background-image: url('imagenes/nosotros-header.jpg'); 
    background-size: cover;       
    background-position: center; 
    position: relative;
}

.nosotros-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.nosotros-hero-overlay h1 {
    color: #ffffff; 
    font-size: 2.5rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); 
}

.nosotros-hero-overlay p {
    color: #f2eee3; 
    font-size: 1.2rem;
    max-width: 600px;
}

@media (max-width: 768px) {
    .nosotros-hero {
        height: 200px;
    }
    .nosotros-hero-overlay h1 {
        font-size: 1.8rem;
    }
    .nosotros-hero-overlay p {
        font-size: 1rem;
    }
}