/* Compensa la navbar fija */
:root {
  --color-rosaSuave: #F9E4E4;
  --color-rosaDark: #BA6D80;
  --color-rosaDark1:#CC9595;
  --color-fondo: #F5F5E8;
  --color-verdeSuave: #E9FFEA;
  --color-verdeDark: #0A3720;
  --color-verdeSlightDark: #334E40;
  --color-rosaModalfondo:#F9E4E4;
  --color-rosaplaceholder: #F1D0D0;
  --color-rosatextplace:#966A6A;
  
}



p{
  font-family:'Quicksand';
font-size:17px;

}
.about-description {
  line-height: 1;
}
h1,h2,h3{
  font-family:'Playfair Display';
  font-weight: 300;
}
h1{
  font-size: 55;
}
h2{
  font-size: 48;
}

body {
  margin: -1px;
  font-family:'Quicksand';
  padding-top: 80px;
  scroll-behavior: smooth;
}

form input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
}

form button {
  width: 100%;
}
/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 3000;
  padding: 15px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  align-items: center;
  background:var(--color-rosaSuave) ;
  /*background: linear-gradient(to bottom, var(--color-rosaDark), transparent); */
}


.nav-links a.active {
  color: var(--color-rosaDark);        /* verde de tu marca */
  font-weight: 600;
  border-bottom: 2px solid var(--color-rosaDark);
  padding-bottom: 4px;
}

.nav-container{
  position: relative;
  display: flex;
  font-family: "Quicksand";
  justify-content: center;
  align-items: center;
}

.nav-logo{
  position:absolute;
  left:15px;
}

.nav-logo img {
  mix-blend-mode: multiply;
  display: flex;
  max-width: 140px;
}

.nav-links{
  list-style:none;
  display:flex;
  gap:40px;
  font-size:15px;
  font-family: 'Quicksand';
}

.nav-links a {
  text-decoration: none;
  font-family: 'Quicksand';
  color: var(--color-verdeDark);
  font-weight: 500;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* Navbar cuando se hace scroll */
.navbar.scrolled {
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.navbar.scrolled .nav-links a {
  color: #333;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
}

.logo img {
  mix-blend-mode: multiply;
  height: 180px;
  width: 550px;
  margin-bottom: 20px;
}

.hero {
  height: 90vh;
  margin: 0;
display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
}
.hero-home{
    background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 50%,
      rgba(245,245,232,0) 80%,
      var(--color-fondo) 100%
    ),url('./images/fondo1.jpg') center/cover no-repeat;
}

.hero-tienda{
    background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 50%,
      rgba(245,245,232,0) 80%,
      var(--color-fondo) 100%
    ),url('./images/foto-tienda.jpg') center/cover no-repeat;
}
.overlay {
  background: rgba(0,0,0,0.4);
  padding: 40px;
}

.btn {
  background: #7FB77E;
  color: white;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-top: 20px;
  text-decoration: none;
}

.about-section{
  background: var(--color-fondo);
  padding: 80px  3% 3%;
}

.about-container {
  display: flex;
  align-items: center;
  max-width:1200px;
  padding: 70px;
  margin:auto;
  gap: 100px;
}

.about-text{
  max-width:650px;
  color:var(--color-verdeSlightDark);
}

.about-text h2{
  font-size:48px;
  margin: 10px 0;
  color:var(--color-verdeDark);
}

.about-sub{
  letter-spacing:2.5px;
  font-size:20px;
  margin: 0 0 35px   0 ;
  font-family: 'Playfair Display';
}

.about-description{
  color:var(--color-verdeDark);
  margin-top:25px;
  line-height:1.6;
  font-weight: 400;
  max-width:600px;
  font-size:24px;

}

.about-link{
  font-family: 'Quicksand';
  text-decoration: none;
  font-size: 22px;
  margin-top:25px;
  color:var(--color-rosaDark1);
  font-weight:500;
}

.about-link:hover{
  color:var(--color-rosaDark);
}



.about-image img{
  align-items: flex-end;

  width:500px;
  height: 640;
  display: block;
  object-fit:cover;

}





.intro-section{
  background:var(--color-verdeSlightDark);
  color:white;
  min-height:400px;
  position:relative;
  display:grid;
  
  align-items:center;
  gap:80px;
}

.intro-wrapper{
  width:100%;
  max-width:1500px;
  margin:0  auto  ;
  padding-left: 240px;

  display:grid;
  grid-template-columns: 1.1fr 0.8fr;
  grid-template-rows: auto auto;

  align-items:center;
  gap:80px;
}

