@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');




:root {
    --color-primary: #2c9bd7;
    --color-secondary: #f9a641;
    --color-third: #52C3F0;
    --color-fourth: #103E9C;
    --color-fifth: #FFEA98;
    --color-black:#000;
    --color-white:#fff;
    --color-dark:#012c4f;
    --color-clear: #fff7cd;
    --color-text:#333;
    --color-highlight: #ff9900;

}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    text-decoration: none; 
    list-style: none;  
}

body {
    margin:0;
    font-family: "Montserrat", sans-serif;
     background: var(--color-white);
    color: #636363;
}



___________________________________________

body,
html {
    height: 100%;
}
  
html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
    font-size: 20px;
}
  
input, textarea, button {
    font-family: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color-front);
    font-weight: 700;
    margin: .3em 0;
    
}
h1 {
    font-size: 1.4rem;
}
h2 {
    font-size: 1.1rem;
    color: var(--color-third);
}
h3 {
    font-size: 1.2rem;
}
h4 {
    font-size: 1rem;
    color: var(--secondary-color);
}
h5 {
    font-size: 1.3rem;
}
h6 {
    font-size: 1.2rem;
    font-weight: 500;
}
p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 1rem;
} 

p a {
    color: var(--color-primary);
}

ul.lista-textual {
   margin-left: 2rem;
   margin-bottom: 3rem;
}
/* 
ul {
    margin-bottom: 2em;
} */

li {
    font-size: 1rem;
    line-height: 1;
}

.lista-textual li {
    list-style-type: disc;
    margin-bottom: 1rem;
    padding-left: 1rem;
}

ul.productos li::before {
    content: "•";
    margin-right: .2rem;
    color: var(--color-front);
}

.productos li {
    font-size: .8rem;
    line-height: 1.5;
    text-transform: uppercase;
    text-indent: -.6rem;
    margin-left: 1rem;
}


header {
    /* position: fixed; 
    top: 0;
    left: 0;*/
    width: 100%;
    background: var(--color-white);
    z-index: 100;
}

/* .nav__main {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    justify-content: space-between;
} */


section {
    width: 100%;
    margin: 0 auto;
    
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    margin-bottom: 4rem;
}

.franja {
    width: 100%;
    background: var(--color-primary);
}

.hero {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    max-width: 1560px;
    height: 450px;
    background-image: url("/images/bg-wood.webp");
    background-size: 60%;
    padding: 0;
    text-align: center;
    overflow: hidden;
    margin: auto;
}
/* .hero p {
    font-size: 1.2rem;
    text-transform: uppercase;
    color: white;
} */
.logo-portada {
    width: 50vw;
    max-width: 780px;
    text-align: center;
    padding: 70px;
}
.logo-portada img{
    width: 70%;
    max-width: 500px;
    min-width: 240px;
}

.foto-portada {
    width: 50vw;
    max-width: 780px;
    height: 500px;
    margin: 0;
    padding: 0;
    /* background: #ff000016; */

}

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

.btn {
    display: inline-block;
    background: var(--color-secondary);
    font-size: 16px;
    border-radius: 30px;
    padding: 10px 30px;
    color: var(--color-white);
    text-decoration: none;
    text-align: center;
    margin: 2rem auto 1rem;
}
.btn:hover {
    background: var(--color-highlight) ;
    text-decoration: none;
}

.center {
    text-align: center;
}



img {
    width: 100%;
}

footer {
    text-align: center;
    background: var(--color-dark);
    width: 100%;
    height:auto;
    padding: 1rem;
    color: white;
}

footer p {
    /* text-transform: uppercase; */
    font-size: 1rem;
    margin-bottom: 0;
}

footer a {
    color: var(--color-secondary);
}

footer a:hover {
    color: var(--color-highlight);
}

.capsula {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    padding: 1rem;
    margin: 0 auto;
}
.brand {
    display: block;
    height: 130px;
    width: 100%;
    padding: 1rem;
}

