﻿
/* ===========================
   Diseño Pag Principal 
   =========================== */

.underline {
    width: 100%;
    height: 2.5px;
    background-color: #6D071A;
    margin-top: 8px;
}

/* Variables de tema */
:root {
    --burgundy-500: #7E2430;
    --burgundy-400: #A84050;
    --blue-500: #6D071A;
    --blue-600: #6D071A;
    --ink-900: #0F172A;
    --ink-800: #1E293B;
    --ink-700: #334155;
    --ink-600: #475569;
    --bg: #F3F3F3;
    --bg-muted: #F6F7FB;
    --card: #FFFFFF;
    --border: #E5E7EB;
    --shadow: 0px 8px 24px rgba(0, 0, 0, 0.4);
    --radius-2: 12px;
    --radius-3: 16px;
    --container: 1228px;
}

/*----- Reset suave-------- */
* {
    box-sizing: border-box
}
/*----- Reset suave-------- */


/*----- Body-------- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}
.wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: auto;
    padding-top: 100px;
}

body {
    margin: 0;
    font-family: "Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
    color: var(--ink-800);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

    body.bodyP {
        background: linear-gradient(rgba(255,255,255,0.6), rgba(255,255,255,0.6)), url('/img/backnew-01.jpg') no-repeat center top;
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        background-attachment: fixed;
        background-color: #FFFFFF;
    }

@media (max-width: 768px) {
    body.bodyP {
        background-size: cover;
        background-position: center top;
    }
}
/*----- Body-------- */



img, svg {
    max-width: 100%;
    height: auto;
    display: block
}

a {
    color: inherit;
    text-decoration: none
}

    a:focus-visible, button:focus-visible {
        outline: 3px solid var(--blue-500);
        outline-offset: 2px;
        border-radius: 8px
    }

.container {
    max-width: var(--container);
    margin-inline: auto;
    padding: 0 20px
}

/* Saltar a contenido */
.skip {
    position: absolute;
    left: -9999px;
    top: auto;
}

    .skip:focus {
        left: 16px;
        top: 16px;
        background: #fff;
        border: 2px solid var(--blue-500);
        padding: .5rem .75rem;
        border-radius: 8px;
        z-index: 9999;
    }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050; /* más alto que tooltips y dropdowns */
    /*background: linear-gradient(to bottom, rgb(250, 250, 250), rgb(235, 235, 235));*/
    background-color: white;
    /*background-color: #EDECEC;*/
    backdrop-filter: saturate(140%) blur(8px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.1);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 0
}

.brand {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-weight: 800;
    letter-spacing: .4px
}

.brand-mark {
    color: var(--burgundy-500)
}

.brand-text {
    font-size: 1.05rem
}

.nav {
    margin-left: auto;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 10px;
    padding: .4rem .6rem;
    cursor: pointer;
    font-size: 1.1rem
}

.menu {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0
}

    .menu a {
        color: var(--ink-700);
        font-weight: 500
    }

        .menu a:hover {
            color: var(--ink-900)
        }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .9rem 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    box-shadow: 0 1px 0 rgba(0,0,0,.04)
}

    .btn:hover {
        transform: translateY(-1px)
    }

    .btn:active {
        transform: translateY(0)
    }

.btn-primary {
    background: var(--blue-500);
    color: white
}

    .btn-primary:hover {
        background: var(--blue-600)
    }

.btn-ghost {
    background: transparent;
    border-color: var(--border);
    border-radius: 20px;
    padding: 12px 26px;

    color: var(--ink-700)
}

    .btn-ghost:hover {
        background: var(--bg-muted)
    }

.btn-burgundy {
    background: var(--burgundy-500);
    color: #fff;
    margin-left: 8px
}

    .btn-burgundy:hover {
        background: var(--burgundy-400)
    }

/* Hero */
.hero {
    background-color:transparent;

}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 32px;
    align-items: center;
    padding: 56px 0 24px;
}

.hero-title {
    font-size: clamp(2.2rem,4vw,3.2rem);
    line-height: 1.15;
    margin: 0 0 .4rem;
    font-weight: 800;
    color: var(--ink-900)
}

.hero-subtittle{
    font-size: clamp(2.2rem,2.5vw,3.2rem);
    line-height: 1.15;
    margin: 0 0 .4rem;
    font-weight: 800;
    color: var(--ink-900)
}

