/*==================================================
            GOOGLE FONTS
==================================================*/

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600;700&display=swap');

/*==================================================
            VARIABLES
==================================================*/

:root{

    --vino:#5A1425;
    --vino-hover:#741C32;

    --dorado:#D6B36A;
    --dorado-hover:#E7C989;

    --negro:#181818;
    --gris:#707070;
    --gris-claro:#ECECEC;
    --blanco:#ffffff;

    --fondo:#F8F6F3;

    --sombra:0 15px 40px rgba(0,0,0,.12);
    --sombra-hover:0 25px 60px rgba(0,0,0,.18);

    --radio:18px;

    --transicion:.35s ease;

}

/*==================================================
RESET
==================================================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Montserrat',sans-serif;

    background:var(--fondo);

    color:var(--negro);

    overflow-x:hidden;

    line-height:1.6;

}

/* Scroll */

::-webkit-scrollbar{
    width:12px;
}

::-webkit-scrollbar-track{

    background:#f2f2f2;

}

::-webkit-scrollbar-thumb{

    background:var(--vino);

    border-radius:50px;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

ul{

    list-style:none;

}

button{

    cursor:pointer;
    border:none;
    font-family:inherit;

}

input,
textarea{

    font-family:inherit;

}

/*==================================================
BACKGROUND GENERAL
==================================================*/

body::before{

    content:"";

    position:fixed;

    inset:0;

    background:

    radial-gradient(circle at top right,
    rgba(214,179,106,.18),
    transparent 35%),

    radial-gradient(circle at bottom left,
    rgba(90,20,37,.08),
    transparent 30%);

    z-index:-2;

}

/*==================================================
HEADER
==================================================*/

.topbar{

    width:100%;

    background:white;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:18px 8%;

    box-shadow:0 2px 20px rgba(0,0,0,.08);

    position:sticky;

    top:0;

    z-index:999;

    transition:.35s;

}

.topbar.scrolled{

    padding:12px 8%;

    backdrop-filter:blur(10px);

    background:rgba(255,255,255,.92);

}

.logo-img img{

    height:82px;

    transition:.35s;

}

.logo-img img:hover{

    transform:scale(1.05);

}

/*==================================================
TELÉFONO
==================================================*/

.telefono{

    display:flex;

    align-items:center;

    gap:15px;

}

.icono-tel{

    width:45px;

}

.telefono-texto p{

    font-size:.9rem;

    color:gray;

}

.telefono-texto h2{

    color:var(--vino);

    font-size:1.4rem;

}

/*==================================================
LLAMADA
==================================================*/

.llamada{

    display:flex;

    align-items:center;

    gap:15px;

}

.llamada img{

    width:90px;

}

.btn-llamada{

    margin-top:10px;

    padding:14px 28px;

    border-radius:40px;

    background:linear-gradient(135deg,var(--vino),#7d1f38);

    color:white;

    font-weight:600;

    transition:.35s;

    box-shadow:0 10px 25px rgba(90,20,37,.25);

}

.btn-llamada:hover{

    transform:translateY(-4px);

    box-shadow:0 18px 35px rgba(90,20,37,.35);

}


/*==================================================
MENÚ
==================================================*/

.menu-productos{

    background:linear-gradient(90deg,#2a0d17,#541425);

    padding:18px;

    position:sticky;

    top:118px;

    z-index:900;

}

.menu-productos ul{

    display:flex;

    justify-content:center;

    gap:45px;

}

.menu-productos li{

    color:white;

    font-weight:600;

    cursor:pointer;

    position:relative;

    transition:.35s;

    letter-spacing:.5px;

}

.menu-productos li::after{

    content:"";

    position:absolute;

    width:0;

    height:2px;

    background:var(--dorado);

    bottom:-8px;

    left:0;

    transition:.35s;

}

.menu-productos li:hover{

    color:var(--dorado);

}

.menu-productos li:hover::after{

    width:100%;

}

.menu-productos li.activo{

    color:var(--dorado);

}

.menu-productos li.activo::after{

    width:100%;

}

/*==================================================
HERO
==================================================*/

.contenido{

    max-width:1400px;

    margin:70px auto;

    padding:0 40px;

    display:grid;

    grid-template-columns:1.1fr 1fr 380px;

    gap:60px;

    align-items:start;

}

/*==================================================
BOTELLA
==================================================*/

.producto-main{

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.botella-bg{

    position:absolute;

    width:420px;

    height:420px;

    border-radius:50%;

    background:radial-gradient(circle,
    rgba(214,179,106,.28),
    transparent 70%);

    filter:blur(10px);

}

.producto-main img{

    width:360px;

    position:relative;

    z-index:2;

    transition:.5s;

    animation:flotar 5s ease-in-out infinite;

}

.producto-main img:hover{

    transform:scale(1.05);

}

@keyframes flotar{

0%{

transform:translateY(0);

}

50%{

transform:translateY(-18px);

}

100%{

transform:translateY(0);

}

}

/*==================================================
DESCRIPCIÓN
==================================================*/

.descripcion{

    background:white;

    border-radius:22px;

    padding:45px;

    box-shadow:var(--sombra);

    transition:.35s;

}

.descripcion:hover{

    box-shadow:var(--sombra-hover);

}

#desc-titulo{

    font-family:'Cormorant Garamond',serif;

    font-size:3rem;

    color:var(--vino);

    margin-bottom:25px;

}

#desc-texto{

    color:#555;

    font-size:1rem;

    line-height:2;

}

/*==================================================
        IMAGEN INFERIOR
==================================================*/

.img-inferior{

    margin-top:80px;

}

.img-inferior img{

    width:100%;
    display:block;

}

/*==================================================
LÍNEA DIVISORIA
==================================================*/

.linea-divisoria{

    width:100%;
    height:2px;

    background:linear-gradient(
        90deg,
        transparent,
        var(--dorado),
        transparent
    );

}

/*==================================================
FOOTER
==================================================*/

footer{

    background:#111;

    color:#bdbdbd;

    padding:35px 20px;

}

.footer-inner{

    max-width:1200px;

    margin:auto;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:18px;

    flex-wrap:wrap;

}

.footer-inner a{

    color:#d6b36a;

    transition:.3s;

}

.footer-inner a:hover{

    color:white;

}

.sep{

    color:#555;

}

/*==================================================
MODAL
==================================================*/

.modal{

    position:fixed;

    inset:0;

    background:rgba(0,0,0,.65);

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:5000;

}

.modal-abierto{

    opacity:1;

    visibility:visible;

}

.modal-contenido{

    width:95%;
    max-width:500px;

    background:white;

    border-radius:20px;

    padding:40px;

    position:relative;

    animation:modalEntrada .4s;

    box-shadow:0 30px 70px rgba(0,0,0,.25);

}

@keyframes modalEntrada{

    from{

        opacity:0;
        transform:translateY(40px) scale(.95);

    }

    to{

        opacity:1;
        transform:none;

    }

}

.modal-contenido h3{

    font-family:'Cormorant Garamond',serif;

    color:var(--vino);

    font-size:2.3rem;

    margin-bottom:20px;

}

.modal-contenido input,

.modal-contenido textarea{

    width:100%;

    margin-bottom:15px;

    padding:15px;

    border:none;

    border-radius:14px;

    background:#f5f5f5;

}

.modal-contenido button{

    width:100%;

    padding:16px;

    border-radius:40px;

    background:var(--vino);

    color:white;

    transition:.3s;

}

.modal-contenido button:hover{

    background:var(--vino-hover);

}

.modal-cerrar{

    position:absolute;

    top:18px;

    right:22px;

    font-size:32px;

    cursor:pointer;

    transition:.3s;

}

.modal-cerrar:hover{

    color:var(--vino);

    transform:rotate(90deg);

}

/*==================================================
WIDGET FLOTANTE
==================================================*/

.float-widget{

    position:fixed;

    right:25px;

    bottom:25px;

    width:310px;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 25px 60px rgba(0,0,0,.2);

    z-index:3000;

}

.popup-visible{

    background:linear-gradient(135deg,var(--vino),#7d1f38);

    color:white;

    padding:18px;

    cursor:pointer;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.popup-visible h4{

    font-size:1rem;

}

.float-panel{

    background:white;

    padding:22px;

    max-height:500px;

    transition:.35s;

}

.float-widget:not(.widget-abierto) .float-panel{

    max-height:0;

    padding:0 22px;

    overflow:hidden;

}

.float-form input{

    width:100%;

    padding:14px;

    border-radius:12px;

    border:none;

    background:#f4f4f4;

    margin-bottom:12px;

}

.float-form button{

    width:100%;

    padding:14px;

    border-radius:40px;

    background:var(--vino);

    color:white;

}

.float-form button:hover{

    background:var(--vino-hover);

}

/*==================================================
BOTÓN VOLVER ARRIBA
==================================================*/

#toTop{

    position:fixed;

    right:30px;

    bottom:30px;

    width:55px;

    height:55px;

    border-radius:50%;

    background:var(--dorado);

    color:white;

    font-size:20px;

    display:flex;

    justify-content:center;

    align-items:center;

    opacity:0;

    visibility:hidden;

    transition:.35s;

    z-index:3500;

    box-shadow:0 12px 30px rgba(0,0,0,.25);

}

#toTop.show{

    opacity:1;

    visibility:visible;

}

#toTop:hover{

    transform:translateY(-6px);

    background:var(--vino);

}

/*==================================================
LOADER
==================================================*/

.loader{

    position:fixed;

    inset:0;

    background:var(--fondo);

    display:flex;

    justify-content:center;

    align-items:center;

    z-index:99999;

    transition:opacity .6s ease;

}

.wine-loader{

    font-size:5rem;

    animation:giro 1.2s ease-in-out infinite;

}

@keyframes giro{

    0%{transform:rotate(0deg) scale(1);}

    25%{transform:rotate(10deg) scale(1.1);}

    50%{transform:rotate(0deg) scale(1);}

    75%{transform:rotate(-10deg) scale(1.1);}

    100%{transform:rotate(0deg) scale(1);}

}

/*==================================================
TARJETAS DE INICIO
==================================================*/

#inicio-cards{

    display:flex;
    flex-direction:column;
    gap:28px;

}

