/* =========================================================
   ZENHAI
   Sistema global basado en landing aprobada
   ========================================================= */


/* =========================================================
   1. VARIABLES
   ========================================================= */

:root {
    /* Colores institucionales */
    --zh-espresso: #2b1e17;
    --zh-cocoa: #4a3326;
    --zh-sand: #dcc6a3;
    --zh-ivory: #f3ece1;
    --zh-cream: #faf7f1;
    --zh-charcoal: #222426;

    /* Colores funcionales */
    --zh-bg: #faf7f1;
    --zh-surface: #fdfaf6;
    --zh-surface-soft: #f7f1e9;
    --zh-surface-dark: #2b211a;

    --zh-text: #302720;
    --zh-text-secondary: #66584e;
    --zh-text-light: #faf7f1;

    --zh-border: #e5dacf;
    --zh-border-dark: rgba(43, 30, 23, 0.18);
    --zh-border-light: rgba(255, 255, 255, 0.16);

    /* Tipografías */
    --zh-font-heading: "Sora", sans-serif;
    --zh-font-body: "Inter", sans-serif;

    /* Escala tipográfica */
    --zh-size-display: clamp(2.75rem, 4.6vw, 4.5rem);
    --zh-size-h1: clamp(2.5rem, 4.2vw, 4rem);
    --zh-size-h2: clamp(2rem, 3.2vw, 3rem);
    --zh-size-h3: clamp(1.4rem, 2vw, 2rem);
    --zh-size-h4: clamp(1.1rem, 1.4vw, 1.35rem);
    --zh-size-lead: clamp(1rem, 1.25vw, 1.15rem);
    --zh-size-body: 1rem;
    --zh-size-small: 0.875rem;
    --zh-size-label: 0.7rem;

    /* Estructura */
    --zh-container: 1200px;
    --zh-header-height: 82px;
    --zh-section-space: clamp(4.5rem, 7vw, 7rem);
    --zh-section-space-sm: clamp(3rem, 5vw, 4.75rem);

    /* Bordes */
    --zh-radius-sm: 8px;
    --zh-radius-md: 12px;
    --zh-radius-lg: 18px;
    --zh-radius-pill: 999px;

    /* Sombras muy suaves */
    --zh-shadow-sm: 0 8px 24px rgba(43, 30, 23, 0.04);
    --zh-shadow-hover: 0 15px 35px rgba(43, 30, 23, 0.08);

    /* Transiciones */
    --zh-transition-fast: 180ms ease;
    --zh-transition: 280ms ease;

    /* Bootstrap */
    --bs-body-font-family: var(--zh-font-body);
    --bs-body-font-size: var(--zh-size-body);
    --bs-body-color: var(--zh-text);
    --bs-body-bg: var(--zh-bg);
    --bs-border-color: var(--zh-border);
    --bs-link-color: var(--zh-espresso);
    --bs-link-hover-color: var(--zh-cocoa);
}


/* =========================================================
   2. DOCUMENTO
   ========================================================= */

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--zh-header-height) + 20px);
}

body {
    margin: 0;
    overflow-x: hidden;
    background-color: var(--zh-bg);
    color: var(--zh-text);
    font-family: var(--zh-font-body);
    font-size: var(--zh-size-body);
    font-weight: 400;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    position: relative;
    overflow: hidden;
}

section {
    position: relative;
}

[id] {
    scroll-margin-top: calc(var(--zh-header-height) + 20px);
}

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

img {
    height: auto;
}

button,
input,
textarea,
select {
    font: inherit;
}

a {
    color: var(--zh-espresso);
    text-decoration: none;
    transition:
        color var(--zh-transition-fast),
        opacity var(--zh-transition-fast);
}

a:hover {
    color: var(--zh-cocoa);
}

::selection {
    background-color: var(--zh-sand);
    color: var(--zh-espresso);
}


/* =========================================================
   3. CONTENEDOR
   ========================================================= */

.container {
    max-width: var(--zh-container);
}

.zh-container-narrow {
    width: 100%;
    max-width: 980px;
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   4. TIPOGRAFÍA
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    color: var(--zh-espresso);
    font-family: var(--zh-font-heading);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.035em;
}

h1 {
    font-size: var(--zh-size-h1);
}

h2 {
    font-size: var(--zh-size-h2);
}

h3 {
    font-size: var(--zh-size-h3);
}