.brand img {
    max-height: 90px;
}

.brand-b {
    width: 360px;
    margin: 0 auto;
}

.aviso {
    max-width: 1200px;
    width: 100%;
    margin: 2rem auto;

}

a {
    color: var(--color-front);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Logo */
.logo {
    width: 100%;
    height: 100px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo img {
    max-height: 80px;
}

/* Navegación */
nav.sticky {
    width: 100%;
    height: 50px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 1s ease;
    z-index: 1000;
}

nav.sticky .logotipo {
    width: 10px;
    opacity: 0;
    margin: 0;
    transition: all 1s ease;
}

.social {
    display: flex;
    gap: 15px;
}

.social img{
    width: 30px;
}

/* Efecto cuando se queda fija */
nav.sticky.fixed {
    position: fixed;
    height: 100px;
    top: 0;
    left: 0;
    box-shadow: 0 5px 9px rgba(0, 0, 0, 0.27);
    background-color: #fffc;
    backdrop-filter: brightness(110%) blur(9px) !important;

}

nav.sticky.fixed .logotipo {
    opacity: 1;
    width: 220px;
    margin: 2rem;
}

/* Espaciador invisible (se inserta dinámicamente con JS) */
.nav-placeholder {
    height: 100px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav__logo,
.nav__burger,
.nav__close {
    color: var(--color-front);
}

/* .nav__data {
    position: relative;
    z-index: 101;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color-white);
} */

.nav__toggle {
    position: absolute;
    right: 1rem;
    width: 2rem;
    background: var(--color-white);
    border: 2px solid var(--color-fourth);
    height: 2rem;
    /* padding: .4rem; */
    /* margin: 1rem; */
    display: none;
}

.nav__burger,
.nav__close {
    position: absolute;
    width: 1.3rem;
    height: 1.3rem;
    inset: 0;
    margin: 7px 5px;
    font-size: 1.3rem;
    line-height: 1.3rem;
    text-align: center;
    cursor: pointer;
    transition: opacity .1s, transform .4s;
}

.nav__close {
    opacity: 0;
}



.listasproductos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%,360px),1fr));
    gap: 1rem;
}

.productos {
    
    background: var(--color-dark);
    border-radius: 9px;
    color: whitesmoke;
}
.productos h3 {
    color: var(--color-secondary);
    margin-top: 2rem;
    text-align: center;
}

ul.productos {
    margin-bottom: 1rem;
    padding: 1rem 1rem 2.7rem 1rem;
}
.clear {
    background: var(--color-white);
}
.main {
    background: var(--color-primary);
}
.dark {
    background: var(--color-dark);
}

.dark p {
    color: var(--color-white);
}
.section-title {
    color: var(--color-fourth);
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 20px;
    text-align: center;
}

.home-title {
    color: var(--color-highlight);
    font-size: 40px;
    font-weight: 700;
    padding-bottom: 20px;
    text-align: center;
}


.hacer-pedido {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    width: 12rem;
    height: 3rem;
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
    background: rgba(200, 200, 200, .3);
    border-radius: 2rem;

}
.haz-pedido {
    height: 1rem;
}
.hacer-pedido p {
    display: block;
    height: .8rem;
    font-size: .8rem;
    color: gray;
    text-transform: uppercase;
    padding: 0;
}

.hacer-pedido img {
    width: 100%;
}

.icono-wa {
    width: 3rem;
    height: 3rem;
    padding: .5rem;
    background: #25d366;
    border-radius: 50%;
}




/* Navigation for mobile devices */

