
/* ===== Estilos base ===== */

@font-face {
  font-family: 'Recoleta';
  src: url('assets/fonts/fonnts.com-recoleta-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Recoleta';
  src: url('assets/fonts/fonnts.com-recoleta-medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: 'Recoleta';
  src: url('assets/fonts/fonnts.com-recoleta-bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: 'Recoleta';
  src: url('assets/fonts/fonnts.com-recoleta-light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: "DM Sans", sans-serif;
    line-height: 1.6;
    color: #333;
  }

  .linea-roja{
   
    background: #B71233;
  }
  
  /* ===== Header ===== */
  header {
    background: #fff;
    color: white;
    padding: 20px;
    text-align: center;
    height: 128px;
    width: 100%;
  }

  nav{
    display: flex;
    justify-content: center;
    align-items: center;
    justify-content: space-between;
    padding: 0px 100px;
  }
  
  nav ul {
    list-style: none;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  nav p{
    color: #61732B;

font-family: "DM Sans";
font-size: 18px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 133.333% */
letter-spacing: 18px;
text-transform: uppercase;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
  }

  nav img{
    width: 240.667px;
height: 78.667px;
  }

  .hero{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 776px;
    background-image: url("./assets/lay-flat-de-surtido-de-cereales-para-el-desayuno\ 1.png");
    gap: 30px;
  }

  .hero h1{
    color: #61732B;
    text-align: center;
    text-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    font-family: "FONTSPRING DEMO - Recoleta Medium";
    font-size: 70px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    width: 923px;
  }

  .hero p{
    color: #474747;
    text-align: center;
    font-family: "DM Sans";
    font-size: 22px;
    font-style: normal;
    font-weight: 400;
    line-height: 32px; /* 145.455% */
    width: 585px;
  }
  
  /* ===== Secciones ===== */


  .img-texto-container{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    padding: 60px 0px;
  }

  

  .img-container{
    display: flex;
    justify-content: center;
    gap: 23px;
  }

  .img-large{
    width: 432px;
    height: 600px;
    flex-shrink: 0;
    aspect-ratio: 18/25;
  }

  .img-shorts-container{
    display: flex;
    flex-direction: column;
    gap: 23px;
    position: relative;
    top: 32px;
  }

  .texto-container img{
    width: 121px;
    height: 98.803px;
    flex-shrink: 0;
  }

  .texto-parrafos{
    width: 461px;
  }
 
  .texto-parrafos h2{
    color: #AD343E;
    font-family: "Playfair Display";
    font-size: 55px;
    font-style: normal;
    font-weight: 500;
    line-height: 60.5px; /* 110% */
  }

  .texto-parrafos p{
    color: #2C2F24;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px; /* 155.556% */

  }

  .iconos-container{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    padding-top: 40px;
  }

  .icono{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 15px;
    
  }

  .icono p{
    color: #2C2F24;

    /* Body/20px/Medium */
    font-family: "DM Sans";
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px; /* 130% */
  }

  .icono img{
    width: 30px;
    height: 30px;
    flex-shrink: 0;
  }


  main {
    padding: 40px 20px;
    max-width: 1000px;
    margin: auto;
  }
  
  section {
    margin-bottom: 60px;
  }
  
  h2 {
    color: #6A00A7;
    margin-bottom: 15px;
  }
  
  
  /* ===== Footer ===== */
  footer {
   background-color: #61732B;
   padding: 0 110px;
   display: flex;
   justify-content: space-around;
   align-items: center;
   gap: 20px;
   
  }

  .footer-logo-texto{
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .footer-logo-texto p{
    width: 516px;
    color: #FFF;
    font-family: "DM Sans";
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
  }
   
  .mail{
    border-radius: 118px;
border: 1.5px solid #FFF;
padding: 8px 16px;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .mail span{
    color: #FFF;

  text-align: right;
  /* Body/16px/Bold */
  font-family: "DM Sans";
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 24px; /* 150% */
  border-radius: 118px;

  }
  
  .span-footer{
    color:#ADB29E;

    /* Body/16px/Regular */
    font-family: "DM Sans";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px; /* 150% */
    background-color: #61732B;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 20px;
  }

  @media screen and (max-width: 1300px) {

    .hero h1{
      width: 100%;
      
    }

    .hero p{
      width: 80%;
    }


    .img-texto-container{
      gap: 23px;
    }

    .img-large {
      width: 285px;
      height: 478px;
    }

    .img-short{
      width: 200px;
    }

    footer{
      flex-wrap: wrap;
    }

    .footer-logo-texto{
      width: 100%;
    }

  }

  @media screen and (max-width: 1006px) {

    nav{
      flex-direction: column;
      gap: 0px;
    }
     
    .hero{
      background-position: center;
    }

    .hero h1{
      font-size: 50px;
    }

    .img-texto-container{
      flex-direction: column-reverse;
      align-items: center;
    }

    .texto-container{
      padding: 0 20px;
    }

    .texto-parrafos{
      width: 100%;
    }

    
  }


  
  @media screen and (max-width: 600px) {



    .linea-roja{
      display: none;
    }

    nav p {
      font-size: 14px;
      
    }

    .hero{
      height: 500px;
      margin-bottom: 0px;
    }

    .hero h1{
  
   
      line-height: normal;

      font-size: 25px;
      width: 300px;
    }

    .hero p{
      font-size: 16px;
      width: 90%;
      line-height: normal;
    }

    .texto-container .logo-2{
      width: 84px;
      height: 70px;
    }

    .texto-parrafos h2{
      font-size: 20px;
    }

    .texto-parrafos p{
      font-size: 16px;
      font-style: normal;
      width: 100%;
      line-height: 20px; /* 125% */
    }

    .img-container{
      flex-direction: column;
      align-items: center;
    }

    .iconos-container{
      padding-top: 25px;
    }

    .icono p{
      font-size: 16px;
      line-height: 20px; /* 125% */
    }



    .footer-logo-texto{
      flex-direction: column;
      gap: 15px;
      text-align: center;
    }

    .footer-logo-texto p{
      font-size: 16px;
      font-style: normal;
      width: 100%;
      line-height: 20px; /* 125% */
    }

    .mail span{
      font-size: 10px;
      line-height: 20px; /* 142.857% */
    
    }

    .mail{
      margin-bottom: 12px;
    }

    footer {
      padding: 0 15px;
    }

    .span-footer{
      text-align: center;
      width: 100%;
      font-size: 12px;
      line-height: 16px; /* 133.333% */
    }

  }