/* RESET */
:root {
    --negro: #0b120e;
    --azul-oscuro: #003399; 
    --gris-azulado: #757597; 
    --gris-claro: #e3e3e3;
    --blanco: #f9f9f9;
    --blanco-puro: #ffffff;
    --acento: #3333cc;
    --h-font: 'Plus Jakarta Sans', sans-serif;
    --p-font: 'Source Serif 4', serif;
}

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

body {
    background-color: var(--blanco);
    color: var(--negro);
    font-family: var(--p-font);
    -webkit-font-smoothing: antialiased;
    line-height: 1.4;
}
.body-p em, .body-p i, i {
    font-family: var(--p-font);
    font-style: italic;
    font-weight: 400; 
    letter-spacing: -0.02em;
}
a{
    text-decoration: none ;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--h-font);
    font-weight: 800;
    text-wrap: pretty; 
    letter-spacing: -0.04em;
}
/* GRID SBlack */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.border-top {
    border-top: 1px solid var(--gris-azulado);
}

.grid-row {
    display: grid;
    grid-template-columns: 300px 1fr; /* Más aire para la columna izquierda */
    gap: 50px;
}
/* Bloque de 3 columnas */
.value-block {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 40px;
    margin-top: 3rem;
}

.value-item img {
    width: auto;
    height: 96px; /* Ajusta la altura según prefieras */
    /* object-fit: cover; Asegura que la imagen llene el espacio sin deformarse */
    margin-bottom: 1.5rem;
}

.value-item h3 {
    font-family: var(--h-font);
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25em;
    margin-bottom: 1rem;
    color: var(--negro);
    text-transform: none; /* Mantener lectura natural */
}

.value-item .body-p {
    font-size: 1.2rem;
    line-height: 1.5;
}



/* HERO SECTION */
.main-logo-home {
    height: 100px;
    width: auto;
    display: block;
}
.header-brand-container {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; /* Fuerza alineación a la izquierda en escritorio */
    gap: 20px;
}

.seo-title-home {
    font-size: 0.7em;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 25px;
    opacity: 0.7;
    max-width: 300px;
    display: block;
    line-height: 1.5;
    font-family: var(--h-font);
}

/* Título principal */
.hero-visual {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 0.95; /* No colisión de letras */    
    margin-bottom: 60px;
    max-width: 18ch; /* Bloque sólido de texto sin huérfanas */
}

/* TEXTOS DE CUERPO */
.body-p {
    font-family: var(--p-font);
    font-size: 1.8rem;
    line-height: 1.45;
    max-width: 800px;
    margin-bottom: 40px;
}

.label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--h-font);
    color: var(--gris-azulado);
}

.sub-headline {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 40px;
    max-width: 25ch;
}

/* ACCIONES Y BOTONES */
.hero-actions {
    margin-top: 70px;
}

.cta-link, .cta-button, .body-p a{
    font-style: italic;
}
.body-p a{
    color: var(--acento);
    text-decoration: none;
}
.body-p a:hover{
    text-decoration: underline;
}

.cta-link {
    color: var(--acento);
    text-decoration: none;
    border-bottom: 1px solid var(--acento);
    padding: 0px 2px 5px 2px;
    display: inline-block;
    letter-spacing: -0.03em;
    font-size: 1.5rem;
}
a.cta-link:hover{
    color: var(--gris-azulado);
    border-color: var(--gris-azulado);
}

/* BOTONES REDONDEADOS */
.cta-button, .wa-button-pill, .cta-button-dark {
    display: inline-block;
    padding: 20px 30px;
    border-radius: 100px;
    font-style: italic;
    text-decoration: none;
    transition: transform 0.3s ease;
    letter-spacing: -0.03em;
    font-size: 1.5rem;
}
.cta-button:hover, .wa-button-pill:hover, .cta-button-dark:hover{
    transform: translateY(-3px);
}
.cta-button-dark{
    background: var(--acento);
    color: var(--blanco-puro);
}
.cta-button-dark:hover{
    background: var(--gris-claro);
    color: var(--acento);
}
.pill-bar {
    margin-top: 45px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    font-family: var(--h-font);
}

/* LISTAS ESPECIALES */
.plan-list {
    list-style: none;
    margin: 50px 0;
}

.plan-list li {
    font-family: var(--p-font);
    font-size: 1.5rem;
    padding: 30px 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.client-list-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 80px;
}

.client-column { list-style: none; }

.client-column li {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 700;
    padding: 25px 0;
    border-bottom: 1px solid rgba(11, 18, 14, 0.1);
    font-family: var(--h-font);
}
.client-column li a{
    color: var(--negro);
}
.client-column li a:hover {
    color: var(--acento);
}

/* --- BLOQUE FINAL BLACK --- */

.closing-block-wrapper {
    background-color: var(--negro);
    width: 100%;
    margin-top: 0;
}


/* Forzar textos en blanco */
.closing-block-wrapper, .closing-block-wrapper p  {
    color: var(--blanco) !important;
}
.closing-block-wrapper .label{
    color: var(--blanco);
}