.intro-content{
  position: relative;
    grid-column:1;
  grid-row:1;
  max-width:800px;
}

.intro-content h2{
  font-family:'Playfair Display', serif;
  font-size:44px;
  line-height:1.2;
}


.intro-content-right{
  position: relative;
  grid-column:2;
  grid-row:2;
  justify-self:end;   /* lo pega a la derecha */
  align-self:end; 
  max-width:600px;
}

.intro-content-right h1{
  font-family:'Playfair Display', serif;
  font-size:40px;
  text-align: right;
  line-height:1.2;
}


.circle-image{
  position:absolute;
  left: -19%;
  border-radius: 50%;
  width:670px;
  height:670px;
    overflow:hidden;
  z-index: 300;

}

.circle-image img{
  height:100%;
  width:auto;
    z-index: 300;
 object-fit:cover;
}


.benefits {
  background: #f8f8f8;
  padding: 60px 20px;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 20px;
  margin-top: 30px;
}

.product {
  text-align: center;
  padding: 60px 20px;
}

.price {
  font-size: 28px;
  margin: 20px 0;
}


.parallasdfsx{
  height:100px;
  background:url('./images/pexels-marcus-aurelius-9788610\ 3.png') center/cover no-repeat;
  background-attachment:fixed;
}

.parallax {
  position: relative;
  height: 200px;
  overflow: hidden;
  z-index: 2;
}

.parallax-bg {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 250%;
    z-index: 2;

  background: url('./images/pexels-marcus-aurelius-9788610 3.png') center/cover no-repeat;

  will-change: transform;
}



.recetarios{
  background:var(--color-fondo);
  padding:120px 20px;
  text-align:center;
}


.recetarios-header h2{
  font-family:'Playfair Display', serif;
  font-size:48px;
  color:#1f3f2c;
  margin-bottom:15px;
}

.recetarios-header p{
  font-family:'Quicksand', sans-serif;
  font-size:24px;
  color:#355f4b;
  margin-bottom:70px;
}

.recetarios-grid{
  display:flex;
  justify-content:center;
  gap:60px;
  flex-wrap:wrap;
}

/* CARD */

.receta-card{
  width:420px;
  max-height: 550px;
  text-decoration: none;
  overflow:hidden;
  transition: transform .35s ease, box-shadow .35s ease;
  }


  .receta-card.verde{

  border-radius: 0 210px 0 0;}


  .receta-card.rosa{
  border-radius: 210px 0   0  0;}

.receta-card:hover{
  transform: translateY(-10px);
  box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

/* imagen semicirculo */

.receta-img{
  height:330px;

  overflow:hidden;
}


.receta-img img{
  width:100%;
  height:100%;
  display: block;
  object-fit:cover;
}

/* info */

.receta-info{
  color:white;
  text-align:left;
   display:flex;
   padding-top:25px ;
  padding-left: 25px;
  flex-direction:column;
  justify-content:space-between;

  min-height:190px;
}

.receta-info h1{
  font-family:'Playfair Display' ;
  line-height:1.1;
  font-size:25px;
  max-width: 2222px;
  font-weight: 120;
  margin:0;
}

.receta-info p{
  font-family:'Quicksand', sans-serif;
  font-size:16px;
  line-height:1.6;
  margin: 0;
}

/* colores */

.verde .receta-info{
  background:var(--color-verdeSlightDark);
}

.rosa .receta-info{
  background: var(--color-rosaDark1);
}

/* meta */

.receta-meta{
  display:flex;
  gap:20px;
  margin-top:15px;
  font-size:13px;
  opacity:0.9;
}


.tienda{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  min-height:380px;
}

.tienda-img{
  overflow:hidden;
}

.tienda-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition: transform .6s ease;
}

.tienda:hover .tienda-img img{
  transform: scale(1.05);
}

.tienda-text{
  background:var(--color-rosaSuave);
  padding:80px;
  display:flex;
    text-align:left;
  flex-direction:column;
  justify-content:center;
}

.tienda-text h2{
  font-size:48px;
  font-family:'Playfair Display' ;
  color:var(--color-verdeDark);
  margin-bottom:15px;
}

.tienda-text p{
  max-width:740px;
  font-size:20px;
  font-family:'Quicksand', sans-serif;
  margin-bottom:25px;
}