h4 {
    font-size: var(--zh-size-h4);
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

strong,
b {
    font-weight: 600;
}

.zh-display {
    font-family: var(--zh-font-heading);
    font-size: var(--zh-size-display);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.zh-section-title {
    max-width: 850px;
    margin-bottom: 1rem;
}

.zh-lead {
    max-width: 720px;
    color: var(--zh-text-secondary);
    font-size: var(--zh-size-lead);
    line-height: 1.65;
}

.zh-text-secondary {
    color: var(--zh-text-secondary);
}

.zh-text-espresso {
    color: var(--zh-espresso);
}

.zh-text-sand {
    color: var(--zh-sand);
}

.zh-text-light {
    color: var(--zh-text-light);
}

.zh-text-balance {
    text-wrap: balance;
}


/* =========================================================
   5. ETIQUETAS DE SECCIÓN
   ========================================================= */

.zh-section-label {
    position: relative;
    display: inline-block;
    margin-bottom: 0.85rem;
    padding-bottom: 0.25rem;
    color: var(--zh-cocoa);
    font-size: var(--zh-size-label);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.zh-section-label::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background-color: var(--zh-sand);
    content: "";
}

.zh-section--dark .zh-section-label,
.zh-section--espresso .zh-section-label {
    color: var(--zh-sand);
}


/* =========================================================
   6. SECCIONES
   ========================================================= */

.zh-section {
    padding-top: var(--zh-section-space);
    padding-bottom: var(--zh-section-space);
}

.zh-section--sm {
    padding-top: var(--zh-section-space-sm);
    padding-bottom: var(--zh-section-space-sm);
}

.zh-section--cream {
    background-color: var(--zh-cream);
}

.zh-section--ivory {
    background-color: var(--zh-ivory);
}

.zh-section--surface {
    background-color: var(--zh-surface);
}

.zh-section--espresso {
    background-color: var(--zh-espresso);
    color: var(--zh-text-light);
}

.zh-section--dark {
    background-color: var(--zh-surface-dark);
    color: var(--zh-text-light);
}

.zh-section--espresso h1,
.zh-section--espresso h2,
.zh-section--espresso h3,
.zh-section--espresso h4,
.zh-section--dark h1,
.zh-section--dark h2,
.zh-section--dark h3,
.zh-section--dark h4 {
    color: var(--zh-text-light);
}

.zh-section--espresso .zh-lead,
.zh-section--dark .zh-lead {
    color: rgba(250, 247, 241, 0.72);
}

.zh-section-header {
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.zh-section-header--center {
    max-width: 850px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.zh-section-header--center .zh-lead {
    margin-right: auto;
    margin-left: auto;
}


/* =========================================================
   7. BOTONES
   ========================================================= */

.zh-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.zh-btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.75rem 1.4rem;
    border: 1px solid transparent;
    border-radius: var(--zh-radius-pill);
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    transition:
        color var(--zh-transition),
        background-color var(--zh-transition),
        border-color var(--zh-transition),
        transform var(--zh-transition);
}

.zh-btn i {
    font-size: 1.15rem;
    transition: transform var(--zh-transition);
}

.zh-btn:hover {
    transform: translateY(-2px);
}

.zh-btn:hover i {
    transform: translateX(3px);
}

.zh-btn--primary {
    border-color: var(--zh-espresso);
    background-color: var(--zh-espresso);
    color: var(--zh-cream);
}

.zh-btn--primary:hover {
    border-color: var(--zh-cocoa);
    background-color: var(--zh-cocoa);
    color: var(--zh-cream);
}

.zh-btn--outline {
    border-color: rgba(43, 30, 23, 0.32);
    background-color: transparent;
    color: var(--zh-espresso);
}

.zh-btn--outline:hover {
    border-color: var(--zh-espresso);
    background-color: var(--zh-espresso);
    color: var(--zh-cream);
}

.zh-btn--sand {
    border-color: var(--zh-sand);
    background-color: var(--zh-sand);
    color: var(--zh-espresso);
}

.zh-btn--sand:hover {
    border-color: var(--zh-ivory);
    background-color: var(--zh-ivory);
    color: var(--zh-espresso);
}

.zh-btn--outline-light {
    border-color: rgba(250, 247, 241, 0.45);
    background-color: transparent;
    color: var(--zh-cream);
}

.zh-btn--outline-light:hover {
    border-color: var(--zh-cream);
    background-color: var(--zh-cream);
    color: var(--zh-espresso);
}


/* =========================================================
   8. TARJETAS
   ========================================================= */

.zh-card {
    height: 100%;
    padding: clamp(1.25rem, 2vw, 1.75rem);
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-md);
    background-color: var(--zh-surface);
    box-shadow: none;
    transition:
        border-color var(--zh-transition),
        box-shadow var(--zh-transition),
        transform var(--zh-transition);
}

.zh-card:hover {
    border-color: rgba(43, 30, 23, 0.25);
    box-shadow: var(--zh-shadow-hover);
    transform: translateY(-3px);
}

.zh-card__icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--zh-cocoa);
    font-size: 1.8rem;
}

