@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300..700;1,300..700&display=swap');

:root {
    
    --tipografia: "Cormorant Garamond", serif;
    --blanco:white;
    --amarillo: #d9b030;
    --gris: #4b4b4b;

    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.12);
    
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 30px;
    --border-radius-xl: 40px;
}

body {background: var(--grisClaro);overflow-x: hidden;}

main{padding-top: 8%;}

/*Generales*/

    .centradoHorizontal {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        padding: 2rem;
    }


    @media screen and (max-width: 768px) {
        .servicio-card .card-body {padding: 1.5rem;}
        
        .divisor-personalizado {margin: 1.5rem auto;}
        
        .centradoHorizontal {padding: 1rem;}

        main{padding-top: 18%;}
    }

/*Barra de navegacion*/

    .navegacion{
        position: fixed;
        width: 100%;
        background: var(--blanco);
        z-index: 1600;
        box-shadow: 0 0 12px rgba(0,0,0,0.15);
    }

    .navbar,.navbar-nav,.nav-item{margin-left: 5%;}

    .textoNav {
        font-size: 22px !important;
        font-weight: 500;
        color: var(--gris)!important;
        transition: color var(--transition-fast);
    }

    .textoNav:hover {color: var(--amarillo) !important;}

    .colorNav{color: var(--amarillo)!important;}
    .colorNav:hover{color: var(--amarillo)!important;}

/*Textos*/

    .texto {
        font-family: var(--tipografia);
        color: var(--gris);
        font-weight: 450;
        font-size: 20px;
        line-height: 1.6;
    }

    .titulos {
        font-family: var(--tipografia);
        color: var(--gris);
        font-size: clamp(1rem, 5vw, 2.8rem);
        font-weight: 600;
        margin-bottom: 1.5rem;
    }

    .titulos-seccion {
        font-family: var(--tipografia);
        color: var(--amarillo);
        font-size: clamp(1.5rem, 4vw, 2.2rem);
        font-weight: 500;
        margin-bottom: 1rem;
    }

    .texto-lead {
        font-family: var(--tipografia);
        font-size: clamp(1.2rem, 4vw, 2rem);
        font-weight: 500;
        line-height: 1.4;
    }

    .texto-grande {
        font-size: clamp(1.8rem, 5vw, 3rem);
        font-weight: 600;
    }

    .texto-mediano {font-size: clamp(1.2rem, 3.5vw, 1.6rem);}

 /*Divisores*/ 

    .divisor-personalizado {
        width: 20%;
        height: 4px;
        background: var(--amarillo);
        border: none;
        margin: 2rem auto;
        border-radius: 4px;
        transition: width var(--transition-base);
    }

    .divisor-personalizado:hover {width: 120px;}

/*Botones*/

    .btnMejorado {
        font-family: var(--tipografia);
        font-size: clamp(1rem, 3vw, 1.3rem);
        background: var(--blanco);
        border-radius: var(--border-radius-md);
        padding: 0.75rem 2rem;
        transition: all var(--transition-base);
        border: 2px solid transparent;
        font-weight: 500;
        display: inline-block;
        text-align: center;
    }

    .btnMejorado:hover {
        background: var(--amarillo);
        color: var(--blanco);
        transform: translateY(-3px);
        box-shadow: var(--shadow-md);
    }

/* Cards */

    .servicio-card {
        transition: transform var(--transition-base), box-shadow var(--transition-base);
        border-radius: var(--border-radius-xl);
  
        overflow: hidden;
        position: relative;
    }

 
    .servicio-card:hover::before {opacity: 1;}

    .servicio-card .card-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
    }

    .servicio-card:hover {transform: translateY(-8px);box-shadow: var(--shadow-xl);}

/*Imagenes*/

    .imgMejorado {
        border-radius: var(--border-radius-lg);
        transition: transform var(--transition-base), box-shadow var(--transition-base);
        cursor: pointer;
    }

    .imgMejorado:hover {
        transform: scale(1.03);
        box-shadow: var(--shadow-xl);
    }

/*Iconos*/

    .icono {
        color: var(--amarillo);
        transition: transform var(--transition-base);
        font-size: 30px;
    }

    .icono:hover {transform: scale(1.1);}

/*Texto animado*/

    .texto-highlight {
        color: var(--arena);
        font-weight: 600;
        position: relative;
        display: inline-block;
    }

    .texto-highlight::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background: var(--arena);
        transition: width var(--transition-base);
    }

    .texto-highlight:hover::after {width: 100%;}

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .animate-fadeInUp {animation: fadeInUp 0.8s ease forwards;}


    .shadow-hover {transition: box-shadow var(--transition-base);}

    .shadow-hover:hover {box-shadow: var(--shadow-lg);}

/*Footer*/

    .linkFooter{
        display: inline-flex; 
        align-items: center; 
        gap: 8px;
        text-decoration: none;
        color:rgba(170, 167, 167, 0.6)
    }

    .linkFooter:hover{
        color: var(--amarillo);
    }