.tienda-link{
  color:#b77c7c;
  text-decoration: none;
  font-weight:500;
}




.testimonio-grande{
  background:var(--color-fondo);
  text-align:center;
 padding:40px 25px;
}

.comillas{
  font-size:150px;
  padding:-110px -110px  -110px -110px;
  color:#9fb8a0;
}

.testimonio-texto{
  font-family:'Playfair Display', serif;
  font-size:32px;
  max-width:900px;
  margin:0 auto;
  line-height:1.4;
  color:var(--color-verdeDark);
}


.footer{

background:var(--color-rosaSuave);
padding:20px 20px;

}

.footer-container{
position: relative;
display: flex;
font-family: "Quicksand";
justify-content: center;
align-items: center;
margin:auto;

}
.footer-logo{
  position:absolute;
  left:0px;
}
.footer-logo img{
height:45px;
}

.footer-right{
display:flex;
flex-direction:column;
align-items:center;
gap:6px;
position: relative;

}

.footer-social{
display:flex;
gap:18px;
}

.footer-social img{
height:26px;
opacity:.85;
transition:.2s;
}

.footer-social img:hover{
transform:scale(1.15);
opacity:1;
}

.footer-copy{
font-size:13px;
color:#8c6f6f;
}



.fade-up{
  opacity:0;
  transform:translateY(40px);
  transition:all .8s ease;
}

.fade-up.visible{
  opacity:1;
  transform:translateY(0);
}

.team {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-top: 50px;
  flex-wrap: wrap;
}

/* CADA PERSONA */
.team-member {
  text-align: center;
}

.cta-container{
  display:flex;
  justify-content:center;}


/* FOTO */
.team-member img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 12px;
}

/* NOMBRE */
.team-member .name {
  color: var(--color-rosaDark);
  line-height: 0.3;
  font-weight: 500;
  font-size: 16px;
}



/* Modal */
.modal {
  display:  none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 10000;
  overflow: hidden;
}