.zh-card__title {
    margin-bottom: 0.65rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.zh-card__text {
    color: var(--zh-text-secondary);
    font-size: 0.875rem;
    line-height: 1.55;
}

.zh-card--flat {
    box-shadow: none;
}

.zh-card--soft {
    background-color: var(--zh-surface-soft);
}


/* =========================================================
   9. PLACAS Y BLOQUES
   ========================================================= */

.zh-panel {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    background-color: var(--zh-surface);
}

.zh-panel--dark {
    border-color: var(--zh-border-light);
    background-color: var(--zh-surface-dark);
    color: var(--zh-text-light);
}

.zh-divider {
    width: 100%;
    height: 1px;
    margin: 0;
    border: 0;
    background-color: var(--zh-border);
}


/* =========================================================
   10. ICONOGRAFÍA
   ========================================================= */

.zh-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--zh-cocoa);
    font-size: 1.75rem;
    line-height: 1;
}

.zh-icon--circle {
    width: 48px;
    height: 48px;
    border: 1px solid var(--zh-border);
    border-radius: 50%;
    background-color: var(--zh-surface);
}

.zh-icon--sand {
    color: var(--zh-sand);
}


/* =========================================================
   11. FORMULARIOS
   ========================================================= */

.form-label {
    margin-bottom: 0.45rem;
    color: var(--zh-espresso);
    font-size: 0.8rem;
    font-weight: 600;
}

.form-control,
.form-select {
    min-height: 50px;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-sm);
    background-color: var(--zh-surface);
    color: var(--zh-text);
    font-size: 0.925rem;
    transition:
        border-color var(--zh-transition-fast),
        box-shadow var(--zh-transition-fast);
}

.form-control::placeholder {
    color: rgba(48, 39, 32, 0.45);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--zh-cocoa);
    background-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(220, 198, 163, 0.35);
    color: var(--zh-text);
}

textarea.form-control {
    min-height: 135px;
    resize: vertical;
}


/* =========================================================
   12. RECURSOS GRÁFICOS
   ========================================================= */

.zh-pattern-dots {
    background-image: radial-gradient(
        circle,
        rgba(74, 51, 38, 0.15) 1px,
        transparent 1.5px
    );
    background-size: 18px 18px;
}

.zh-pattern-grid {
    background-image:
        linear-gradient(rgba(74, 51, 38, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 51, 38, 0.04) 1px, transparent 1px);
    background-size: 30px 30px;
}


/* =========================================================
   13. ACCESIBILIDAD
   ========================================================= */

:focus-visible {
    outline: 3px solid rgba(220, 198, 163, 0.9);
    outline-offset: 3px;
}