.inicio-titulo{

    font-family:'Cormorant Garamond',serif;
    font-size:3rem;
    color:var(--vino);
    line-height:1.1;
    margin-bottom:10px;
    position:relative;

}

.inicio-titulo::after{

    content:"";
    width:80px;
    height:4px;
    background:var(--dorado);
    display:block;
    margin-top:15px;
    border-radius:50px;

}

/*==================================================
CARD
==================================================*/

.inicio-card{

    display:flex;

    align-items:center;

    gap:22px;

    background:white;

    border-radius:18px;

    overflow:hidden;

    box-shadow:0 10px 35px rgba(0,0,0,.08);

    transition:.35s;

    cursor:pointer;

    position:relative;

}

.inicio-card::before{

    content:"";

    position:absolute;

    left:0;

    top:0;

    width:6px;

    height:100%;

    background:var(--vino);

    transition:.35s;

}

.inicio-card:hover::before{

    width:10px;

    background:var(--dorado);

}

/*==================================================
IMAGEN CARD
==================================================*/

.inicio-card img{

    width:180px;

    height:140px;

    object-fit:cover;

    transition:.5s;

}

.inicio-card:hover img{

    transform:scale(1.08);

}

.inicio-card p{

    padding-right:20px;

    font-size:.95rem;

    color:#555;

    line-height:1.8;

}