.text-accent {
    background: linear-gradient(90deg, #6a2c38 0%, #7b2f3d 50%, #5a222c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800; /* opcional, resalta el texto */
}


.hero-sub {
    margin: 0 0 1.25rem;
    color: var(--ink-600);
    font-size: 1.125rem
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px
}

.hero-graphic {
    /*background: radial-gradient(120% 100% at 100% 0, #eef2ff 0%, transparent 60%);*/
    border-radius: var(--radius-3);
}

/* Cards */

.cards {
    padding: 28px 0 8px
}

.card-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.card-beige {
    position: relative;
    background-color: rgba(206, 197, 170, 0.88);
    /*border: 1px solid var(--border);*/
    border-radius: 16px;
    height: 100px;
    padding: 20px;
    box-shadow: var(--shadow);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: transform 0.2s ease-out, box-shadow 0.3s ease-out;
    overflow: hidden;
    z-index: 0;
}

    .card-beige::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/img/Tule_vino.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-blend-mode: lighten;
        opacity: 0.1;
        z-index: -1;
        box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
    }

.card-vino {
    position: relative;
    background-color: rgba(123, 45, 69, .88);
    /*border: 1px solid var(--border);*/
    border-radius: 16px;
    height: 100px;
    padding: 20px;
    box-shadow: var(--shadow);
    min-height: 180px;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    transition: transform 0.2s ease-out, box-shadow 0.3s ease-out;
    overflow: hidden;
    z-index: 0;
}

    .card-vino::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: url('/img/Tule_Vino.png');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-blend-mode: lighten;
        opacity: 0.7; 
        z-index: -1;
    }

    .card-vino:hover, 
    .card-beige:hover {
        transform: translateY(-4px);
        box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.5)
    }

    .card-vino h3 {
        margin: 0;
        font-size: 1.1rem;
        color: #FCFCFC;
    }

.card-beige h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #FCFCFC;
}

    .card-vino h3 {
        margin: 0;
        font-size: 1.1rem;
        color: #FCFCFC;
    }

.card-beige h3 {
    margin: 0;
    font-size: 1.1rem;
    color: #3b3c36;
}

.card-vino p {
    margin: 0;
    color: var(--ink-600);
    color: #EDECEC;
    line-height: 1.5;
}

.card-beige p {
    margin: 0;
    color: var(--ink-600);
    color: #3b3c36;
    line-height:1.5;
}

.card-body {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    margin-top:5px;
    margin-bottom:-12px;
}

.card-icon-vino {
    margin: 0; 
    flex-shrink: 0;
    color: #FCFCFC;
}

.card-icon-beige {
    margin: 0; 
    flex-shrink: 0;
    color: #3b3c36;
}

.card-text {
    flex-grow: 1;
    color: #FCFCFC;
}

    .card-icon svg {
        width: 22px;
        height: 22px;
        fill: var(--ink-700)
    }

.link-cta {
    margin-top: auto;
    font-weight: 700;
    padding-left: 1rem;
    color: #EDECEC;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-cta-beige {
    margin-top: auto;
    font-weight: 700;
    padding-left: 1rem;
    color: #3b3c36;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .link-cta:hover {
        color: #EDECEC; /* Vino profundo */
        text-decoration: underline;
    }

.link-cta-beige:hover {
    color: #3b3c36; /* Vino profundo */
    text-decoration: underline;
}

   


/* Benefits */
.benefits {
    padding: 24px 0
    
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 12px;
    align-items: center;
    background-color:transparent;

    padding: 18px;
    border-radius: 16px;
    border: 1px solid var(--border)
}

.benefit {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    font-size:1rem;
}

.benefit-icon {
    font-size: 1.25rem
}

/* Info */
.info {
    padding: 32px 0 56px
}

.info-inner {
    max-width: 890px;
    margin: 0 auto;
    padding: 0 24px;
}

.info h2 {
    margin: 0 0 .5rem
}
/* Info */

.steps {
    margin: .25rem 0 0 1.2rem
}

    .steps li {
        margin: .35rem 0
    }


/* ESTILOS GENERALES */
.direccion-footer,
.contacto-footer {
    font-size: 14px;
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 768px) {
    .container-footer {
        flex-direction: column;
        text-align: center;
        position: static;
        padding: 0 20px;
    }

    .logo-footer,
    .direccion-footer,
    .contacto-footer {
        position: static !important;
        transform: none !important;
        text-align: center;
        margin-bottom: 10px;
        padding: 0;
    }


    .link-cta-beige {
        margin-top: -20px;
    }
   
}

/* FOOTER GENERAL */

/*Imagen Computadora inicio*/
.logo-responsive {
    max-width: 300px; /* Controla el tamaño visual */
    height: auto;
    display: block;
}

.steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    justify-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%; /* Controla el tamaño visual */
}

.columna {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}



/*---------- Pasos imagenes y numeros-------------- */
.paso-inline {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre número e imagen */
}

.paso-numero {
    font-size: 1.4rem;
    font-weight: bold;
    color: #7b2d45; 
    background-color: transparent;
    padding: 6px 12px;
    border-radius: 8px;
    flex-shrink: 0;
}
.paso-inline {
    display: flex;
    gap: 12px; /* Espacio entre número e imagen */
}