/* BOTONES SOBRE AZUL */
.contact-actions {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    margin: 60px 0;
}
.cta-button, .wa-button-pill{
    border: 2px solid var(--blanco);
    background-color: var(--acento);
    color: var(--blanco);
}

.wa-button-pill{
    background: #25D366;
}
.cta-button:hover, .wa-button-pill:hover{
        background: transparent;
        color: var(--blanco-puro);
        border-color: var(--acento);
}

.cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.wa-disclaimer {
    font-family: var(--h-font);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.7;
    color: inherit;
    text-align: center;
    display: block;
}


/* NEW BUSINESS */
.closing-block-wrapper .direct-contact {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.closing-block-wrapper .mail-link {
    font-family: var(--h-font);
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--blanco) !important;
    text-decoration: none;
    margin-left: 15px;
}

.closing-block-wrapper .mail-link:hover {
    opacity: 0.8;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.address-text {
    font-family: var(--h-font);
    font-style: normal;
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 500;
    margin-top: 15px;
    color: inherit;
    opacity: 0.9;
}

.phone-link {
    display: block;
    color: inherit;
    text-decoration: none;
    margin-top: 10px;
    font-weight: 700;
    transition: opacity 0.3s ease;
}

.phone-link:hover {
    opacity: 0.7;
}

.mail-link-small {
    display: block;
    font-size: 1.1rem;
    margin-top: 15px;
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid var(--acento);
    width: fit-content;
}

.mail-link-small:hover {
    opacity: 0.7;
}

.footer-legal {
    margin-top: 50px;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--h-font);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.5;
    color: inherit;
}

.legal-link {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.legal-link:hover {
    opacity: 1;
    text-decoration: underline;
}

.legal-separator {
    margin: 0 10px;
    opacity: 0.3;
}

.full-width-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 2rem;
    border-radius: 5px; 
    object-fit: cover;
}

.internal-nav-list {
    display: flex;
    flex-direction: column;
}

.nav-item-large {
    display: flex;
    flex-direction: column;
    padding: 40px 0;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.nav-item-large:hover {
    padding-left: 20px;
    background-color: rgba(0,0,0,0.02);
}

.nav-title {
    font-family: var(--h-font);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    text-wrap: pretty;
}

.nav-desc {
    font-family: var(--body-font);
    font-size: 1.1rem;
    margin-top: 10px;
    opacity: 0.6;
}

/* Ajuste para el toque de color */
.nav-item-large:hover .nav-title {
    color: var(--acento);
}



/* RESPONSIVO */
@media (max-width: 900px) {
    .section-container { padding: 35px 25px;}
    .grid-row { grid-template-columns: 1fr; gap: 40px; }
    .header-brand-container {
        flex-direction: row; 
        align-items: center;   
        justify-content: flex-start; 
        gap: 25px;
        margin-bottom: 30px;
        width: 100%;            
    }
    .main-logo-home {
        height: 55px;
        margin-bottom: 0;
        margin-left: 0;     
    }
    .seo-title-home {
        font-size: 9px;
        max-width: 170px;
        line-height: 1.2;
        margin-bottom: 0;
        text-align: left;       
    }
    .hero-visual { font-size: clamp(1.8rem, 15vw, 1.8rem); margin-bottom: 50px; }
    .body-p, .plan-list li{
        font-size: 1.25rem;
        line-height: 1.4;
        margin-bottom: 20px;
        max-width: 100%;
        color: var(--negro);
    }
    .hero-actions{
        margin-top: 30px;        
    }
    .sub-headline{
        font-size: clamp(1.6rem, 4vw, 3.2rem);
    }
    .plan-list{
        margin: 25px 0;
    }
    .plan-list li{
        padding: 1em 0;
        margin: 0;
    }
    .client-list-container { grid-template-columns: 1fr; }
    .value-block { grid-template-columns: 1fr; }
    .value-item img{
        height: 50px;
    }
    .contact-actions { flex-direction: column; }
    .closing-block-wrapper .cta-button, 
    .closing-block-wrapper .wa-button-pill { width: 100%; text-align: center; }
    .contact-actions {
        flex-direction: column;
        align-items: center; 
        gap: 20px;
    }
    .cta-wrapper {
        width: 100%;
        align-items: center; /* Centra el botón de WA y su disclaimer */
    }
    .cta-button, .wa-button-pill, .cta-button-dark{
        padding: 15px 20px;
        font-size: 1.3rem;
    }
    .cta-button, 
    .wa-button-pill {
        width: 90%; /* Ancho solicitado para evitar el look de 100% */
        max-width: none; /* Evita que en tablets se estire demasiado */
        text-align: center;
    }

    .wa-disclaimer {
        text-align: center;
        width: 90%;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

     .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .legal-separator {
        display: none;
    }
    .legal-right {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .full-width-img {
        object-position: center;
    }
    .nav-item-large {
        padding: 30px 0;
        width: 100%; 
    }
    
    .nav-title {
        font-size: 2rem; 
    }
}