/*==================================================
    PROYECTO:
    Comercializadora Teocalli

    DESARROLLADOR:
    Mundo Fácil

    ARCHIVO:
    style.css
==================================================*/


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

:root{

    --primary:#0D3B66;
    --primary-light:#1D6F8C;
    --secondary:#D9A441;
    --white:#FFFFFF;
    --text:#5F6B7A;
    --background:#F8FAFC;

    --radius-sm:10px;
    --radius-md:18px;
    --radius-lg:30px;

    --shadow-sm:0 10px 25px rgba(0,0,0,.08);
    --shadow-lg:0 20px 45px rgba(0,0,0,.10);

    --transition:all .35s ease;

}


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

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}


html{

    scroll-behavior:smooth;

}


body{

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

    color:var(--dark);

    background:var(--background);

    overflow-x:hidden;

}


img{

    max-width:100%;

    display:block;

}


a{

    text-decoration:none;

    color:inherit;

}


ul{

    list-style:none;

}


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

.site-header{
    position:fixed;
    top:25px;
    left:0;
    width:100%;
    z-index:1000;
    transition:var(--transition);
	/*background-image:url(../img/hero/hero-main.png);*/
}


.header-container{

    display:flex;

    align-items:center;

    justify-content:space-between;

    height:82px;

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

    backdrop-filter:blur(12px);

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

    border-radius:18px;

    padding:0 30px;

}


.site-header.scrolled .header-container{

    background:#FFFFFF;

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

}


.logo img{

    height:110px;

    width:auto;

}


.main-nav{

    margin-left:auto;

}


.nav-list{

    display:flex;

    align-items:center;

    gap:35px;

}


.nav-link{

    position:relative;

    color:#FFFFFF;

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

    font-size:.95rem;

    font-weight:600;

    transition:var(--transition);

}


.site-header.scrolled .nav-link{

    color:var(--dark);

}


.nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.30s;

}


.nav-link:hover::after{

    width:100%;

}


/*==================================================
BOTONES
==================================================*/

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 26px;

    border-radius:50px;

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

    font-size:.90rem;

    font-weight:600;

    transition:var(--transition);

}


.btn-primary{

    background:var(--secondary);

    color:#FFFFFF;

}


.btn-primary:hover{

    transform:translateY(-2px);

    filter:brightness(.95);

}

.btn-outline{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:14px 28px;

    border:2px solid rgba(255,255,255,.35);

    border-radius:50px;

    color:#FFFFFF;

    background:transparent;

    transition:var(--transition);

}

.btn-outline:hover{
    background:#FFFFFF;
    color:var(--primary);
}


/*==================================================
MENÚ MÓVIL
==================================================*/

.menu-toggle{
    display:none;
    width:42px;
    height:42px;
    border:none;
    background:none;
    cursor:pointer;
}

.menu-toggle.active span:nth-child(1){
    transform:rotate(45deg) translate(6px,6px);
}

.menu-toggle.active span:nth-child(2){
    opacity:0;
}

.menu-toggle.active span:nth-child(3){

    transform:rotate(-45deg) translate(6px,-6px);

}

.menu-toggle span{
    display:block;
    width:28px;
    height:2px;
    margin:6px auto;
    background:#FFFFFF;
    transition:.35s;
}


.site-header.scrolled .menu-toggle span{
    background: #D08904;  /* Rayas de la hamburguesa */
}

/*==================================================
    CONTENEDOR
==================================================*/

.container{

    width:100%;

    max-width:var(--container);

    margin:auto;

    padding:0 30px;

}


/*==================================================
    TIPOGRAFÍA
==================================================*/

h1,h2,h3,h4,h5,h6{

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

    font-weight:700;

}



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

.hero{

    position:relative;

    display:flex;

    flex-direction:column;

    justify-content:center;

    min-height:100vh;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #0D3B66 0%,
        #124E78 5%,
        #FFFFFF 100%
    );

	background-image:url(../img/hero/hero-main3.png);
	background-size:cover;
	background-position:center;
	background-repeat:no-repeat;

}




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

.hero-overlay{
    position:absolute;
    inset:0;
    background:
    linear-gradient(
        90deg,
        rgba(13,59,102,.92) 0%,
        rgba(13,59,102,.78) 45%,
        rgba(255,255,255,.30) 100%
    );
    z-index:1;
}




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

.hero-container{

    position:relative;

    z-index:5;

    display:grid;

    grid-template-columns:1.1fr .9fr;

    align-items:center;

    gap:60px;

    padding-top:170px;

    padding-bottom:120px;

}


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

.hero-copy{

    color:#FFFFFF;

}

.hero-tag{

    display:inline-flex;

    align-items:center;

    padding:10px 18px;

    margin-bottom:25px;

    border-radius:50px;

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

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

    font-size:.90rem;

    font-weight:600;

    letter-spacing:.5px;

}







.hero-title{

    max-width:700px;
    margin-bottom:28px;
    font-size:clamp(2.4rem,4vw,3.6rem);
    line-height:1.1;
    font-weight:800;
}







.hero-description{

    max-width:620px;

    margin-bottom:45px;

    font-size:1.10rem;

    line-height:1.8;

    color:rgba(255,255,255,.88);

}







.hero-buttons{

    display:flex;

    gap:20px;

    flex-wrap:wrap;

}



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

.hero-image{

    display:flex;

    justify-content:center;

    align-items:center;

    position:relative;

}

.hero-image-wrapper{

    position:relative;

    width:100%;

    max-width:820px;

}