.pasos-image {
    width: 350px;
    filter: drop-shadow(0px 2px 4px rgba(0, 0, 0, 0.2));
    transition: transform 0.2s ease;
}

    .pasos-image:hover {
        transform: scale(1.05);
    }
/*---------- Pasos imagenes y numeros-------------- */



@media screen and (min-width: 768px) and (max-width: 1024px) {

    .hero-inner {
        gap: 1px;
        padding: 28px 22px
    }

    .site-header {
        padding-left: 5px;
        padding-right: 5px;
    }

    /*@media (min-width: 768px) {*/
    .card-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Dos columnas */
        gap: 24px;
        justify-content: center;
    }

        .card-grid li:nth-child(3) { /*Apunta al tercer li (Denuncias)*/
            grid-column: 1 / 3; /* Ocupa ambas columnas */
            display: flex;
            justify-content: center; /* Centra el contenido del <li> */
        }
        
        .card-grid li:nth-child(3) article {
                width: 100%;
                max-width: 50%;
            }
}


@media (max-width: 760px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 1px;
        padding: 28px 0
    }
    .site-header {
        padding-left: 5px;
        padding-right: 5px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        width: 300px;
        margin: 0 auto; /* Centra horizontalmente */
        margin-top:-22px;
    }
 
    .menu {
        display: none;
        position: absolute;
        right: 20px;
        top: 64px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 10px 12px;
        flex-direction: column;
        gap: 10px;
        box-shadow: var(--shadow)
    }

        .menu.is-open {
            display: flex
        }

    .nav-toggle {
        display: inline-block
    }

    .btn-burgundy {
        display: none
    }
}

/* Accesibilidad extra */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important
    }
}




@media (max-width: 768px) {
    

    .form {
        --width-of-input: 100%;
        width: 100%;
        padding-inline: 1rem;
        border-radius: 20px;
    }

    .search-row {
        justify-content: center;
        padding: 0.5rem;
    }


    .info-inner {
        margin-top: -16px;
        padding: 0 1rem;
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
    }

    .img-central {
        width: 100%;
        max-width: 320px;
        height: auto;
    }

    .paso-inline {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 12px;
    }

    .paso-numero {
        font-size: 1.2rem;
    }

    .pasos-image {
        width: 100px;
        max-width: 80px;
        margin-top: -8px;
    }

    .steps {
        padding-left: 0;
        margin: 0 auto;
        max-width: 500px;
    }

    .paso-item {
        list-style: none;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 2rem;
    }

    .hero-subtittle {
        font-size: 1.5rem;
        line-height: 2rem;
    }

    .hero-sub {
        font-size: 1rem;
        line-height: 1.4rem;
        margin-bottom: 1rem;
    }

    .hero-graphic img.logo-responsive {
        max-width: 180px;
        height: auto;
        margin-top: 1rem;
    }

    .hero-inner {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .paso-inline {
        flex-direction: row;
        justify-content: center;
        gap: 0.5rem;
    }

    .paso-numero {
        font-size: 1.2rem;
    }

    .pasos-image {
        width: auto;
        max-width: 83%;
        margin-top: -12px
    }

    .info-inner {
        margin-top: -32px;
    }

    .benefits-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        justify-content: center;
        gap: 1rem;
    }

    .benefit:nth-child(3) {
        grid-column: 1 / span 2; /* Ocupa ambas columnas */
        justify-content: center;
    }
}


.select2-container--default .select2-selection--multiple {
    border: 1px solid transparent !important;
    box-shadow: none !important;
    background-color: transparent; /* opcional si quieres fondo limpio */
}


.awesomplete mark {
    background: Transparent;
    color: black;
    padding: 0 2px;
}




.icono-portal {
    width: auto;
    height: 75px;
    display: block;
    margin: auto;
    padding-bottom: .75rem;
    filter: brightness(0) invert(1);
}

.icono-portal-biege {
    width: auto;
    height: 75px;
    display: block;
    /*margin: auto;*/
    padding-bottom: .75rem;
    filter: brightness(0) saturate(100%) invert(23%) sepia(5%) saturate(500%) hue-rotate(10deg);
}

/*.portal-section-title {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: #3b3c36;
}*/

/*.portal-subtitle {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #3b3c36;
}*/

.icon-img-vino {
    height: 64px;
    width: 84px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: transform 0.2s ease;
}

.card-icon-vino:hover .icon-img-vino {
    transform: scale(1.05);
}

.icon-img-beige {
    height: 64px;
    width: 84px;
    object-fit: contain;
    transition: transform 0.2s ease;
    color: #3b3c36;
}

.card-icon-beige:hover .icon-img-beige {
    transform: scale(1.05);
}