[data-aos] {
    will-change: opacity, transform;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* =========================================================
   01. HEADER
   ========================================================= */

.zh-header {
    z-index: 1030;
    border-bottom: 1px solid var(--zh-border);
    background: rgba(250, 247, 241, .96);
    transition: box-shadow var(--zh-transition), background var(--zh-transition);
}

.zh-header.is-scrolled {
    background: rgba(250, 247, 241, .92);
    box-shadow: 0 8px 25px rgba(43, 30, 23, .07);
    backdrop-filter: blur(14px);
}

.zh-header__logo {
    width: clamp(150px, 13vw, 185px);
    height: auto;
}

.zh-header__link {
    position: relative;
    padding: .75rem 0 !important;
    color: var(--zh-text);
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}

.zh-header__link::after {
    position: absolute;
    right: 0;
    bottom: .45rem;
    left: 0;
    height: 1px;
    background: var(--zh-cocoa);
    content: "";
    transform: scaleX(0);
    transition: transform var(--zh-transition);
}

.zh-header__link:hover,
.zh-header__link.is-active {
    color: var(--zh-cocoa);
}

.zh-header__link:hover::after,
.zh-header__link.is-active::after {
    transform: scaleX(1);
}

.zh-header__toggler {
    border: 1px solid var(--zh-border-dark);
    color: var(--zh-espresso);
    box-shadow: none !important;
}

.zh-header__toggler i {
    display: block;
    font-size: 1.75rem;
}


/* =========================================================
   02. HERO PRINCIPAL
   ========================================================= */

.zh-hero {
    min-height: clamp(580px, 78vh, 760px);
    overflow: hidden;
    border-bottom: 1px solid var(--zh-border);
    background: var(--zh-cream);
}

.zh-hero__title {
    margin-bottom: 1.5rem;
    font-size: clamp(2.4rem, 3.5vw, 3.5rem);
    line-height: 1.08;
    letter-spacing: -.05em;
    text-wrap: balance;
}

.zh-hero__text {
    max-width: 480px;
    color: var(--zh-text-secondary);
    font-size: clamp(1rem, 1.15vw, 1.125rem);
    line-height: 1.7;
}

.zh-hero__image {
    width: 100%;
    max-width: 720px;
    object-fit: contain;
}

/* =========================================================
   03. INDICADORES Y DIFERENCIALES
   ========================================================= */

.zh-stats-box {
    padding: 0 1.5rem;
    overflow: hidden;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    background-color: var(--zh-surface-soft);
    box-shadow: 0 5px 18px rgba(43, 30, 23, 0.035);
}

.zh-stat {
    min-height: 130px;
    padding: 1.5rem;
}

.zh-stat:not(:first-child) {
    border-left: 1px solid var(--zh-border);
}

.zh-stat__icon {
    color: var(--zh-cocoa);
    font-size: clamp(2.75rem, 4vw, 3.7rem);
    line-height: 1;
}

.zh-stat__value {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--zh-espresso);
    font-family: var(--zh-font-heading);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    font-weight: 600;
    line-height: 1;
    letter-spacing: -0.04em;
}

.zh-stat__value--text {
    font-family: var(--zh-font-body);
    font-size: 0.95rem;
    letter-spacing: 0;
}

.zh-stat__text {
    color: var(--zh-text);
    font-size: 0.75rem;
    line-height: 1.35;
}

/* =========================================================
   04. DESTACADOS INSTITUCIONALES
   ========================================================= */

.zh-highlights-box {
    padding: 1.5rem;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    background-color: var(--zh-surface-soft);
}

.zh-highlight-card {
    overflow: hidden;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-md);
    background-color: var(--zh-surface);
    transition: border-color var(--zh-transition), transform var(--zh-transition);
}

.zh-highlight-card:hover {
    border-color: var(--zh-border-dark);
    transform: translateY(-3px);
}

.zh-highlight-card__image {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background-color: var(--zh-ivory);
}

.zh-highlight-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 500ms ease;
}

.zh-highlight-card:hover .zh-highlight-card__image img {
    transform: scale(1.025);
}

.zh-highlight-card__body {
    padding: 1.25rem;
}

.zh-highlight-card__title {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    line-height: 1.3;
}

.zh-highlight-card__text {
    margin: 0;
    color: var(--zh-text-secondary);
    font-size: 0.8rem;
    line-height: 1.55;
}

/* =========================================================
   05. SERVICIOS
   ========================================================= */

.zh-service-card {
    min-height: 220px;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-md);
    background-color: var(--zh-surface);
    transition: border-color var(--zh-transition), transform var(--zh-transition);
}

.zh-service-card:hover {
    border-color: var(--zh-border-dark);
    transform: translateY(-3px);
}

.zh-service-card__icon {
    width: 52px;
    height: 52px;
    margin-bottom: 0.8rem;
    object-fit: contain;
    object-position: left center;
}

.zh-service-card__title {
    margin-bottom: 0.75rem;
    font-family: var(--zh-font-body);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.zh-service-card__text {
    max-width: 220px;
    color: var(--zh-text-secondary);
    font-size: 0.8rem;
    line-height: 1.55;
}

/* =========================================================
   06. HERRAMIENTAS
   ========================================================= */

.zh-tools-box {
    padding: 1.5rem;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    background-color: rgba(220, 198, 163, .14);
}

.zh-tool-card {
    min-height: 112px;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-md);
    background-color: var(--zh-surface);
    transition: border-color var(--zh-transition), transform var(--zh-transition);
}