/*==================================================
SUBTITULO
==================================================*/

.inicio-subtitulo{

    font-family:'Cormorant Garamond',serif;

    font-size:2rem;

    color:var(--vino);

    margin-top:30px;

}

.inicio-texto-final{

    color:#555;

    line-height:2;

    font-size:1rem;

}

/*==================================================
VISTA PRODUCTOS
==================================================*/

#producto-view{

    animation:fadeProducto .45s ease;

}

@keyframes fadeProducto{

    from{

        opacity:0;
        transform:translateY(25px);

    }

    to{

        opacity:1;
        transform:none;

    }

}

/*==================================================
FORMULARIO
==================================================*/

.form-columna{

    position:sticky;

    top:180px;

}

/*==================================================
CONTACTO
==================================================*/

.contacto{

    background:rgba(255,255,255,.78);

    backdrop-filter:blur(18px);

    border-radius:22px;

    padding:35px;

    box-shadow:0 18px 45px rgba(0,0,0,.12);

    border:1px solid rgba(255,255,255,.45);

}

/*==================================================
ICONOS
==================================================*/

.img-wph{

    width:90px;

    margin:auto;

    margin-bottom:20px;

}

.img-mail{

    width:100%;

    margin-bottom:25px;

}

/*==================================================
INPUTS
==================================================*/