.hero-image img{

    width:100%;

    display:block;

    object-fit:contain;

    filter:drop-shadow(0 35px 60px rgba(0,0,0,.28));

}





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

.hero-highlights{
    position:relative;
    z-index:10;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:25px;
    margin-top:-50px;
}






.highlight{
    display:flex;
    align-items:center;
    gap:15px;
    padding:28px;
    background:#FFFFFF;
    border-radius:18px;
    box-shadow:0 20px 45px rgba(0,0,0,.08);
    transition:var(--transition);
}

.highlight:hover{
    transform:translateY(-8px);
    box-shadow:0 30px 60px rgba(0,0,0,.15);
}





.highlight-icon{

    display:flex;

    align-items:center;

    justify-content:center;

    min-width:60px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#EEF6FA;

    font-size:1.7rem;

}

.highlight-content h3{

    margin-bottom:8px;

    color:var(--primary);

    font-size:1.05rem;

}

.highlight-content p{

    color:#666;

    line-height:1.6;

}



.highlight h3{

    margin-bottom:8px;

    color:var(--primary);

    font-size:1.05rem;

    font-weight:700;

}

.highlight p{

    color:#666;

    font-size:.92rem;

    line-height:1.5;

}



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

.hero-scroll{
    position:absolute;
    left:50%;
    bottom:25px;
    transform:translateX(-50%);
    z-index:20;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:12px;
    color:#FFFFFF;
    font-size:.85rem;
    letter-spacing:2px;
    text-transform:uppercase;
}



.scroll-mouse{

    display:flex;

    justify-content:center;

    width:28px;

    height:46px;

    border:2px solid rgba(255,255,255,.80);

    border-radius:25px;

}



.scroll-wheel{

    width:5px;

    height:10px;

    margin-top:8px;

    border-radius:50px;

    background:#FFFFFF;

    animation:scrollWheel 2s infinite;

}





@keyframes scrollWheel{

    0%{

        opacity:0;

        transform:translateY(0);

    }

    40%{

        opacity:1;

    }

    100%{

        opacity:0;

        transform:translateY(14px);

    }

}











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

/*=========================================
TABLETS
=========================================*/

@media (max-width:1024px){

    .header-container{

        height:75px;
        padding:0 20px;

    }

    .logo img{

        height:90px;

    }

    .nav-list{

        gap:20px;

    }

    .hero-container{

        grid-template-columns:1fr;
        text-align:center;
        gap:50px;
        padding-top:170px;
        padding-bottom:90px;

    }

    .hero-copy{

        display:flex;
        flex-direction:column;
        align-items:center;

    }

    .hero-description{
        max-width:700px;
    }

    .hero-buttons{
        justify-content:center;
    }

    .hero-image{
        order:2;
    }

    .hero-image-wrapper{
        max-width:650px;
    }

    .hero-highlights{
        grid-template-columns:1fr;
        margin-top:40px;
    }

}


/*=========================================
CELULARES
=========================================*/

@media (max-width:768px){

    .site-header{
        top:15px;
    }

    .header-container{
        height:70px;
        padding:0 18px;
    }

    .logo img{
        height:78px;
    }

    .menu-toggle{
        display:block;
        z-index:1100;

    }


    .main-nav{
		z-index:1050;
        position:fixed;
		color:white;
        top:0;
        right:-100%;

        width:300px;
        height:100vh;
        background:#0D3B66;
        display:flex;
        align-items:center;
        justify-content:center;

        transition:.35s;

    }

    .main-nav.active{

        right:0;

    }

    .nav-list{

        flex-direction:column;
        gap:30px;

    }

    .nav-link{
        color:#FFFFFF;
        font-size:1.05rem;
    }

    .hero{
        background-position:center;
        background-size:cover;
    }

    .hero-container{
        padding-top:150px;
        padding-bottom:60px;
    }

    .hero-title{
        font-size:2.2rem;
    }

    .hero-description{
        font-size:1rem;
    }

    .hero-buttons{
        flex-direction:column;
        width:100%;

    }

    .btn{

        width:100%;

    }

    .hero-image-wrapper{

        max-width:450px;

    }

    .hero-highlights{

        grid-template-columns:1fr;
        gap:20px;

    }

    .highlight{

        padding:22px;

    }

    .hero-scroll{

        display:none;

    }

}


/*=========================================
CELULARES PEQUEÑOS
=========================================*/

@media (max-width:480px){

    .container{

        padding:0 20px;

    }

    .hero-title{

        font-size:1.9rem;

    }

    .hero-description{

        line-height:1.7;

    }

    .hero-tag{

        font-size:.80rem;
        padding:8px 14px;

    }

    .hero-image-wrapper{

        max-width:320px;

    }

    .highlight{

        flex-direction:column;
        text-align:center;

    }

}


/* Contenedor Fijo en Esquina Inferior Derecha */
.contenedor-flotante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 9999; /* Asegura que quede por encima de las tablas y botones */
}

/* Estilos Generales de los Botones */
.btn-flotante {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-flotante:hover {
    transform: scale(1.1);
    box-shadow: 0px 6px 14px rgba(0, 0, 0, 0.4);
}

/* Iconos SVG Internos */
.icono-svg {
    width: 30px;
    height: 30px;
}

/* Color Verde WhatsApp */
.btn-whatsapp {
    background-color: #25d366;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
}

/* Color Azul Teléfono */
.btn-telefono {
    background-color: #002855; /* Mismo tono azul marino de tu panel */
}

.btn-telefono:hover {
    background-color: #001f42;
}