.zh-tool-card:hover {
    border-color: var(--zh-border-dark);
    transform: translateY(-2px);
}

.zh-tool-card__icon {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.zh-tool-card__title {
    margin-bottom: 0.4rem;
    font-family: var(--zh-font-body);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
}

.zh-tool-card__text {
    color: var(--zh-text-secondary);
    font-size: 0.7rem;
    line-height: 1.4;
}

/* =========================================================
   TÍTULOS DE SERVICIOS Y HERRAMIENTAS
   ========================================================= */

.zh-services__heading,
.zh-tools__heading {
    color: var(--zh-espresso);
    font-family: var(--zh-font-heading);
    font-size: clamp(1.75rem, 2.8vw, 2.5rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.035em;
}

/* =========================================================
   07. QUÉ HACEMOS
   ========================================================= */

.zh-what-section {
    background-color: #f1e7da;
}

.zh-what-box {
    padding: 1rem 0;
    border: 0;
}

.zh-what__illustration {
    max-width: 320px;
}

.zh-what__title {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3vw, 2.35rem);
    line-height: 1.15;
}

.zh-what__text {
    max-width: 760px;
    color: var(--zh-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.zh-what-item__icon {
    display: block;
    margin-bottom: .9rem;
    color: var(--zh-cocoa);
    font-size: 3rem;
    line-height: 1;
}

.zh-what-item__title {
    margin: 0;
    font-family: var(--zh-font-body);
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -.01em;
}

/* =========================================================
   08. CÓMO TRABAJAMOS / MÉTODO
   ========================================================= */

.zh-method__heading {
    color: var(--zh-espresso);
    font-family: var(--zh-font-body);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.zh-method-col {
    position: relative;
}

.zh-method-card {
    min-height: 220px;
    border: 1px solid var(--zh-border);
    border-top: 3px solid rgba(220, 198, 163, .7);
    border-radius: var(--zh-radius-md);
    background-color: var(--zh-surface);
    transition: border-color var(--zh-transition), transform var(--zh-transition);
}

.zh-method-card:hover {
    border-color: var(--zh-border-dark);
    transform: translateY(-3px);
}

.zh-method-card__number {
    display: block;
    margin-bottom: .6rem;
    color: var(--zh-cocoa);
    font-family: var(--zh-font-heading);
    font-size: 1.85rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: -.05em;
}

.zh-method-card:hover .zh-method-card__number {
    color: #a67f55;
}

.zh-method-card__title {
    font-family: var(--zh-font-body);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -.01em;
}

.zh-method-card__icon {
    flex-shrink: 0;
    color: var(--zh-cocoa);
    font-size: 1.75rem;
}

.zh-method-card__text {
    color: var(--zh-text-secondary);
    font-size: .75rem;
    line-height: 1.55;
}

@media (min-width: 992px) {
    .zh-method-col:not(:last-child)::after {
        position: absolute;
        z-index: 2;
        top: 50%;
        right: -.7rem;
        color: var(--zh-cocoa);
        content: "→";
        font-size: 1rem;
        transform: translateY(-50%);
    }
}

/* =========================================================
   09. MULTIRED INTELIGENTE
   ========================================================= */

   .zh-multired-section {
    border-block: 1px solid var(--zh-border);
    background:
        radial-gradient(circle at 78% 45%, rgba(220, 198, 163, .28), transparent 34%),
        #f8f2ea;
}

.zh-multired-section .zh-ai-node {
    background-color: var(--zh-cream);
}

.zh-multired__title {
    margin-bottom: 1.25rem;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.15;
}

.zh-multired__text {
    max-width: 610px;
    color: var(--zh-text-secondary);
    font-size: 1rem;
    line-height: 1.65;
}


/* Canales
   ========================================================= */

.zh-channel {
    height: 100%;
}

.zh-channel i {
    display: block;
    margin-bottom: .6rem;
    color: var(--zh-cocoa);
    font-size: 2.4rem;
    line-height: 1;
}

.zh-channel span {
    display: block;
    color: var(--zh-text);
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.25;
}


/* Diagrama
   ========================================================= */

.zh-ai-diagram {
    position: relative;
    width: min(100%, 530px);
    aspect-ratio: 500 / 390;
}


/* SVG
   ========================================================= */

.zh-ai-diagram__connections {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
}

.zh-ai-diagram__connections line {
    stroke: rgba(74, 51, 38, .26);
    stroke-width: 1.5;
    stroke-dasharray: 3 4;
}

.zh-ai-diagram__connections marker path {
    fill: var(--zh-cocoa);
}

.zh-ai-diagram__orbit {
    fill: none;
    stroke: rgba(74, 51, 38, .5);
    stroke-width: 1.5;
    stroke-dasharray: 4 5;
}


/* Núcleo
   ========================================================= */

.zh-ai-core {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: flex;
    width: 18.4%;
    aspect-ratio: 1;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: var(--zh-espresso);
    color: var(--zh-cream);
    transform: translate(-50%, -50%);
}

.zh-ai-core span {
    font-family: var(--zh-font-heading);
    font-size: clamp(1.4rem, 4vw, 2.4rem);
    font-weight: 600;
    line-height: 1;
}

.zh-ai-core sup {
    position: relative;
    top: -.35em;
    color: var(--zh-sand);
    font-size: .45em;
}


/* Nodos
   ========================================================= */

.zh-ai-node {
    position: absolute;
    z-index: 2;
    display: flex;
    width: 28%;
    height: 18.5%;
    align-items: center;
    justify-content: center;
    gap: .7rem;
    padding: .7rem .75rem;
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-md);
    background-color: var(--zh-surface);
    box-shadow: 0 6px 18px rgba(43, 30, 23, .05);
}

.zh-ai-node i {
    flex-shrink: 0;
    color: var(--zh-cocoa);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    line-height: 1;
}

.zh-ai-node span {
    color: var(--zh-text);
    font-size: clamp(.6rem, 1.8vw, .85rem);
    font-weight: 600;
    line-height: 1.25;
}


/* Posiciones
   ========================================================= */

.zh-ai-node--top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.zh-ai-node--left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.zh-ai-node--right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.zh-ai-node--bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* =========================================================
   10. CENTRO DE ESTUDIOS
   ========================================================= */

.zh-studies-box {
    padding: clamp(1.5rem, 3vw, 2.5rem);
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    background-color: var(--zh-surface-soft);
}

.zh-studies__title {
    margin-bottom: .75rem;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.zh-studies__description {
    max-width: 650px;
    color: var(--zh-text-secondary);
    font-size: .9rem;
    line-height: 1.6;
}

.zh-studies__cta {
    min-width: 170px;
}


/* Carrusel
   ========================================================= */

.zh-studies-slider {
    position: relative;
    padding: 0 1.75rem 1.75rem;
}

.zh-studies-slider__viewport {
    overflow: hidden;
}

.zh-studies-slider__track {
    display: flex;
    margin: 0 -.5rem;
    transition: transform 450ms ease;
}

.zh-study-card {
    flex: 0 0 25%;
    padding: 0 .5rem;
}

.zh-study-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: var(--zh-radius-sm);
    object-fit: cover;
}

.zh-study-card__body {
    padding: 1rem .5rem 0;
}

.zh-study-card__title {
    margin-bottom: .55rem;
    font-family: var(--zh-font-body);
    font-size: .9rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -.01em;
}

.zh-study-card__text {
    color: var(--zh-text-secondary);
    font-size: .75rem;
    line-height: 1.5;
}


/* Flechas
   ========================================================= */

.zh-studies-slider__arrow {
    position: absolute;
    z-index: 3;
    top: 32%;
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--zh-cocoa);
    font-size: 2.4rem;
    transform: translateY(-50%);
}

.zh-studies-slider__arrow--prev {
    left: -1rem;
}

.zh-studies-slider__arrow--next {
    right: -1rem;
}

.zh-studies-slider__arrow:disabled {
    opacity: .25;
    cursor: default;
}


/* Paginación
   ========================================================= */

.zh-studies-slider__dots {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    justify-content: center;
    gap: .6rem;
}

.zh-studies-slider__dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 1px solid var(--zh-cocoa);
    border-radius: 50%;
    background-color: transparent;
}

.zh-studies-slider__dot.is-active {
    background-color: var(--zh-cocoa);
}

.zh-studies-slider.is-static {
    padding: 0;
}

.zh-studies-slider.is-static .zh-studies-slider__arrow,
.zh-studies-slider.is-static .zh-studies-slider__dots {
    display: none;
}

/* =========================================================
   11. CTA FINAL
   ========================================================= */

.zh-final-cta {
    position: relative;
    overflow: hidden;
    background-color: var(--zh-espresso);
    color: var(--zh-cream);
}

.zh-final-cta::before,
.zh-final-cta::after {
    position: absolute;
    border: 1px solid rgba(220, 198, 163, .16);
    border-radius: 50%;
    content: "";
}

.zh-final-cta::before {
    top: -100px;
    right: 8%;
    width: 260px;
    height: 260px;
}

.zh-final-cta::after {
    bottom: -140px;
    left: 35%;
    width: 300px;
    height: 300px;
}

.zh-final-cta .container {
    position: relative;
    z-index: 1;
}

.zh-final-cta__title {
    max-width: 520px;
    margin-bottom: 1rem;
    color: var(--zh-cream);
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
}

.zh-final-cta__text {
    max-width: 520px;
    color: rgba(250, 247, 241, .72);
    font-size: .95rem;
    line-height: 1.6;
}

.zh-final-cta__button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: .65rem;
    padding: .85rem 1.75rem;
    border-radius: var(--zh-radius-pill);
    background-color: var(--zh-sand);
    color: var(--zh-espresso);
    font-size: .9rem;
    font-weight: 700;
    transition: background-color var(--zh-transition), transform var(--zh-transition);
}