.modal-content {
  background: var(--color-rosaModalfondo);
  padding: 20px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: auto;
  max-width: 400px;
  text-align: center;
   margin: auto;
  border-radius: 5%;
   box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.modal-content h2 {
  font-family: 'Playfair Display', serif;
  padding: 0 10px;
  color: var(--color-rosaDark);
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.modal-content p {
  padding: 0 15px;
  font-size: 18px;
  color: var(--color-rosaDark);
  margin-bottom: 20px;
}
.modal-content button {
  width: auto; /* 👈 rompe el full width */
  display: block;
  margin: 20px auto 0;

  padding: 10px 30px;
  border-radius: 25px;
  border: 1px solid var(--color-rosaDark);

  background: transparent;
  color: var(--color-rosaDark);
  font-weight: 500;

  cursor: pointer;
  transition: 0.3s;
}

.modal-content input {
  width: 90%;
  padding: 10px 15px;
  margin: 8px 0;
  border-radius: 20px;
  border: 2px solid white;
  background: var(--color-rosaplaceholder);
  outline: none;
  font-size: 14px;
  color: var(--color-rosatextplace);
}
.modal-content button:hover {
  background: var(--color-rosaDark);
  color: white;
}



.modal-content textarea {
  width: 90%;
  padding: 12px 15px;

  border-radius: 15px;
  border: 2px solid white;
  background: var(--color-rosaplaceholder);

  resize: none;
  height: 50px;

  font-size: 14px;
  color: var(--color-rosatextplace);
  outline: none;
}

/* placeholder */


.close {
  float: right;
  cursor: pointer;
}


.hamburger{
display:none;
flex-direction:column;

gap:5px;
width:25px;
height:28px;
cursor:pointer;
z-index:5000;
margin-left:auto;
}

.hamburger span{
width:100%;
height:2px;
background:var(--color-rosaDark);
transition:.3s;
}
/* =========================================
   MOBILE OPTIMIZATION
   ========================================= */


.modal.active {
  display: flex;
}


@media (min-width: 2100px) {

  .intro-wrapper {
    max-width: 1900px; /* antes 240px */
  gap: 10px;
  }

  .circle-image {
  width: 500px;
  height: 500px;
  left: -10%;
  }

  .intro-content{
    max-width: 590px;
  }

  .intro-content h2 {
  font-size: clamp(22px, 3vw, 36px);
  }

  .intro-content-right h1 {
    font-size: clamp(24px, 2.5vw, 33px);
  }

  .intro-content-right {
  align-self: center; /* en vez de end */
}
}

@media (max-width: 1500px) {

  .intro-wrapper {
    max-width: 1100px;
  padding-left: 240px; /* antes 240px */
  gap: 10px;
  }

  .circle-image {
  width: 500px;
  height: 500px;
  left: -19%;
  }

  .intro-content{
    max-width: 590px;
  }

  .intro-content h2 {
  font-size: clamp(22px, 3vw, 36px);
  }

  .intro-content-right h1 {
    font-size: clamp(24px, 2.5vw, 33px);
  }

  .intro-content-right {
  align-self: center; /* en vez de end */
}
}


@media (max-width: 1200px) {
  .intro-section{max-height: 350px;}
  .intro-wrapper {
  max-width: 700px;
  padding-left: 200px; /* antes 240px */
  gap: 40px;
  }

  .intro-content{
    max-width: 330px;
  }

  .circle-image {
  width: 500px;
  height: 500px;
  left: -27%;
  }

  .intro-content h2 {
  font-size: clamp(28px, 3vw, 44px);
  }

  .intro-content-right h1 {
    font-size: clamp(24px, 2.5vw, 40px);
  }

  .intro-content-right {
  align-self: end; /* en vez de end */
}
}

@media (max-width: 1025px) {

  .intro-wrapper {
  max-width: 700px;
  padding-left: 190px; /* antes 240px */
  gap: 40px;
  }

  .intro-content{
    max-width: 330px;
  }

  .circle-image {
  width: 500px;
  height: 500px;
  left: -29%;
  }

  .intro-content h2 {
  font-size: clamp(28px, 3vw, 44px);
  }

  .intro-content-right h1 {
    font-size: clamp(24px, 2.5vw, 40px);
  }

  .intro-content-right {
  align-self: end; /* en vez de end */
}
}

@media (max-width:768px){


 .modal {
    display: none;
    justify-content: center;
    align-items: center; /* aseguramos centrado vertical */
  }

  .modal-content {
    width: 100%;
   max-width: 320px;
     margin: auto;
  }


.modal.active {
  display: flex;
}

/* ---------- GLOBAL ---------- */

body{
  padding: 20px 0px;
}
body.menu-open{
overflow:hidden;
}

h1{
font-size:23px;
}

h2{
font-size:25px;
line-height:1.2;
}

p{
font-size:12px;
line-height:1.6;
}

/* ---------- NAVBAR ---------- */

.hamburger{
display:flex;
position:relative;

}

/* desaparece el menu normal */
.nav-logo{
position:static;
}

.nav-logo img {
  mix-blend-mode: multiply;
  display: flex;
  max-width: 100px;
}
.nav-container{
justify-content: space-between;
padding: 5px 35px 5px 0px;
}

.nav-links{
position:fixed;
top:0;
right: 0;
height:100vh;
width:75%;
max-width:320px;
background:var(--color-rosaSuave);
flex-direction:column;
align-items:center;
gap:35px;
padding:40px 0;

transform:translateX(100%);
transition:transform .35s ease;

z-index:3000;
}

/* menu abierto */

.nav-links.active{
transform:translateX(0);
}

.hamburger.active span:nth-child(1){
transform:rotate(45deg) translateY(7px);
}

.hamburger.active span:nth-child(2){
opacity:0;
}

.hamburger.active span:nth-child(3){
transform:rotate(-45deg) translateY(-7px);
}







/* ---------- HERO ---------- */

.hero{
height:30vh;
padding:0 20px;
 background-size: cover;
  background-position: center;
}

.logo {
  padding-top: 50px;
}


.logo img{
width:160px;
height:auto;
}

/* ---------- ABOUT ---------- */

.about-section{
padding:60px 25px 0;
margin-bottom: 20px;
}

.about-container{
flex-direction:column;
gap:40px;
padding:0;
text-align:center;
}

.about-text{
max-width:100%;
}

.about-text h2{
font-size:25px;
}

.about-sub{
font-size:11px;
letter-spacing:2px;
}

.about-description{
padding:0 10px ;
font-size:18px;
line-height: 1.2;
max-width:100%;
text-align: justify;
}

.about-link{
margin-top:20px;
font-size:18px;
font-weight: 600;
}

/* ---------- INTRO SECTION ---------- */

.intro-section{
  padding-left:120px;
  background:var(--color-verdeSlightDark);
  color:white;
  min-height:150px;
  max-height: 220px;
  grid-template-columns:220px 1fr;
  grid-template-rows:auto auto;
  position:relative;
  display:grid;
  align-items:center;
  overflow:visible;
  gap:20px;
  z-index: 2;
}

.intro-wrapper{
  width:100%;
  max-width:500px;
  margin:0  auto  ;
  padding-left: 0;

  display:grid;
  grid-template-columns: 1fr;

  align-items:center;
  gap:20px;
}


.intro-content{
  position:static;
  grid-column:1;
  grid-row:1;
  max-width:260px;
}

.intro-content-right{
  position:static;
  grid-column:1;
  grid-row:2;
  max-width:150px;
  justify-self:end;
  text-align:right;
}

.intro-content h2,.intro-content-right h1{
  font-size:clamp(10px,4vw,16px);
line-height:1.25;
margin-bottom:10px
}

.intro-content-right p{
  font-size:clamp(13px,3vw,15px);
line-height:1.5;
opacity:.9;
}


.circle-image{
  position:absolute;
  left:-35%;
  border-radius: 50%;
  width:clamp(240px,35vw,600px);
  height:clamp(240px,45vw,600px);
    overflow:hidden;
}

.circle-image img{
  height:100%;
  width:auto;
 object-fit:cover;
}

/* ---------- PARALLAX ---------- */

.parallax{
  position:relative;
   z-index: 1;
  height:100px;
  overflow:hidden;
}

.parallaxbg{
  position:absolute;
  top:-30%;
  left:0;
  width:100%;
  height:160%;
}

/* ---------- RECETARIOS ---------- */

.recetarios{
padding:20px 20px;
color: var(--color-verdeDark);
}

.recetarios-header h2{
font-size:25px;
}

.recetarios-header p{
  line-height: 1.3;
font-size:16px;
font-weight: 450;
max-width: 280px;
  margin: 0 auto 40px;
}

.recetarios-grid{
flex-direction:column;
gap:40px;
align-items:center;
}


.verde .receta-info{
  background:var(--color-fondo);
  color:var(--color-verdeDark);
}

.rosa .receta-info{
  background: var(--color-fondo);
  color:var(--color-rosaDark);

}

/* cards */

.receta-card{
width:100%;
max-width:360px;
overflow:visible;
}


.receta-card.verde,
.receta-card.rosa{
  border-radius:0 !important;
}

.receta-img{
    margin:0 auto;
  display:block;
  max-width:150px;
  max-height:230px ;
  border-radius: 80% 80% 80% 0
  /
  50% 50% 60% 0;
  transform:none;
 overflow:hidden;
}

.receta-img img{
 width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  z-index: 1;
}

.receta-info{

padding:20px;
min-height:auto;
  text-align:left;
}

.about-top{
  display: none;
}

.receta-info h1{
font-weight: 450;
font-size:22px;
max-width: 60px;
line-height:1.2;
margin-bottom:10px;
}

.receta-info p{
font-size:15px;
line-height:1.2;
}

/* features */

.features{
display:flex;
gap:15px;
margin-top:15px;
}

.features-1{
display:flex;
gap:6px;
align-items:center;
}

.feature-number{
font-size:14px;
}

.feature-label{
font-size:12px;
}

/* ---------- TIENDA ---------- */

.tienda{
grid-template-columns:1fr;
}

.tienda-img{
height:260px;
}

.tienda-text{
padding:50px 35px;
}

.tienda-text h2{
font-size:32px;
}

.tienda-text p{
font-size:17px;
}

.tienda-link{
font-family: 'Quicksand';

font-size:16px;
font-weight: 600;
}

/* ---------- TESTIMONIO ---------- */

.testimonio-grande{
padding:40px 25px;
}

.comillas{
font-size:130px;
max-height: 90px;
}

.testimonio-texto{
font-size:18px;
line-height:1.4;
}

.team {

  gap: 40px;
  margin-top: 40px;

}


.team-member img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
  margin: 0 auto 12px;
}
.team-member .name {
  line-height: 0.5;
}

/* ---------- FOOTER ---------- */

.footer{
padding:30px 20px;
}

.footer-container{
flex-direction:column;
gap:18px;
}

.footer-logo{
position:static;
}

.footer-logo img{
height:40px;
}

.footer-right{
align-items:center;
}

.footer-copy{
text-align:center;
font-size:12px;
}

.footer-social img{
height:22px;
}

}