/*
Theme Name: E Turing Core
Theme URI: https://eturingsrl.com/
Template: whitehat-core
Author: White Hat Mgmt LLC
Author URI: https://whitehatmgmtllc.com/
Description: Personalización oficial de White Hat Core para la identidad corporativa de E Turing SRL.
Version: 1.0.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: eturing-core
*/

/* El logo conserva su proporción y un tamaño legible tanto en escritorio como en móvil. */
.wh-brand__logo {
    width: min(220px, 42vw);
    height: auto;
    max-height: 72px;
    object-fit: contain;
    filter: none;
}

/* La cabecera clara y el pie azul oscuro utilizan recursos de marca con contraste comprobable. */
.wh-header,
.wh-topbar {
    --wh-chrome-ink: #061b3e;
}

/*
 * WordPress coloca su barra de administración fija encima de la página cuando
 * una persona ha iniciado sesión. La cabecera del tema también es fija, por lo
 * que necesita empezar justo debajo de esa barra para que ambos elementos sean
 * visibles. Esta regla solo se activa para usuarios autenticados.
 */
body.admin-bar .wh-header {
    top: 32px;
}

/*
 * En pantallas estrechas WordPress aumenta la barra administrativa a 46 px.
 * Ajustamos la misma cabecera en ese punto de corte para evitar que el problema
 * reaparezca en teléfonos y tabletas pequeñas.
 */
@media screen and (max-width: 782px) {
    body.admin-bar .wh-header {
        top: 46px;
    }
}

.wh-footer .wh-brand__logo {
    background: #f4f8fb;
    border-radius: 8px;
    padding: 8px 12px;
}

/* Una sola ancla se expande sobre su tarjeta: conserva HTML semántico, teclado y SEO sin depender de JavaScript. */
.et-service,
.et-blog-card,
.et-policy-featured-grid article,
.et-policy-grid article,
.et-related-grid article,
.et-offer-list article {
    position: relative;
}

.et-stretched-link::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    border-radius: inherit;
    content: '';
}

/* Los enlaces independientes dentro de una tarjeta siguen por encima del área expandida. */
.et-blog-card__media,
.et-blog-card h2 a {
    position: relative;
    z-index: 2;
}

/* La indicación de foco se mantiene visible sobre fondos claros y oscuros. */
:focus-visible {
    outline-color: #55c6eb;
    outline-offset: 4px;
}

@media (max-width: 600px) {
    .wh-brand__logo {
        width: min(180px, 50vw);
        max-height: 58px;
    }
}

/* La portada ya contiene su propio titular editorial; repetir el nombre interno "Home" no aporta contexto. */
.home .wh-phero {
    display: none;
}

/* Esta franja diferencia con precisión el alcance internacional de la empresa y el foco dominicano del periódico. */
.eturing-owned-media {
    width: min(1200px, calc(100% - 40px));
    margin: clamp(56px, 8vw, 112px) auto;
    padding: clamp(36px, 6vw, 78px);
    border-radius: 18px;
    background: #116fa5;
    color: #ffffff;
}

.eturing-owned-media__label {
    margin: 0 0 18px;
    color: #dff7ff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.eturing-owned-media h2 {
    max-width: 900px;
    margin: 0 0 22px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 64px);
    line-height: 1.08;
}

.eturing-owned-media h2 a {
    color: #9ce8ff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
    overflow-wrap: anywhere;
}

.eturing-owned-media > p:last-child {
    max-width: 780px;
    margin: 0;
    color: #eaf9ff;
    font-size: clamp(17px, 2vw, 21px);
    line-height: 1.65;
}

/* El resplandor decorativo del llamado final queda recortado para no crear desplazamiento lateral en móvil. */
.wh-fcta {
    overflow: hidden;
}

/*
 * La portada usa bloques de diseño, no un artículo. El tema madre limita los artículos
 * a una columna de lectura; aquí se libera ese límite para aprovechar todo el lienzo.
 */
.home .wh-single {
    width: min(1320px, calc(100% - 48px));
}

.home .wh-prose {
    width: 100%;
    max-width: none;
}

/* Componentes nativos que reemplazan la cuadrícula, columnas y tarjetas del antiguo constructor. */
.et-native-section {
    width: 100%;
}

.et-native-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(20px, 3vw, 42px);
    width: min(1200px, calc(100% - 40px));
    margin-inline: auto;
}

.et-native-row.et-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.et-native-row.et-cols-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.et-native-row.et-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.et-native-column,
.et-native-column-inner {
    min-width: 0;
    height: 100%;
}

.et-native-section img {
    max-width: 100%;
    height: auto;
}

.et-native-spacer {
    min-height: clamp(20px, 4vw, 64px);
}

.et-native-list {
    display: grid;
    gap: 12px;
    padding-left: 0;
    list-style: none;
}

.et-native-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 22px;
    background: #116fa5;
    color: #ffffff;
    text-decoration: none;
}

/* El héroe se convierte en una pieza compacta, tecnológica y claramente jerarquizada. */
.home .et-section--hero {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(85, 198, 235, .24);
    border-radius: 0 0 32px 32px;
    background:
        radial-gradient(circle at 78% 22%, rgba(85, 198, 235, .24), transparent 31%),
        linear-gradient(135deg, #061b3e 0%, #0b416b 56%, #116fa5 100%) !important;
    box-shadow: 0 28px 80px rgba(6, 27, 62, .18);
}

.home .et-section--hero::after {
    position: absolute;
    right: -90px;
    bottom: -130px;
    width: 360px;
    height: 360px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 52px rgba(255, 255, 255, .035), 0 0 0 104px rgba(255, 255, 255, .025);
    content: '';
    pointer-events: none;
}

.home .et-heading--hero {
    max-width: 10ch;
    font-size: clamp(52px, 6.4vw, 94px) !important;
    line-height: .94 !important;
    letter-spacing: -.055em;
    text-wrap: balance;
}

.home .et-section--hero p {
    max-width: 640px;
    font-size: clamp(17px, 1.5vw, 21px);
    line-height: 1.65;
}

/* Botones coherentes: buen tamaño táctil, contraste claro y respuesta visual sobria. */
.home .et-native-button,
.home .wp-block-button__link {
    min-height: 48px;
    border-radius: 8px !important;
    box-shadow: 0 12px 30px rgba(6, 27, 62, .16);
    font-weight: 750;
    transition: transform .2s ease, box-shadow .2s ease;
}

.home .et-native-button:hover,
.home .wp-block-button__link:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(6, 27, 62, .23);
}