.contacto input,

.contacto textarea{

    width:100%;

    border:none;

    background:#f4f4f4;

    border-radius:14px;

    padding:16px 18px;

    margin-bottom:15px;

    transition:.35s;

    outline:none;

    font-size:.95rem;

}

.contacto textarea{

    min-height:140px;

    resize:vertical;

}

.contacto input:focus,

.contacto textarea:focus{

    background:white;

    box-shadow:0 0 0 3px rgba(214,179,106,.35);

}

/*==================================================
BOTON
==================================================*/

.contacto button{

    width:100%;

    padding:17px;

    border-radius:40px;

    background:linear-gradient(135deg,var(--vino),#7b1b34);

    color:white;

    font-size:1rem;

    font-weight:600;

    transition:.35s;

}

.contacto button:hover{

    background:linear-gradient(135deg,#7b1b34,#9a2644);

    transform:translateY(-3px);

}

/*==================================================
CHECKBOX
==================================================*/

.checkbox-label{

    display:flex;

    gap:10px;

    align-items:flex-start;

    margin-top:18px;

    font-size:.82rem;

    color:#666;

}

/*==================================================
REDES
==================================================*/

.redes{

    display:flex;

    justify-content:center;

    gap:15px;

    margin-top:30px;

}

.redes-icon{

    width:50px;

    height:50px;

    border-radius:50%;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    color:var(--vino);

    font-weight:bold;

    transition:.35s;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.redes-icon:hover{

    background:var(--vino);

    color:white;

    transform:translateY(-6px) rotate(8deg);

}

/*==================================================
ANIMACIONES
==================================================*/

.fade-up{

    opacity:0;

    transform:translateY(60px);

    transition:.8s;

}

.fade-up.visible{

    opacity:1;

    transform:none;

}

.fade-left{

    opacity:0;

    transform:translateX(-70px);

    transition:.8s;

}

.fade-left.visible{

    opacity:1;

    transform:none;

}

.fade-right{

    opacity:0;

    transform:translateX(70px);

    transition:.8s;

}

.fade-right.visible{

    opacity:1;

    transform:none;

}

/*==================================================
RESPONSIVE
==================================================*/

@media(max-width:1200px){

.contenido{

grid-template-columns:1fr;

gap:45px;

}

.form-columna{

position:static;

}

.producto-main{

order:1;

}

.descripcion{

order:2;

}

.form-columna{

order:3;

}

}

@media(max-width:900px){

.topbar{

flex-direction:column;

gap:20px;

padding:25px;

}

.menu-productos{

top:0;

}

.menu-productos ul{

flex-direction:column;

align-items:center;

gap:18px;

}

.descripcion{

padding:30px;

}

#desc-titulo{

font-size:2.3rem;

}

.inicio-titulo{

font-size:2.4rem;

}

.inicio-card{

flex-direction:column;

text-align:center;

}

.inicio-card img{

width:100%;
height:220px;

}

.inicio-card p{

padding:20px;

}

}

@media(max-width:600px){

body{

font-size:15px;

}

.logo-img img{

height:65px;

}

.telefono{

flex-direction:column;

text-align:center;

}

.llamada{

flex-direction:column;

text-align:center;

}

.contenido{

padding:20px;

}

.producto-main img{

width:250px;

}

.contacto{

padding:25px;

}

.float-widget{

width:92%;

right:4%;

bottom:15px;

}

.footer-inner{

flex-direction:column;

gap:12px;

}

.modal-contenido{

padding:25px;

}

#desc-titulo{

font-size:2rem;

}

.inicio-titulo{

font-size:2rem;

}

}

/*==================================================
TRANSICIONES GENERALES
==================================================*/

button,
a,
input,
textarea,
img,
.inicio-card,
.redes-icon,
.contacto,
.descripcion{

transition:all .35s ease;

}