@media screen and (max-width: 900px) {
    
    .nav__main {
        width: 100%;
        height: calc(100vh - 100px);
        position: absolute;
        top: 100px;
        left: 0;
        flex-direction: column;
        justify-content: space-around;
        align-items: center;
        background-color: var(--color-white);
    }
    .nav__menu {
        position: absolute;
        left: 0;
        top: 80px;
        width: 100%;
        height: calc(100vh - 3rem);
        background: var(--color-white);
        overflow: auto;
        pointer-events: none;
        opacity: 0;
        transition: top .4s, opacity .3s ;
    }

    .nav__menu::-webkit-scrollbar {
        width: 0;
    }
    .nav__toggle {
        display: block;
    }

    .hero {
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        align-items:center;
        width: 100%;
        height: auto;
        background-size: 100%;
    }
    .logo-portada {
        width: 100vw;
        height: 70vw;
        padding: 3rem;
    }
    .foto-portada {
        width: 100vw;
        height:70vw;
    }
    .foto-portada img {
        height: 80vw;

    }
   
}

.nav__link {
    color: var(--color-fourth);   
    font-weight: 500;
    font-size: 20px;
    transition: color .5s;
}

.nav__link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

.show-menu {
    opacity: 1;
    top: 5rem;
    pointer-events: initial;
}

.show-icon .nav__burger {
    opacity: 0;
}   

.show-icon .nav__close {
    opacity: 1;
    
}

.contact-icon {
    font-size: 1.5rem;
    color: var(--color-fourth);
    line-height: 0.5;
}

/******************************** FONTELLO ICONS */

@font-face {
  font-family: 'fontello';
  src: url('../font/fontello.eot?52740365');
  src: url('../font/fontello.eot?52740365#iefix') format('embedded-opentype'),
       url('../font/fontello.woff2?52740365') format('woff2'),
       url('../font/fontello.woff?52740365') format('woff'),
       url('../font/fontello.ttf?52740365') format('truetype'),
       url('../font/fontello.svg?52740365#fontello') format('svg');
  font-weight: normal;
  font-style: normal;
}
/* Chrome hack: SVG is rendered more smooth in Windozze. 100% magic, uncomment if you need it. */
/* Note, that will break hinting! In other OS-es font will be not as sharp as it could be */
/*
@media screen and (-webkit-min-device-pixel-ratio:0) {
  @font-face {
    font-family: 'fontello';
    src: url('../font/fontello.svg?52740365#fontello') format('svg');
  }
}
*/
[class^="icon-"]:before, [class*=" icon-"]:before {
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;


  display: inline-block;
  text-decoration: inherit;
  width: 1em;
  margin-right: .2em;
  text-align: center;
  /* opacity: .8; */

  /* For safety - reset parent styles, that can break glyph codes*/
  font-variant: normal;
  text-transform: none;

  /* fix buttons height, for twitter bootstrap */
  line-height: 1em;

  /* Animation center compensation - margins should be symmetric */
  /* remove if not needed */
  margin-left: .2em;

  /* you can be more comfortable with increased icons size */
  /* font-size: 120%; */

  /* Font smoothing. That was taken from TWBS */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* Uncomment for 3D effect */
  /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
}

.icon-phone:before { content: '\e800'; } /* '' */
.icon-mobile:before { content: '\e801'; } /* '' */
.icon-facebook-circled:before { content: '\e802'; } /* '' */
.icon-mail:before { content: '\e803'; } /* '' */
.icon-truck:before { content: '\e804'; } /* '' */
.icon-truck-1:before { content: '\e805'; } /* '' */
.icon-mail-1:before { content: '\e806'; } /* '' */
.icon-left-open:before { content: '\e807'; } /* '' */
.icon-right-open:before { content: '\e808'; } /* '' */
.icon-cancel:before { content: '\e809'; } /* '' */
.icon-th-list:before { content: '\e80a'; } /* '' */
.icon-cancel-1:before { content: '\e80b'; } /* '' */
.icon-menu:before { content: '\f008'; } /* '' */
.icon-location:before { content: '\f031'; } /* '' */
.icon-instagram:before { content: '\f16d'; } /* '' */
.icon-whatsapp:before { content: '\f232'; } /* '' */
.icon-facebook-rect:before { content: '\f301'; } /* '' */
.icon-instagram-filled:before { content: '\f31f'; } /* '' */