/* Las áreas informativas reciben ritmo, profundidad y bordes de la misma familia visual. */
.home .et-section--about {
    overflow: hidden;
    margin-top: clamp(48px, 7vw, 96px);
    border: 1px solid rgba(17, 111, 165, .12);
    border-radius: 28px;
    background-color: #edf5fa;
    background-blend-mode: soft-light;
}

.home .et-native-card {
    height: 100%;
    border: 1px solid rgba(17, 111, 165, .14);
    border-radius: 18px;
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 16px 42px rgba(6, 27, 62, .08);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.home .et-native-card:hover {
    transform: translateY(-5px);
    border-color: rgba(17, 111, 165, .35);
    box-shadow: 0 24px 52px rgba(6, 27, 62, .13);
}

.home .et-heading--about,
.home .et-heading--services,
.home .et-heading--why,
.home .et-heading--success,
.home .et-heading--prices {
    letter-spacing: -.035em;
    text-wrap: balance;
}

/* Los números se leen como indicadores del mismo sistema, sin competir con el titular principal. */
.home .et-section--metrics h2 {
    color: #116fa5 !important;
    font-size: clamp(38px, 5vw, 68px) !important;
    letter-spacing: -.05em;
}

/* La franja del periódico se integra con el diseño y gana una textura tecnológica propia. */
.eturing-owned-media {
    position: relative;
    overflow: hidden;
    box-shadow: 0 28px 70px rgba(6, 27, 62, .18);
}

.eturing-owned-media::after {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 240px;
    height: 240px;
    border: 38px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    content: '';
    pointer-events: none;
}

/* En móvil se conserva el impacto sin sacrificar espacio ni legibilidad. */
@media (max-width: 782px) {
    .home .wh-single {
        width: min(100% - 24px, 720px);
    }

    .home .et-section--hero {
        border-radius: 0 0 22px 22px;
    }

    .home .et-heading--hero {
        font-size: clamp(44px, 13vw, 64px) !important;
    }

    .home .et-section--about {
        border-radius: 20px;
    }

    .et-native-row.et-cols-2,
    .et-native-row.et-cols-3,
    .et-native-row.et-cols-4 {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home .et-native-button,
    .home .wp-block-button__link,
    .home .et-native-card {
        transition: none;
    }
}

/* Las páginas interiores comparten un lenguaje visual con la portada sin repetir su tamaño monumental. */
.et-inner {
    overflow: hidden;
    background: #f6f9fc;
    color: #061b3e;
}

/* Cada página corporativa tiene su propio cierre; el bloque genérico duplicaría la llamada a la acción. */
.et-has-inner-page .wh-fcta { display: none; }

.et-page-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(92px, 12vw, 160px);
    background: linear-gradient(135deg, #03152f, #0b5079 70%, #1688bd);
    color: #ffffff;
}

.et-page-hero::after {
    position: absolute;
    top: -220px;
    right: -140px;
    z-index: -1;
    width: 540px;
    height: 540px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    box-shadow: 0 0 0 70px rgba(255,255,255,.025), 0 0 0 140px rgba(255,255,255,.018);
    content: '';
}

.et-page-hero .et-eyebrow { color: #8fe5ff; }
.et-page-hero h1 { max-width: 13ch; margin-bottom: 28px; font-size: clamp(3rem, 7vw, 6.4rem); line-height: .96; }
.et-page-hero > .et-shell > p:not(.et-eyebrow):not(.et-legal-date) { max-width: 750px; color: #dcebf4; font-size: clamp(1.06rem, 1.8vw, 1.3rem); }
.et-page-hero--light { background: linear-gradient(135deg, #eaf4fa, #ffffff); color: #061b3e; }
.et-page-hero--light .et-eyebrow { color: #116fa5; }
.et-page-hero--light > .et-shell > p:not(.et-eyebrow) { color: #53627a; }
.et-page-hero--legal h1 { max-width: 15ch; }
.et-legal-date { margin-top: 30px; color: #aeeaff !important; font-size: .88rem !important; font-weight: 700; }

/* Tarjetas corporativas con separación suficiente para que cada idea se lea como una unidad. */
.et-values { background: #eaf2f7; }
.et-value-grid,
.et-capability-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.et-value-grid article,
.et-capability-grid article,
.et-capability-grid > a { min-height: 270px; padding: 32px; border: 1px solid #d6e3eb; border-radius: 20px; background: #ffffff; }
.et-value-grid article > span { color: #1688bd; font-weight: 800; }
.et-value-grid h3,
.et-capability-grid h3 { margin: 72px 0 14px; font-size: 1.5rem; }
.et-capability-grid article,
.et-capability-grid > a { position: relative; overflow: hidden; min-height: 300px; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.et-capability-grid article::before,
.et-capability-grid > a::before { display: block; width: 56px; height: 4px; margin-bottom: 68px; border-radius: 99px; background: #55c6eb; content: ''; }
.et-capability-grid h3 { margin-top: 0; }
.et-capability-grid > a > span { color: #0b6d99; font-weight: 850; }
.et-capability-grid > a:hover { transform: translateY(-4px); border-color: #55c6eb; box-shadow: 0 18px 42px rgba(6, 27, 62, .09); }

.et-dark-panel { background: #061b3e; color: #ffffff; }
.et-dark-panel .et-eyebrow { color: #8fe5ff; }
.et-dark-panel h2 { color: #ffffff; }
.et-check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.et-check-list li { position: relative; padding: 18px 0 18px 36px; border-bottom: 1px solid rgba(255,255,255,.14); color: #dcebf4; }
.et-check-list li::before { position: absolute; top: 22px; left: 0; width: 14px; height: 8px; border-bottom: 2px solid #55c6eb; border-left: 2px solid #55c6eb; transform: rotate(-45deg); content: ''; }

/* FAQ: details/summary aporta apertura por teclado y semántica sin depender de JavaScript. */
.et-faq-layout { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(50px, 8vw, 110px); align-items: start; }
.et-faq-layout aside { position: sticky; top: 120px; }
.et-faq-layout aside h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.et-faq-list { border-top: 1px solid #cddce6; }
.et-faq-list details { border-bottom: 1px solid #cddce6; }
.et-faq-list summary { display: flex; min-height: 76px; align-items: center; justify-content: space-between; gap: 20px; padding-block: 22px; color: #061b3e; font-size: clamp(1.05rem, 2vw, 1.32rem); font-weight: 800; cursor: pointer; list-style: none; }
.et-faq-list summary::-webkit-details-marker { display: none; }
.et-faq-list summary span { display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center; border: 1px solid #b9cfdd; border-radius: 50%; color: #116fa5; font-size: 1.25rem; transition: transform .2s ease; }
.et-faq-list details[open] summary span { transform: rotate(45deg); }
.et-faq-list details > div { max-width: 720px; padding: 0 54px 24px 0; }

/* La política utiliza una tabla de contenido lateral y una columna de lectura cómoda. */
.et-legal-layout,
.et-policy-document { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: clamp(45px, 8vw, 110px); align-items: start; padding-block: clamp(70px, 9vw, 120px); }
.et-legal-layout > nav,
.et-policy-document > aside { position: sticky; top: 110px; display: grid; gap: 12px; padding: 24px; border: 1px solid #d7e3eb; border-radius: 16px; background: #ffffff; }
.et-legal-layout nav strong { margin-bottom: 8px; }
.et-legal-layout nav a,
.et-policy-document aside a { color: #0b628f; font-weight: 700; text-underline-offset: 4px; }
.et-legal-layout nav a { display: flex; min-height: 44px; align-items: center; }
.et-policy-document aside p { margin-bottom: 0; font-size: .9rem; }
.et-legal-copy section { padding-bottom: 36px; border-bottom: 1px solid #d7e3eb; scroll-margin-top: 120px; }
.et-legal-copy section + section { padding-top: 36px; }
.et-legal-copy h2 { font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: 1.1; }
.et-legal-copy p,
.et-legal-copy li { color: #3f5068; font-size: 1.05rem; line-height: 1.8; }

/* El contacto separa contexto y formulario, con controles de 48 px y foco claramente visible. */
.et-contact-layout { display: grid; grid-template-columns: .62fr 1.38fr; gap: clamp(45px, 8vw, 100px); align-items: start; }
.et-contact-layout > aside { padding-top: 28px; }
.et-contact-layout aside h2 { font-size: clamp(2rem, 4vw, 3.7rem); }
.et-contact-layout aside > a { display: inline-flex; min-height: 44px; align-items: center; color: #0b628f; font-size: 1.12rem; font-weight: 800; }
.et-contact-note { margin-top: 38px; padding: 22px; border-left: 3px solid #55c6eb; background: #eaf4fa; }
.et-contact-note p { margin-bottom: 0; font-size: .92rem; }
.et-form-card { padding: clamp(24px, 5vw, 56px); border: 1px solid #d5e2eb; border-radius: 24px; background: #ffffff; box-shadow: 0 26px 70px rgba(6,27,62,.1); }
.et-contact-form { display: grid; gap: 24px; }
.et-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.et-field { display: grid; gap: 9px; }
.et-field label { color: #0b2342; font-weight: 800; }
.et-field label span { color: #66768b; font-size: .82rem; font-weight: 500; }
.et-field input,
.et-field select,
.et-field textarea { width: 100%; min-height: 50px; padding: 13px 14px; border: 1px solid #b9cad7; border-radius: 10px; background: #fbfdff; color: #061b3e; font: inherit; }
.et-field textarea { min-height: 170px; resize: vertical; }
.et-field input:focus,
.et-field select:focus,
.et-field textarea:focus { border-color: #116fa5; outline: 3px solid rgba(85,198,235,.3); }
.et-field small { color: #66768b; line-height: 1.5; }
.et-consent { display: flex; gap: 12px; align-items: flex-start; color: #3f5068; line-height: 1.55; }
.et-consent input { flex: 0 0 20px; width: 20px; height: 20px; margin-top: 2px; accent-color: #116fa5; }
.et-contact-form .et-button { justify-self: start; min-width: 210px; border: 0; cursor: pointer; }
.et-form-security { margin: -8px 0 0; color: #718095 !important; font-size: .78rem; }
.et-form-status { padding: 16px 18px; margin-bottom: 24px; border-radius: 10px; font-weight: 700; }
.et-form-status--success { border: 1px solid #8dc9aa; background: #e7f7ef; color: #174e35; }
.et-form-status--error { border: 1px solid #e1a6a6; background: #fff0f0; color: #7c2424; }
.et-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* El archivo legal sigue siendo útil aun antes de publicar el primer documento específico. */
.et-legal-types { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 72px; }
.et-legal-types span,
.et-policy-meta span { padding: 7px 11px; border: 1px solid #c7d8e3; border-radius: 999px; background: #ffffff; color: #315069; font-size: .78rem; font-weight: 800; }
.et-policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.et-policy-grid article { padding: 34px; border: 1px solid #d5e2eb; border-radius: 18px; background: #ffffff; }
.et-policy-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.et-policy-grid h2 { margin: 50px 0 16px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.et-policy-grid h2 a { color: inherit; }
.et-policy-link { color: #0b628f; font-weight: 800; }
.et-empty-state { max-width: 760px; padding: clamp(34px, 6vw, 70px); border: 1px solid #d3e1ea; border-radius: 24px; background: #ffffff; box-shadow: 0 24px 70px rgba(6,27,62,.08); }
.et-empty-state > span { display: grid; width: 64px; height: 64px; place-items: center; border-radius: 16px; background: #116fa5; color: #ffffff; font-weight: 900; }
.et-empty-state h2 { margin-top: 34px; font-size: clamp(2rem, 4vw, 3.4rem); }
.et-empty-state .et-button { margin-top: 18px; }

/* El Centro legal presenta su propósito directamente, sin un gráfico circular que compita con los documentos. */
.et-policy-hero__grid { display: grid; grid-template-columns: minmax(0, 900px); }
.et-policy-hero h1 { max-width: 13ch; }
.et-policy-hero .et-actions { margin-top: 34px; }

.et-policy-summary { border-bottom: 1px solid #d2e0e9; background: #ffffff; }
.et-policy-summary .et-shell { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(250px, 1.5fr); align-items: stretch; }
.et-policy-summary .et-shell > div,
.et-policy-summary .et-shell > p { min-height: 110px; padding: 24px 28px; border-right: 1px solid #d2e0e9; }
.et-policy-summary .et-shell > div { display: flex; flex-direction: column; justify-content: center; }
.et-policy-summary strong { color: #075f8d; font-size: 2.1rem; line-height: 1; }
.et-policy-summary span { margin-top: 8px; color: #52667b; font-size: .8rem; font-weight: 750; }
.et-policy-summary p { display: flex; align-items: center; margin: 0; color: #52667b; font-size: .88rem; }

.et-policy-current { background: #edf4f8; scroll-margin-top: 110px; }
.et-policy-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.et-policy-featured-grid article { display: flex; min-height: 430px; flex-direction: column; justify-content: space-between; padding: clamp(30px, 5vw, 52px); border: 1px solid #cddde7; border-radius: 26px; background: #ffffff; box-shadow: 0 24px 70px rgba(6,27,62,.07); }
.et-policy-featured-grid article:nth-child(2) { background: linear-gradient(150deg, #ffffff 0%, #edf8fc 100%); }
.et-policy-card__top { display: flex; align-items: center; justify-content: space-between; }
.et-policy-card__top span { padding: 7px 12px; border-radius: 999px; background: #e2f3fa; color: #075f8d; font-size: .78rem; font-weight: 850; }
.et-policy-card__top b { color: #b7cad6; font-size: 1.15rem; }
.et-policy-featured-grid h3 { max-width: 12ch; margin: 18px 0; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.03; }
.et-policy-featured-grid article > div > p:not(.et-eyebrow) { max-width: 580px; color: #465b70; }

.et-policy-categories { background: #ffffff; }
.et-policy-category-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.et-policy-category-grid article,
.et-policy-category-grid > a { display: flex; min-height: 310px; flex-direction: column; padding: 26px; border: 1px solid #d5e2eb; border-radius: 18px; background: linear-gradient(145deg, #ffffff, #f3f8fa); color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.et-policy-category-grid article > span,
.et-policy-category-grid > a > span { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 14px; background: #061b3e; color: #8fe5ff; font-size: .72rem; font-weight: 900; }
.et-policy-category-grid h3 { margin: 56px 0 12px; font-size: 1.42rem; }
.et-policy-category-grid p { color: #506379; font-size: .9rem; }
.et-policy-category-grid small { margin-top: auto; color: #0b6d99; font-weight: 800; }
.et-policy-category-grid > a:hover { transform: translateY(-4px); border-color: #55c6eb; box-shadow: 0 18px 42px rgba(6, 27, 62, .09); }
.et-policy-category-grid > a.is-active { border-color: #116fa5; background: #e8f6fb; box-shadow: 0 0 0 3px rgba(85, 198, 235, .22); }
.et-policy-reset { display: inline-flex; margin: 18px 0 0 18px; color: #0b628f; font-weight: 850; }

.et-policy-library { background: #e8f1f6; }
.et-policy-library .et-policy-grid h3 { margin: 50px 0 16px; font-size: clamp(1.6rem, 3vw, 2.5rem); }
.et-policy-library .et-policy-grid h3 a { color: inherit; }
.et-policy-empty { display: grid; grid-template-columns: minmax(180px, .45fr) minmax(0, 1.55fr); overflow: hidden; border: 1px solid #cbdde7; border-radius: 26px; background: #ffffff; box-shadow: 0 24px 70px rgba(6,27,62,.07); }
.et-policy-empty > div:first-child { display: grid; min-height: 370px; place-items: center; background: linear-gradient(145deg, #061b3e, #0a709d); }
.et-policy-empty > div:first-child span { display: grid; width: 96px; height: 96px; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 28px; background: rgba(255,255,255,.08); color: #8fe5ff; font-size: 1.7rem; font-weight: 900; }
.et-policy-empty > div:last-child { align-self: center; padding: clamp(34px, 6vw, 74px); }
.et-policy-empty h3 { max-width: 16ch; margin: 10px 0 20px; font-size: clamp(2rem, 4vw, 3.8rem); line-height: 1.04; }
.et-policy-empty p:not(.et-eyebrow) { max-width: 720px; color: #465b70; }
.et-policy-empty .et-button { margin-top: 20px; }

/* El Blog usa una composición editorial propia, con portadas locales y una lectura estrecha para textos largos. */
.et-blog-hero__grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: clamp(50px, 9vw, 130px); align-items: end; }
.et-blog-hero h1 { max-width: 14ch; }
.et-blog-hero__note { padding: 30px; border: 1px solid rgba(143,229,255,.28); border-radius: 22px; background: rgba(4,25,52,.45); }
.et-blog-hero__note span { color: #8fe5ff; font-size: .72rem; font-weight: 900; letter-spacing: .1em; }
.et-blog-hero__note strong { display: block; margin: 40px 0 4px; color: #ffffff; font-size: clamp(3rem, 7vw, 6rem); line-height: .9; }
.et-blog-hero__note p { margin: 0; color: #cfe5ef; font-size: .9rem; }
.et-blog-categories { position: sticky; top: 76px; z-index: 12; border-bottom: 1px solid #d3e1ea; background: rgba(255,255,255,.94); backdrop-filter: blur(15px); }
.et-blog-categories .et-shell { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.et-blog-categories .et-shell::-webkit-scrollbar { display: none; }
.et-blog-categories a { flex: 0 0 auto; min-height: 44px; padding: 11px 16px; border-radius: 99px; color: #29465f; font-size: .84rem; font-weight: 800; text-decoration: none; }
.et-blog-categories a:hover,
.et-blog-categories a:focus-visible,
.et-blog-categories a.is-active { background: #061b3e; color: #ffffff; }
.et-blog-index { background: #edf4f8; }
.et-blog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.et-blog-card { overflow: hidden; border: 1px solid #cfdee8; border-radius: 24px; background: #ffffff; box-shadow: 0 20px 55px rgba(6,27,62,.07); }
.et-blog-card:first-child { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); }
.et-blog-card__media { display: block; min-height: 270px; overflow: hidden; background: linear-gradient(145deg, #061b3e, #0b709e); }
.et-blog-card:first-child .et-blog-card__media { min-height: 520px; }
.et-blog-card__media img { width: 100%; height: 100%; min-height: inherit; object-fit: cover; transition: transform .45s ease; }
.et-blog-card:hover .et-blog-card__media img { transform: scale(1.025); }
.et-blog-card__media > span { display: grid; height: 100%; min-height: inherit; place-items: center; color: #8fe5ff; font-size: 2rem; font-weight: 900; }
.et-blog-card__body { display: flex; min-height: 350px; flex-direction: column; padding: clamp(28px, 4vw, 46px); }
.et-blog-card:first-child .et-blog-card__body { justify-content: center; }
.et-blog-card__meta { display: flex; gap: 12px; align-items: center; justify-content: space-between; color: #587087; font-size: .75rem; font-weight: 800; text-transform: uppercase; }
.et-blog-card__meta span { color: #08709f; }
.et-blog-card h2 { margin: 34px 0 16px; font-size: clamp(1.7rem, 3vw, 2.8rem); line-height: 1.05; }
.et-blog-card h2 a { color: inherit; text-decoration: none; }
.et-blog-card p { color: #465b70; }
.et-blog-card .et-policy-link { margin-top: auto; }
.et-blog-pagination { margin-top: 50px; }
.et-blog-pagination .nav-links { display: flex; gap: 8px; justify-content: center; }
.et-blog-pagination .page-numbers { display: grid; min-width: 44px; min-height: 44px; padding: 10px; place-items: center; border: 1px solid #c8d9e4; border-radius: 10px; background: #ffffff; color: #17415f; text-decoration: none; }
.et-blog-pagination .current { background: #061b3e; color: #ffffff; }

.et-article-hero { padding: clamp(110px, 14vw, 190px) 0 clamp(60px, 8vw, 110px); background: #061b3e; color: #ffffff; }
.et-article-hero .et-shell { max-width: 1080px; }
.et-article-back { display: inline-flex; margin-bottom: 50px; color: #8fe5ff; font-size: .86rem; font-weight: 800; }
.et-article-meta { display: flex; gap: 18px; align-items: center; color: #a9cbdc; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.et-article-meta span { color: #8fe5ff; }
.et-article-hero h1 { max-width: 16ch; margin: 24px 0; color: #ffffff; font-size: clamp(3rem, 7vw, 6.8rem); line-height: .96; }
.et-article-hero p { max-width: 820px; margin: 0; color: #d6e7ef; font-size: clamp(1.05rem, 2vw, 1.3rem); }
.et-article-cover { position: relative; z-index: 2; max-width: 1200px; margin-top: -48px; }
.et-article-cover img { display: block; width: 100%; aspect-ratio: 1200 / 630; border: 8px solid #ffffff; border-radius: 26px; box-shadow: 0 28px 80px rgba(6,27,62,.2); object-fit: cover; }
.et-article-layout { display: grid; grid-template-columns: minmax(210px, .4fr) minmax(0, 1.6fr); gap: clamp(40px, 8vw, 110px); padding-block: clamp(70px, 10vw, 140px); }
.et-article-layout > aside { align-self: start; }
.et-article-layout > aside nav { position: sticky; top: 120px; padding: 22px; border: 1px solid #d3e1ea; border-radius: 16px; background: #ffffff; }
.et-article-layout > aside nav strong,
.et-article-share strong { display: block; margin-bottom: 12px; color: #061b3e; }
.et-article-layout > aside nav a { display: block; padding: 9px 0; border-bottom: 1px solid #e2eaf0; color: #4b6074; font-size: .82rem; line-height: 1.35; }
.et-article-share { margin-top: 22px; padding: 22px; border-radius: 16px; background: #e6f2f7; }
.et-article-share a { display: inline-flex; min-height: 44px; align-items: center; margin-right: 12px; color: #075f8d; font-size: .82rem; font-weight: 800; }
.et-article-content { min-width: 0; color: #31475e; font-size: 1.08rem; line-height: 1.85; }
.et-article-content > * { max-width: 820px; }
.et-article-content h2 { margin: 80px 0 24px; color: #061b3e; font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1.06; scroll-margin-top: 120px; }
.et-article-content h3 { margin: 48px 0 18px; color: #092a4c; font-size: clamp(1.45rem, 3vw, 2.2rem); }
.et-article-content p { margin: 0 0 24px; }
.et-article-content ul,
.et-article-content ol { margin: 0 0 30px; padding-left: 24px; }
.et-article-content li + li { margin-top: 10px; }
.et-article-content figure { max-width: 100%; margin: 52px 0; }
.et-article-content figure img { display: block; width: 100%; height: auto; border: 1px solid #cadce6; border-radius: 20px; background: #ffffff; }
.et-article-content figcaption { padding-top: 12px; color: #60758a; font-size: .82rem; }
.et-article-content pre { max-width: 100%; overflow-x: auto; padding: 22px; border-radius: 14px; background: #061b3e; color: #e8f8ff; font-size: .88rem; line-height: 1.6; }
.et-article-content blockquote { padding: 10px 0 10px 28px; border-left: 4px solid #55c6eb; color: #173e5d; font-size: 1.25rem; }
.et-related { background: #e8f1f6; }
.et-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.et-related-grid article { display: flex; min-height: 270px; flex-direction: column; padding: 30px; border: 1px solid #cedee8; border-radius: 18px; background: #ffffff; }
.et-related-grid span { color: #5a7085; font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.et-related-grid h3 { margin: 54px 0 20px; font-size: 1.5rem; line-height: 1.1; }
.et-related-grid h3 a { color: inherit; }
.et-related-grid .et-policy-link { margin-top: auto; }

/* El encabezado prioriza el mensaje y sus dos acciones; se retiró el diagrama que parecía un grupo de botones. */
.et-services-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.et-services-hero__grid > div { max-width: 940px; }
.et-services-hero h1 { max-width: 12ch; }
.et-services-hero .et-actions { margin-top: 34px; }

.et-service-nav { position: sticky; top: 76px; z-index: 12; border-bottom: 1px solid #d5e2eb; background: rgba(255,255,255,.94); backdrop-filter: blur(16px); }
.et-service-nav .et-shell { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.et-service-nav .et-shell::-webkit-scrollbar { display: none; }
.et-service-nav a { flex: 0 0 auto; min-height: 44px; padding: 11px 16px; border-radius: 999px; color: #27435e; font-size: .86rem; font-weight: 800; text-decoration: none; }
.et-service-nav a:hover,
.et-service-nav a:focus-visible { background: #e5f4fb; color: #075f8d; }

.et-services-intro { background: #ffffff; }
.et-stack-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.et-stack-cards article,
.et-stack-cards > a { padding: 28px; border: 1px solid #d5e2eb; border-radius: 18px; background: linear-gradient(145deg, #ffffff, #f1f7fa); color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.et-stack-cards span { color: #1688bd; font-size: .78rem; font-weight: 900; }
.et-stack-cards h3 { margin: 48px 0 12px; font-size: 1.45rem; }
.et-stack-cards p { margin-bottom: 0; font-size: .92rem; }
.et-stack-cards small { display: block; margin-top: 22px; color: #0b6d99; font-weight: 850; }
.et-stack-cards > a:hover { transform: translateY(-4px); border-color: #55c6eb; box-shadow: 0 18px 42px rgba(6, 27, 62, .09); }

.et-offers-section { background: #eaf2f7; }
.et-offer-list { display: grid; gap: 22px; }
.et-offer-list article { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(220px, 300px); gap: clamp(24px, 4vw, 58px); padding: clamp(34px, 5vw, 64px); border: 1px solid #d4e1ea; border-radius: 26px; background: #ffffff; box-shadow: 0 20px 58px rgba(6,27,62,.07); scroll-margin-top: 150px; }
.et-offer-list article > span { color: #1688bd; font-size: 1rem; font-weight: 900; }
.et-offer-list article > div { max-width: 850px; }
.et-offer-list h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 5vw, 4.6rem); }
.et-offer-list article > div > p:not(.et-eyebrow) { max-width: 760px; color: #40526a; font-size: 1.12rem; }
.et-offer-list ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 30px 0 0; padding: 0; list-style: none; }
.et-offer-list li { position: relative; padding-left: 24px; color: #31475f; }
.et-offer-list li::before { position: absolute; top: .65em; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #55c6eb; content: ''; }
.et-offer-action { display: inline-flex; min-height: 44px; align-items: center; gap: 10px; margin-top: 30px; color: #075f8d; font-weight: 850; text-underline-offset: 6px; }
/* Las imágenes originales sustituyen los gráficos abstractos y llenan cada tarjeta sin deformarse. */
.et-offer-visual { position: relative; align-self: stretch; min-height: 310px; margin: 0; overflow: hidden; border-radius: 20px; background: #061b3e; box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.et-offer-visual img { display: block; width: 100%; height: 100%; min-height: 310px; object-fit: cover; object-position: center; transition: transform .45s ease, filter .45s ease; }
/* La sombra inferior integra la fotografía con la tarjeta y conserva contraste en todos los monitores. */
.et-offer-visual::after { position: absolute; inset: auto 0 0; height: 34%; background: linear-gradient(180deg, transparent, rgba(6,27,62,.3)); pointer-events: none; content: ''; }
.et-offer-list article:hover .et-offer-visual img { transform: scale(1.035); filter: saturate(1.08) brightness(1.04); }
@media (prefers-reduced-motion: reduce) { .et-offer-visual img { transition: none; } .et-offer-list article:hover .et-offer-visual img { transform: none; } }

/* La llamada final de cada guía separa la explicación editorial de la acción comercial. */
.et-article-cta { margin-top: clamp(48px, 7vw, 82px); padding: clamp(30px, 5vw, 56px); border-radius: 24px; background: linear-gradient(145deg, #061b3e, #0b5079); color: #d8eef7; }
.et-article-cta .et-eyebrow { color: #8fe5ff; }
.et-article-cta h2 { margin-top: 8px; color: #ffffff; }
.et-article-cta p:not(.et-eyebrow) { color: #d8eef7; }

.et-engagement { background: #ffffff; }
.et-engagement-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.et-engagement-grid article,
.et-engagement-grid > a { min-height: 300px; padding: 34px; border: 1px solid #d4e1ea; border-radius: 20px; background: #f7fafc; color: inherit; text-decoration: none; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; }
.et-engagement-grid span { color: #1688bd; font-weight: 900; }
.et-engagement-grid h3 { margin: 88px 0 16px; font-size: 1.75rem; }
.et-engagement-grid small { display: block; margin-top: 24px; color: #0b6d99; font-weight: 850; }
.et-engagement-grid > a:hover { transform: translateY(-4px); border-color: #55c6eb; box-shadow: 0 18px 42px rgba(6, 27, 62, .09); }

.et-delivery { background: #061b3e; color: #ffffff; }
.et-delivery .et-eyebrow { color: #8fe5ff; }
.et-delivery .et-section-heading > p { color: #cddfea; }
.et-delivery-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.et-delivery-steps li { min-height: 260px; padding: 28px; border-top: 1px solid rgba(255,255,255,.18); border-right: 1px solid rgba(255,255,255,.18); }
.et-delivery-steps li:last-child { border-right: 0; }
.et-delivery-steps span { color: #8fe5ff; font-weight: 900; }
.et-delivery-steps h3 { margin: 82px 0 12px; color: #ffffff; font-size: 1.55rem; }
.et-delivery-steps p { margin-bottom: 0; color: #cddfea; }

@media (max-width: 900px) {
	.et-blog-hero__grid,
	.et-blog-card:first-child,
	.et-article-layout { grid-template-columns: 1fr; }
	.et-blog-hero__note { max-width: 420px; }
	.et-blog-card:first-child .et-blog-card__media { min-height: 380px; }
	.et-article-layout > aside { order: 2; }
	.et-article-layout > aside nav { position: static; }
	.et-related-grid { grid-template-columns: 1fr; }
	.et-policy-hero__grid { grid-template-columns: 1fr; }
	.et-policy-summary .et-shell { grid-template-columns: repeat(3, 1fr); }
	.et-policy-summary .et-shell > p { grid-column: 1 / -1; min-height: 70px; border-top: 1px solid #d2e0e9; }
	.et-policy-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .et-value-grid,
    .et-capability-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .et-faq-layout,
    .et-contact-layout { grid-template-columns: 1fr; }
    .et-faq-layout aside { position: static; }
    .et-legal-layout,
    .et-policy-document { grid-template-columns: 1fr; }
    .et-legal-layout > nav,
    .et-policy-document > aside { position: static; }
    .et-services-hero__grid { grid-template-columns: 1fr; }
    .et-stack-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .et-offer-list article { grid-template-columns: 44px minmax(0, 1fr); }
    .et-offer-visual { grid-column: 2; min-height: 240px; }
    .et-delivery-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .et-delivery-steps li:nth-child(2) { border-right: 0; }
}

@media (max-width: 600px) {
	.et-blog-grid { grid-template-columns: 1fr; }
	.et-blog-card:first-child { grid-column: auto; }
	.et-blog-card__media,
	.et-blog-card:first-child .et-blog-card__media { min-height: 230px; }
	.et-blog-card__body { min-height: 330px; }
	.et-article-hero { padding-top: 100px; }
	.et-article-meta { align-items: flex-start; flex-direction: column; }
	.et-article-cover { margin-top: -28px; }
	.et-article-cover img { border-width: 4px; border-radius: 18px; }
	.et-policy-summary .et-shell { grid-template-columns: 1fr; }
	.et-policy-summary .et-shell > div,
	.et-policy-summary .et-shell > p { min-height: 82px; border-right: 0; border-bottom: 1px solid #d2e0e9; }
	.et-policy-summary .et-shell > p { grid-column: auto; border-top: 0; }
	.et-policy-featured-grid,
	.et-policy-category-grid,
	.et-policy-empty { grid-template-columns: 1fr; }
	.et-policy-featured-grid article { min-height: 390px; }
	.et-policy-category-grid article,
	.et-policy-category-grid > a { min-height: 260px; }
	.et-policy-empty > div:first-child { min-height: 220px; }
    .et-page-hero { padding-block: 76px 88px; }
    .et-page-hero h1 { font-size: clamp(2.75rem, 14vw, 4.5rem); }
    .et-value-grid,
    .et-capability-grid,
    .et-policy-grid,
    .et-form-grid { grid-template-columns: 1fr; }
    .et-value-grid article,
    .et-capability-grid article,
    .et-capability-grid > a { min-height: 0; }
    .et-value-grid h3 { margin-top: 42px; }
    .et-contact-form .et-button { width: 100%; }
    .et-legal-layout,
    .et-policy-document { padding-block: 56px; }
    .et-offer-list article { grid-template-columns: 1fr; gap: 20px; }
    .et-offer-list ul { grid-template-columns: 1fr; }
    .et-offer-visual { grid-column: auto; min-height: 220px; }
    .et-stack-cards,
    .et-engagement-grid,
    .et-delivery-steps { grid-template-columns: 1fr; }
    .et-delivery-steps li { min-height: 220px; border-right: 0; }
    .et-service-nav { top: 72px; }
}

/*
 * Portada editorial 2026: esta capa sustituye el contenido histórico convertido
 * y utiliza un sistema propio de ritmo, contraste y componentes reutilizables.
 */
.et-home {
    overflow: hidden;
    background: #f6f9fc;
    color: #061b3e;
}

/* La portada ya incluye un cierre específico; se oculta el llamado genérico del tema madre para no repetirlo. */
.home .wh-fcta {
    display: none;
}

.et-shell {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.et-section {
    padding-block: clamp(76px, 10vw, 140px);
}

.et-eyebrow {
    margin: 0 0 18px;
    color: #1688bd;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.et-home h1,
.et-home h2,
.et-home h3 {
    margin-top: 0;
    color: inherit;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.et-home h2 {
    font-size: clamp(2.25rem, 5vw, 4.7rem);
    line-height: 1.02;
}

.et-home p {
    color: #53627a;
    line-height: 1.72;
}

/* El héroe utiliza geometría propia en CSS y el símbolo oficial para evitar recursos externos. */
.et-hero {
    position: relative;
    isolation: isolate;
    padding-block: clamp(88px, 12vw, 170px);
    background:
        radial-gradient(circle at 82% 18%, rgba(85, 198, 235, .2), transparent 28%),
        linear-gradient(135deg, #03152f 0%, #082d52 55%, #0b6898 100%);
    color: #ffffff;
}

.et-hero::before {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: .24;
    background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to right, #000, transparent 72%);
    content: '';
}

.et-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
    gap: clamp(50px, 8vw, 110px);
    align-items: center;
}

.et-hero .et-eyebrow {
    color: #8fe5ff;
}

.et-hero h1 {
    max-width: 12ch;
    margin-bottom: 26px;
    font-size: clamp(3.4rem, 7vw, 6.8rem);
    line-height: .94;
}

.et-hero__lead {
    max-width: 680px;
    margin: 0;
    color: #d8e9f3 !important;
    font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}

.et-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 38px;
}

.et-button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 13px 22px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .22s ease, background-color .22s ease, box-shadow .22s ease;
}

.et-button:hover {
    transform: translateY(-3px);
}

.et-button--primary {
    background: #55c6eb;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
    color: #03152f;
}

.et-button--ghost {
    border-color: rgba(255, 255, 255, .3);
    color: #ffffff;
}

.et-button--ghost:hover {
    background: rgba(255, 255, 255, .1);
}

.et-button--light {
    background: #ffffff;
    color: #07557f;
}

.et-orbit {
    position: relative;
    display: grid;
    aspect-ratio: 1;
    place-items: center;
    isolation: isolate;
}

.et-orbit__center {
    z-index: 2;
    width: 52%;
    border-radius: 50%;
    transition: transform .22s ease, filter .22s ease;
}

.et-orbit__center:hover,
.et-orbit__center:focus-visible {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.et-orbit__center img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 28px 42px rgba(0, 0, 0, .25));
}

.et-orbit__ring {
    position: absolute;
    border: 1px solid rgba(143, 229, 255, .34);
    border-radius: 50%;
}

.et-orbit__ring--one { inset: 7%; }
.et-orbit__ring--two { inset: 22%; border-style: dashed; animation: et-spin 22s linear infinite; }

.et-orbit__service {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(88px, 9vw, 126px);
    min-height: 48px;
    padding: 9px 12px;
    place-items: center;
    border: 1px solid rgba(143, 229, 255, .62);
    border-radius: 999px;
    background: rgba(5, 31, 67, .9);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .25);
    color: #effbff;
    font-size: clamp(.66rem, 1.1vw, .8rem);
    font-weight: 800;
    line-height: 1.15;
    text-align: center;
    text-decoration: none;
    transform: translate(-50%, -50%) rotate(var(--et-angle)) translateX(var(--et-orbit-radius, clamp(145px, 18vw, 230px))) rotate(calc(-1 * var(--et-angle)));
    transform-origin: center;
    animation: et-service-orbit 28s linear infinite;
    animation-delay: var(--et-delay);
}

.et-orbit__service:hover,
.et-orbit__service:focus-visible {
    border-color: #ffffff;
    background: #55c6eb;
    color: #03152f;
    box-shadow: 0 0 0 5px rgba(85, 198, 235, .2), 0 16px 34px rgba(0, 0, 0, .32);
}

/* Al enfocar cualquier servicio se detiene el conjunto para facilitar la lectura y el clic. */
.et-orbit:hover .et-orbit__service,
.et-orbit:focus-within .et-orbit__service {
    animation-play-state: paused;
}

@keyframes et-service-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg) translateX(var(--et-orbit-radius, clamp(145px, 18vw, 230px))) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg) translateX(var(--et-orbit-radius, clamp(145px, 18vw, 230px))) rotate(-360deg); }
}

@keyframes et-spin { to { transform: rotate(360deg); } }

/* Los datos forman una banda compacta que funciona en una o cuatro columnas. */
.et-proof {
    border-bottom: 1px solid #dce6ee;
    background: #ffffff;
}

.et-proof__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.et-proof__grid > div {
    padding: 34px clamp(14px, 3vw, 40px);
    border-left: 1px solid #dce6ee;
}

.et-proof__grid > div:last-child { border-right: 1px solid #dce6ee; }
.et-proof strong { display: block; color: #116fa5; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.06em; }
.et-proof span { display: block; margin-top: 9px; color: #53627a; font-size: .9rem; }

.et-split,
.et-media__panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(48px, 9vw, 130px);
}

.et-copy-large { margin-top: 0; color: #17304d !important; font-size: clamp(1.25rem, 2vw, 1.65rem); }

.et-services { background: #eaf2f7; }
.et-section-heading { display: grid; grid-template-columns: 1.4fr .6fr; gap: 50px; align-items: end; margin-bottom: 58px; }
.et-section-heading h2 { margin-bottom: 0; }
.et-section-heading > p { margin: 0 0 8px; }

.et-service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.et-service {
    position: relative;
    min-height: 330px;
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid #d5e2eb;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 18px 48px rgba(6, 27, 62, .06);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.et-service:hover { transform: translateY(-6px); border-color: #55c6eb; box-shadow: 0 28px 60px rgba(6, 27, 62, .11); }
.et-service > span { color: #1688bd; font-weight: 800; }
.et-service h3 { max-width: 12ch; margin: 72px 0 16px; font-size: clamp(1.6rem, 3vw, 2.55rem); line-height: 1.05; }
.et-service p { max-width: 48ch; }
.et-service a { display: inline-flex; gap: 8px; margin-top: 12px; color: #075f8d; font-weight: 800; text-underline-offset: 5px; }

.et-method { background: #ffffff; }
.et-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid #dce6ee; }
.et-steps li { display: grid; grid-template-columns: 90px 1fr; gap: 22px; padding-block: 30px; border-bottom: 1px solid #dce6ee; }
.et-steps li > span { color: #1688bd; font-weight: 800; }
.et-steps h3 { margin-bottom: 6px; font-size: 1.55rem; }
.et-steps p { max-width: 680px; margin: 0; }

.et-media { padding-top: 0; background: #ffffff; }
.et-media__panel { position: relative; overflow: hidden; padding: clamp(42px, 7vw, 86px); border-radius: 30px; background: linear-gradient(135deg, #07557f, #1183b6); color: #ffffff; box-shadow: 0 30px 80px rgba(6, 27, 62, .18); }
.et-media__panel::after { position: absolute; right: -90px; bottom: -140px; width: 320px; height: 320px; border: 55px solid rgba(255,255,255,.06); border-radius: 50%; content: ''; }
.et-media .et-eyebrow { color: #b9efff; }
.et-media h2 { position: relative; z-index: 1; font-size: clamp(2.3rem, 5vw, 4.8rem); }
.et-media p { position: relative; z-index: 1; color: #e4f6fc; font-size: 1.08rem; }
.et-media .et-button { position: relative; z-index: 1; margin-top: 22px; }

.et-final { background: #f6f9fc; text-align: center; }
.et-final__panel { max-width: 940px; }
.et-final h2 { margin-bottom: 24px; }
.et-final p:not(.et-eyebrow) { max-width: 620px; margin-inline: auto; font-size: 1.1rem; }
.et-final .et-button { margin-top: 20px; }

/* El contenido permanece visible sin JavaScript; la clase de soporte solo anima cuando el script ya está activo. */
.js .et-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .et-reveal.is-visible { opacity: 1; transform: none; }

/* Los dos controles principales de la cabecera alcanzan el mínimo táctil recomendado. */
.wh-search-toggle,
.wh-menu-toggle,
.wh-iconbtn,
.wh-burger { min-width: 44px; min-height: 44px; }

/* Antes de activar el menú móvil, liberamos el espacio del CTA para conservar una sola fila de navegación. */
@media (max-width: 1150px) and (min-width: 821px) {
    .wh-header__cta { display: none !important; }
    .wh-menu > li > a { padding-inline: 9px !important; }
}

@media (max-width: 820px) {
    .et-shell { width: min(100% - 32px, 720px); }
    .et-hero { padding-block: 76px 90px; }
    .et-hero__grid { grid-template-columns: 1fr; }
    .et-hero h1 { font-size: clamp(3rem, 13vw, 5.4rem); }
    .et-orbit { --et-orbit-radius: 126px; width: min(340px, 88vw); margin: 0 auto; }
    .et-proof__grid { grid-template-columns: repeat(2, 1fr); }
    .et-proof__grid > div:nth-child(3) { border-top: 1px solid #dce6ee; }
    .et-proof__grid > div:nth-child(4) { border-top: 1px solid #dce6ee; border-right: 1px solid #dce6ee; }
    .et-split, .et-media__panel, .et-section-heading { grid-template-columns: 1fr; gap: 24px; }
    .et-service-grid { grid-template-columns: 1fr; }
    .et-service { min-height: 0; }
    .et-service h3 { margin-top: 42px; }
}

@media (max-width: 480px) {
    .et-shell { width: min(100% - 24px, 440px); }
    .et-section { padding-block: 68px; }
    .et-actions { align-items: stretch; flex-direction: column; }
    .et-button { width: 100%; }
    .et-proof__grid > div { padding: 26px 14px; }
    .et-proof span { font-size: .78rem; }
    .et-media__panel { border-radius: 22px; }
    .et-steps li { grid-template-columns: 44px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .et-orbit__ring--two,
    .et-orbit__service { animation: none; }
    .et-button, .et-service, .js .et-reveal { transition: none; }
    .js .et-reveal { opacity: 1; transform: none; }
}