.zh-final-cta__button:hover {
    background-color: var(--zh-ivory);
    color: var(--zh-espresso);
    transform: translateY(-2px);
}

.zh-final-cta__button i {
    font-size: 1.2rem;
}

.zh-final-cta__benefits span {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    color: rgba(250, 247, 241, .72);
    font-size: .72rem;
}

.zh-final-cta__benefits i {
    color: var(--zh-sand);
    font-size: 1.1rem;
}


/* =========================================================
   FORMULARIO DE CONTACTO
   ========================================================= */

.zh-contact-box {
    padding: clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--zh-border);
    border-radius: var(--zh-radius-lg);
    background-color: var(--zh-surface-soft);
}

.zh-contact__title {
    margin-bottom: 1rem;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.zh-contact__text {
    max-width: 460px;
    color: var(--zh-text-secondary);
    line-height: 1.65;
}

.zh-contact__details p,
.zh-contact__details a {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--zh-text-secondary);
    font-size: .85rem;
}

.zh-contact__details a:hover {
    color: var(--zh-cocoa);
}

.zh-contact__details i {
    color: var(--zh-cocoa);
    font-size: 1.25rem;
}

/* =========================================================
   12. FOOTER
   ========================================================= */

.zh-footer {
    overflow: hidden;
    background-color: #171513;
    color: var(--zh-cream);
}

.zh-footer__brand {
    display: inline-block;
    width: min(100%, 235px);
    margin-bottom: 1.5rem;
}

.zh-footer__brand img {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .95;
}

.zh-footer__description {
    max-width: 350px;
    margin-bottom: 1.5rem;
    color: rgba(250, 247, 241, .82);
    font-size: 1rem;
    line-height: 1.55;
}

.zh-footer__social a {
    display: flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(250, 247, 241, .25);
    border-radius: 50%;
    color: var(--zh-cream);
    font-size: 1.1rem;
    transition: background-color var(--zh-transition), border-color var(--zh-transition), color var(--zh-transition);
}

.zh-footer__social a:hover {
    border-color: var(--zh-sand);
    background-color: var(--zh-sand);
    color: var(--zh-espresso);
}

.zh-footer__title {
    margin-bottom: 1.4rem;
    color: var(--zh-cream);
    font-family: var(--zh-font-body);
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.zh-footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    font-style: normal;
}

.zh-footer__contact a,
.zh-footer__contact > span {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: rgba(250, 247, 241, .82);
    font-size: .9rem;
}

.zh-footer__contact a:hover {
    color: var(--zh-sand);
}

.zh-footer__contact i {
    flex: 0 0 20px;
    color: var(--zh-sand);
    font-size: 1.15rem;
    text-align: center;
}

.zh-footer__bottom {
    border-top: 1px solid rgba(250, 247, 241, .14);
    color: rgba(250, 247, 241, .58);
    font-size: .75rem;
}

.zh-footer__bottom a {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    color: rgba(250, 247, 241, .65);
}

.zh-footer__bottom a:hover {
    color: var(--zh-sand);
}