/* =========================================================
   PENÍNSULA LIFESTYLE PROPERTIES
   GLOBAL STYLESHEET — /css/style.css
========================================================= */

/* =========================================================
   PENÍNSULA — WEBFONTS
   Pegar al INICIO de /redesign/css/style.css
========================================================= */


/* =========================================================
   SF PRO TEXT — ROMAN FAMILY
   Ruta esperada:
   /redesign/fonts/sf-pro-text/
========================================================= */

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Ultralight.otf") format("opentype");
    font-style: normal;
    font-weight: 100;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Thin.otf") format("opentype");
    font-style: normal;
    font-weight: 200;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Light.otf") format("opentype");
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Regular.otf") format("opentype");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Medium.otf") format("opentype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Semibold.otf") format("opentype");
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Bold.otf") format("opentype");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Heavy.otf") format("opentype");
    font-style: normal;
    font-weight: 800;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("../fonts/SF-Pro-Text-Black.otf") format("opentype");
    font-style: normal;
    font-weight: 900;
    font-display: swap;
}


/* =========================================================
   OPTI DIODE
   Archivo real del ZIP:
   OPTIDiode.otf

   Aunque el archivo se identifica como "Regular",
   internamente declara weight 500.
========================================================= */

@font-face {
    font-family: "OPTI Diode";
    src: url("../fonts/OPTIDiode.otf") format("opentype");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}


/* =========================================================
   TYPOGRAPHY TOKENS
========================================================= */

:root {

    --font-ui:
        "SF Pro Text",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Arial,
        sans-serif;

    --font-display:
        "OPTI Diode",
        "Times New Roman",
        serif;

}


/* =========================================================
   GLOBAL TYPOGRAPHY
========================================================= */

body {
    font-family: var(--font-ui);
}


/* =========================================================
   HEADER / TOP BAR — SF PRO TEXT
========================================================= */

.pen-header-root,
.pen-topbar,
.pen-topbar__link,
.pen-topbar__promo,
.pen-promo-link,
.pen-promo-label,
#pen-promo-name,
.pen-desktop-nav,
.pen-nav-link,
.pen-mobile-menu,
.pen-mobile-menu__item {
    font-family: var(--font-ui);
}


/* =========================================================
   PRESTIGIO SECTION — SF PRO TEXT
========================================================= */

.pen-prestige__eyebrow,
.pen-prestige__description,
.pen-prestige__number,
.pen-prestige__counter,
.pen-prestige__stat-label,
.pen-prestige__legal,
.pen-prestige-slider__button {
    font-family: var(--font-ui);
}


/* =========================================================
   PRESTIGIO DISPLAY TITLE — OPTI DIODE 500
========================================================= */

.pen-prestige__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: normal;

    /*
     * Evita que el navegador invente
     * pesos o estilos que no existen.
     */
    font-synthesis: none;
}


:root {
    --pen-black: #000000;
    --pen-white: #ffffff;
    --pen-topbar-bg: #f3f3f3;
    --pen-menu-blue: #002957;
    --pen-ink: #111111;
    --pen-hover-gold: #d5c6a8;
    --pen-container: 1780px;
    --pen-topbar-height: 44px;
    --pen-desktop-header-height: 100px;
    --pen-mobile-header-height: 82px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

.pen-container {
    width: min(calc(100% - 195px), var(--pen-container));
    margin-inline: auto;
}

.pen-header-root {
    width: 100%;
    position: relative;
    z-index: 99990;
    font-family: Arial, Helvetica, sans-serif;
}

.pen-header-root a {
    text-decoration: none;
}

/* TOP BAR */
.pen-topbar {
    width: 100%;
    height: var(--pen-topbar-height);
    background: var(--pen-topbar-bg);
    color: var(--pen-ink);
}

.pen-topbar__inner {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.pen-topbar__utilities {
    display: flex;
    align-items: center;
    gap: 18px;
}

.pen-topbar__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--pen-ink);
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    transition: opacity .22s ease;
}

.pen-topbar__link:hover {
    opacity: .58;
}

.pen-topbar__link svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-topbar__promo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    white-space: nowrap;
}

.pen-promo-link {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 3px;
    color: var(--pen-ink);
    font-size: 14px;
    line-height: 1;
    transition: opacity .22s ease;
}

.pen-promo-link:hover {
    opacity: .68;
}

.pen-promo-label {
    font-weight: 400;
}

#pen-promo-name {
    display: inline-block;
    width:auto!important;
    text-align: left;
    font-weight: 700;
    opacity: 1;
    transform: translateY(0);
    transition:
        opacity .38s ease,
        transform .38s cubic-bezier(.22,1,.36,1);
}

#pen-promo-name.pen-promo-name--changing {
    opacity: 0;
    transform: translateY(4px);
}

.pen-promo-arrow {
    appearance: none;
    border: 0;
    background: transparent;
    color: #304762;
    padding: 4px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: opacity .2s ease, transform .2s ease;
}

.pen-promo-arrow:hover {
    opacity: .55;
}

.pen-promo-prev:hover {
    transform: translateX(-2px);
}

.pen-promo-next:hover {
    transform: translateX(2px);
}

.pen-promo-arrow svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* MAIN HEADER */
.pen-main-header {
    width: 100%;
    height: var(--pen-desktop-header-height);
    background: var(--pen-black);
    color: var(--pen-white);
    position: sticky;
    top: 0;
    z-index: 99999;
    box-shadow: 0 0 0 rgba(0,0,0,0);
    transition: box-shadow .24s ease;
}

.pen-main-header.is-scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
}

.pen-main-header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(290px, 1fr) auto minmax(100px, 1fr);
    align-items: center;
}

.pen-logo {
    justify-self: start;
    display: inline-flex;
    align-items: center;
}

.pen-logo img {
    display: block;
    width: 170px;
    max-width: 100%;
    height: auto;
}

.pen-desktop-nav {
    height: 100%;
    display: flex;
    align-items: center;
    gap: clamp(56px, 6vw, 118px);
}

.pen-nav-link {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    color: rgba(255,255,255,.95);
    font-size: 16px;
    font-weight: 400;
    white-space: nowrap;
    transition: color .3s ease, opacity .3s ease;
}

.pen-nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 33px;
    width: calc(100% + 8px);
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(213,198,168,0) 0%,
        rgba(213,198,168,.55) 14%,
        rgba(213,198,168,1) 32%,
        rgba(213,198,168,1) 68%,
        rgba(213,198,168,.55) 86%,
        rgba(213,198,168,0) 100%
    );
    opacity: 0;
    transform: translateX(-50%) scaleX(.22);
    transform-origin: center;
    transition:
        opacity .28s ease,
        transform .46s cubic-bezier(.22,1,.36,1);
}

.pen-nav-link:hover::after,
.pen-nav-link.is-active::after {
    opacity: 1;
    transform: translateX(-50%) scaleX(1);
}

.pen-cart-button {
    justify-self: end;
    width: 60px;
    height: 48px;
    border-radius: 6px;
    background: var(--pen-white);
    color: var(--pen-black);
    display: grid;
    place-items: center;
    transition: transform .22s ease, background-color .22s ease;
}

.pen-cart-button:hover {
    transform: translateY(-2px);
    background: #f1f1f1;
}

.pen-cart-button svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.85;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-menu-toggle,
.pen-mobile-offcanvas {
    display: none;
}

/* TABLET */
@media (max-width: 1280px) {
    :root {
        --pen-desktop-header-height: 100px;
    }

    .pen-container {
        width: calc(100% - 48px);
    }

    .pen-desktop-nav {
        gap: 42px;
    }

    .pen-nav-link {
        font-size: 17px;
    }

    .pen-logo img {
        width: 215px;
    }

    .pen-cart-button {
        width: 68px;
        height: 54px;
    }

    .pen-nav-link::after {
        bottom: 27px;
    }
}

/* MOBILE */
@media (max-width: 900px) {
    .pen-topbar,
    .pen-desktop-nav {
        display: none;
    }

    .pen-container {
        width: calc(100% - 28px);
    }

    .pen-main-header {
        height: var(--pen-mobile-header-height);
        position: sticky;
        top: 0;
    }

    .pen-main-header__inner {
        display: grid;
        grid-template-columns: 56px 1fr 56px;
        gap: 8px;
        align-items: center;
    }

    .pen-logo {
        justify-self: center;
        min-width: 0;
    }

    .pen-logo img {
        width: clamp(185px, 48vw, 235px);
        max-height: 46px;
        object-fit: contain;
    }

    .pen-cart-button {
        justify-self: end;
        width: 48px;
        height: 48px;
        border-radius: 6px;
    }

    .pen-cart-button svg {
        width: 23px;
        height: 23px;
    }

    .pen-menu-toggle {
        display: block;
        justify-self: start;
        width: 48px;
        height: 48px;
        border: 0;
        background: transparent;
        padding: 0;
        position: relative;
        cursor: pointer;
        color: #fff;
        z-index: 100003;
    }

    .pen-menu-toggle span {
        position: absolute;
        left: 11px;
        width: 25px;
        height: 2px;
        border-radius: 99px;
        background: #fff;
        transform-origin: center;
        transition:
            transform .32s cubic-bezier(.22,1,.36,1),
            top .32s cubic-bezier(.22,1,.36,1),
            opacity .2s ease;
    }

    .pen-menu-toggle span:nth-child(1) { top: 15px; }
    .pen-menu-toggle span:nth-child(2) { top: 23px; }
    .pen-menu-toggle span:nth-child(3) { top: 31px; }

    .pen-menu-toggle.is-open span:nth-child(1) {
        top: 23px;
        transform: rotate(45deg);
    }

    .pen-menu-toggle.is-open span:nth-child(2) {
        opacity: 0;
        transform: scaleX(.25);
    }

    .pen-menu-toggle.is-open span:nth-child(3) {
        top: 23px;
        transform: rotate(-45deg);
    }

    .pen-mobile-offcanvas {
        display: block;
        position: fixed;
        left: 0;
        right: 0;
        top: var(--pen-mobile-header-height);
        bottom: 0;
        background: var(--pen-menu-blue);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 99996;
        transition: opacity .28s ease, visibility .28s ease;
    }

    .pen-mobile-offcanvas.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .pen-mobile-offcanvas__panel {
        position: absolute;
        inset: 0;
        z-index: 2;
        padding:
            clamp(36px, 7vh, 70px)
            0
            36px
            clamp(34px, 9vw, 72px);
    }

    .pen-mobile-menu {
        width: min(58vw, 280px);
        display: flex;
        flex-direction: column;
        gap: clamp(20px, 4vh, 34px);
    }

    .pen-mobile-menu__item {
        min-height: 42px;
        display: grid;
        grid-template-columns: 34px 1fr;
        align-items: center;
        gap: 18px;
        color: var(--pen-white);
        font-size: clamp(20px, 5vw, 27px);
        line-height: 1.15;
        font-weight: 400;
        opacity: 0;
        transform: translateX(-16px);
        transition:
            opacity .32s ease,
            transform .45s cubic-bezier(.22,1,.36,1);
    }

    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item {
        opacity: 1;
        transform: translateX(0);
    }

    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item:nth-child(1) { transition-delay: .05s; }
    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item:nth-child(2) { transition-delay: .09s; }
    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item:nth-child(3) { transition-delay: .13s; }
    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item:nth-child(4) { transition-delay: .17s; }
    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item:nth-child(5) { transition-delay: .21s; }
    .pen-mobile-offcanvas.is-open .pen-mobile-menu__item:nth-child(6) { transition-delay: .25s; }

    .pen-mobile-menu__item:hover {
        opacity: .72 !important;
    }

    .pen-mobile-menu__icon {
        width: 31px;
        height: 31px;
        display: grid;
        place-items: center;
    }

    .pen-mobile-menu__icon svg {
        width: 27px;
        height: 27px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.6;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .pen-mobile-preview {
        position: absolute;
        z-index: 1;
        width: 72vw;
        height: min(64vh, 690px);
        right: -40vw;
        top: 50%;
        transform: translateY(-50%) translateX(30px) scale(.96);
        transform-origin: center;
        overflow: hidden;
        border-radius: 20px 0 0 20px;
        background: #fff;
        box-shadow: 0 20px 50px rgba(0,0,0,.18);
        opacity: 0;
        transition:
            opacity .35s ease .08s,
            transform .55s cubic-bezier(.22,1,.36,1);
    }

    .pen-mobile-offcanvas.is-open .pen-mobile-preview {
        opacity: 1;
        transform: translateY(-50%) translateX(0) scale(1);
    }

    .pen-mobile-preview__content {
        position: absolute;
        left: 0;
        top: 0;
        width: 100vw;
        min-height: 100vh;
        transform: scale(.72);
        transform-origin: top left;
        pointer-events: none;
        user-select: none;
        background: #fff;
    }

    .pen-mobile-preview__content * {
        pointer-events: none !important;
    }

    body.pen-mobile-menu-open {
        overflow: hidden;
        width: 100%;
    }
}

@media (max-width: 520px) {
    :root {
        --pen-mobile-header-height: 72px;
    }

    .pen-main-header__inner {
        grid-template-columns: 48px 1fr 48px;
    }

    .pen-logo img {
        width: min(190px, 50vw);
    }

    .pen-cart-button {
        width: 44px;
        height: 44px;
    }

    .pen-menu-toggle {
        width: 44px;
        height: 44px;
    }

    .pen-mobile-offcanvas__panel {
        padding-left: 28px;
    }

    .pen-mobile-menu {
        width: 62vw;
        gap: 22px;
    }

    .pen-mobile-menu__item {
        grid-template-columns: 30px 1fr;
        gap: 14px;
        font-size: 20px;
    }

    .pen-mobile-menu__icon svg {
        width: 23px;
        height: 23px;
    }

    .pen-mobile-preview {
        width: 76vw;
        height: 61vh;
        right: -46vw;
        border-radius: 18px 0 0 18px;
    }

    .pen-mobile-preview__content {
        transform: scale(.76);
    }
}

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

    .pen-header-root *,
    .pen-header-root *::before,
    .pen-header-root *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* =========================================================
   PRESTIGIO SECTION
========================================================= */

.pen-prestige {

    /*
     * Color tomado visualmente
     * de la referencia.
     */
    --prestige-background:
        #f5f5f5;

    --prestige-navy:
        #011e41;

    --prestige-accent:
        #244b5a;

    --prestige-gold:
        #a36e2a;

    --prestige-counter-inactive:
        #c9c9c9;

    --prestige-text:
        #111111;


    position: relative;

    width: 100%;

    background:
        var(
            --prestige-background
        );

    padding:
        clamp(48px, 5vw, 88px)
        0
        clamp(48px, 5vw, 74px);

    border-radius:
        0 0 16px 16px;

}


/* =========================================================
   LAYOUT
========================================================= */

.pen-prestige__container {

    width:
        min(
            calc(100% - 96px),
            1840px
        );

    margin:
        0 auto;


    display:
        grid;


    grid-template-columns:

        minmax(
            460px,
            .92fr
        )

        minmax(
            600px,
            1.08fr
        );


    gap:
        clamp(
            54px,
            7vw,
            130px
        );


    align-items:
        start;

}


/* =========================================================
   LEFT CONTENT
========================================================= */

.pen-prestige__content {

    padding-top:
        clamp(
            26px,
            2.5vw,
            58px
        );

}


/* =========================================================
   EYEBROW
========================================================= */

.pen-prestige__eyebrow {

    display:
        flex;

    align-items:
        center;

    gap:
        6px;


    margin-bottom:
        clamp(
            34px,
            3vw,
            52px
        );


    font-family:
        Arial,
        Helvetica,
        sans-serif;


    font-size:
        clamp(
            16px,
            1.2vw,
            23px
        );


    font-weight:
        700;


    line-height:
        1;


    white-space:
        nowrap;

}


.pen-prestige__eyebrow-fixed {

    color:
        #080808;

}


.pen-prestige__eyebrow-word {

    display:
        inline-block;


    /*
     * Ancho reservado para evitar
     * que el layout se mueva cuando
     * cambia la palabra.
     */
    min-width:
        145px;


    color:
        var(
            --prestige-accent
        );


    opacity:
        1;


    transform:
        translateY(0);


    transition:

        opacity
        .35s
        ease,

        transform
        .35s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );

}


.pen-prestige__eyebrow-word.is-changing {

    opacity:
        0;


    transform:
        translateY(4px);

}


/* =========================================================
   TITLE
========================================================= */

.pen-prestige__title {

    margin:
        0;


    color:
        var(
            --prestige-navy
        );


    font-family:

        Didot,
        "Bodoni MT",
        "Times New Roman",
        serif;


    font-size:

        clamp(
            52px,
            3.7vw,
            86px
        );


    font-weight:
        900;


    line-height:
        1.1;


    letter-spacing:
        -.035em;


    /*
     * Estado inicial para
     * IntersectionObserver.
     */
    opacity:
        0;


    transform:
        translateY(
            24px
        );


    transition:

        opacity
        .8s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        ),

        transform
        .9s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );

}


/*
 * Esta clase se añade cada vez
 * que el título entra al viewport.
 */

.pen-prestige__title.is-visible {

    opacity:
        1;


    transform:
        translateY(0);

}


/* =========================================================
   DIVIDER
========================================================= */

.pen-prestige__divider {

    width:
        100%;


    max-width:
        690px;


    height:
        2px;


    margin:

        clamp(
            28px,
            3vw,
            38px
        )

        0

        clamp(
            28px,
            3vw,
            34px
        );


    background:
        #111111;

}


/* =========================================================
   DESCRIPTION
========================================================= */

.pen-prestige__description {

    max-width:
        700px;


    color:
        var(
            --prestige-text
        );


    font-size:

        clamp(
            19px,
            1.55vw,
            31px
        );


    font-weight:
        200;


    line-height:
        1.22;

}


/* =========================================================
   STATS
========================================================= */

.pen-prestige__stats {

    display:
        flex;


    align-items:
        center;


    gap:

        clamp(
            38px,
            5vw,
            90px
        );


    margin-top:

        clamp(
            32px,
            4vw,
            52px
        );

}


/* =========================================================
   INDIVIDUAL STAT
========================================================= */

.pen-prestige__stat {

    display:
        flex;


    align-items:
        center;


    gap:
        18px;

}


/* =========================================================
   NUMBER
========================================================= */

.pen-prestige__number {

    display:
        flex;


    align-items:
        baseline;


    line-height:
        1;

}


.pen-prestige__plus {

    color:
        #000000;


    font-family:
        Arial,
        Helvetica,
        sans-serif;


    font-size:

        clamp(
            36px,
            3.2vw,
            60px
        );


    font-weight:
        700;


    margin-right:
        5px;

}


/* =========================================================
   COUNTER
========================================================= */

.pen-prestige__counter {

    min-width:
        2ch;


    color:
        var(
            --prestige-counter-inactive
        );


    font-family:
        "SF Pro Text",        -apple-system,        BlinkMacSystemFont,        "Segoe UI",        Arial,        sans-serif;


    font-size:

        clamp(
            58px,
            5vw,
            92px
        );


    font-weight:
        700;


    letter-spacing:
        -.055em;


    transition:
        color
        .6s
        ease;

}


/*
 * Cuando el contador termina.
 */

.pen-prestige__counter.is-complete {

    color:
        var(
            --prestige-gold
        );

}


/* =========================================================
   STAT LABEL
========================================================= */

.pen-prestige__stat-label {

    color:
        #00263e;


    font-family:
        Arial,
        Helvetica,
        sans-serif;


    font-size:

        clamp(
            17px,
            1.25vw,
            24px
        );


    line-height:
        1.15;

}


/* =========================================================
   RIGHT VISUAL
========================================================= */

.pen-prestige__visual {

    width:
        100%;

}


/* =========================================================
   SLIDER
========================================================= */

.pen-prestige-slider {

    width:
        100%;

}


/* =========================================================
   VIEWPORT
========================================================= */

.pen-prestige-slider__viewport {

    position:
        relative;


    width:
        100%;


    aspect-ratio:
        1.48 / 1;


    overflow:
        hidden;


    border-radius:
        42px;

}


/* =========================================================
   SLIDES
========================================================= */

.pen-prestige-slider__slide {

    position:
        absolute;


    inset:
        0;


    margin:
        0;


    opacity:
        0;


    visibility:
        hidden;


    transform:
        scale(
            1.012
        );


    transition:

        opacity
        .75s
        ease,

        transform
        1.1s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        ),

        visibility
        .75s;

}


.pen-prestige-slider__slide.is-active {

    opacity:
        1;


    visibility:
        visible;


    transform:
        scale(1);


    z-index:
        2;

}


.pen-prestige-slider__slide img {

    display:
        block;


    width:
        100%;


    height:
        100%;


    object-fit:
        cover;


    object-position:
        center;

}


/* =========================================================
   SLIDER CONTROLS
========================================================= */

.pen-prestige-slider__controls {

    display:
        flex;


    justify-content:
        center;


    align-items:
        center;


    gap:
        20px;


    margin-top:
        24px;

}


/* =========================================================
   BUTTONS
========================================================= */

.pen-prestige-slider__button {

    appearance:
        none;


    width:
        46px;


    height:
        46px;


    border:
        1.5px
        solid
        var(
            --prestige-navy
        );


    border-radius:
        5px;


    background:
        transparent;


    color:
        var(
            --prestige-navy
        );


    display:
        grid;


    place-items:
        center;


    padding:
        0;


    cursor:
        pointer;


    transition:

        background-color
        .25s
        ease,

        color
        .25s
        ease,

        transform
        .25s
        ease;

}


.pen-prestige-slider__button:hover {

    background:
        var(
            --prestige-navy
        );


    color:
        #ffffff;


    transform:
        translateY(
            -2px
        );

}


.pen-prestige-slider__button svg {

    width:
        18px;


    height:
        18px;


    fill:
        none;


    stroke:
        currentColor;


    stroke-width:
        2;


    stroke-linecap:
        round;


    stroke-linejoin:
        round;

}


/* =========================================================
   LEGAL
========================================================= */

.pen-prestige__legal {

    margin:

        clamp(
            34px,
            3vw,
            50px
        )

        0
        0;


    color:
        #444444;


    font-family:
        Arial,
        Helvetica,
        sans-serif;


    font-size:
        10px;


    font-weight:
        400;


    line-height:
        1.3;

}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1180px) {

    .pen-prestige__container {

        width:
            calc(
                100% - 56px
            );


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


        gap:
            48px;

    }


    .pen-prestige__title {

        font-size:
            clamp(
                45px,
                5vw,
                64px
            );

    }


    .pen-prestige__description {

        font-size:
            21px;

    }


    .pen-prestige__stats {

        gap:
            30px;

    }


    .pen-prestige-slider__viewport {

        border-radius:
            28px;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-prestige {

        padding:
            40px
            0
            52px;

    }


    .pen-prestige__container {

        width:
            calc(
                100% - 32px
            );


        display:
            flex;


        flex-direction:
            column;


        gap:
            28px;

    }


    .pen-prestige__content {

        padding-top:
            0;

    }


    .pen-prestige__eyebrow {

        font-size:
            16px;


        margin-bottom:
            24px;

    }


    .pen-prestige__title {

        font-size:

            clamp(
                39px,
                11vw,
                54px
            );


        line-height:
            .95;

    }


    .pen-prestige__divider {

        margin:
            24px 0;

    }


    .pen-prestige__description {

        font-size:
            19px;


        line-height:
            1.3;

    }


    .pen-prestige__stats {

        display:
            grid;


        grid-template-columns:
            1fr 1fr;


        gap:
            20px;


        margin-top:
            30px;

    }


    .pen-prestige__stat {

        gap:
            10px;

    }


    .pen-prestige__counter {

        font-size:
            52px;

    }


    .pen-prestige__plus {

        font-size:
            33px;

    }


    .pen-prestige__stat-label {

        font-size:
            14px;

    }


    .pen-prestige-slider__viewport {

        border-radius:
            24px;


        aspect-ratio:
            1 / 1.04;

    }


    .pen-prestige-slider__controls {

        margin-top:
            18px;

    }


    .pen-prestige-slider__button {

        width:
            48px;


        height:
            44px;

    }


    .pen-prestige__legal {

        margin-top:
            24px;


        font-size:
            9px;

    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media
(max-width: 430px) {

    .pen-prestige__stats {

        gap:
            12px;

    }


    .pen-prestige__counter {

        font-size:
            46px;

    }


    .pen-prestige__plus {

        font-size:
            28px;

    }


    .pen-prestige__stat-label {

        font-size:
            13px;

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-prestige__title,
    .pen-prestige__eyebrow-word,
    .pen-prestige-slider__slide,
    .pen-prestige__counter {

        transition:
            none;

    }

}

/* =========================================
   MAPA INTERACTIVO
========================================= */

.mexico-map {
  --map-navy: #00234a;
  --map-teal: #285565;
  --map-gold: #b57424;
  --map-blue: #3482a0;
  --map-text: #090909;

  width: 100%;
  overflow: hidden;
  background: #ffffff;
  color: var(--map-text);
  font-family: "SF Pro Text", Arial, sans-serif;
}

.mexico-map,
.mexico-map * {
  box-sizing: border-box;
}

.mexico-map__container {
  width: min(100% - 170px, 1540px);
  margin-inline: auto;
  padding-block: clamp(64px, 7vw, 112px);
}

.mexico-map__header {
  margin-bottom: clamp(30px, 4vw, 58px);
  text-align: center;
}

.mexico-map__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 28px;
}

.mexico-map__eyebrow span {
  width: 70px;
  height: 2px;
  background: #111111;
}

.mexico-map__eyebrow p {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
}

.mexico-map__header h2 {
  margin: 0;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 650;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

/* Mapa + indicador de desarrollos */

.mexico-map__main {
  display: grid;
  grid-template-columns: minmax(0, 1.75fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: clamp(30px, 5vw, 90px);
}

.mexico-map__stage {
  position: relative;
  width: 100%;
  min-width: 0;
}

.mexico-map__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Etiqueta que aparece sobre el estado */

.mexico-map__popover {
  --marker-x: 50%;
  --marker-y: 50%;

  position: absolute;
  z-index: 5;
  top: var(--marker-y);
  left: var(--marker-x);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  min-width: 265px;
  min-height: 62px;
  padding: 13px 22px 13px 32px;

  color: #ffffff;
  background: var(--map-navy);
  border-radius: 999px;
  box-shadow:
    0 3px 2px rgba(0, 0, 0, 0.25),
    0 12px 20px rgba(0, 0, 0, 0.12);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(34px, -50%) scale(0.98);

  transition:
    opacity 320ms ease,
    transform 420ms cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 420ms;
}

.mexico-map__popover.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%) scale(1);
  transition-delay: 0s;
}

.mexico-map__popover-state {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.mexico-map__popover-count {
  font-size: 32px;
  font-weight: 650;
  line-height: 1;
  white-space: nowrap;
}

/* Resumen derecho */

.mexico-map__summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mexico-map__summary-title,
.mexico-map__summary-number,
.mexico-map__summary-text {
  font-family: Didot,"Bodoni MT","Times New Roman",serif;
  text-transform: uppercase;
}

.mexico-map__summary-title {
  margin: 0;
  color: var(--map-navy);
  font-size: clamp(40px, 4vw, 32px);
  font-weight: 500;
  line-height: 1;
}

.mexico-map__summary-number {
  margin-top: 16px;
  color: var(--map-gold);
  font-size: clamp(40px, 5vw, 32px);
  font-weight: 500;
  line-height: 0.9;
}

.mexico-map__summary-text {
  margin: 20px 0 28px;
  color: var(--map-gold);
  font-size: clamp(40px, 4.5vw, 32px);
  font-weight: 500;
  line-height: 1.08;
}

.mexico-map__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 176px;
  min-height: 52px;
  padding: 12px 24px;

  color: var(--map-blue);
  background: transparent;
  border: 1.5px solid var(--map-blue);
  border-radius: 5px;

  font-size: 18px;
  font-weight: 500;
  text-decoration: none;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    transform 220ms ease;
}

.mexico-map__button span {
  font-size: 30px;
  font-weight: 300;
  line-height: 0;
  transform: translateY(-1px);
}

.mexico-map__button:hover,
.mexico-map__button:focus-visible {
  color: #ffffff;
  background: var(--map-blue);
  transform: translateY(-2px);
}

/* Tarjetas */

.mexico-map__regions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 58px 84px;
  margin-top: clamp(32px, 0vw, 135px)
}

.mexico-map__card {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-width: 0;
  min-height: 100px;
  padding: 14px 16px;

  color: #ffffff;
  background: var(--map-teal);
  border: 2px solid transparent;
  border-radius: 6px;
  cursor: pointer;

  font: inherit;
  text-align: left;

  transition:
    color 220ms ease,
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

.mexico-map__card img {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  object-fit: cover;
  border-radius: 6px;
}

.mexico-map__card span {
  min-width: 0;
  font-size: clamp(17px, 1.4vw, 22px);
  font-weight: 400;
  line-height: 1.15;
}

.mexico-map__card:hover,
.mexico-map__card:focus-visible,
.mexico-map__card.is-active {
  color: #090909;
  background: #ffffff;
  border-color: #171717;
  box-shadow: 0 9px 22px rgba(0, 0, 0, 0.08);
  outline: none;
  transform: translateY(-2px);
}

/* Tablet */

@media (max-width: 1100px) {
  .mexico-map__regions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }
}

/* Móvil */

@media (max-width: 800px) {
  .mexico-map__container {
    width: min(100% - 32px, 720px);
    padding-block: 56px;
  }

  .mexico-map__eyebrow {
    gap: 14px;
    margin-bottom: 20px;
  }

  .mexico-map__eyebrow span {
    width: 42px;
  }

  .mexico-map__eyebrow p {
    font-size: 13px;
  }

  .mexico-map__main {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .mexico-map__summary-text {
    font-size: clamp(38px, 11vw, 54px);
  }

  /*
   * Evita que la etiqueta de estados orientales,
   * como Quintana Roo, salga del viewport.
   */
  .mexico-map__popover {
    left: clamp(8px, var(--marker-x), calc(100% - 208px));
    min-width: 200px;
    min-height: 48px;
    padding: 10px 16px 10px 20px;
    gap: 12px;
  }

  .mexico-map__popover-state {
    font-size: 15px;
  }

  .mexico-map__popover-count {
    font-size: 23px;
  }

  .mexico-map__regions {
    margin-top: 64px;
  }

  .mexico-map__card {
    min-height: 86px;
    padding: 11px 16px;
  }

  .mexico-map__card img {
    flex-basis: 62px;
    width: 62px;
    height: 62px;
  }
}

@media (max-width: 520px) {
  .mexico-map__regions {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mexico-map__card span {
    font-size: 18px;
  }
}

/* Accesibilidad */

@media (prefers-reduced-motion: reduce) {
  .mexico-map__popover,
  .mexico-map__card,
  .mexico-map__button {
    transition: none;
  }
}


/* =========================================================
   NUESTRA HISTORIA
========================================================= */

.pen-history {

  

    --history-text:
        #ffffff;


    width:
        100%;


    display:
        grid;


    grid-template-columns:
        51.5%
        48.5%;


    background:
        var(--history-background);


    overflow:
        hidden;

}



/* =========================================================
   LEFT COLUMN
========================================================= */

.pen-history__content {

    min-height:
        clamp(
            650px,
            40vw,
            790px
        );


    display:
        flex;


    align-items:
        center;


    background:
        #000000;


    color:
        var(--history-text);

}



/* =========================================================
   INNER
========================================================= */

.pen-history__content-inner {

    width:
        min(
            calc(100% - 100px),
            810px
        );


    margin-left:
        auto;


    margin-right:
        70px;

}



/* =========================================================
   EYEBROW
========================================================= */

.pen-history__eyebrow {

    display:
        flex;


    align-items:
        center;


    gap:
        22px;


    margin-bottom:
        20px;


    /*
     * Estado inicial
     */
    opacity:
        0;


    transform:
        translateX(
            -46px
        );


    transition:

        opacity
        .65s
        ease,

        transform
        .8s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );

}



/*
 * Cuando entra al viewport.
 */

.pen-history__eyebrow.is-visible {

    opacity:
        1;


    transform:
        translateX(0);

}



/* =========================================================
   EYEBROW LINE
========================================================= */

.pen-history__eyebrow-line {

    width:
        84px;


    height:
        3px;


    flex:
        0 0 auto;


    background:
        #ffffff;


    border-radius:
        99px;


    /*
     * La línea además crece
     * horizontalmente.
     */
    transform:
        scaleX(0);


    transform-origin:
        left center;


    transition:

        transform
        .75s
        cubic-bezier(
            .22,
            1,
            .36,
            1
        );

}



/*
 * Ligero delay para dar
 * sensación de línea que se dibuja.
 */

.pen-history__eyebrow.is-visible
.pen-history__eyebrow-line {

    transform:
        scaleX(1);

}



/* =========================================================
   EYEBROW TEXT
========================================================= */

.pen-history__eyebrow-text {

    font-family:
        var(--font-ui);


    font-size:
        clamp(
            18px,
            1.3vw,
            25px
        );


    font-weight:
        700;


    line-height:
        1;


    letter-spacing:
        -.01em;


    color:
        #ffffff;

}



/* =========================================================
   MAIN TITLE
========================================================= */

.pen-history__title {

    max-width:
        700px;


    margin:
        0 0
        clamp(
            34px,
            3vw,
            48px
        );


    color:
        #ffffff;


    font-family:
        var(--font-ui);


    font-size:
        clamp(
            38px,
            2.6vw,
            56px
        );


    font-weight:
        700;


    line-height:
        1.12;


    letter-spacing:
        -.025em;

}



/* =========================================================
   DESCRIPTION
========================================================= */

.pen-history__description {

    max-width:
        750px;


    margin:
        0;


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


    font-family:
        var(--font-ui);


    font-size:
        clamp(
            22px,
            1.7vw,
            34px
        );


    font-weight:
        300;


    line-height:
        1.28;


    letter-spacing:
        -.015em;

}



/* =========================================================
   RIGHT IMAGE
========================================================= */

.pen-history__visual {

    min-height:
        650px;


    height:
        100%;


    overflow:
        hidden;


    /*
     * Solamente derecha:
     * superior e inferior.
     */
    border-radius:
        0
        24px
        24px
        0;

}



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

.pen-history__visual img {

    display:
        block;


    width:
        100%;


    height:
        100%;


    object-fit:
        cover;


    object-position:
        center;


    border-radius:
        inherit;

}



/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1180px) {

    .pen-history {

        grid-template-columns:
            50%
            50%;

    }


    .pen-history__content-inner {

        width:
            calc(
                100% - 64px
            );


        margin:
            0 auto;

    }


    .pen-history__title {

        font-size:
            38px;

    }


    .pen-history__description {

        font-size:
            23px;

    }

}



/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-history {

        display:
            flex;


        flex-direction:
            column;


        background:
            #000000;

    }



    /* =====================================================
       CONTENT
    ====================================================== */

    .pen-history__content {

        min-height:
            auto;


        padding:
            54px 0 46px;


        order:
            1;

    }


    .pen-history__content-inner {

        width:
            calc(
                100% - 40px
            );


        margin:
            0 auto;

    }



    /* =====================================================
       EYEBROW MOBILE
    ====================================================== */

    .pen-history__eyebrow {

        gap:
            14px;


        margin-bottom:
            25px;


        transform:
            translateX(-28px);

    }


    .pen-history__eyebrow-line {

        width:
            52px;


        height:
            2px;

    }


    .pen-history__eyebrow-text {

        font-size:
            17px;

    }



    /* =====================================================
       TITLE MOBILE
    ====================================================== */

    .pen-history__title {

        max-width:
            500px;


        margin-bottom:
            28px;


        font-size:
            clamp(
                32px,
                8vw,
                42px
            );


        line-height:
            1.12;

    }



    /* =====================================================
       DESCRIPTION MOBILE
    ====================================================== */

    .pen-history__description {

        max-width:
            none;


        font-size:
            clamp(
                19px,
                4.8vw,
                23px
            );


        line-height:
            1.3;

    }



    /* =====================================================
       IMAGE MOBILE
    ====================================================== */

    .pen-history__visual {

        order:
            2;


        width:
            100%;


        min-height:
            420px;


        aspect-ratio:
            1 / .85;


        /*
         * Mantengo los 24 px
         * derechos solicitados.
         */
        border-radius:
            0
            24px
            24px
            0;

    }


    .pen-history__visual img {

        object-position:
            center;

    }

}



/* =========================================================
   SMALL MOBILE
========================================================= */

@media
(max-width: 430px) {

    .pen-history__content {

        padding:
            44px 0 40px;

    }


    .pen-history__content-inner {

        width:
            calc(
                100% - 32px
            );

    }


    .pen-history__title {

        font-size:
            31px;

    }


    .pen-history__description {

        font-size:
            19px;

    }


    .pen-history__visual {

        min-height:
            360px;


        border-radius:
            0
            20px
            20px
            0;

    }

}



/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-history__eyebrow,
    .pen-history__eyebrow-line {

        transition:
            none;

    }


    .pen-history__eyebrow {

        opacity:
            1;


        transform:
            none;

    }


    .pen-history__eyebrow-line {

        transform:
            scaleX(1);

    }

}


/* =========================================================
   AJUSTES HEADER — STICKY + HOVER SUTIL
   2026-08-24
========================================================= */

/*
 * position: sticky estaba limitado por la altura de
 * .pen-header-root. Ahora JS activa una versión fixed
 * cuando el header alcanza el borde superior.
 */
.pen-main-header {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
}

.pen-main-header.pen-is-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 99999;
    animation: penHeaderStickyIn .24s ease both;
}

.pen-header-root.pen-has-fixed-header {
    padding-bottom: var(--pen-desktop-header-height);
}

@keyframes penHeaderStickyIn {
    from {
        opacity: .98;
        transform: translateY(-3px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*
 * Hover de navegación: crecimiento visual de 2%.
 * Se usa transform para no alterar el layout ni mover
 * las demás opciones del menú.
 */
.pen-nav-link {
    transform: scale(1);
    transform-origin: center;
    transition:
        color .3s ease,
        opacity .3s ease,
        transform .26s cubic-bezier(.22, 1, .36, 1);
}

.pen-nav-link:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {

    .pen-header-root.pen-has-fixed-header {
        padding-bottom: var(--pen-mobile-header-height);
    }

    .pen-main-header.pen-is-fixed {
        height: var(--pen-mobile-header-height);
    }

}


/* =========================================================
   AJUSTES PRESTIGIO — TITULAR + CONTADORES
   2026-08-24
========================================================= */

/*
 * Se reafirma OPTI Diode 500 porque una regla posterior
 * del CSS anterior estaba sobrescribiendo la familia.
 *
 * 0.80s × 1.03 = .824s
 * 0.90s × 1.03 = .927s
 */
.pen-prestige__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: normal;
    font-synthesis: none;

    transition:
        opacity .824s cubic-bezier(.22, 1, .36, 1),
        transform .927s cubic-bezier(.22, 1, .36, 1);
}

/*
 * Los <br> del HTML definen exactamente tres renglones.
 * nowrap evita que una de esas líneas se parta adicionalmente
 * en resoluciones desktop grandes.
 */
@media (min-width: 768px) {

    .pen-prestige__title {
        white-space: nowrap;
        max-width: none;
    }

}

/*
 * Escala optimizada para monitores amplios.
 * Mantiene las tres líneas sin crear una cuarta.
 */
@media (min-width: 1440px) {

    .pen-prestige__title {
        font-size: clamp(58px, 3.25vw, 76px);
        line-height: 1.02;
        letter-spacing: -.025em;
    }

}

@media (min-width: 1920px) {

    .pen-prestige__title {
        font-size: clamp(62px, 3.15vw, 78px);
    }

}


/* =========================================================
   AJUSTES NUESTRA HISTORIA
   Referencia: unlegadoquesetransformaparatrascendereneltiempo
========================================================= */

@media (min-width: 768px) {

    .pen-history {
        grid-template-columns: 49.3% 50.7%;
        min-height: 724px;
    }

    .pen-history__content {
        min-height: 724px;
    }

    .pen-history__content-inner {
        width: auto;
        max-width: 760px;
        margin-left: clamp(64px, 5vw, 96px);
        margin-right: clamp(48px, 4vw, 76px);
    }

    .pen-history__eyebrow {
        gap: 22px;
        margin-bottom: 20px;
    }

    .pen-history__eyebrow-line {
        width: 80px;
        height: 3px;
    }

    .pen-history__eyebrow-text {
        font-size: clamp(18px, 1.15vw, 22px);
        font-weight: 700;
    }

    .pen-history__title {
        max-width: 620px;
        margin-bottom: clamp(34px, 2.5vw, 46px);
        font-size: clamp(36px, 2.25vw, 44px);
        line-height: 1.16;
        letter-spacing: -.025em;
    }

    .pen-history__description {
        max-width: 735px;
        font-size: clamp(23px, 1.55vw, 30px);
        line-height: 1.28;
        font-weight: 300;
    }

    .pen-history__visual {
        min-height: 724px;
        border-radius: 0 24px 24px 0;
    }

    .pen-history__visual img {
        object-position: center center;
    }

}


/* =========================================================
   NUESTRA MISIÓN / COMPROMETIDOS
   Ajustado contra referencia visual 2026-08-24
========================================================= */

.pen-commitment {
    --commitment-teal: #285766;
    --commitment-white: #ffffff;
    --commitment-navy: #011e41;
    --commitment-height: 551px;

    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom:90px;

    /*
     * El blanco pertenece al canvas general.
     * El azul vive únicamente en la columna de contenido.
     */
    background: #ffffff;

    padding:
        32px
        0
        34px;
}


/* =========================================================
   LAYOUT DESKTOP
========================================================= */

.pen-commitment__layout {
    width: 100%;

    display: grid;

    /*
     * Referencia:
     * ~4.6% margen izquierdo
     * ~44.6% slider
     * resto columna azul
     */
    grid-template-columns:
        4.6vw
        44.6vw
        minmax(0, 1fr);

    grid-template-rows:
        var(--commitment-height)
        auto;

    align-items: stretch;
}


/* =========================================================
   SLIDER
========================================================= */

.pen-commitment-slider {
    grid-column: 2;
    grid-row: 1;

    position: relative;
    z-index: 2;

    width: 100%;
    min-width: 0;
    height: var(--commitment-height);
}


/* =========================================================
   VIEWPORT
========================================================= */

.pen-commitment-slider__viewport {
    position: relative;

    width: 100%;
    height: 100%;

    /*
     * Se elimina aspect-ratio.
     * La altura ahora está sincronizada directamente
     * con la columna de copy.
     */
    aspect-ratio: auto;

    overflow: hidden;

    border-radius:
        24px;

    background:
        #e8e8e8;
}


/* =========================================================
   SLIDES
========================================================= */

.pen-commitment-slider__slide {
    position: absolute;
    inset: 0;

    margin: 0;

    opacity: 0;
    visibility: hidden;

    transform:
        scale(1.012);

    transition:
        opacity .72s ease,
        visibility .72s ease,
        transform 1s cubic-bezier(.22, 1, .36, 1);
}


.pen-commitment-slider__slide.is-active {
    opacity: 1;
    visibility: visible;

    transform:
        scale(1);

    z-index: 2;
}


.pen-commitment-slider__slide img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    /*
     * El radio real se controla desde viewport.
     */
    border-radius: 0;
}


/* =========================================================
   COLUMNA AZUL / COPY
========================================================= */

.pen-commitment__content {
    grid-column: 3;
    grid-row: 1;

    position: relative;
    z-index: 1;

    min-width: 0;

    width: 100%;
    height: var(--commitment-height);
    max-height: var(--commitment-height);

    display: flex;
    flex-direction: column;
    justify-content: center;

    color:
        var(--commitment-white);

    background:
        var(--commitment-teal);

    /*
     * La referencia tiene poco espacio entre la imagen
     * y el inicio del copy.
     */
    padding:
        44px
        clamp(50px, 4.4vw, 86px)
        42px
        clamp(30px, 2.2vw, 42px);
}


/*
 * EXTENSIÓN AZUL DEBAJO DEL RADIO DERECHO DE LA IMAGEN
 *
 * Esta pequeña pieza es importante visualmente:
 * hace que cuando la imagen se recorta con border-radius,
 * el color que se vea detrás de sus esquinas derechas
 * sea el mismo azul de la columna de contenido.
 *
 * Así imagen + copy se perciben como una sola composición.
 */
.pen-commitment__content::before {
    content: "";

    position: absolute;

    top: 0;
    bottom: 0;
    left: -26px;

    width: 27px;

    background:
        var(--commitment-teal);

    pointer-events: none;

    z-index: -1;
}


/* =========================================================
   EYEBROW
========================================================= */

.pen-commitment__eyebrow {
    display: flex;
    align-items: center;

    gap:
        20px;

    margin:
        0 0
        17px;

    font-family:
        var(--font-ui);

    font-size:
        clamp(17px, 1.05vw, 21px);

    font-weight:
        700;

    line-height:
        1;

    color:
        #ffffff;
}


.pen-commitment__eyebrow-line {
    flex:
        0 0 auto;

    width:
        78px;

    height:
        3px;

    border-radius:
        99px;

    background:
        #ffffff;
}


/* =========================================================
   TITLE
========================================================= */

.pen-commitment__title {
    max-width:
        610px;

    margin:
        0 0
        clamp(27px, 2vw, 32px);

    color:
        #ffffff;

    font-family:
        var(--font-ui);

    font-size:
        clamp(34px, 2.05vw, 41px);

    font-weight:
        700;

    line-height:
        1.14;

    letter-spacing:
        -.022em;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.pen-commitment__description {
    max-width:
        700px;

    margin:
        0;

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

    font-family:
        var(--font-ui);

    /*
     * Se limita el tamaño para garantizar que todo el
     * contenido respire dentro de los 551px de altura.
     */
    font-size:
        clamp(19px, 1.28vw, 25px);

    font-weight:
        300;

    line-height:
        1.24;

    letter-spacing:
        -.01em;
}


.pen-commitment__description p {
    margin:
        0;
}


/* =========================================================
   SLIDE-IN DEL COPY
   IZQUIERDA → DERECHA
========================================================= */

/*
 * Los estados ocultos solamente se aplican cuando JS
 * confirma que el observer está inicializado.
 * Así el contenido nunca queda invisible si JS falla.
 */
.pen-commitment.is-reveal-ready
.pen-commitment__eyebrow,

.pen-commitment.is-reveal-ready
.pen-commitment__title,

.pen-commitment.is-reveal-ready
.pen-commitment__description {

    opacity:
        0;

    transform:
        translateX(-58px);
}


/* EYEBROW */
.pen-commitment.is-reveal-ready
.pen-commitment__eyebrow {

    transition:
        opacity 1.05s ease,
        transform 1.20s cubic-bezier(.22,1,.36,1);
}


/* TÍTULO */
.pen-commitment.is-reveal-ready
.pen-commitment__title {

    transition:
        opacity 1.10s ease .10s,
        transform 1.28s cubic-bezier(.22,1,.36,1) .10s;
}


/* DESCRIPCIÓN */
.pen-commitment.is-reveal-ready
.pen-commitment__description {

    transition:
        opacity 1.15s ease .20s,
        transform 1.36s cubic-bezier(.22,1,.36,1) .20s;
}


/* ESTADO VISIBLE */
.pen-commitment.is-reveal-ready
.pen-commitment__content.is-visible
.pen-commitment__eyebrow,

.pen-commitment.is-reveal-ready
.pen-commitment__content.is-visible
.pen-commitment__title,

.pen-commitment.is-reveal-ready
.pen-commitment__content.is-visible
.pen-commitment__description {

    opacity:
        1;

    transform:
        translateX(0);
}


/* =========================================================
   CONTROLES — FUERA DE LA IMAGEN
========================================================= */

.pen-commitment-slider__controls {
    grid-column: 2;
    grid-row: 2;

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

    gap:
        18px;

    /*
     * Las flechas viven sobre el fondo blanco,
     * debajo del slider, nunca dentro de la foto.
     */
    padding:
        24px 0 0;
}


.pen-commitment-slider__button {
    appearance: none;

    width:
        52px;

    height:
        46px;

    display:
        grid;

    place-items:
        center;

    padding:
        0;

    color:
        var(--commitment-navy);

    background:
        transparent;

    border:
        1.5px solid
        var(--commitment-navy);

    border-radius:
        5px;

    cursor:
        pointer;

    transition:
        color .24s ease,
        background-color .24s ease,
        transform .24s ease;
}


.pen-commitment-slider__button:hover {
    color:
        #ffffff;

    background:
        var(--commitment-navy);

    transform:
        translateY(-2px);
}


.pen-commitment-slider__button svg {
    width:
        17px;

    height:
        17px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1180px)
and
(min-width: 768px) {

    .pen-commitment {

        --commitment-height:
            clamp(
                500px,
                48vw,
                551px
            );

    }


    .pen-commitment__layout {

        grid-template-columns:
            32px
            48%
            minmax(0, 1fr);

    }


    .pen-commitment__content {

        padding:
            36px
            30px
            34px
            28px;

    }


    .pen-commitment__eyebrow {

        font-size:
            15px;

    }


    .pen-commitment__eyebrow-line {

        width:
            54px;

    }


    .pen-commitment__title {

        font-size:
            clamp(
                29px,
                3vw,
                35px
            );

        margin-bottom:
            23px;

    }


    .pen-commitment__description {

        font-size:
            clamp(
                17px,
                1.85vw,
                21px
            );

        line-height:
            1.22;

    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-commitment {

        --commitment-height:
            auto;

        padding:
            32px
            0
            44px;

    }


    .pen-commitment__layout {

        display:
            flex;

        flex-direction:
            column;

        width:
            100%;

    }


    .pen-commitment-slider {

        order:
            1;

        width:
            calc(100% - 32px);

        height:
            auto;

        margin:
            0 auto;

    }


    .pen-commitment-slider__viewport {

        width:
            100%;

        height:
            auto;

        aspect-ratio:
            1 / 1.02;

        border-radius:
            22px;

    }


    /*
     * El solape azul solamente es necesario
     * en el layout horizontal desktop.
     */
    .pen-commitment__content::before {

        display:
            none;

    }


    .pen-commitment-slider__controls {

        order:
            2;

        display:
            flex;

        padding:
            18px 0 24px;

    }


    .pen-commitment__content {

        order:
            3;

        width:
            100%;

        height:
            auto;

        max-height:
            none;

        padding:
            44px
            20px
            50px;

    }


    .pen-commitment__eyebrow {

        gap:
            14px;

        margin-bottom:
            24px;

        font-size:
            17px;

    }


    .pen-commitment__eyebrow-line {

        width:
            52px;

        height:
            2px;

    }


    .pen-commitment__title {

        max-width:
            520px;

        margin-bottom:
            28px;

        font-size:
            clamp(
                32px,
                8vw,
                41px
            );

    }


    .pen-commitment__description {

        max-width:
            none;

        font-size:
            clamp(
                19px,
                4.8vw,
                23px
            );

        line-height:
            1.3;

    }


    .pen-commitment.is-reveal-ready
    .pen-commitment__eyebrow,

    .pen-commitment.is-reveal-ready
    .pen-commitment__title,

    .pen-commitment.is-reveal-ready
    .pen-commitment__description {

        transform:
            translateX(-34px);

    }


    .pen-commitment.is-reveal-ready
    .pen-commitment__content.is-visible
    .pen-commitment__eyebrow,

    .pen-commitment.is-reveal-ready
    .pen-commitment__content.is-visible
    .pen-commitment__title,

    .pen-commitment.is-reveal-ready
    .pen-commitment__content.is-visible
    .pen-commitment__description {

        transform:
            translateX(0);

    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-commitment.is-reveal-ready
    .pen-commitment__eyebrow,

    .pen-commitment.is-reveal-ready
    .pen-commitment__title,

    .pen-commitment.is-reveal-ready
    .pen-commitment__description {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;

    }

}


/* =========================================================
   AJUSTES V2 — HEADER + PRESTIGIO + HISTORIA
   Mantener este bloque al FINAL de style.css
========================================================= */


/* =========================================================
   1. TOP BAR + HEADER — STICKY COMO UNA SOLA UNIDAD
========================================================= */

/*
 * El elemento sticky ahora es TODO el header root.
 * Así la Top Bar y el Header negro permanecen visibles juntos.
 */
.pen-header-root {
    position: sticky !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
}

/*
 * Neutraliza la solución fixed anterior para evitar saltos
 * de layout y dobles posicionamientos.
 */
.pen-main-header,
.pen-main-header.pen-is-fixed {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100%;
    animation: none !important;
}

.pen-header-root.pen-has-fixed-header {
    padding-bottom: 0 !important;
}

/* Feedback visual al hacer scroll */
.pen-header-root.is-scrolled {
    box-shadow: 0 5px 20px rgba(0,0,0,.12);
}


/* Hover más evidente en las 4 opciones del menú */
.pen-nav-link {
    transform: scale(1);
    transform-origin: center;
    transition:
        color .3s ease,
        opacity .3s ease,
        transform .28s cubic-bezier(.22, 1, .36, 1);
}

.pen-nav-link:hover {
    transform: scale(1.05);
}


/* =========================================================
   2. PRESTIGIO — ROTATING WORD
========================================================= */

.pen-prestige__eyebrow-word {
    transition:
        opacity .35s ease,
        transform .35s cubic-bezier(.22,1,.36,1),
        color .35s ease;
}

/* Solo LEGADO cambia al dorado solicitado */
.pen-prestige__eyebrow-word.is-legado {
    color: #A36E29;
}


/* =========================================================
   3. PRESTIGIO — CONTENEDOR
========================================================= */

.pen-prestige__container {
    width: min(calc(100% - 64px), 1920px);
}


/* =========================================================
   4. PRESTIGIO — TÍTULO PRINCIPAL
========================================================= */

/*
 * Se reduce ligeramente el puntaje y se hace bastante más
 * lenta la animación para que sea perceptible.
 */
.pen-prestige__title {
    font-family: var(--font-display);
    font-weight: 500;
    font-style: normal;
    font-synthesis: none;

    font-size: clamp(52px, 3.05vw, 70px);
    line-height: 1.02;
    letter-spacing: -.02em;

    transition:
        opacity 1.20s cubic-bezier(.22, 1, .36, 1),
        transform 1.38s cubic-bezier(.22, 1, .36, 1);
}

/*
 * Los tres <br> del HTML gobiernan la composición desktop.
 * No se permite un wrap adicional dentro de cada línea.
 */
@media (min-width: 768px) {

    .pen-prestige__title {
        white-space: nowrap;
        max-width: none;
    }

}

@media (min-width: 1440px) {

    .pen-prestige__title {
        font-size: clamp(54px, 2.9vw, 69px);
    }

}

@media (min-width: 1920px) {

    .pen-prestige__title {
        font-size: 66px;
    }

}


/* =========================================================
   5. HISTORIA — ALTURA / MÁRGENES / GRID
========================================================= */

@media (min-width: 768px) {

    .pen-history {
        width: 100%;
        height: 551px;
        min-height: 551px;
        max-height: 551px;
        margin-top:90px;
        margin-bottom:90px;

        /*
         * 32px reales entre la fotografía y el borde
         * derecho del viewport.
         */
        padding-right: 32px;

        grid-template-columns:
            minmax(0, 49.3%)
            minmax(0, 50.7%);

        overflow: hidden;
    }


    .pen-history__content {
        height: 551px;
        min-height: 551px;
        max-height: 551px;
    }


    .pen-history__content-inner {
        width: auto;
        max-width: 760px;

        margin-left:
            clamp(56px, 5vw, 96px);

        margin-right:
            clamp(42px, 4vw, 72px);
    }


    /* =====================================================
       HISTORIA — HEADING SLIDE RIGHT → LEFT
    ====================================================== */

    .pen-history__heading {
        opacity: 0;

        /*
         * Parte desde la derecha y entra hacia la izquierda.
         */
        transform: translateX(64px);

        transition:
            opacity .82s ease,
            transform 1.05s cubic-bezier(.22,1,.36,1);
    }


    .pen-history__heading.is-visible {
        opacity: 1;
        transform: translateX(0);
    }


    /*
     * Neutralizamos la animación antigua del eyebrow porque
     * ahora todo el encabezado se mueve como una sola pieza.
     */
    .pen-history__eyebrow {
        opacity: 1 !important;
        transform: none !important;

        gap: 20px;
        margin-bottom: 17px;

        transition: none !important;
    }


    .pen-history__eyebrow-line {
        width: 78px;
        height: 3px;

        /*
         * La línea ya viene dentro del bloque que hace slide.
         */
        transform: scaleX(1) !important;
        transition: none !important;
    }


    .pen-history__eyebrow-text {
        font-size: clamp(17px, 1.05vw, 21px);
        font-weight: 700;
    }


    .pen-history__title {
        max-width: 620px;

        margin:
            0 0
            clamp(27px, 2vw, 34px);

        font-size:
            clamp(34px, 2.05vw, 41px);

        line-height: 1.15;
        letter-spacing: -.022em;
    }


    .pen-history__description {
        max-width: 730px;

        font-size:
            clamp(20px, 1.35vw, 27px);

        line-height: 1.25;
        font-weight: 300;
    }


    .pen-history__visual {
        width: 95%;
        height: 551px;
        min-height: 551px;
        max-height: 551px;

        /*
         * Se conservan únicamente los radios derechos.
         */
        border-radius: 0 24px 24px 0;

        overflow: hidden;
    }


    .pen-history__visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;

        border-radius: inherit;
    }

}


/* =========================================================
   HISTORIA — MOBILE
========================================================= */

@media (max-width: 767px) {

    /*
     * En móvil no forzamos 551px porque el contenido necesita
     * fluir verticalmente.
     */
    .pen-history {
        height: auto;
        min-height: 0;
        max-height: none;
        padding-right: 0;
    }


    .pen-history__heading {
        opacity: 0;
        transform: translateX(34px);

        transition:
            opacity .75s ease,
            transform .9s cubic-bezier(.22,1,.36,1);
    }


    .pen-history__heading.is-visible {
        opacity: 1;
        transform: translateX(0);
    }


    .pen-history__eyebrow {
        opacity: 1 !important;
        transform: none !important;
    }


    .pen-history__eyebrow-line {
        transform: scaleX(1) !important;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-history__heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

}


/* =========================================================
   ANCHO DE CONTENIDO — SOLO PRIMERA SECCIÓN
========================================================= */

/*
 * Únicamente Prestigio / slider principal queda limitado
 * a 1240px y centrado en desktop.
 *
 * El resto de las secciones conserva exactamente su ancho
 * original definido en los bloques base del proyecto.
 */
@media (min-width: 1025px) {

    .pen-prestige__container {
        /*
         * Gutter mínimo permanente:
         * 32px izquierda + 32px derecha.
         *
         * Antes width:100% eliminaba por completo
         * el margen cuando el viewport era menor a 1680px.
         */
        width: calc(100% - 64px) !important;
        max-width: 1680px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

}


/*
 * Tablet y móvil conservan el responsive original de la
 * sección. No se fuerza max-width:1240px en esos breakpoints.
 */


/* =========================================================
   NUESTRA VISIÓN
========================================================= */

.pen-vision {
    width: 100%;
    background: #f5f5f5;
    color: #080808;
    padding: 84px 0 56px;
}

.pen-vision__container {
    width: min(calc(100% - 48px), 1680px);
    margin: 0 auto;
}

.pen-vision__eyebrow {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
    color: #011e41;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.pen-vision__eyebrow-line {
    width: 57px;
    height: 2px;
    flex: 0 0 auto;
    background: #011e41;
}

.pen-vision__title {
    max-width: 650px;
    margin: 0 0 17px;
    color: #090909;
    font-family: var(--font-ui);
    font-size: clamp(30px, 2.15vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.pen-vision__description {
    /*max-width: 1240px;*/
    color: #111111;
    font-family: var(--font-ui);
    font-size: clamp(19px, 1.45vw, 23px);
    font-weight: 400;
    line-height: 1.27;
    letter-spacing: -.012em;
}

.pen-vision__description p {
    margin: 0;
}


/* =========================================================
   VIDEO CORPORATIVO
========================================================= */

.pen-video {
    width: 100%;
    background: #ffffff;
    padding:
        clamp(70px, 6.5vw, 96px)
        0
        clamp(100px, 9vw, 150px);
}

.pen-video__frame {
    position: relative;
    width: min(62vw, 1140px);
    aspect-ratio: 5 / 3;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 40px;
    background: #e9e9e9;
}

.pen-video__media {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background: #111111;
}

.pen-video__control {
    appearance: none;
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: clamp(26px, 3vw, 38px);
    width: clamp(48px, 3.2vw, 60px);
    height: clamp(48px, 3.2vw, 60px);
    padding: 0;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: #011e41;
    background: #ffffff;
    box-shadow: 0 4px 14px rgba(0,0,0,.10);
    transform: translateX(-50%);
    cursor: pointer;
    transition:
        background-color .3s ease,
        color .3s ease,
        transform .3s ease;
}

.pen-video__control:hover {
    transform: translateX(-50%) scale(1.05);
}

.pen-video__icon {
    width: 21px;
    height: 21px;
}

.pen-video__icon--pause {
    display: none;
}

.pen-video.is-playing .pen-video__control {
    color: #ffffff;
    background: #011e41;
}

.pen-video.is-playing .pen-video__icon--play {
    display: none;
}

.pen-video.is-playing .pen-video__icon--pause {
    display: block;
}


/* =========================================================
   DESARROLLOS VERTICALES
========================================================= */

.pen-developments {
    width: 100%;
    overflow: hidden;
    background: #ffffff;
    padding: 0 0 26px;
}

.pen-developments__heading-wrap {
    width: min(calc(100% - 64px), 1540px);
    margin: 0 auto;
    padding:
        clamp(64px, 6vw, 104px)
        0
        clamp(46px, 4vw, 60px);
}

.pen-developments__heading {
    margin: 0;
    color: #011e41;
    font-family: var(--font-display);
    font-size: clamp(34px, 2.5vw, 52px);
    font-weight: 500;
    line-height: 1.05;
    letter-spacing: -.018em;
    text-align: center;
}

/*
 * El título solo se oculta cuando JS ya inicializó
 * correctamente IntersectionObserver.
 */
.pen-developments.is-reveal-ready
.pen-developments__heading {
    opacity: 0;
    transform: translateY(46px);
    transition:
        opacity 1.35s cubic-bezier(.22,1,.36,1),
        transform 1.55s cubic-bezier(.22,1,.36,1);
}

.pen-developments.is-reveal-ready
.pen-developments__heading.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   BANNER / LOOP DE LOGOTIPOS
========================================================= */

.pen-developments__marquee {
    position: relative;
    width: 100%;
    min-height: 170px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #A36E2A;
}

.pen-developments__marquee::before,
.pen-developments__marquee::after {
    content: "";
    position: absolute;
    z-index: 3;
    top: 0;
    bottom: 0;
    width: 60px;
    pointer-events: none;
}

.pen-developments__marquee::before {
    left: 0;
    background:
        linear-gradient(
            90deg,
            #A36E2A,
            rgba(163,110,42,0)
        );
}

.pen-developments__marquee::after {
    right: 0;
    background:
        linear-gradient(
            270deg,
            #A36E2A,
            rgba(163,110,42,0)
        );
}

.pen-developments__track {
    display: flex;
    flex: 0 0 auto;
    width: max-content;
    will-change: transform;
    animation:
        penDevelopmentsMarquee
        30s
        linear
        infinite;
}

.pen-developments__logos {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    gap: clamp(72px, 6vw, 128px);
    padding-right: clamp(72px, 6vw, 128px);
}

.pen-developments__logos img {
    display: block;
    flex: 0 0 auto;
    width: auto;
    max-width: 190px;
    height: auto;
    max-height: 74px;
    object-fit: contain;
}

@keyframes penDevelopmentsMarquee {
    from {
        transform: translate3d(0,0,0);
    }

    to {
        transform: translate3d(-50%,0,0);
    }
}


/* =========================================================
   CTA DESARROLLOS
========================================================= */

.pen-developments__cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 34px;
}

.pen-developments__cta {
    min-width: 210px;
    min-height: 56px;
    padding: 12px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #408097;
    border: 1.5px solid #408097;
    border-radius: 5px;
    background: transparent;
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

.pen-developments__cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-developments__cta:hover {
    color: #ffffff;
    background: #408097;
    transform: translateY(-2px);
}


/* =========================================================
   NUEVAS SECCIONES — TABLET
========================================================= */

@media (max-width: 1024px) {

    .pen-vision__container {
        width: calc(100% - 48px);
    }

    .pen-video__frame {
        width: min(76vw, 920px);
    }

    .pen-developments__marquee {
        min-height: 150px;
    }

    .pen-developments__logos {
        gap: 64px;
        padding-right: 64px;
    }

    .pen-developments__logos img {
        max-width: 165px;
        max-height: 64px;
    }

}


/* =========================================================
   NUEVAS SECCIONES — MOBILE
========================================================= */

@media (max-width: 767px) {

    .pen-vision {
        padding: 42px 0;
    }

    .pen-vision__container {
        width: calc(100% - 32px);
    }

    .pen-vision__eyebrow {
        gap: 12px;
        font-size: 15px;
    }

    .pen-vision__eyebrow-line {
        width: 44px;
    }

    .pen-vision__title {
        max-width: none;
        font-size: clamp(28px, 7.5vw, 36px);
    }

    .pen-vision__title br {
        display: none;
    }

    .pen-vision__description {
        font-size: 18px;
        line-height: 1.3;
    }


    /* VIDEO */

    .pen-video {
        padding: 48px 0 72px;
    }

    .pen-video__frame {
        width: calc(100% - 32px);
        aspect-ratio: 5 / 3;
        border-radius: 20px;
    }

    .pen-video__control {
        bottom: 18px;
        width: 48px;
        height: 48px;
    }


    /* DESARROLLOS */

    .pen-developments__heading-wrap {
        width: calc(100% - 32px);
        padding: 54px 0 38px;
    }

    .pen-developments__heading {
        font-size: clamp(30px, 8vw, 40px);
        line-height: 1.06;
    }

    .pen-developments__marquee {
        min-height: 132px;
    }

    .pen-developments__marquee::before,
    .pen-developments__marquee::after {
        width: 28px;
    }

    .pen-developments__logos {
        gap: 52px;
        padding-right: 52px;
    }

    .pen-developments__logos img {
        max-width: 138px;
        max-height: 56px;
    }

    .pen-developments__track {
        animation-duration: 24s;
    }

    .pen-developments__cta {
        min-width: 180px;
        min-height: 52px;
        font-size: 18px;
    }

}


/* =========================================================
   NUEVAS SECCIONES — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-developments.is-reveal-ready
    .pen-developments__heading {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    .pen-developments__track {
        animation: none;
    }

}

/* =========================================================
   OFF-CANVAS MOBILE — SMART RESIZE / MORPH
   Ajuste orgánico de escala de la página.
   Mantener este bloque AL FINAL de style.css.
========================================================= */

@media (max-width: 900px) {

    /*
     * El off-canvas se prepara primero detrás de la página.
     * Ya no hacemos un fade brusco entre vistas.
     */
    .pen-mobile-offcanvas {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        background: var(--pen-menu-blue);

        transition:
            opacity .18s ease,
            visibility 0s linear .82s;
    }


    /*
     * PREPARING:
     * el preview ya existe y está exactamente a escala 1:1,
     * cubriendo la página original.
     */
    .pen-mobile-offcanvas.is-preparing,
    .pen-mobile-offcanvas.is-open,
    .pen-mobile-offcanvas.is-closing {
        opacity: 1;
        visibility: visible;

        transition-delay: 0s;
    }


    .pen-mobile-offcanvas.is-preparing,
    .pen-mobile-offcanvas.is-open {
        pointer-events: auto;
    }


    .pen-mobile-offcanvas.is-closing {
        pointer-events: none;
    }


    /* =====================================================
       PANEL DEL MENÚ
    ====================================================== */

    .pen-mobile-offcanvas__panel {
        opacity: 0;
        transform: translateX(-12px);

        transition:
            opacity .42s ease .14s,
            transform .64s cubic-bezier(.16, 1, .3, 1) .12s;
    }


    .pen-mobile-offcanvas.is-open
    .pen-mobile-offcanvas__panel {
        opacity: 1;
        transform: translateX(0);
    }


    /*
     * Al cerrar, el menú desaparece ligeramente antes
     * de que la página termine de recuperar su tamaño.
     */
    .pen-mobile-offcanvas.is-closing
    .pen-mobile-offcanvas__panel {
        opacity: 0;
        transform: translateX(-8px);

        transition:
            opacity .20s ease,
            transform .32s ease;
    }


    /* =====================================================
       ITEMS — STAGGER MÁS ORGÁNICO
    ====================================================== */

    .pen-mobile-menu__item {
        opacity: 0;
        transform:
            translate3d(-18px, 4px, 0);

        transition:
            opacity .42s ease,
            transform .62s cubic-bezier(.16, 1, .3, 1);
    }


    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item {
        opacity: 1;
        transform:
            translate3d(0, 0, 0);
    }


    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item:nth-child(1) {
        transition-delay: .14s;
    }

    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item:nth-child(2) {
        transition-delay: .18s;
    }

    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item:nth-child(3) {
        transition-delay: .22s;
    }

    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item:nth-child(4) {
        transition-delay: .26s;
    }

    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item:nth-child(5) {
        transition-delay: .30s;
    }

    .pen-mobile-offcanvas.is-open
    .pen-mobile-menu__item:nth-child(6) {
        transition-delay: .34s;
    }


    /* =====================================================
       PREVIEW — ESTADO 1:1
    ====================================================== */

    /*
     * El preview ya NO nace como tarjeta pequeña.
     *
     * Empieza ocupando exactamente todo el viewport disponible
     * debajo del header. Esto hace que sea visualmente
     * indistinguible de la página real durante el primer frame.
     */
    .pen-mobile-preview {
        position: absolute;

        inset: 0;

        width: auto;
        height: auto;

        right: auto;
        top: auto;

        overflow: hidden;

        border-radius: 0;

        background: #ffffff;

        box-shadow:
            0 0 0 rgba(0,0,0,0);

        opacity: 1;

        /*
         * Estado inicial:
         * página a tamaño natural.
         */
        transform:
            translate3d(0, 0, 0)
            scale(1);

        transform-origin:
            left center;

        will-change:
            transform,
            border-radius,
            box-shadow;

        /*
         * Curva tipo smart animate:
         * arranque suave, aceleración orgánica y
         * desaceleración larga.
         */
        transition:
            transform .78s cubic-bezier(.16, 1, .3, 1),
            border-radius .72s cubic-bezier(.16, 1, .3, 1),
            box-shadow .72s ease;
    }


    /* =====================================================
       PREVIEW — ESTADO REDUCIDO
    ====================================================== */

    .pen-mobile-offcanvas.is-open
    .pen-mobile-preview {
        opacity: 1;

        /*
         * No parece "otra pantalla":
         * la misma superficie se comprime y se desplaza.
         */
        transform:
            translate3d(62vw, 18px, 0)
            scale(.86);

        border-radius:
            24px 0 0 24px;

        box-shadow:
            -18px 18px 42px
            rgba(0,0,0,.18);
    }


    /*
     * CIERRE:
     * al quitar is-open, el mismo preview vuelve
     * progresivamente a escala 1 antes de ser retirado.
     */
    .pen-mobile-offcanvas.is-closing
    .pen-mobile-preview {
        transform:
            translate3d(0, 0, 0)
            scale(1);

        border-radius:
            0;

        box-shadow:
            0 0 0
            rgba(0,0,0,0);
    }


    /* =====================================================
       CONTENIDO CLONADO
    ====================================================== */

    /*
     * Antes el contenido se escalaba internamente a .72/.76.
     * Eso hacía perceptible el cambio de vista.
     *
     * Ahora el contenido permanece 1:1 y es el CONTENEDOR
     * completo el que se escala.
     */
    .pen-mobile-preview__content {
        position: absolute;

        left: 0;
        top: 0;

        width: 100vw;
        min-height: 100%;

        transform: none !important;
        transform-origin: top left;

        pointer-events: none;
        user-select: none;

        background: #ffffff;
    }


    /*
     * Evita flashes de elementos interactivos durante
     * la interpolación.
     */
    .pen-mobile-preview__content * {
        pointer-events: none !important;
    }


    /*
     * El body permanece bloqueado durante TODO el morph,
     * incluso durante el cierre.
     */
    body.pen-mobile-menu-open {
        overflow: hidden;
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    /*
     * Ajuste ligeramente mayor de escala para pantallas
     * estrechas, manteniendo visible suficiente página.
     */
    .pen-mobile-preview {
        width: auto;
        height: auto;
        right: auto;
        border-radius: 0;
    }


    .pen-mobile-offcanvas.is-open
    .pen-mobile-preview {
        transform:
            translate3d(64vw, 14px, 0)
            scale(.84);

        border-radius:
            22px 0 0 22px;
    }


    .pen-mobile-preview__content {
        transform:
            none !important;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-mobile-preview,
    .pen-mobile-offcanvas__panel,
    .pen-mobile-menu__item {
        transition: none !important;
    }

}


/* =========================================================
   OFF-CANVAS MOBILE — SMART RESIZE FIX FINAL
   Base definitiva: style (2).css
   Mantener este bloque AL FINAL del archivo.
========================================================= */

@media (max-width: 900px) {

    /* =====================================================
       OFFCANVAS
    ====================================================== */

    .pen-mobile-offcanvas {
        /*
         * Recorta correctamente la superficie escalada
         * durante todo el morph.
         */
        overflow: hidden;
    }


    /* =====================================================
       PREVIEW — SUPERFICIE REAL 1:1
    ====================================================== */

    .pen-mobile-preview {
        position: absolute;

        /*
         * Dimensiones explícitas.
         *
         * El hijo .pen-mobile-preview__content está en
         * position:absolute y por sí solo NO da altura
         * al padre. Estas reglas evitan que el preview
         * colapse a 0px.
         */
        top: 0;
        left: 0;

        width: 100vw;
        height: 100%;

        right: auto;
        bottom: auto;

        /*
         * El preview debe quedar por encima del panel
         * azul en la parte derecha.
         */
        z-index: 3;

        overflow: hidden;

        pointer-events: none;

        opacity: 1;

        /*
         * Estado inicial 1:1:
         * visualmente coincide con la página real.
         */
        transform:
            translate3d(0, 0, 0)
            scale(1);

        transform-origin:
            left center;

        border-radius: 0;

        background: #ffffff;

        box-shadow:
            0 0 0 rgba(0,0,0,0);

        will-change:
            transform,
            border-radius,
            box-shadow;

        transition:
            transform .78s cubic-bezier(.16, 1, .3, 1),
            border-radius .72s cubic-bezier(.16, 1, .3, 1),
            box-shadow .72s ease;
    }


    /* =====================================================
       PREVIEW — OPEN
    ====================================================== */

    .pen-mobile-offcanvas.is-open
    .pen-mobile-preview {
        transform:
            translate3d(62vw, 18px, 0)
            scale(.86);

        border-radius:
            24px 0 0 24px;

        box-shadow:
            -18px 18px 42px
            rgba(0,0,0,.18);
    }


    /* =====================================================
       PREVIEW — CLOSING
    ====================================================== */

    .pen-mobile-offcanvas.is-closing
    .pen-mobile-preview {
        transform:
            translate3d(0, 0, 0)
            scale(1);

        border-radius:
            0;

        box-shadow:
            0 0 0
            rgba(0,0,0,0);
    }


    /* =====================================================
       CONTENIDO CLONADO
    ====================================================== */

    .pen-mobile-preview__content {
        position: absolute;

        left: 0;

        /*
         * JS actualiza dinámicamente top para conservar
         * la posición de scroll.
         */
        width: 100vw;

        min-height: 100%;

        transform:
            none !important;

        transform-origin:
            top left;

        pointer-events:
            none;

        user-select:
            none;

        background:
            #ffffff;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .pen-mobile-preview {
        top: 0;
        left: 0;

        width: 100vw;
        height: 100%;

        right: auto;
        bottom: auto;

        border-radius: 0;
    }


    .pen-mobile-offcanvas.is-open
    .pen-mobile-preview {
        transform:
            translate3d(64vw, 14px, 0)
            scale(.84);

        border-radius:
            22px 0 0 22px;
    }


    .pen-mobile-preview__content {
        transform:
            none !important;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-mobile-preview {
        transition:
            none !important;
    }

}


/* Menú accesible: fundido breve cuando iOS solicita reducir movimiento. */
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
    .pen-header-root .pen-mobile-offcanvas {
        transition: opacity .18s ease !important;
    }

    .pen-mobile-offcanvas.is-preparing,
    .pen-mobile-offcanvas.is-closing {
        opacity: 0;
    }

    .pen-mobile-offcanvas.is-open {
        opacity: 1;
    }

    .pen-header-root .pen-mobile-offcanvas .pen-mobile-preview {
        transform: translate3d(62vw, 18px, 0) scale(.86) !important;
        border-radius: 24px 0 0 24px;
    }

    .pen-header-root .pen-mobile-offcanvas .pen-mobile-offcanvas__panel,
    .pen-header-root .pen-mobile-offcanvas .pen-mobile-menu__item {
        transform: none !important;
        opacity: 1;
        transition: none !important;
    }
}

@media (max-width: 520px) and (prefers-reduced-motion: reduce) {
    .pen-header-root .pen-mobile-offcanvas .pen-mobile-preview {
        transform: translate3d(64vw, 14px, 0) scale(.84) !important;
        border-radius: 22px 0 0 22px;
    }
}


/* =========================================================
   MAPA — AJUSTES VISUALES FINAL
   Base definitiva: style (3)(1).css
   2026-08-25
   Mantener este bloque AL FINAL del archivo.
========================================================= */


/* =========================================================
   RESUMEN: "Más de 50 desarrollos en México"
   OPTI DIODE
========================================================= */

.mexico-map__summary-title,
.mexico-map__summary-number,
.mexico-map__summary-text {
    font-family:
        var(--font-display);

    font-style:
        normal;

    font-weight:
        500;

    font-synthesis:
        none;

    /*
     * Se elimina el uppercase forzado del bloque base
     * para conservar la lectura natural del contenido.
     */
    text-transform:
        none;
}


/*
 * Se corrigen también los clamp anteriores, que tenían
 * el mínimo por encima del máximo y terminaban comportándose
 * como un tamaño prácticamente fijo.
 */
.mexico-map__summary-title {
    font-size:
        clamp(
            32px,
            2.3vw,
            42px
        );

    line-height:
        1.02;
}


.mexico-map__summary-number {
    font-size:
        clamp(
            46px,
            3.3vw,
            62px
        );

    line-height:
        .92;
}


.mexico-map__summary-text {
    font-size:
        clamp(
            32px,
            2.45vw,
            44px
        );

    line-height:
        1.04;
}


/* =========================================================
   BADGE SOBRE EL MAPA
========================================================= */

.mexico-map__popover {
    /*
     * Ya no se fuerza un ancho mínimo.
     * El badge crece únicamente según:
     * nombre del estado + cifra.
     */
    width:
        max-content;

    min-width:
        0;

    max-width:
        min(
            360px,
            calc(100vw - 32px)
        );

    min-height:
        48px;

    justify-content:
        flex-start;

    gap:
        10px;

    padding:
        9px
        18px;

    /*
     * Stroke blanco solicitado.
     */
    border:
        1.5px solid
        rgba(255,255,255,.98);

    border-radius:
        999px;

    /*
     * Sombra muy sutil:
     * separación suficiente para percibirlo flotando
     * sin hacerlo parecer una tarjeta pesada.
     */
    box-shadow:
        0 2px 4px
        rgba(0,0,0,.10),
        0 7px 15px
        rgba(0,0,0,.15);
}


/* =========================================================
   BADGE — ESTADO
   20px → 18px
========================================================= */

.mexico-map__popover-state {
    font-family:
        var(--font-ui);

    font-size:
        18px;

    /*
     * Light real disponible en SF Pro Text.
     */
    font-weight:
        300;

    line-height:
        1;

    letter-spacing:
        -.01em;

    white-space:
        nowrap;
}


/* =========================================================
   BADGE — + CIFRA
   32px → 30px
========================================================= */

.mexico-map__popover-count {
    font-family:
        var(--font-ui);

    font-size:
        30px;

    font-weight:
        700;

    line-height:
        .95;

    letter-spacing:
        -.025em;

    white-space:
        nowrap;
}


/* =========================================================
   BOTONES DE UBICACIONES — MINIATURA MÁS PEQUEÑA
========================================================= */

.mexico-map__card img {
    flex:
        0 0 58px;

    width:
        58px;

    height:
        58px;

    object-fit:
        cover;

    border-radius:
        6px;
}


/* =========================================================
   MAPA — MOBILE
========================================================= */

@media (max-width: 800px) {

    /*
     * Conserva el cálculo existente para evitar
     * que los estados orientales salgan del viewport,
     * pero ya no obliga al badge a medir 200px.
     */
    .mexico-map__popover {
        min-width:
            0;

        min-height:
            44px;

        padding:
            8px
            14px;

        gap:
            8px;

        max-width:
            calc(100% - 16px);
    }


    /*
     * En móvil conservamos la misma jerarquía:
     * estado Light / cifra Bold.
     */
    .mexico-map__popover-state {
        font-size:
            16px;

        font-weight:
            300;
    }


    .mexico-map__popover-count {
        font-size:
            25px;

        font-weight:
            700;
    }


    .mexico-map__card img {
        flex:
            0 0 50px;

        width:
            50px;

        height:
            50px;
    }


    .mexico-map__summary-title {
        font-size:
            clamp(
                28px,
                7vw,
                36px
            );
    }


    .mexico-map__summary-number {
        font-size:
            clamp(
                42px,
                11vw,
                54px
            );
    }


    .mexico-map__summary-text {
        font-size:
            clamp(
                29px,
                7.5vw,
                38px
            );
    }

}


/* =========================================================
   MAPA — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .mexico-map__popover {
        transition:
            none;
    }

}


/* =========================================================
   DESARROLLOS MÁS RECIENTES
   2026-08-25
========================================================= */

.pen-recent {
    --recent-bg: #f5f5f5;
    --recent-navy: #011e41;
    --recent-blue: #408097;

    width: 100%;
    overflow: hidden;
    background: var(--recent-bg);

    padding:
        clamp(64px, 5.5vw, 92px)
        0
        clamp(62px, 5vw, 86px);
}

.pen-recent__container {
    width: min(calc(100% - 96px), 1600px);
    margin: 0 auto;
}

.pen-recent__header {
    margin-bottom: clamp(34px, 3vw, 44px);
}

.pen-recent__title {
    margin: 0 0 12px;
    color: var(--recent-navy);
    font-family: var(--font-ui);
    font-size: clamp(34px, 2.3vw, 43px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.025em;
}

.pen-recent__subtitle {
    margin: 0;
    color: #080808;
    font-family: var(--font-ui);
    font-size: clamp(22px, 1.55vw, 30px);
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -.015em;
}

.pen-recent__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(24px, 2.2vw, 38px);
}

.pen-recent-card {
    position: relative;
    min-width: 0;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
    background: #d9d9d9;
    color: #ffffff;
    text-decoration: none;
    isolation: isolate;
}

/* Oscurecer solo las fotos; los logotipos permanecen sobre el overlay. */
#desarrollos-recientes .pen-recent-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, .55);
    pointer-events: none;
}

.pen-recent-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition:
        transform 1.05s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}


.pen-recent-card__brand {
    position: absolute;
    z-index: 2;
    left: 50%;
    top: 54%;
    width: calc(100% - 44px);
    transform: translate(-50%, -50%);
    color: #ffffff;
    text-align: center;
    text-shadow: 0 2px 12px rgba(0,0,0,.18);
}

.pen-recent-card__name {
    display: block;
    font-family: var(--font-ui);
    font-size: clamp(33px, 2.6vw, 51px);
    font-weight: 600;
    line-height: .95;
    letter-spacing: .035em;
}

.pen-recent-card__name--serif {
    font-family: var(--font-display);
    font-weight: 500;
    letter-spacing: -.015em;
}

.pen-recent-card__descriptor {
    display: block;
    margin-top: 11px;
    font-family: var(--font-ui);
    font-size: clamp(11px, .72vw, 15px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: .38em;
    text-transform: uppercase;
}

@media (hover: hover) and (pointer: fine) {
    .pen-recent-card:hover .pen-recent-card__image {
        /*
         * Zoom pronunciado: +75% respecto al tamaño original.
         * El card conserva su tamaño y recorta la imagen.
         */
        transform: scale(1.75);
    }
}

.pen-recent-card:focus-visible {
    outline: 2px solid var(--recent-blue);
    outline-offset: 4px;
}

.pen-recent-card:focus-visible .pen-recent-card__image {
    transform: scale(1.045);
}

.pen-recent__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: clamp(28px, 2.6vw, 38px);
}

.pen-recent__cta {
    min-width: 182px;
    min-height: 52px;
    padding: 10px 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: var(--recent-blue);
    border: 1.5px solid var(--recent-blue);
    border-radius: 5px;
    background: transparent;
    font-family: var(--font-ui);
    font-size: 19px;
    font-weight: 500;
    text-decoration: none;
    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

.pen-recent__cta svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-recent__cta:hover,
.pen-recent__cta:focus-visible {
    color: #ffffff;
    background: var(--recent-blue);
    transform: translateY(-2px);
}

@media (max-width: 1180px) {
    .pen-recent__container {
        width: calc(100% - 56px);
    }

    .pen-recent__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }

    .pen-recent-card {
        aspect-ratio: 4 / 5;
    }

    .pen-recent-card__name {
        font-size: clamp(36px, 5vw, 52px);
    }
}

@media (max-width: 767px) {
    .pen-recent {
        padding: 52px 0 58px;
    }

    .pen-recent__container {
        width: calc(100% - 32px);
    }

    .pen-recent__header {
        margin-bottom: 28px;
    }

    .pen-recent__title {
        font-size: clamp(30px, 8vw, 38px);
    }

    .pen-recent__subtitle {
        font-size: 19px;
        line-height: 1.28;
    }

    .pen-recent__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pen-recent-card {
        aspect-ratio: 4 / 5;
        border-radius: 9px;
    }

    .pen-recent-card__brand {
        width: calc(100% - 34px);
    }

    .pen-recent-card__name {
        font-size: clamp(36px, 12vw, 54px);
    }

    .pen-recent-card__descriptor {
        font-size: 11px;
        letter-spacing: .30em;
    }

    .pen-recent__footer {
        margin-top: 26px;
    }

    .pen-recent__cta {
        min-width: 164px;
        min-height: 50px;
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pen-recent-card__image,
    .pen-recent__cta {
        transition: none !important;
    }
}


/* =========================================================
   DESARROLLOS RECIENTES — LOGOTIPOS SVG
   2026-08-25
========================================================= */

.pen-recent-card__brand {
    position:
        absolute;

    z-index:
        2;

    left:
        50%;

    top:
        52%;

    /*
     * El contenedor puede ocupar el card,
     * pero el SVG se limita exactamente al 45%.
     */
    width:
        100%;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    transform:
        translate(-50%, -50%);

    pointer-events:
        none;
}


.pen-recent-card__logo {
    display:
        block;

    width:
        45%;

    height:
        auto;

    max-height:
        30%;

    object-fit:
        contain;

    object-position:
        center;

    /*
     * Los SVG proporcionados ya contienen los trazos
     * blancos de cada identidad.
     */
    opacity:
        1;

    transform:
        translateZ(0);

    /*
     * Sombra mínima para conservar definición sobre
     * zonas de alto contraste del render.
     */
    filter:
        drop-shadow(
            0 2px 7px rgba(0,0,0,.12)
        );
}


/*
 * Los antiguos nombres tipográficos ya no se utilizan.
 * Se mantienen neutralizados por compatibilidad.
 */
.pen-recent-card__name,
.pen-recent-card__descriptor {
    display:
        none;
}


/* MOBILE */
@media (max-width: 767px) {

    .pen-recent-card__logo {
        width:
            45%;

        max-height:
            28%;
    }

}

/* =========================================================
   MODELOS DE NEGOCIO
   Referencia visual 2026-08-25
========================================================= */

.pen-business {
    --business-bg: #244b5a;
    --business-navy: #011e41;
    --business-blue: #408097;
    --business-white: #ffffff;

    position:
        relative;

    width:
        100%;

    overflow:
        hidden;

    background:
        var(--business-bg);

    padding:
        clamp(46px, 4.2vw, 64px)
        0
        clamp(46px, 4.4vw, 64px);

    color:
        var(--business-white);
}


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

.pen-business__container {
    position:
        relative;

    z-index:
        2;

    width:
        min(
            calc(100% - 96px),
            990px
        );

    margin:
        0 auto;
}


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

.pen-business__header {
    text-align:
        center;

    margin-bottom:
        clamp(32px, 3.1vw, 40px);
}


.pen-business__eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        16px;

    margin-bottom:
        27px;

    font-family:
        var(--font-ui);

    font-size:
        16px;

    font-weight:
        700;

    line-height:
        1;

    color:
        #ffffff;
}


.pen-business__eyebrow-line {
    width:
        60px;

    height:
        2px;

    flex:
        0 0 auto;

    background:
        #ffffff;
}


.pen-business__title {
    margin:
        0;

    color:
        #ffffff;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            27px,
            2.15vw,
            32px
        );

    font-weight:
        400;

    line-height:
        1.24;

    letter-spacing:
        -.025em;
}


/* =========================================================
   GRID
========================================================= */

.pen-business__grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        48px;
}


/* =========================================================
   CARD
========================================================= */

.pen-business-card {
    position:
        relative;

    min-width:
        0;

    min-height:
        330px;

    display:
        flex;

    flex-direction:
        column;

    padding:
        42px
        40px
        40px;

    color:
        #0b0b0d;

    background:
        #ffffff;

    border-radius:
        7px;

    box-shadow:
        0 1px 0
        rgba(0,0,0,.03);

    transition:
        transform .52s cubic-bezier(.16, 1, .3, 1),
        box-shadow .52s ease;
}


/* =========================================================
   BRAND
========================================================= */

.pen-business-card__brand {
    min-height:
        54px;

    display:
        flex;

    align-items:
        center;

    margin-bottom:
        22px;
}


/* PREMIUM */

.pen-business-card__brand--premium {
    gap:
        16px;
}


.pen-business-card__premium-icon {
    width:
        46px;

    height:
        46px;

    flex:
        0 0 auto;

    fill:
        none;

    stroke:
        var(--business-navy);

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


.pen-business-card__premium-name {
    color:
        var(--business-navy);

    font-family:
        var(--font-ui);

    font-size:
        30px;

    font-weight:
        500;

    line-height:
        1;

    letter-spacing:
        -.03em;
}


/* RLP */

.pen-business-card__rlp-mark {
    display:
        flex;

    align-items:
        center;

    color:
        #0a0a0a;
}


.pen-business-card__rlp-symbol {
    margin-right:
        6px;

    font-size:
        24px;

    line-height:
        1;

    transform:
        scaleX(.7);
}


.pen-business-card__rlp-mark strong {
    font-family:
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        34px;

    font-weight:
        700;

    line-height:
        .9;

    letter-spacing:
        -.06em;
}


.pen-business-card__rlp-label {
    margin-left:
        9px;

    font-family:
        var(--font-ui);

    font-size:
        7px;

    font-weight:
        500;

    line-height:
        1.05;

    letter-spacing:
        .03em;
}


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

.pen-business-card__copy {
    max-width:
        390px;

    margin:
        0 0
        24px;

    color:
        #0b0b0d;

    font-family:
        var(--font-ui);

    font-size:
        21px;

    font-weight:
        400;

    line-height:
        1.36;

    letter-spacing:
        -.018em;
}


.pen-business-card__copy strong {
    font-weight:
        700;
}


/* =========================================================
   CTA
========================================================= */

.pen-business-card__cta {
    width:
        max-content;

    min-width:
        148px;

    min-height:
        42px;

    margin-top:
        auto;

    padding:
        8px
        17px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        8px;

    color:
        var(--business-blue);

    background:
        transparent;

    border:
        1px solid
        var(--business-blue);

    border-radius:
        4px;

    font-family:
        var(--font-ui);

    font-size:
        15px;

    font-weight:
        500;

    line-height:
        1;

    text-decoration:
        none;

    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}


.pen-business-card__cta span {
    text-decoration:
        underline;

    text-underline-offset:
        3px;
}


.pen-business-card__cta svg {
    width:
        14px;

    height:
        14px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* =========================================================
   DECORATIVE FRAME
========================================================= */

.pen-business__frame {
    position:
        absolute;

    z-index:
        1;

    top:
        70px;

    right:
        28px;

    width:
        178px;

    height:
        222px;

    border:
        7px solid
        rgba(255,255,255,.96);

    pointer-events:
        none;
}


/* =========================================================
   HOVER
========================================================= */

@media
(hover: hover)
and
(pointer: fine) {

    .pen-business-card:hover {
        transform:
            translateY(-6px);

        box-shadow:
            0 16px 32px
            rgba(0,0,0,.12);
    }


    .pen-business-card__cta:hover {
        color:
            #ffffff;

        background:
            var(--business-blue);

        transform:
            translateY(-1px);
    }

}


/* =========================================================
   REVEAL
========================================================= */

.pen-business.is-reveal-ready
.pen-business__eyebrow,

.pen-business.is-reveal-ready
.pen-business__title,

.pen-business.is-reveal-ready
.pen-business-card {

    opacity:
        0;

    transform:
        translateY(28px);
}


.pen-business.is-reveal-ready
.pen-business__eyebrow {
    transition:
        opacity .72s ease,
        transform .88s cubic-bezier(.16,1,.3,1);
}


.pen-business.is-reveal-ready
.pen-business__title {
    transition:
        opacity .82s ease .08s,
        transform .98s cubic-bezier(.16,1,.3,1) .08s;
}


.pen-business.is-reveal-ready
.pen-business-card:nth-child(1) {
    transition:
        opacity .82s ease .18s,
        transform 1s cubic-bezier(.16,1,.3,1) .18s,
        box-shadow .52s ease;
}


.pen-business.is-reveal-ready
.pen-business-card:nth-child(2) {
    transition:
        opacity .82s ease .28s,
        transform 1s cubic-bezier(.16,1,.3,1) .28s,
        box-shadow .52s ease;
}


.pen-business.is-reveal-ready.is-visible
.pen-business__eyebrow,

.pen-business.is-reveal-ready.is-visible
.pen-business__title,

.pen-business.is-reveal-ready.is-visible
.pen-business-card {

    opacity:
        1;

    transform:
        translateY(0);
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media
(min-width: 1500px) {

    .pen-business__container {
        width:
            min(
                calc(100% - 96px),
                990px
            );
    }

}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1180px) {

    .pen-business__container {
        width:
            calc(100% - 64px);
    }


    .pen-business__frame {
        display:
            none;
    }


    .pen-business__grid {
        gap:
            28px;
    }


    .pen-business-card {
        padding:
            36px
            32px;
    }


    .pen-business-card__copy {
        font-size:
            19px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-business {
        padding:
            44px
            0
            48px;
    }


    .pen-business__container {
        width:
            calc(100% - 32px);
    }


    .pen-business__header {
        margin-bottom:
            28px;
    }


    .pen-business__eyebrow {
        gap:
            12px;

        margin-bottom:
            22px;

        font-size:
            13px;
    }


    .pen-business__eyebrow-line {
        width:
            42px;
    }


    .pen-business__title {
        font-size:
            clamp(
                25px,
                7vw,
                31px
            );

        line-height:
            1.22;
    }


    .pen-business__title br {
        display:
            none;
    }


    .pen-business__grid {
        grid-template-columns:
            1fr;

        gap:
            20px;
    }


    .pen-business-card {
        min-height:
            0;

        padding:
            30px
            26px
            28px;
    }


    .pen-business-card__brand {
        margin-bottom:
            18px;
    }


    .pen-business-card__premium-name {
        font-size:
            25px;
    }


    .pen-business-card__copy {
        max-width:
            none;

        margin-bottom:
            26px;

        font-size:
            18px;

        line-height:
            1.34;
    }


    .pen-business-card__cta {
        min-height:
            44px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-business.is-reveal-ready
    .pen-business__eyebrow,

    .pen-business.is-reveal-ready
    .pen-business__title,

    .pen-business.is-reveal-ready
    .pen-business-card {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }

}


/* =========================================================
   COMITÉ DIRECTIVO
   Referencia visual 2026-08-25
========================================================= */

.pen-committee {
    --committee-navy: #07152d;
    --committee-blue: #408097;
    --committee-text: #111111;

    width:
        100%;

    overflow:
        hidden;

    background:
        #ffffff;

    color:
        var(--committee-text);

    padding:
        clamp(72px, 7vw, 118px)
        0
        clamp(58px, 6vw, 92px);
}


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

.pen-committee__container {
    width:
        min(
            calc(100% - 112px),
            1540px
        );

    margin:
        0 auto;
}


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

.pen-committee__header {
    text-align:
        center;

    margin-bottom:
        clamp(34px, 3.5vw, 50px);
}


.pen-committee__eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        16px;

    margin-bottom:
        24px;

    color:
        var(--committee-navy);

    font-family:
        var(--font-ui);

    font-size:
        16px;

    font-weight:
        700;

    line-height:
        1;

    text-transform:
        uppercase;
}


.pen-committee__eyebrow-line {
    width:
        46px;

    height:
        2px;

    flex:
        0 0 auto;

    background:
        var(--committee-navy);
}


.pen-committee__title {
    margin:
        0;

    color:
        #111827;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            30px,
            2.2vw,
            40px
        );

    font-weight:
        700;

    line-height:
        1.1;

    letter-spacing:
        -.028em;
}


/* =========================================================
   FIGURE / IMAGE
========================================================= */

.pen-committee__figure {
    margin:
        0;
}


.pen-committee__media {
    width:
        100%;

    overflow:
        hidden;

    border-radius:
        12px;

    background:
        #eef0f1;
}


.pen-committee__image {
    display:
        block;

    width:
        100%;

    height:
        auto;

    aspect-ratio:
        1.83 / 1;

    object-fit:
        cover;

    object-position:
        center;

    transform:
        scale(1);

    transition:
        transform 1.15s cubic-bezier(.16,1,.3,1);

    will-change:
        transform;
}


/* =========================================================
   CAPTION
========================================================= */

.pen-committee__caption {
    margin-top:
        10px;

    color:
        #09234a;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            11px,
            .85vw,
            14px
        );

    font-weight:
        400;

    line-height:
        1.45;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.pen-committee__description {
    max-width:
        1480px;

    margin:
        18px
        0
        0;

    color:
        #111111;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            18px,
            1.45vw,
            24px
        );

    font-weight:
        400;

    line-height:
        1.28;

    letter-spacing:
        -.018em;
}


/* =========================================================
   CTA
========================================================= */

.pen-committee__cta-wrap {
    display:
        flex;

    justify-content:
        center;

    margin-top:
        16px;
}


.pen-committee__cta {
    min-width:
        116px;

    min-height:
        40px;

    padding:
        8px
        14px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        10px;

    color:
        var(--committee-blue);

    background:
        transparent;

    border:
        1px solid
        var(--committee-blue);

    border-radius:
        4px;

    font-family:
        var(--font-ui);

    font-size:
        14px;

    font-weight:
        500;

    line-height:
        1;

    text-decoration:
        none;

    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}


.pen-committee__cta svg {
    width:
        14px;

    height:
        14px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* =========================================================
   HOVER — MUY SUTIL
========================================================= */

@media
(hover: hover)
and
(pointer: fine) {

    .pen-committee__media:hover
    .pen-committee__image {
        transform:
            scale(1.025);
    }


    .pen-committee__cta:hover {
        color:
            #ffffff;

        background:
            var(--committee-blue);

        transform:
            translateY(-1px);
    }

}


/* =========================================================
   REVEAL ON SCROLL
========================================================= */

.pen-committee.is-reveal-ready
.pen-committee__eyebrow,

.pen-committee.is-reveal-ready
.pen-committee__title,

.pen-committee.is-reveal-ready
.pen-committee__figure,

.pen-committee.is-reveal-ready
.pen-committee__description,

.pen-committee.is-reveal-ready
.pen-committee__cta-wrap {

    opacity:
        0;

    transform:
        translateY(28px);
}


.pen-committee.is-reveal-ready
.pen-committee__eyebrow {
    transition:
        opacity .72s ease,
        transform .9s cubic-bezier(.16,1,.3,1);
}


.pen-committee.is-reveal-ready
.pen-committee__title {
    transition:
        opacity .78s ease .08s,
        transform .98s cubic-bezier(.16,1,.3,1) .08s;
}


.pen-committee.is-reveal-ready
.pen-committee__figure {
    transition:
        opacity .88s ease .18s,
        transform 1.08s cubic-bezier(.16,1,.3,1) .18s;
}


.pen-committee.is-reveal-ready
.pen-committee__description {
    transition:
        opacity .76s ease .28s,
        transform .96s cubic-bezier(.16,1,.3,1) .28s;
}


.pen-committee.is-reveal-ready
.pen-committee__cta-wrap {
    transition:
        opacity .72s ease .36s,
        transform .9s cubic-bezier(.16,1,.3,1) .36s;
}


.pen-committee.is-reveal-ready.is-visible
.pen-committee__eyebrow,

.pen-committee.is-reveal-ready.is-visible
.pen-committee__title,

.pen-committee.is-reveal-ready.is-visible
.pen-committee__figure,

.pen-committee.is-reveal-ready.is-visible
.pen-committee__description,

.pen-committee.is-reveal-ready.is-visible
.pen-committee__cta-wrap {

    opacity:
        1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1180px) {

    .pen-committee__container {
        width:
            calc(100% - 56px);
    }


    .pen-committee__caption {
        font-size:
            11px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-committee {
        padding:
            54px
            0
            58px;
    }


    .pen-committee__container {
        width:
            calc(100% - 32px);
    }


    .pen-committee__header {
        margin-bottom:
            28px;
    }


    .pen-committee__eyebrow {
        gap:
            12px;

        margin-bottom:
            20px;

        font-size:
            13px;
    }


    .pen-committee__eyebrow-line {
        width:
            40px;
    }


    .pen-committee__title {
        font-size:
            clamp(
                28px,
                7.8vw,
                36px
            );
    }


    .pen-committee__media {
        border-radius:
            9px;
    }


    .pen-committee__image {
        aspect-ratio:
            4 / 3;
    }


    .pen-committee__caption {
        margin-top:
            8px;

        font-size:
            10px;

        line-height:
            1.4;
    }


    .pen-committee__caption br {
        display:
            none;
    }


    .pen-committee__description {
        margin-top:
            18px;

        font-size:
            18px;

        line-height:
            1.3;
    }


    .pen-committee__cta-wrap {
        margin-top:
            22px;
    }


    .pen-committee__cta {
        min-width:
            126px;

        min-height:
            44px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-committee.is-reveal-ready
    .pen-committee__eyebrow,

    .pen-committee.is-reveal-ready
    .pen-committee__title,

    .pen-committee.is-reveal-ready
    .pen-committee__figure,

    .pen-committee.is-reveal-ready
    .pen-committee__description,

    .pen-committee.is-reveal-ready
    .pen-committee__cta-wrap {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    .pen-committee__image {
        transition:
            none !important;
    }

}


/* =========================================================
   TESTIMONIOS
   Slider responsive — hasta 10 testimonios
   2026-08-25
========================================================= */

.pen-testimonials {
    --testimonials-bg: #f5f5f5;
    --testimonials-navy: #07152d;
    --testimonials-blue: #408097;
    --testimonials-gap: 30px;
    --testimonials-visible: 2.35;

    width:
        100%;

    overflow:
        hidden;

    background:
        var(--testimonials-bg);

    padding:
        clamp(52px, 5vw, 78px)
        0
        clamp(46px, 4.5vw, 68px);
}


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

.pen-testimonials__header {
    width:
        min(
            calc(100% - 96px),
            1540px
        );

    margin:
        0 auto
        clamp(30px, 3vw, 42px);

    text-align:
        center;
}


.pen-testimonials__eyebrow {
    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        18px;
}


.pen-testimonials__eyebrow-line {
    width:
        60px;

    height:
        2px;

    flex:
        0 0 auto;

    background:
        #111111;
}


.pen-testimonials__eyebrow h2 {
    margin:
        0;

    color:
        #111111;

    font-family:
        var(--font-ui);

    font-size:
        18px;

    font-weight:
        700;

    line-height:
        1;

    letter-spacing:
        -.01em;
}


/* =========================================================
   VIEWPORT
========================================================= */

.pen-testimonials__viewport {
    width:
        100%;

    overflow:
        hidden;

    touch-action:
        pan-y;
}


.pen-testimonials__track {
    display:
        flex;

    align-items:
        stretch;

    gap:
        var(--testimonials-gap);

    padding-left:
        clamp(
            28px,
            3.8vw,
            54px
        );

    padding-right:
        clamp(
            28px,
            3.8vw,
            54px
        );

    transform:
        translate3d(0,0,0);

    transition:
        transform .72s cubic-bezier(.16,1,.3,1);

    will-change:
        transform;
}


/* =========================================================
   CARD
========================================================= */

.pen-testimonials-card {
    flex:
        0 0
        calc(
            (
                100vw
                - clamp(56px, 7.6vw, 108px)
                - (var(--testimonials-gap) * 1.35)
            )
            / var(--testimonials-visible)
        );

    min-width:
        0;

    min-height:
        280px;

    display:
        grid;

    grid-template-columns:
        140px
        minmax(0, 1fr);

    overflow:
        hidden;

    background:
        #ffffff;

    border-radius:
        20px;
}


/* =========================================================
   IMAGE LEFT
========================================================= */

.pen-testimonials-card__visual {
    width:
        100%;

    min-width:
        0;

    overflow:
        hidden;
}


.pen-testimonials-card__development-image {
    display:
        block;

    width:
        100%;

    height:
        100%;

    min-height:
        280px;

    object-fit:
        cover;

    object-position:
        center;

    transform:
        scale(1);

    transition:
        transform .9s cubic-bezier(.16,1,.3,1);
}


/* =========================================================
   CONTENT
========================================================= */

.pen-testimonials-card__content {
    position:
        relative;

    min-width:
        0;

    padding:
        28px
        28px
        26px
        76px;
}


/* DATE */

.pen-testimonials-card__date {
    display:
        block;

    margin-bottom:
        18px;

    color:
        #111111;

    font-family:
        var(--font-ui);

    font-size:
        18px;

    font-weight:
        400;

    line-height:
        1;

    text-align:
        right;
}


/* =========================================================
   IDENTITY
========================================================= */

.pen-testimonials-card__identity {
    display:
        flex;

    align-items:
        center;

    min-width:
        0;

    margin-bottom:
        22px;
}


.pen-testimonials-card__avatar {
    position:
        absolute;

    left:
        -36px;

    top:
        56px;

    width:
        72px;

    height:
        72px;

    overflow:
        hidden;

    border:
        1px solid
        #111111;

    border-radius:
        50%;

    background:
        #d9d9d9;

    z-index:
        2;
}


.pen-testimonials-card__avatar img {
    display:
        block;

    width:
        100%;

    height:
        100%;

    object-fit:
        cover;
}


.pen-testimonials-card__person {
    min-width:
        0;
}


.pen-testimonials-card__development {
    margin:
        0;

    color:
        #111111;

    font-family:
        var(--font-ui);

    font-size:
        19px;

    font-weight:
        700;

    line-height:
        1.1;

    letter-spacing:
        -.015em;
}


.pen-testimonials-card__name {
    margin:
        3px 0 0;

    color:
        #5f5f5f;

    font-family:
        var(--font-ui);

    font-size:
        17px;

    font-weight:
        400;

    line-height:
        1.15;
}


/* =========================================================
   DESCRIPTION — MAX 3 LINES
========================================================= */

.pen-testimonials-card__description {
    margin:
        0;

    color:
        #111111;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            17px,
            1.25vw,
            20px
        );

    font-weight:
        400;

    line-height:
        1.35;

    letter-spacing:
        -.012em;

    display:
        -webkit-box;

    -webkit-box-orient:
        vertical;

    -webkit-line-clamp:
        3;

    overflow:
        hidden;
}


/* =========================================================
   HOVER
========================================================= */

@media
(hover: hover)
and
(pointer: fine) {

    .pen-testimonials-card:hover
    .pen-testimonials-card__development-image {
        transform:
            scale(1.055);
    }

}


/* =========================================================
   CONTROLS
========================================================= */

.pen-testimonials__controls {
    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        16px;

    margin-top:
        24px;
}


.pen-testimonials__button {
    appearance:
        none;

    width:
        42px;

    height:
        38px;

    display:
        grid;

    place-items:
        center;

    padding:
        0;

    color:
        var(--testimonials-navy);

    background:
        #ffffff;

    border:
        1.5px solid
        var(--testimonials-navy);

    border-radius:
        4px;

    cursor:
        pointer;

    transition:
        color .24s ease,
        background-color .24s ease,
        opacity .24s ease,
        transform .24s ease;
}


.pen-testimonials__button svg {
    width:
        16px;

    height:
        16px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


.pen-testimonials__button:hover:not(:disabled) {
    color:
        #ffffff;

    background:
        var(--testimonials-navy);

    transform:
        translateY(-1px);
}


.pen-testimonials__button:disabled {
    opacity:
        .35;

    cursor:
        default;
}


/*
 * Texto solo para tecnologías de asistencia.
 */
.pen-testimonials__status {
    position:
        absolute;

    width:
        1px;

    height:
        1px;

    padding:
        0;

    margin:
        -1px;

    overflow:
        hidden;

    clip:
        rect(0,0,0,0);

    white-space:
        nowrap;

    border:
        0;
}


/* =========================================================
   LARGE DESKTOP
========================================================= */

@media
(min-width: 1600px) {

    .pen-testimonials {
        --testimonials-visible:
            2.55;
    }


    .pen-testimonials-card {
        grid-template-columns:
            155px
            minmax(0, 1fr);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1180px) {

    .pen-testimonials {
        --testimonials-visible:
            1.65;

        --testimonials-gap:
            24px;
    }


    .pen-testimonials-card {
        grid-template-columns:
            130px
            minmax(0, 1fr);
    }


    .pen-testimonials-card__content {
        padding:
            24px
            24px
            24px
            68px;
    }


    .pen-testimonials-card__avatar {
        width:
            66px;

        height:
            66px;

        left:
            -33px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-testimonials {
        --testimonials-visible:
            1;

        --testimonials-gap:
            18px;

        padding:
            46px
            0
            52px;
    }


    .pen-testimonials__header {
        width:
            calc(100% - 32px);

        margin-bottom:
            26px;
    }


    .pen-testimonials__eyebrow {
        gap:
            12px;
    }


    .pen-testimonials__eyebrow-line {
        width:
            42px;
    }


    .pen-testimonials__eyebrow h2 {
        font-size:
            15px;
    }


    .pen-testimonials__track {
        padding-left:
            16px;

        padding-right:
            16px;
    }


    .pen-testimonials-card {
        flex-basis:
            calc(100vw - 32px);

        min-height:
            0;

        grid-template-columns:
            112px
            minmax(0, 1fr);

        border-radius:
            16px;
    }


    .pen-testimonials-card__development-image {
        min-height:
            250px;
    }


    .pen-testimonials-card__content {
        padding:
            22px
            18px
            22px
            56px;
    }


    .pen-testimonials-card__date {
        margin-bottom:
            16px;

        font-size:
            15px;
    }


    .pen-testimonials-card__avatar {
        top:
            52px;

        left:
            -30px;

        width:
            60px;

        height:
            60px;
    }


    .pen-testimonials-card__development {
        font-size:
            17px;
    }


    .pen-testimonials-card__name {
        font-size:
            15px;
    }


    .pen-testimonials-card__description {
        font-size:
            16px;

        line-height:
            1.32;
    }


    .pen-testimonials__controls {
        margin-top:
            20px;
    }


    .pen-testimonials__button {
        width:
            44px;

        height:
            44px;
    }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media
(max-width: 430px) {

    .pen-testimonials-card {
        grid-template-columns:
            96px
            minmax(0, 1fr);
    }


    .pen-testimonials-card__development-image {
        min-height:
            238px;
    }


    .pen-testimonials-card__content {
        padding-left:
            50px;
    }


    .pen-testimonials-card__avatar {
        width:
            56px;

        height:
            56px;

        left:
            -28px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-testimonials__track,
    .pen-testimonials-card__development-image,
    .pen-testimonials__button {
        transition:
            none !important;
    }

}


/* =========================================================
   CONTACTO
   Referencia visual 2026-08-25
========================================================= */

.pen-contact {
    --contact-navy: #011e41;
    --contact-blue: #408097;
    --contact-text: #111111;
    --contact-border: #d7d7d7;
    --contact-placeholder: #a4a4a4;

    width:
        100%;

    overflow:
        hidden;

    background:
        #ffffff;

    color:
        var(--contact-text);

    padding:
        clamp(74px, 25vw, 168px)
        0px
        168px
}


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

.pen-contact__header {
    width:
        min(
            calc(100% - 144px),
            1680px
        );

    margin:
        0 auto
        clamp(38px, 3.6vw, 54px);
}


.pen-contact__title {
    margin:
        0 0
        24px;

    color:
        #080808;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            32px,
            2.35vw,
            42px
        );

    font-weight:
        600;

    line-height:
        1.08;

    letter-spacing:
        -.035em;
}


.pen-contact__intro {
    max-width:
        1540px;

    margin:
        0;

    color:
        #111111;

    font-family:
        var(--font-ui);

    font-size:
        clamp(
            20px,
            1.6vw,
            28px
        );

    font-weight:
        400;

    line-height:
        1.28;

    letter-spacing:
        -.022em;
}


.pen-contact__intro strong {
    color:
        var(--contact-navy);

    font-weight:
        600;
}


/* =========================================================
   LAYOUT 50 / 50
========================================================= */

.pen-contact__layout {
    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    align-items:
        stretch;

    width:
        100%;
}


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

.pen-contact__visual {
    min-width:
        0;

    min-height:
        690px;

    overflow:
        hidden;

    border-radius:
        0
        20px
        20px
        0;

    background:
        #edf3f5;
}


.pen-contact__image {
    display:
        block;

    width:
        100%;

    height:
        100%;

    min-height:
        690px;

    object-fit:
        cover;

    object-position:
        center;

    transform:
        scale(1);

    transition:
        transform 1.15s cubic-bezier(.16,1,.3,1);

    will-change:
        transform;
}


/* =========================================================
   FORM COLUMN
========================================================= */

.pen-contact__form-column {
    min-width:
        0;

    display:
        flex;

    align-items:
        center;

    padding:
        clamp(54px, 5.2vw, 86px)
        clamp(64px, 5vw, 94px);
}


.pen-contact-form {
    width:
        100%;

    max-width:
        760px;

    margin:
        0 auto;
}


/* =========================================================
   FIELDS
========================================================= */

.pen-contact-form__row {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        26px;
}


.pen-contact-form__field {
    position:
        relative;

    min-width:
        0;

    margin-bottom:
        22px;
}


.pen-contact-form__field label {
    display:
        block;

    margin-bottom:
        8px;

    color:
        #333333;

    font-family:
        var(--font-ui);

    font-size:
        13px;

    font-weight:
        400;

    line-height:
        1.15;
}


.pen-contact-form__field label span[aria-hidden="true"] {
    color:
        var(--contact-blue);
}


.pen-contact-form input,
.pen-contact-form select,
.pen-contact-form textarea {
    width:
        100%;

    min-width:
        0;

    color:
        #222222;

    background:
        #ffffff;

    border:
        1px solid
        var(--contact-border);

    border-radius:
        5px;

    font-family:
        var(--font-ui);

    font-size:
        16px;

    font-weight:
        400;

    outline:
        none;

    transition:
        border-color .22s ease,
        box-shadow .22s ease,
        background-color .22s ease;
}


.pen-contact-form input,
.pen-contact-form select {
    height:
        48px;

    padding:
        0
        14px;
}


.pen-contact-form textarea {
    min-height:
        110px;

    padding:
        13px
        14px;

    resize:
        vertical;

    line-height:
        1.35;
}


.pen-contact-form input::placeholder,
.pen-contact-form textarea::placeholder {
    color:
        var(--contact-placeholder);

    opacity:
        1;
}


.pen-contact-form input:focus,
.pen-contact-form select:focus,
.pen-contact-form textarea:focus {
    border-color:
        var(--contact-blue);

    box-shadow:
        0 0 0 3px
        rgba(64,128,151,.10);
}


/* =========================================================
   SELECT
========================================================= */

.pen-contact-form__select-wrap {
    position:
        relative;
}


.pen-contact-form select {
    appearance:
        none;

    padding-right:
        44px;

    cursor:
        pointer;
}


.pen-contact-form__select-wrap > svg {
    position:
        absolute;

    top:
        50%;

    right:
        15px;

    width:
        18px;

    height:
        18px;

    transform:
        translateY(-50%);

    fill:
        none;

    stroke:
        #9a9a9a;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    pointer-events:
        none;
}


/* =========================================================
   ERROR
========================================================= */

.pen-contact-form__error {
    display:
        none;

    margin-top:
        6px;

    color:
        #a33131;

    font-family:
        var(--font-ui);

    font-size:
        12px;

    line-height:
        1.25;
}


.pen-contact-form__field.is-error
.pen-contact-form__error,

.pen-contact-form__terms.is-error
.pen-contact-form__error {
    display:
        block;
}


.pen-contact-form__field.is-error input,
.pen-contact-form__field.is-error select,
.pen-contact-form__field.is-error textarea {
    border-color:
        #a33131;
}


/* =========================================================
   TERMS / CHECKBOX
========================================================= */

.pen-contact-form__terms {
    margin-top:
        -1px;

    margin-bottom:
        24px;
}


.pen-contact-form__check {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        12px;

    color:
        #222222;

    font-family:
        var(--font-ui);

    font-size:
        16px;

    font-weight:
        400;

    line-height:
        1.2;

    cursor:
        pointer;
}


.pen-contact-form__check input {
    position:
        absolute;

    width:
        1px;

    height:
        1px;

    opacity:
        0;

    pointer-events:
        none;
}


.pen-contact-form__check-ui {
    width:
        18px;

    height:
        18px;

    flex:
        0 0 auto;

    display:
        grid;

    place-items:
        center;

    color:
        #ffffff;

    background:
        #ffffff;

    border:
        1.5px solid
        #555555;

    border-radius:
        4px;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}


.pen-contact-form__check-ui svg {
    width:
        14px;

    height:
        14px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2.5;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;

    opacity:
        0;
}


.pen-contact-form__check input:checked
+ .pen-contact-form__check-ui {
    background:
        #2b2b2b;

    border-color:
        #2b2b2b;
}


.pen-contact-form__check input:checked
+ .pen-contact-form__check-ui svg {
    opacity:
        1;
}


.pen-contact-form__check input:focus-visible
+ .pen-contact-form__check-ui {
    box-shadow:
        0 0 0 3px
        rgba(64,128,151,.18);
}


.pen-contact-form__check a,
.pen-mobile-contact-form__terms a {
    color:
        inherit;

    text-decoration:
        underline;

    text-underline-offset:
        2px;
}


/* =========================================================
   ACTION
========================================================= */

.pen-contact-form__actions {
    display:
        flex;

    align-items:
        center;

    margin-bottom:
        38px;
}


.pen-contact-form__submit {
    appearance:
        none;

    min-width:
        160px;

    min-height:
        48px;

    padding:
        10px
        22px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    color:
        var(--contact-blue);

    background:
        #ffffff;

    border:
        1.5px solid
        var(--contact-blue);

    border-radius:
        5px;

    font-family:
        var(--font-ui);

    font-size:
        18px;

    font-weight:
        500;

    cursor:
        pointer;

    transition:
        color .24s ease,
        background-color .24s ease,
        transform .24s ease;
}


.pen-contact-form__submit svg {
    width:
        17px;

    height:
        17px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* =========================================================
   STATUS
========================================================= */

.pen-contact-form__status {
    min-height:
        0;

    margin:
        -20px 0
        20px;

    color:
        var(--contact-navy);

    font-family:
        var(--font-ui);

    font-size:
        13px;

    line-height:
        1.35;
}


/* =========================================================
   LEGAL
========================================================= */

.pen-contact-form__legal {
    margin:
        0;

    color:
        #222222;

    font-family:
        var(--font-ui);

    font-size:
        8px;

    font-weight:
        400;

    line-height:
        1.3;
}


/* =========================================================
   HOVER
========================================================= */

@media
(hover: hover)
and
(pointer: fine) {

    .pen-contact__visual:hover
    .pen-contact__image {
        transform:
            scale(1.025);
    }


    .pen-contact-form__submit:hover {
        color:
            #ffffff;

        background:
            var(--contact-blue);

        transform:
            translateY(-1px);
    }

}


/* =========================================================
   REVEAL
========================================================= */

.pen-contact.is-reveal-ready
.pen-contact__header,

.pen-contact.is-reveal-ready
.pen-contact__visual,

.pen-contact.is-reveal-ready
.pen-contact__form-column {

    opacity:
        0;

    transform:
        translateY(28px);
}


.pen-contact.is-reveal-ready
.pen-contact__header {
    transition:
        opacity .76s ease,
        transform .92s cubic-bezier(.16,1,.3,1);
}


.pen-contact.is-reveal-ready
.pen-contact__visual {
    transition:
        opacity .88s ease .12s,
        transform 1.05s cubic-bezier(.16,1,.3,1) .12s;
}


.pen-contact.is-reveal-ready
.pen-contact__form-column {
    transition:
        opacity .88s ease .22s,
        transform 1.05s cubic-bezier(.16,1,.3,1) .22s;
}


.pen-contact.is-reveal-ready.is-visible
.pen-contact__header,

.pen-contact.is-reveal-ready.is-visible
.pen-contact__visual,

.pen-contact.is-reveal-ready.is-visible
.pen-contact__form-column {

    opacity:
        1;

    transform:
        translateY(0);
}


/* =========================================================
   TABLET
========================================================= */

@media
(max-width: 1100px) {

    .pen-contact__header {
        width:
            calc(100% - 64px);
    }


    .pen-contact__visual,
    .pen-contact__image {
        min-height:
            620px;
    }


    .pen-contact__form-column {
        padding:
            48px
            36px;
    }


    .pen-contact-form__row {
        gap:
            18px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media
(max-width: 767px) {

    .pen-contact {
        padding-top:
            48px;
    }


    .pen-contact__header {
        width:
            calc(100% - 32px);

        margin-bottom:
            32px;
    }


    .pen-contact__title {
        margin-bottom:
            18px;

        font-size:
            clamp(
                30px,
                8vw,
                38px
            );
    }


    .pen-contact__intro {
        font-size:
            18px;

        line-height:
            1.34;
    }


    .pen-contact__layout {
        display:
            flex;

        flex-direction:
            column;
    }


    .pen-contact__visual {
        width:
            calc(100% - 32px);

        min-height:
            480px;

        margin:
            0 auto;

        border-radius:
            18px;
    }


    .pen-contact__image {
        min-height:
            480px;
    }


    .pen-contact__form-column {
        padding:
            42px
            16px
            52px;
    }


    .pen-contact-form {
        max-width:
            none;
    }


    .pen-contact-form__row {
        grid-template-columns:
            1fr;

        gap:
            0;
    }


    .pen-contact-form__field {
        margin-bottom:
            20px;
    }


    .pen-contact-form input,
    .pen-contact-form select,
    .pen-contact-form textarea {
        font-size:
            16px;
    }


    .pen-contact-form__check {
        align-items:
            flex-start;

        font-size:
            15px;
    }


    .pen-contact-form__actions {
        margin-bottom:
            30px;
    }


    .pen-contact-form__submit {
        min-width:
            150px;

        min-height:
            48px;

        font-size:
            17px;
    }


    .pen-contact-form__legal {
        font-size:
            9px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media
(prefers-reduced-motion: reduce) {

    .pen-contact.is-reveal-ready
    .pen-contact__header,

    .pen-contact.is-reveal-ready
    .pen-contact__visual,

    .pen-contact.is-reveal-ready
    .pen-contact__form-column {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    .pen-contact__image,
    .pen-contact-form__submit {
        transition:
            none !important;
    }

}


/* =========================================================
   FOOTER GLOBAL
   PENÍNSULA LIFESTYLE PROPERTIES
   2026-08-25

   Include:
   /redesign/inc/footer.php
========================================================= */

.pen-footer {
    --footer-bg: #f4f4f4;
    --footer-navy: #00234a;
    --footer-text: #111111;
    --footer-muted: #626262;
    --footer-blue: #0967d7;

    width:
        100%;

    font-family:
        var(--font-ui);

    color:
        var(--footer-text);

    background:
        var(--footer-bg);
}


/* =========================================================
   MAIN
========================================================= */

.pen-footer__main {
    width:
        100%;

    background:
        var(--footer-bg);

    padding:
        48px
        0
        76px;
}


.pen-footer__container {
    width:
        min(
            calc(100% - 128px),
            1680px
        );

    margin:
        0 auto;
}


/* =========================================================
   DIVIDER
========================================================= */

.pen-footer__divider {
    width:
        100%;

    height:
        1px;

    margin-bottom:
        52px;

    background:
        rgba(17,17,17,.82);
}


/* =========================================================
   LOGO
========================================================= */

.pen-footer__logo {
    display:
        inline-flex;

    align-items:
        center;

    margin-left:
        10px;

    margin-bottom:
        42px;

    text-decoration:
        none;
}


.pen-footer__logo img {
    display:
        block;

    width:
        clamp(
            195px,
            14vw,
            235px
        );

    height:
        auto;

    /*
     * Se reutiliza el SVG blanco del header.
     * brightness(0) lo convierte a negro sin requerir
     * un segundo asset.
     */
    filter:
        brightness(0);
}


/* =========================================================
   GRID
========================================================= */

.pen-footer__grid {
    display:
        grid;

    grid-template-columns:
        minmax(260px, .92fr)
        minmax(240px, .62fr)
        minmax(380px, 1.18fr);

    gap:
        clamp(
            64px,
            8vw,
            146px
        );

    align-items:
        start;

    padding:
        0
        10px;
}


/* =========================================================
   COMMON
========================================================= */

.pen-footer__heading {
    margin:
        0 0
        10px;

    color:
        #080808;

    font-family:
        var(--font-ui);

    font-size:
        19px;

    font-weight:
        600;

    line-height:
        1.1;

    letter-spacing:
        -.018em;
}


/* =========================================================
   CORPORATE / MAPS
========================================================= */

.pen-footer__maps {
    display:
        flex;

    align-items:
        center;

    gap:
        6px;

    margin-bottom:
        9px;
}


.pen-footer__map-button {
    width:
        24px;

    height:
        24px;

    display:
        grid;

    place-items:
        center;

    flex:
        0 0 auto;

    text-decoration:
        none;

    border-radius:
        50%;

    transition:
        transform .22s ease,
        opacity .22s ease;
}


.pen-footer__map-button:hover {
    transform:
        translateY(-2px);

    opacity:
        .78;
}


.pen-footer__map-button svg {
    width:
        24px;

    height:
        24px;

    fill:
        none;

    stroke-width:
        1.8;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* Waze visual */
.pen-footer__map-button--waze {
    color:
        #092d4f;

    background:
        #65d9f7;
}


.pen-footer__map-button--waze svg {
    width:
        21px;

    height:
        21px;

    stroke:
        currentColor;
}


/* Maps visual */
.pen-footer__map-button--maps {
    color:
        #2c6bed;

    background:
        transparent;
}


.pen-footer__map-button--maps svg {
    stroke:
        currentColor;
}


.pen-footer__address {
    max-width:
        300px;

    margin:
        0;

    color:
        var(--footer-muted);

    font-family:
        var(--font-ui);

    font-size:
        17px;

    font-weight:
        400;

    font-style:
        normal;

    line-height:
        1.25;

    letter-spacing:
        -.01em;
}


/* =========================================================
   PHONE
========================================================= */

.pen-footer__phones {
    display:
        flex;

    flex-direction:
        column;

    align-items:
        flex-start;

    gap:
        13px;
}


.pen-footer__phone {
    display:
        inline-flex;

    align-items:
        center;

    gap:
        13px;

    color:
        var(--footer-muted);

    font-family:
        var(--font-ui);

    font-size:
        17px;

    font-weight:
        400;

    line-height:
        1;

    text-decoration:
        none;

    transition:
        color .22s ease;
}


.pen-footer__phone:hover {
    color:
        var(--footer-navy);
}


.pen-footer__phone svg {
    width:
        19px;

    height:
        19px;

    flex:
        0 0 auto;

    fill:
        none;

    stroke:
        #000000;

    stroke-width:
        1.8;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


/* =========================================================
   BLOG
========================================================= */

.pen-footer__blog-copy {
    max-width:
        560px;

    margin:
        0 0
        14px;

    color:
        var(--footer-muted);

    font-family:
        var(--font-ui);

    font-size:
        17px;

    font-weight:
        400;

    line-height:
        1.22;

    letter-spacing:
        -.01em;
}


.pen-footer__blog-cta {
    min-width:
        158px;

    min-height:
        44px;

    padding:
        9px
        22px;

    display:
        inline-flex;

    align-items:
        center;

    justify-content:
        center;

    gap:
        14px;

    color:
        #ffffff;

    background:
        var(--footer-blue);

    border:
        1.5px solid
        var(--footer-blue);

    border-radius:
        4px;

    font-family:
        var(--font-ui);

    font-size:
        17px;

    font-weight:
        500;

    line-height:
        1;

    text-decoration:
        none;

    transition:
        color .24s ease,
        background-color .24s ease,
        transform .24s ease,
        box-shadow .24s ease;
}


.pen-footer__blog-cta svg {
    width:
        16px;

    height:
        16px;

    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        2;

    stroke-linecap:
        round;

    stroke-linejoin:
        round;
}


.pen-footer__blog-cta:hover,
.pen-footer__blog-cta:focus-visible {
    transform:
        translateY(-2px);

    box-shadow:
        0 7px 16px
        rgba(9,103,215,.18);
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.pen-footer__bottom {
    width:
        100%;

    color:
        #ffffff;

    background:
        var(--footer-navy);
}


.pen-footer__bottom-inner {
    width:
        min(
            calc(100% - 128px),
            1680px
        );

    min-height:
        76px;

    margin:
        0 auto;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        48px;

    padding:
        18px
        10px;
}


/* =========================================================
   LEGAL
========================================================= */

.pen-footer__legal {
    min-width:
        0;

    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;

    gap:
        18px;
}


.pen-footer__copyright {
    margin:
        0;

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

    font-family:
        var(--font-ui);

    font-size:
        13px;

    font-weight:
        400;

    line-height:
        1.3;

    white-space:
        nowrap;
}


.pen-footer__legal-nav {
    display:
        flex;

    align-items:
        center;

    flex-wrap:
        wrap;
}


.pen-footer__legal-nav a {
    position:
        relative;

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

    font-family:
        var(--font-ui);

    font-size:
        13px;

    font-weight:
        400;

    line-height:
        1.3;

    text-decoration:
        none;

    white-space:
        nowrap;

    transition:
        opacity .22s ease;
}


.pen-footer__legal-nav a:hover {
    opacity:
        .7;
}


.pen-footer__legal-nav a:not(:first-child)::before {
    content:
        "";

    display:
        inline-block;

    width:
        1px;

    height:
        13px;

    margin:
        0
        17px;

    vertical-align:
        -2px;

    background:
        rgba(255,255,255,.75);
}


/* =========================================================
   SOCIAL
========================================================= */

.pen-footer__social {
    display:
        flex;

    align-items:
        center;

    justify-content:
        flex-end;

    gap:
        28px;

    flex:
        0 0 auto;
}


.pen-footer__social a {
    width:
        23px;

    height:
        23px;

    display:
        grid;

    place-items:
        center;

    color:
        #ffffff;

    text-decoration:
        none;

    transition:
        opacity .22s ease,
        transform .22s ease;
}


.pen-footer__social a:hover {
    opacity:
        .72;

    transform:
        translateY(-2px);
}


.pen-footer__social svg {
    width:
        20px;

    height:
        20px;
}


.pen-footer__social svg:not([fill]) {
    fill:
        none;

    stroke:
        currentColor;

    stroke-width:
        1.8;
}


/* =========================================================
   LARGE TABLET
========================================================= */

@media (max-width: 1180px) {

    .pen-footer__container,
    .pen-footer__bottom-inner {
        width:
            calc(100% - 64px);
    }


    .pen-footer__grid {
        gap:
            44px;

        grid-template-columns:
            1fr
            .8fr
            1.15fr;
    }


    .pen-footer__bottom-inner {
        align-items:
            flex-start;

        gap:
            28px;
    }


    .pen-footer__legal {
        gap:
            12px;
    }


    .pen-footer__copyright {
        white-space:
            normal;
    }

}


/* =========================================================
   TABLET / MOBILE
========================================================= */

@media (max-width: 900px) {

    .pen-footer__main {
        padding:
            38px
            0
            54px;
    }


    .pen-footer__container,
    .pen-footer__bottom-inner {
        width:
            calc(100% - 40px);
    }


    .pen-footer__divider {
        margin-bottom:
            38px;
    }


    .pen-footer__logo {
        margin-left:
            0;

        margin-bottom:
            38px;
    }


    .pen-footer__grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0,1fr)
            );

        gap:
            42px
            34px;

        padding:
            0;
    }


    .pen-footer__column--blog {
        grid-column:
            1 / -1;
    }


    .pen-footer__bottom-inner {
        min-height:
            0;

        flex-direction:
            column;

        align-items:
            flex-start;

        padding:
            24px
            0;
    }


    .pen-footer__social {
        justify-content:
            flex-start;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 620px) {

    .pen-footer__main {
        padding:
            32px
            0
            46px;
    }


    .pen-footer__container,
    .pen-footer__bottom-inner {
        width:
            calc(100% - 32px);
    }


    .pen-footer__divider {
        margin-bottom:
            32px;
    }


    .pen-footer__logo {
        margin-bottom:
            34px;
    }


    .pen-footer__logo img {
        width:
            205px;
    }


    .pen-footer__grid {
        grid-template-columns:
            1fr;

        gap:
            34px;
    }


    .pen-footer__column--blog {
        grid-column:
            auto;
    }


    .pen-footer__heading {
        font-size:
            18px;
    }


    .pen-footer__address,
    .pen-footer__phone,
    .pen-footer__blog-copy {
        font-size:
            16px;
    }


    .pen-footer__blog-cta {
        min-width:
            150px;

        min-height:
            46px;
    }


    .pen-footer__legal {
        display:
            block;
    }


    .pen-footer__copyright {
        margin-bottom:
            18px;

        font-size:
            12px;
    }


    .pen-footer__legal-nav {
        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            12px;
    }


    .pen-footer__legal-nav a {
        font-size:
            12px;
    }


    .pen-footer__legal-nav a:not(:first-child)::before {
        display:
            none;
    }


    .pen-footer__social {
        gap:
            24px;

        margin-top:
            4px;
    }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-footer__map-button,
    .pen-footer__phone,
    .pen-footer__blog-cta,
    .pen-footer__legal-nav a,
    .pen-footer__social a {
        transition:
            none !important;
    }

}


/* =========================================================
   MODAL — COMITÉ DIRECTIVO
   2026-08-26
========================================================= */

.pen-committee-modal {
    --committee-modal-bg: #F5F5F5;
    --committee-modal-navy: #02264f;
    --committee-modal-ink: #080808;

    position: fixed;
    z-index: 100200;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;

    background: var(--committee-modal-bg);
    font-family: var(--font-ui);

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.pen-committee-modal[hidden] {
    display: none;
}

.pen-committee-modal.is-opening,
.pen-committee-modal.is-open,
.pen-committee-modal.is-closing {
    display: block;
    visibility: visible;
}

.pen-committee-modal.is-opening,
.pen-committee-modal.is-open {
    pointer-events: auto;
}

.pen-committee-modal.is-opening {
    animation: penCommitteeModalFadeIn .42s cubic-bezier(.22,1,.36,1) both;
}

.pen-committee-modal.is-open {
    opacity: 1;
}

.pen-committee-modal.is-closing {
    pointer-events: none;
    animation: penCommitteeModalFadeOut .32s ease both;
}

@keyframes penCommitteeModalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes penCommitteeModalFadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

.pen-committee-modal__surface {
    position: relative;

    width: 100%;
    height: 100%;

    overflow-y: auto;
    overscroll-behavior: contain;

    padding:
        clamp(54px, 5vw, 86px)
        clamp(32px, 5vw, 80px)
        clamp(70px, 7vw, 110px);

    background: var(--committee-modal-bg);

    opacity: 0;
    transform: translateY(20px);

    transition:
        opacity .44s ease,
        transform .56s cubic-bezier(.16,1,.3,1);
}

.pen-committee-modal.is-opening .pen-committee-modal__surface,
.pen-committee-modal.is-open .pen-committee-modal__surface {
    opacity: 1;
    transform: translateY(0);
}

.pen-committee-modal.is-closing .pen-committee-modal__surface {
    opacity: 0;
    transform: translateY(12px);
    transition-duration: .28s;
}

body.pen-committee-modal-open {
    overflow: hidden;
}

.pen-committee-modal__close {
    appearance: none;

    position: fixed;
    z-index: 4;

    top: clamp(20px, 2vw, 32px);
    right: clamp(20px, 2.5vw, 42px);

    width: 46px;
    height: 46px;

    padding: 0;

    display: grid;
    place-items: center;

    color: var(--committee-modal-navy);
    background: rgba(245,245,245,.94);

    border: 0;
    border-radius: 50%;

    cursor: pointer;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition:
        background-color .24s ease,
        transform .24s ease;
}

.pen-committee-modal__close svg {
    width: 32px;
    height: 32px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-committee-modal__close:hover {
    background: #ffffff;
    transform: scale(1.06);
}

.pen-committee-modal__header {
    width: min(100%, 1540px);

    margin:
        0 auto
        clamp(40px, 4vw, 64px);

    text-align: center;
}

.pen-committee-modal__eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 16px;
    margin-bottom: 22px;

    color: var(--committee-modal-navy);

    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.pen-committee-modal__eyebrow > span:first-child {
    width: 48px;
    height: 2px;
    background: currentColor;
}

.pen-committee-modal__title {
    margin: 0;

    color: #111827;

    font-size: clamp(32px, 2.5vw, 46px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.pen-committee-modal__grid {
    width: min(100%, 1540px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: clamp(28px, 3vw, 46px);
}

.pen-director-card {
    position: relative;

    min-width: 0;
    aspect-ratio: 422 / 568;

    overflow: hidden;

    background: #ffffff;
    border-radius: 18px;

    outline: none;

    cursor: default;

    isolation: isolate;

    transform: translateZ(0);

    transition:
        transform .38s cubic-bezier(.16,1,.3,1),
        box-shadow .38s ease;
}

.pen-director-card:focus-visible {
    outline: 3px solid rgba(64,128,151,.45);
    outline-offset: 4px;
}

.pen-director-card__face {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    backface-visibility: hidden;

    transition:
        opacity .42s ease,
        transform .58s cubic-bezier(.16,1,.3,1);

    will-change: opacity, transform;
}

.pen-director-card__front {
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;

    padding: 20px;

    color: #ffffff;
    background: var(--committee-modal-navy);

    opacity: 1;
    transform: scale(1);
}

.pen-director-card__photo {
    min-height: 0;

    overflow: hidden;

    border-radius: 17px;

    background: #ececeb;
}

.pen-director-card__photo img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center top;

    transform: scale(1);

    transition:
        transform .8s cubic-bezier(.16,1,.3,1);
}

.pen-director-card__identity {
    min-height: 118px;

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

    padding:
        20px
        10px
        11px;

    text-align: center;
}

.pen-director-card__identity h3 {
    margin: 0;

    color: #ffffff;

    font-family: var(--font-display);
    font-size: clamp(22px, 1.6vw, 31px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.012em;

    text-transform: uppercase;
}

.pen-director-card__identity p {
    margin: 8px 0 0;

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

    font-family: var(--font-ui);
    font-size: clamp(16px, 1vw, 20px);
    font-weight: 300;
    line-height: 1.15;
}

.pen-director-card__back {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: clamp(38px, 4vw, 62px);

    color: var(--committee-modal-ink);
    background: #FAFAFA;

    border: 1.5px solid #111111;
    border-radius: 18px;

    text-align: center;

    opacity: 0;
    transform: scale(.985);
}

.pen-director-card__quote {
    height: 44px;
    margin-bottom: clamp(14px, 1.8vw, 24px);

    color: #000000;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1;
}

.pen-director-card__back p {
    max-width: 330px;
    margin: 0;

    color: #090909;

    font-family: var(--font-ui);
    font-size: clamp(20px, 1.45vw, 27px);
    font-weight: 400;
    line-height: 1.18;
    letter-spacing: -.025em;
}

@media (hover: hover) and (pointer: fine) {

    .pen-director-card:hover {
        transform: translateY(-4px);

        box-shadow:
            0 18px 38px
            rgba(0,0,0,.10);
    }

    .pen-director-card:hover .pen-director-card__front {
        opacity: 0;
        transform: scale(1.012);
        pointer-events: none;
    }

    .pen-director-card:hover .pen-director-card__back {
        opacity: 1;
        transform: scale(1);
    }

    .pen-director-card:hover .pen-director-card__photo img {
        transform: scale(1.035);
    }

}

.pen-director-card:focus .pen-director-card__front,
.pen-director-card.is-revealed .pen-director-card__front {
    opacity: 0;
    transform: scale(1.012);
    pointer-events: none;
}

.pen-director-card:focus .pen-director-card__back,
.pen-director-card.is-revealed .pen-director-card__back {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 1180px) {

    .pen-committee-modal__surface {
        padding-left: 28px;
        padding-right: 28px;
    }

    .pen-committee-modal__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 980px;
    }

    .pen-director-card__identity h3 {
        font-size: clamp(22px, 3vw, 30px);
    }

    .pen-director-card__back p {
        font-size: clamp(20px, 2.3vw, 25px);
    }

}

@media (max-width: 767px) {

    .pen-committee-modal__surface {
        padding:
            66px
            16px
            54px;
    }

    .pen-committee-modal__close {
        top: 12px;
        right: 12px;

        width: 44px;
        height: 44px;
    }

    .pen-committee-modal__header {
        margin-bottom: 32px;
        padding: 0 18px;
    }

    .pen-committee-modal__eyebrow {
        gap: 11px;
        margin-bottom: 18px;
        font-size: 13px;
    }

    .pen-committee-modal__eyebrow > span:first-child {
        width: 38px;
    }

    .pen-committee-modal__title {
        font-size: clamp(29px, 8vw, 37px);
    }

    .pen-committee-modal__grid {
        grid-template-columns: 1fr;

        gap: 22px;
        max-width: 440px;
    }

    .pen-director-card {
        border-radius: 16px;
    }

    .pen-director-card__front {
        padding: 14px;
    }

    .pen-director-card__photo {
        border-radius: 14px;
    }

    .pen-director-card__identity {
        min-height: 104px;
        padding-top: 17px;
    }

    .pen-director-card__identity h3 {
        font-size: clamp(24px, 7vw, 31px);
    }

    .pen-director-card__identity p {
        font-size: 17px;
    }

    .pen-director-card__back {
        padding: 34px 28px;
    }

    .pen-director-card__back p {
        font-size: clamp(20px, 6vw, 25px);
    }

}

@media (prefers-reduced-motion: reduce) {

    .pen-committee-modal,
    .pen-committee-modal__surface,
    .pen-director-card,
    .pen-director-card__face,
    .pen-director-card__photo img {
        animation: none !important;
        transition: none !important;
    }

}


/* =========================================================
   PRESTIGIO — GUTTER HORIZONTAL FINAL
   2026-08-26

   Garantiza como mínimo 32px entre el contenido de la
   primera sección y ambos bordes del viewport.
========================================================= */

.pen-prestige__container {
    width:
        min(
            calc(100% - 64px),
            1680px
        ) !important;

    margin-inline:
        auto !important;
}


/* =========================================================
   MODAL COMITÉ — HEADER FIJO + CARDS COMPACTAS
   2026-08-27
========================================================= */

.pen-committee-modal__surface {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    padding: 0;
    background: #F5F5F5;
}

.pen-committee-modal__header {
    position: relative;
    z-index: 3;
    flex: 0 0 auto;
    width: 100%;
    max-width: none;
    margin: 0;
    padding:
        clamp(42px, 4vw, 58px)
        clamp(72px, 6vw, 110px)
        clamp(24px, 2.2vw, 32px);
    text-align: center;
    background: #F5F5F5;
    box-shadow: 0 8px 18px rgba(0,0,0,.025);
}

.pen-committee-modal__eyebrow {
    margin-bottom: 16px;
}

.pen-committee-modal__title {
    font-size: clamp(30px, 2.15vw, 40px);
}

.pen-committee-modal__close {
    position: fixed;
    z-index: 100203;
}

.pen-committee-modal__scroll {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    width: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    padding:
        clamp(24px, 2.5vw, 34px)
        clamp(32px, 4.5vw, 72px)
        clamp(56px, 5vw, 82px);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(1,30,65,.28) transparent;
}

.pen-committee-modal__scroll::-webkit-scrollbar {
    width: 8px;
}

.pen-committee-modal__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.pen-committee-modal__scroll::-webkit-scrollbar-thumb {
    background: rgba(1,30,65,.24);
    border-radius: 999px;
}

.pen-committee-modal__grid {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(250px, 320px));
    justify-content: center;
    align-items: start;
    gap: 28px;
}

.pen-director-card {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 320 / 430;
    margin: 0 auto;
    border-radius: 15px;
}

.pen-director-card__front {
    padding: 14px;
    border-radius: 15px;
}

.pen-director-card__photo {
    border-radius: 13px;
}

.pen-director-card__identity {
    min-height: 92px;
    padding: 14px 8px 7px;
}

.pen-director-card__identity h3 {
    font-size: clamp(20px, 1.35vw, 25px);
    line-height: 1.02;
}

.pen-director-card__identity p {
    margin-top: 6px;
    font-size: clamp(14px, .92vw, 17px);
}

.pen-director-card__back {
    padding: clamp(26px, 2.4vw, 38px);
    border-radius: 15px;
}

.pen-director-card__quote {
    height: 34px;
    margin-bottom: 12px;
    font-size: 48px;
}

.pen-director-card__back p {
    max-width: 265px;
    font-size: clamp(17px, 1.12vw, 20px);
    line-height: 1.22;
}

@media (hover: hover) and (pointer: fine) {
    .pen-director-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 14px 28px rgba(0,0,0,.09);
    }
}

@media (min-width: 1181px) and (max-width: 1450px) {
    .pen-committee-modal__grid {
        max-width: 1000px;
        grid-template-columns: repeat(3, minmax(240px, 300px));
        gap: 24px;
    }

    .pen-director-card {
        max-width: 300px;
        aspect-ratio: 300 / 405;
    }

    .pen-director-card__identity {
        min-height: 86px;
    }

    .pen-director-card__identity h3 {
        font-size: 22px;
    }

    .pen-director-card__identity p {
        font-size: 15px;
    }

    .pen-director-card__back p {
        font-size: 18px;
    }
}

@media (max-width: 1180px) {
    .pen-committee-modal__header {
        padding-left: 58px;
        padding-right: 58px;
    }

    .pen-committee-modal__scroll {
        padding-left: 28px;
        padding-right: 28px;
    }

    .pen-committee-modal__grid {
        max-width: 720px;
        grid-template-columns: repeat(2, minmax(250px, 315px));
        gap: 26px;
    }

    .pen-director-card {
        max-width: 315px;
    }
}

@media (max-width: 767px) {
    .pen-committee-modal__header {
        padding: 58px 54px 20px 20px;
    }

    .pen-committee-modal__eyebrow {
        justify-content: flex-start;
        margin-bottom: 12px;
        font-size: 12px;
    }

    .pen-committee-modal__title {
        font-size: clamp(27px, 7.4vw, 34px);
        text-align: left;
    }

    .pen-committee-modal__scroll {
        padding: 20px 16px 48px;
    }

    .pen-committee-modal__grid {
        max-width: 360px;
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pen-director-card {
        max-width: 330px;
        aspect-ratio: 320 / 430;
    }

    .pen-director-card__identity {
        min-height: 88px;
    }

    .pen-director-card__identity h3 {
        font-size: 23px;
    }

    .pen-director-card__identity p {
        font-size: 15px;
    }

    .pen-director-card__back {
        padding: 28px;
    }

    .pen-director-card__back p {
        font-size: 18px;
    }
}


/* =========================================================
   AJUSTES MÓVILES CONSOLIDADOS
   2026-08-31

   IMPORTANTE:
   Todo lo anterior a este bloque corresponde al style.css
   final y permanece sin modificaciones.

   Este bloque agrega exclusivamente ajustes del flujo móvil:
   - Prestigio móvil.
   - Widget desktop oculto en móvil.
   - Bottom sheet de contacto móvil.
========================================================= */

/* =========================================================
   PRESTIGIO — MOBILE RECOMPOSICIÓN FINAL
   Referencia visual: 2026-08-31

   Orden móvil:
   1. Título
   2. Conoce nuestro [Prestigio / Éxito / Legado]
   3. Slider
   4. Legales
   5. Divisor
   6. Contadores
   7. Descripción

   Desktop permanece intacto.
========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       SECCIÓN / CONTENEDOR
    ====================================================== */

    .pen-prestige {
        width: 100%;
        padding:
            32px
            0
            42px;

        background:
            #f5f5f5;

        border-radius:
            0;
    }


    .pen-prestige__container {
        width:
            calc(100% - 40px);

        margin:
            0 auto;

        display:
            flex;

        flex-direction:
            column;

        gap:
            0;
    }


    /*
     * En desktop content y visual siguen siendo columnas.
     * En móvil se "aplanan" para poder reproducir exactamente
     * el orden editorial de la referencia sin duplicar HTML.
     */
    .pen-prestige__content,
    .pen-prestige__visual {
        display:
            contents;
    }


    /* =====================================================
       1. TÍTULO
    ====================================================== */

    .pen-prestige__title {
        order:
            1;

        width:
            100%;

        max-width:
            430px;

        margin:
            0 0
            24px;

        color:
            var(--prestige-navy);

        font-family:
            var(--font-display);

        font-size:
            clamp(
                28px,
                7.2vw,
                34px
            );

        font-weight:
            500;

        line-height:
            1.16;

        letter-spacing:
            -.018em;

        white-space:
            normal !important;

        text-wrap:
            balance;

        font-synthesis:
            none;
    }


    /*
     * En desktop los <br> mantienen las tres líneas actuales.
     * En móvil se deja que el ancho de referencia construya
     * las dos líneas visuales:
     *
     * REDEFINIMOS LA VIVIENDA
     * VERTICAL EN MÉXICO
     */
    .pen-prestige__title br {
        display:
            none;
    }


    /* =====================================================
       2. EYEBROW
    ====================================================== */

    .pen-prestige__eyebrow {
        order:
            2;

        width:
            100%;

        min-height:
            34px;

        display:
            flex;

        align-items:
            center;

        gap:
            5px;

        margin:
            0 0
            24px;

        color:
            #080808;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                17px,
                4.4vw,
                20px
            );

        font-weight:
            700;

        line-height:
            1;

        white-space:
            nowrap;
    }


    .pen-prestige__eyebrow-fixed {
        color:
            #080808;
    }


    .pen-prestige__eyebrow-word {
        min-width:
            0;

        color:
            var(--prestige-accent);
    }


    .pen-prestige__eyebrow-word.is-legado {
        color:
            #A36E29;
    }


    /*
     * Flecha mínima al extremo derecho,
     * como en la composición de referencia.
     */
    .pen-prestige__eyebrow::after {
        content:
            "";

        flex:
            0 0 auto;

        margin-left:
            auto;

        width:
            0;

        height:
            0;

        border-top:
            5px solid transparent;

        border-bottom:
            5px solid transparent;

        border-left:
            5px solid var(--prestige-navy);
    }


    /* =====================================================
       3. SLIDER
    ====================================================== */

    .pen-prestige-slider {
        order:
            3;

        width:
            100%;

        margin:
            0;
    }


    .pen-prestige-slider__viewport {
        width:
            100%;

        /*
         * La referencia móvil es notablemente más vertical
         * que el slider desktop.
         */
        aspect-ratio:
            1.17 / 1;

        overflow:
            hidden;

        border-radius:
            20px;

        background:
            #e9ecef;
    }


    .pen-prestige-slider__slide,
    .pen-prestige-slider__slide img {
        width:
            100%;

        height:
            100%;
    }


    .pen-prestige-slider__slide img {
        display:
            block;

        object-fit:
            cover;

        object-position:
            center center;
    }


    /*
     * La referencia no muestra flechas debajo del slider.
     * El autoplay existente continúa operando.
     */
    .pen-prestige-slider__controls {
        display:
            none;
    }


    /* =====================================================
       4. LEGALES
    ====================================================== */

    .pen-prestige__legal {
        order:
            4;

        width:
            100%;

        margin:
            25px
            0
            22px;

        color:
            #343434;

        font-family:
            var(--font-ui);

        font-size:
            9px;

        font-weight:
            400;

        line-height:
            1.28;

        letter-spacing:
            -.01em;
    }


    /* =====================================================
       5. DIVISOR HORIZONTAL
    ====================================================== */

    .pen-prestige__divider {
        order:
            5;

        width:
            100%;

        max-width:
            none;

        height:
            1.5px;

        margin:
            0 0
            28px;

        background:
            #111111;
    }


    /* =====================================================
       6. CONTADORES
    ====================================================== */

    .pen-prestige__stats {
        order:
            6;

        position:
            relative;

        width:
            100%;

        display:
            grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        align-items:
            stretch;

        gap:
            0;

        margin:
            0 0
            27px;
    }


    /*
     * Divisor vertical central.
     */
    .pen-prestige__stats::after {
        content:
            "";

        position:
            absolute;

        top:
            0;

        bottom:
            2px;

        left:
            50%;

        width:
            1px;

        background:
            #111111;

        transform:
            translateX(-50%);
    }


    .pen-prestige__stat {
        width:
            max-content;

        max-width:
            100%;

        margin:
            0 auto;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        gap:
            5px;
    }


    .pen-prestige__number {
        display:
            flex;

        align-items:
            baseline;

        min-height:
            62px;

        line-height:
            1;
    }


    .pen-prestige__plus {
        margin-right:
            7px;

        color:
            #000000;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                30px,
                8vw,
                38px
            );

        font-weight:
            700;

        line-height:
            1;
    }


    .pen-prestige__counter {
        min-width:
            0;

        color:
            #c9c9c9;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                54px,
                14.5vw,
                66px
            );

        font-weight:
            700;

        line-height:
            .92;

        letter-spacing:
            -.055em;
    }


    /*
     * En la composición móvil de referencia
     * los números permanecen en gris.
     */
    .pen-prestige__counter.is-complete {
        color:
            #A36E2A;
    }


    .pen-prestige__stat-label {
        color:
            #00263e;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                16px,
                4.3vw,
                19px
            );

        font-weight:
            400;

        line-height:
            1.08;
    }


    /* =====================================================
       7. DESCRIPCIÓN
    ====================================================== */

    .pen-prestige__description {
        order:
            7;

        width:
            100%;

        max-width:
            none;

        margin:
            0;

        color:
            #111111;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                21px,
                5.4vw,
                24px
            );

        font-weight:
            300;

        line-height:
            1.08;

        letter-spacing:
            -.018em;
    }

}


/* =========================================================
   PRESTIGIO — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-prestige {
        padding-top:
            28px;
    }


    .pen-prestige__container {
        width:
            calc(100% - 32px);
    }


    .pen-prestige__title {
        font-size:
            28px;

        margin-bottom:
            21px;
    }


    .pen-prestige__eyebrow {
        margin-bottom:
            21px;

        font-size:
            16px;
    }


    .pen-prestige-slider__viewport {
        aspect-ratio:
            1.12 / 1;

        border-radius:
            18px;
    }


    .pen-prestige__legal {
        margin-top:
            21px;

        font-size:
            8.5px;
    }


    .pen-prestige__divider {
        margin-bottom:
            24px;
    }


    .pen-prestige__plus {
        font-size:
            29px;
    }


    .pen-prestige__counter {
        font-size:
            52px;
    }


    .pen-prestige__stat-label {
        font-size:
            15px;
    }


    .pen-prestige__description {
        font-size:
            20px;

        line-height:
            1.1;
    }

}


/* =========================================================
   CONTACTO MÓVIL — BOTTOM SHEET FINAL
   Referencias:
   modal-bottom / form-bottom-active / resultado-final

   Desktop permanece intacto.
========================================================= */

.pen-mobile-contact-backdrop,
.pen-mobile-contact-sheet {
    display:
        none;
}


@media (max-width: 767px) {

    /* =====================================================
       EL FORMULARIO DE CONTACTO DESKTOP NO SE DUPLICA
       EN MÓVIL. Su reemplazo es el bottom sheet.
    ====================================================== */

    .pen-contact {
        display:
            none !important;
    }


    /*
     * Permite llegar al final del footer sin que el estado
     * compacto del sheet tape contenido importante.
     */
    body {
        padding-bottom:
            calc(
                126px
                + env(safe-area-inset-bottom)
            );
    }


    body.pen-mobile-contact-open {
        overflow:
            hidden;
    }


    /* =====================================================
       BACKDROP
    ====================================================== */

    .pen-mobile-contact-backdrop {
        position:
            fixed;

        z-index:
            100080;

        top:
            var(--pen-mobile-header-height);

        right:
            0;

        bottom:
            0;

        left:
            0;

        display:
            block;

        background:
            rgba(0,0,0,.27);

        opacity:
            0;

        visibility:
            hidden;

        pointer-events:
            none;

        transition:
            opacity .30s ease,
            visibility 0s linear .32s;
    }


    .pen-mobile-contact-backdrop.is-visible {
        opacity:
            1;

        visibility:
            visible;

        pointer-events:
            auto;

        transition-delay:
            0s;
    }


    /* =====================================================
       SHEET
    ====================================================== */

    .pen-mobile-contact-sheet {
        --sheet-teal:
            #285766;

        --sheet-ink:
            #202020;

        --sheet-muted:
            #777777;

        --sheet-border:
            #d6d6d6;


        position:
            fixed;

        z-index:
            100090;

        left:
            50%;

        bottom:
            max(
                0px,
                env(safe-area-inset-bottom)
            );

        display:
            flex;

        flex-direction:
            column;

        width:
            min(
                calc(100% - 40px),
                548px
            );

        height:
            116px;

        max-height:
            calc(
                100dvh
                - 12px
            );

        overflow:
            hidden;

        color:
            var(--sheet-ink);

        background:
            #ffffff;

        border:
            1px solid
            rgba(0,0,0,.16);

        border-radius:
            16px 16px 0 0;

        box-shadow:
            0 -8px 24px
            rgba(0,0,0,.10);

        transform:
            translate3d(
                -50%,
                0,
                0
            );

        transition:
            height .58s
            cubic-bezier(.16,1,.3,1),
            border-radius .42s ease,
            box-shadow .42s ease;

        font-family:
            var(--font-ui);

        -webkit-font-smoothing:
            antialiased;

        isolation:
            isolate;
    }


    .pen-mobile-contact-sheet.is-open {
        /*
         * VisualViewport se sincroniza por JS.
         * En iOS evita que el teclado tape campos.
         */
        height:
            min(
                980px,
                calc(
                    var(
                        --pen-mobile-sheet-vh,
                        100dvh
                    )
                    - var(--pen-mobile-header-height)
                    - 12px
                )
            );

        border-radius:
            16px 16px 0 0;

        box-shadow:
            0 -16px 38px
            rgba(0,0,0,.18);
    }


    /* =====================================================
       TOGGLE / CABECERA FIJA
    ====================================================== */

    .pen-mobile-contact-sheet__toggle {
        appearance:
            none;

        position:
            relative;

        z-index:
            2;

        flex:
            0 0 auto;

        width:
            100%;

        min-height:
            115px;

        margin:
            0;

        padding:
            31px
            20px
            15px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            flex-start;

        justify-content:
            flex-start;

        color:
            inherit;

        background:
            #ffffff;

        border:
            0;

        border-radius:
            16px 16px 0 0;

        text-align:
            left;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;
    }


    .pen-mobile-contact-sheet__toggle:focus-visible {
        outline:
            2px solid
            rgba(40,87,102,.42);

        outline-offset:
            -3px;
    }


    .pen-mobile-contact-sheet__handle {
        position:
            absolute;

        top:
            20px;

        left:
            50%;

        width:
            56px;

        height:
            4px;

        border-radius:
            999px;

        background:
            #111111;

        transform:
            translateX(-50%);

        transition:
            width .28s ease,
            opacity .28s ease;
    }


    .pen-mobile-contact-sheet.is-open
    .pen-mobile-contact-sheet__handle {
        width:
            54px;
    }


    .pen-mobile-contact-sheet__heading {
        display:
            flex;

        flex-direction:
            column;

        gap:
            7px;

        min-width:
            0;
    }


    .pen-mobile-contact-sheet__title {
        display:
            block;

        color:
            #202020;

        font-size:
            clamp(
                21px,
                5.3vw,
                25px
            );

        font-weight:
            700;

        line-height:
            1.08;

        letter-spacing:
            -.03em;
    }


    .pen-mobile-contact-sheet__subtitle {
        display:
            block;

        color:
            #777777;

        font-size:
            clamp(
                16px,
                4vw,
                19px
            );

        font-weight:
            400;

        line-height:
            1.15;
    }


    /* =====================================================
       BODY SCROLLABLE
    ====================================================== */

    .pen-mobile-contact-sheet__body {
        flex:
            1 1 auto;

        min-height:
            0;

        padding:
            0
            20px
            max(
                24px,
                env(safe-area-inset-bottom)
            );

        overflow-y:
            auto;

        overflow-x:
            hidden;

        overscroll-behavior:
            contain;

        scrollbar-width:
            thin;

        opacity:
            0;

        visibility:
            hidden;

        pointer-events:
            none;

        transform:
            translateY(12px);

        transition:
            opacity .25s ease,
            transform .38s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .34s;
    }


    .pen-mobile-contact-sheet.is-open
    .pen-mobile-contact-sheet__body {
        opacity:
            1;

        visibility:
            visible;

        pointer-events:
            auto;

        transform:
            translateY(0);

        transition-delay:
            .12s,
            .10s,
            0s;
    }


    /* =====================================================
       FORM
    ====================================================== */

    .pen-mobile-contact-form {
        width:
            100%;

        margin:
            0;

        padding:
            2px
            0
            0;
    }


    .pen-mobile-contact-form__field {
        width:
            100%;

        margin-bottom:
            23px;
    }


    .pen-mobile-contact-form__field label {
        display:
            block;

        margin:
            0
            0
            10px;

        color:
            #242424;

        font-size:
            18px;

        font-weight:
            400;

        line-height:
            1.15;
    }


    .pen-mobile-contact-form input,
    .pen-mobile-contact-form select,
    .pen-mobile-contact-form textarea {
        appearance:
            none;

        width:
            100%;

        margin:
            0;

        color:
            #202020;

        background:
            #ffffff;

        border:
            1px solid
            var(--sheet-border);

        border-radius:
            10px;

        outline:
            none;

        font:
            inherit;

        font-size:
            16px;

        font-weight:
            400;

        transition:
            border-color .22s ease,
            box-shadow .22s ease;
    }


    .pen-mobile-contact-form input,
    .pen-mobile-contact-form select {
        height:
            54px;

        padding:
            0
            20px;
    }


    .pen-mobile-contact-form textarea {
        min-height:
            112px;

        padding:
            17px
            20px;

        line-height:
            1.35;

        resize:
            vertical;
    }


    .pen-mobile-contact-form input::placeholder,
    .pen-mobile-contact-form textarea::placeholder {
        color:
            #c2c2c2;

        opacity:
            1;
    }


    .pen-mobile-contact-form input:focus,
    .pen-mobile-contact-form select:focus,
    .pen-mobile-contact-form textarea:focus {
        border-color:
            var(--sheet-teal);

        box-shadow:
            0 0 0 3px
            rgba(40,87,102,.10);
    }


    /* SELECT */

    .pen-mobile-contact-form__select {
        position:
            relative;
    }


    .pen-mobile-contact-form__select select {
        padding-right:
            48px;

        cursor:
            pointer;
    }


    .pen-mobile-contact-form__select svg {
        position:
            absolute;

        top:
            50%;

        right:
            18px;

        width:
            20px;

        height:
            20px;

        fill:
            none;

        stroke:
            #111111;

        stroke-width:
            2;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        transform:
            translateY(-50%);

        pointer-events:
            none;
    }


    /* =====================================================
       TÉRMINOS
    ====================================================== */

    .pen-mobile-contact-form__terms {
        position:
            relative;

        display:
            grid;

        grid-template-columns:
            23px
            minmax(0,1fr);

        align-items:
            center;

        gap:
            14px;

        margin:
            0
            0
            40px;

        color:
            #252525;

        font-size:
            17px;

        font-weight:
            400;

        line-height:
            1.25;

        cursor:
            pointer;
    }


    .pen-mobile-contact-form__terms input {
        position:
            absolute;

        width:
            1px;

        height:
            1px;

        opacity:
            0;

        pointer-events:
            none;
    }


    .pen-mobile-contact-form__check {
        width:
            22px;

        height:
            22px;

        display:
            grid;

        place-items:
            center;

        color:
            #ffffff;

        background:
            #ffffff;

        border:
            1px solid
            #555555;

        border-radius:
            5px;

        transition:
            background-color .2s ease,
            border-color .2s ease,
            box-shadow .2s ease;
    }


    .pen-mobile-contact-form__check svg {
        width:
            15px;

        height:
            15px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            2.5;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        opacity:
            0;
    }


    .pen-mobile-contact-form__terms
    input:checked
    + .pen-mobile-contact-form__check {
        background:
            #303030;

        border-color:
            #303030;
    }


    .pen-mobile-contact-form__terms
    input:checked
    + .pen-mobile-contact-form__check
    svg {
        opacity:
            1;
    }


    .pen-mobile-contact-form__terms
    input:focus-visible
    + .pen-mobile-contact-form__check {
        box-shadow:
            0 0 0 3px
            rgba(40,87,102,.16);
    }


    /* =====================================================
       CTA
    ====================================================== */

    .pen-mobile-contact-form__submit {
        appearance:
            none;

        width:
            100%;

        min-height:
            54px;

        margin:
            0;

        padding:
            10px
            18px;

        display:
            flex;

        align-items:
            center;

        justify-content:
            center;

        color:
            #ffffff;

        background:
            var(--sheet-teal);

        border:
            1px solid
            var(--sheet-teal);

        border-radius:
            8px;

        font:
            inherit;

        font-size:
            18px;

        font-weight:
            400;

        line-height:
            1;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;

        transition:
            transform .2s ease,
            opacity .2s ease;
    }


    .pen-mobile-contact-form__submit:active {
        transform:
            scale(.99);

        opacity:
            .92;
    }


    /* =====================================================
       STATUS / LEGAL
    ====================================================== */

    .pen-mobile-contact-form__status {
        min-height:
            0;

        margin:
            9px
            0
            0;

        color:
            #011e41;

        font-size:
            12px;

        line-height:
            1.3;
    }


    .pen-mobile-contact-form__legal {
        margin:
            22px
            0
            0;

        padding-bottom:
            4px;

        color:
            #222222;

        font-size:
            8.5px;

        font-weight:
            400;

        line-height:
            1.22;
    }

}


/* =========================================================
   CONTACTO MÓVIL — SMALL
========================================================= */

@media (max-width: 390px) {

    .pen-mobile-contact-sheet {
        width:
            calc(100% - 24px);

        height:
            112px;
    }


    .pen-mobile-contact-sheet__toggle {
        min-height:
            111px;

        padding-right:
            18px;

        padding-left:
            18px;
    }


    .pen-mobile-contact-sheet__body {
        padding-right:
            18px;

        padding-left:
            18px;
    }


    .pen-mobile-contact-sheet__title {
        font-size:
            21px;
    }


    .pen-mobile-contact-sheet__subtitle {
        font-size:
            16px;
    }


    .pen-mobile-contact-form__field {
        margin-bottom:
            19px;
    }


    .pen-mobile-contact-form__field label {
        font-size:
            17px;
    }


    .pen-mobile-contact-form input,
    .pen-mobile-contact-form select {
        height:
            51px;
    }


    .pen-mobile-contact-form__terms {
        margin-bottom:
            30px;

        font-size:
            15px;
    }

}


/* =========================================================
   CONTACTO MÓVIL — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-mobile-contact-sheet,
    .pen-mobile-contact-sheet__body,
    .pen-mobile-contact-backdrop {
        transition:
            none !important;
    }

}


/* =========================================================
   NUESTRA HISTORIA — MOBILE ACCORDION FINAL
   Referencias:
   - nuestra-historia-colapsada
   - nuestra-historia-abierta

   Desktop permanece intacto.
========================================================= */


/*
 * En desktop el chevron no existe visualmente
 * y la descripción conserva el comportamiento original.
 */
.pen-history__toggle {
    display:
        none;
}


@media (max-width: 767px) {

    /* =====================================================
       SECCIÓN
       Imagen primero / contenido después.
    ====================================================== */

    .pen-history {
        display:
            flex !important;

        flex-direction:
            column;

        width:
            100%;

        height:
            auto !important;

        min-height:
            0 !important;

        max-height:
            none !important;

        margin:
            0 !important;

        padding:
            48px
            0
            0 !important;

        background:
            #ffffff !important;

        overflow:
            visible;
    }


    /* =====================================================
       1. IMAGEN
    ====================================================== */

    .pen-history__visual {
        order:
            1 !important;

        width:
            calc(100% - 20px) !important;

        height:
            auto !important;

        min-height:
            0 !important;

        max-height:
            none !important;

        aspect-ratio:
            1.22 / 1;

        margin:
            0
            20px
            48px
            0;

        overflow:
            hidden;

        border-radius:
            0
            20px
            20px
            0 !important;

        background:
            #ececec;
    }


    .pen-history__visual img {
        display:
            block;

        width:
            100%;

        height:
            100%;

        object-fit:
            cover;

        object-position:
            center center;

        border-radius:
            inherit;
    }


    /* =====================================================
       2. CONTENEDOR NEGRO
    ====================================================== */

    .pen-history__content {
        order:
            2 !important;

        width:
            100%;

        min-height:
            0 !important;

        padding:
            49px
            0
            17px !important;

        align-items:
            stretch;

        color:
            #ffffff;

        background:
            #000000;
    }


    .pen-history__content-inner {
        position:
            relative;

        width:
            calc(100% - 40px) !important;

        max-width:
            none;

        margin:
            0 auto !important;

        /*
         * Espacio reservado para el chevron.
         */
        padding-bottom:
            26px;
    }


    /* =====================================================
       HEADING
    ====================================================== */

    .pen-history__heading {
        opacity:
            1;

        transform:
            none;

        transition:
            none;
    }


    .pen-history__eyebrow {
        display:
            flex;

        align-items:
            center;

        gap:
            20px;

        margin:
            0
            0
            26px;

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    .pen-history__eyebrow-line {
        flex:
            0 0 auto;

        width:
            82px;

        height:
            3px;

        border-radius:
            999px;

        background:
            #ffffff;

        transform:
            scaleX(1) !important;

        transition:
            none !important;
    }


    .pen-history__eyebrow-text {
        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                16px,
                4.2vw,
                18px
            );

        font-weight:
            700;

        line-height:
            1;

        letter-spacing:
            -.015em;
    }


    .pen-history__title {
        width:
            calc(100% - 34px);

        max-width:
            none;

        margin:
            0 !important;

        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                21px,
                5.35vw,
                25px
            ) !important;

        font-weight:
            700;

        line-height:
            1.14 !important;

        letter-spacing:
            -.025em;
    }


    /* =====================================================
       DESCRIPTION — COLLAPSED
    ====================================================== */

    .pen-history__description {
        width:
            100%;

        max-width:
            none !important;

        max-height:
            0;

        margin:
            0;

        padding:
            0;

        overflow:
            hidden;

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

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                20px,
                5.1vw,
                24px
            ) !important;

        font-weight:
            300;

        line-height:
            1.22 !important;

        letter-spacing:
            -.018em;

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateY(-8px);

        transition:
            max-height .58s cubic-bezier(.16,1,.3,1),
            margin-top .48s cubic-bezier(.16,1,.3,1),
            opacity .30s ease,
            transform .48s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .58s;
    }


    /* =====================================================
       DESCRIPTION — OPEN
    ====================================================== */

    .pen-history.is-history-open
    .pen-history__description {
        max-height:
            360px;

        margin-top:
            18px;

        opacity:
            1;

        visibility:
            visible;

        transform:
            translateY(0);

        transition-delay:
            0s;
    }


    /* =====================================================
       CHEVRON
       Siempre queda al extremo inferior derecho.
       Al abrir rota hacia arriba.
    ====================================================== */

    .pen-history__toggle {
        appearance:
            none;

        position:
            absolute;

        z-index:
            3;

        right:
            -4px;

        bottom:
            -5px;

        display:
            grid;

        place-items:
            center;

        width:
            36px;

        height:
            32px;

        margin:
            0;

        padding:
            0;

        color:
            #ffffff;

        background:
            transparent !important;

        border:
            0;

        border-radius:
            0;

        box-shadow:
            none;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;

        transition:
            opacity .2s ease;
    }


    .pen-history__toggle:hover,
    .pen-history__toggle:active,
    .pen-history__toggle:focus {
        color:
            #ffffff;

        background:
            transparent !important;

        box-shadow:
            none;
    }


    .pen-history__toggle:focus {
        outline:
            none;
    }


    .pen-history__toggle:focus-visible {
        outline:
            1px solid
            rgba(255,255,255,.72);

        outline-offset:
            2px;
    }


    .pen-history__toggle svg {
        width:
            18px;

        height:
            18px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            2.2;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        transform:
            rotate(0deg);

        transform-origin:
            center;

        transition:
            transform .42s cubic-bezier(.16,1,.3,1);
    }


    .pen-history.is-history-open
    .pen-history__toggle svg {
        transform:
            rotate(180deg);
    }

}


/* =========================================================
   NUESTRA HISTORIA — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-history {
        padding-top:
            40px !important;
    }


    .pen-history__visual {
        width:
            calc(100% - 16px) !important;

        margin-right:
            16px;

        margin-bottom:
            40px;

        aspect-ratio:
            1.18 / 1;

        border-radius:
            0
            18px
            18px
            0 !important;
    }


    .pen-history__content {
        padding-top:
            42px !important;
    }


    .pen-history__content-inner {
        width:
            calc(100% - 32px) !important;
    }


    .pen-history__eyebrow {
        gap:
            15px;

        margin-bottom:
            23px;
    }


    .pen-history__eyebrow-line {
        width:
            66px;

        height:
            2px;
    }


    .pen-history__eyebrow-text {
        font-size:
            15px;
    }


    .pen-history__title {
        font-size:
            20px !important;
    }


    .pen-history__description {
        font-size:
            19px !important;

        line-height:
            1.23 !important;
    }

}


/* =========================================================
   NUESTRA HISTORIA — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-history__description,
    .pen-history__toggle svg {
        transition:
            none !important;
    }

}


/* =========================================================
   NUESTRA MISIÓN — MOBILE CAROUSEL + ACCORDION FINAL

   Referencias:
   - nuestra-mision-colapsada
   - nuestra-mision-abierta

   Desktop permanece intacto.
========================================================= */


/* Elementos exclusivos de móvil */
.pen-commitment__title-mobile,
.pen-commitment__description-mobile,
.pen-commitment__toggle {
    display:
        none;
}


@media (max-width: 767px) {

    /* =====================================================
       SECCIÓN
    ====================================================== */

    .pen-commitment {
        --commitment-teal:
            #285766;

        width:
            100%;

        margin:
            0 0
            48px !important;

        padding:
            48px
            0
            0 !important;

        overflow:
            hidden;

        background:
            #ffffff;
    }


    .pen-commitment__layout {
        display:
            flex !important;

        flex-direction:
            column;

        width:
            100%;
    }


    /* =====================================================
       1. CARRUSEL HORIZONTAL

       El slider desktop se convierte en móvil en un
       scroll container nativo:
       - swipe
       - momentum
       - scroll-snap
       - sin arrows
    ====================================================== */

    .pen-commitment-slider {
        order:
            1;

        width:
            100% !important;

        height:
            auto !important;

        margin:
            0 !important;

        overflow:
            visible;
    }


    .pen-commitment-slider__viewport {
        position:
            relative;

        width:
            100%;

        height:
            auto !important;

        aspect-ratio:
            auto !important;

        display:
            flex;

        align-items:
            stretch;

        gap:
            14px;

        padding:
            0
            20px
            0
            0;

        overflow-x:
            auto;

        overflow-y:
            hidden;

        border-radius:
            0 !important;

        background:
            transparent;

        scroll-snap-type:
            x mandatory;

        scroll-padding-left:
            0;

        scroll-padding-right:
            20px;

        scrollbar-width:
            none;

        -webkit-overflow-scrolling:
            touch;

        overscroll-behavior-x:
            contain;

        touch-action:
            pan-x pan-y;
    }


    .pen-commitment-slider__viewport::-webkit-scrollbar {
        display:
            none;
    }


    /*
     * Todas las imágenes están presentes simultáneamente
     * en el carrusel móvil. Se neutralizan los estados
     * absolute / opacity del slider desktop.
     */
    .pen-commitment-slider__slide,
    .pen-commitment-slider__slide.is-active {
        position:
            relative !important;

        inset:
            auto !important;

        flex:
            0 0
            calc(100vw - 20px);

        width:
            calc(100vw - 20px);

        height:
            auto;

        aspect-ratio:
            1.22 / 1;

        margin:
            0;

        overflow:
            hidden;

        border-radius:
            20px;

        opacity:
            1 !important;

        visibility:
            visible !important;

        transform:
            none !important;

        transition:
            none !important;

        scroll-snap-align:
            start;

        scroll-snap-stop:
            always;

        background:
            #ececec;
    }


    .pen-commitment-slider__slide img {
        display:
            block;

        width:
            100%;

        height:
            100%;

        object-fit:
            cover;

        object-position:
            center center;

        border-radius:
            inherit;
    }


    /*
     * Mobile no utiliza arrows.
     */
    .pen-commitment-slider__controls {
        display:
            none !important;
    }


    /* =====================================================
       ESPACIO BLANCO ENTRE CARRUSEL Y COPY
    ====================================================== */

    .pen-commitment__content {
        order:
            2;

        position:
            relative;

        width:
            100%;

        height:
            auto !important;

        max-height:
            none !important;

        margin:
            54px
            0
            0;

        padding:
            49px
            20px
            17px !important;

        display:
            block;

        color:
            #ffffff;

        background:
            var(--commitment-teal);
    }


    .pen-commitment__content::before {
        display:
            none !important;
    }


    /* =====================================================
       DESACTIVAR REVEAL DESKTOP EN MOBILE

       El bloque debe mostrarse completo inmediatamente,
       igual que Nuestra Historia.
    ====================================================== */

    .pen-commitment.is-reveal-ready
    .pen-commitment__eyebrow,

    .pen-commitment.is-reveal-ready
    .pen-commitment__title,

    .pen-commitment.is-reveal-ready
    .pen-commitment__description {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    /* =====================================================
       EYEBROW
    ====================================================== */

    .pen-commitment__eyebrow {
        display:
            flex;

        align-items:
            center;

        gap:
            20px;

        margin:
            0
            0
            26px;

        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                16px,
                4.2vw,
                18px
            ) !important;

        font-weight:
            700;

        line-height:
            1;

        letter-spacing:
            -.015em;
    }


    .pen-commitment__eyebrow-line {
        flex:
            0 0 auto;

        width:
            82px;

        height:
            3px;

        border-radius:
            999px;

        background:
            #ffffff;
    }


    /* =====================================================
       TITLE MOBILE
    ====================================================== */

    .pen-commitment__title {
        width:
            calc(100% - 32px);

        max-width:
            none;

        margin:
            0 !important;

        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                21px,
                5.35vw,
                25px
            ) !important;

        font-weight:
            700;

        line-height:
            1.14 !important;

        letter-spacing:
            -.025em;
    }


    .pen-commitment__title-desktop {
        display:
            none;
    }


    .pen-commitment__title-mobile {
        display:
            inline;
    }


    /* =====================================================
       DESCRIPCIÓN DESKTOP
    ====================================================== */

    .pen-commitment__description--desktop {
        display:
            none !important;
    }


    /* =====================================================
       DESCRIPCIÓN MOBILE — COLLAPSED
    ====================================================== */

    .pen-commitment__description-mobile {
        display:
            block;

        width:
            100%;

        max-height:
            0;

        margin:
            0;

        padding:
            0;

        overflow:
            hidden;

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

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                20px,
                5.1vw,
                24px
            );

        font-weight:
            300;

        line-height:
            1.22;

        letter-spacing:
            -.018em;

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateY(-8px);

        transition:
            max-height .62s cubic-bezier(.16,1,.3,1),
            margin-top .50s cubic-bezier(.16,1,.3,1),
            opacity .30s ease,
            transform .50s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .62s;
    }


    .pen-commitment__description-mobile p {
        margin:
            0;
    }


    .pen-commitment__description-mobile p + p {
        margin-top:
            0;
    }


    /* =====================================================
       DESCRIPCIÓN MOBILE — OPEN
    ====================================================== */

    .pen-commitment.is-mission-open
    .pen-commitment__description-mobile {
        max-height:
            430px;

        margin-top:
            18px;

        opacity:
            1;

        visibility:
            visible;

        transform:
            translateY(0);

        transition-delay:
            0s;
    }


    /* =====================================================
       CHEVRON
    ====================================================== */

    .pen-commitment__toggle {
        appearance:
            none;

        position:
            absolute;

        z-index:
            3;

        right:
            8px;

        bottom:
            6px;

        display:
            grid;

        place-items:
            center;

        width:
            38px;

        height:
            34px;

        margin:
            0;

        padding:
            0;

        color:
            #ffffff;

        background:
            transparent !important;

        border:
            0;

        border-radius:
            0;

        box-shadow:
            none;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;
    }


    .pen-commitment__toggle:hover,
    .pen-commitment__toggle:active,
    .pen-commitment__toggle:focus {
        color:
            #ffffff;

        background:
            transparent !important;

        box-shadow:
            none;
    }


    .pen-commitment__toggle:focus {
        outline:
            none;
    }


    .pen-commitment__toggle:focus-visible {
        outline:
            1px solid
            rgba(255,255,255,.72);

        outline-offset:
            2px;
    }


    .pen-commitment__toggle svg {
        width:
            18px;

        height:
            18px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            2.2;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        transform:
            rotate(0deg);

        transform-origin:
            center;

        transition:
            transform .42s cubic-bezier(.16,1,.3,1);
    }


    .pen-commitment.is-mission-open
    .pen-commitment__toggle svg {
        transform:
            rotate(180deg);
    }

}


/* =========================================================
   NUESTRA MISIÓN — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-commitment {
        padding-top:
            40px !important;

        margin-bottom:
            40px !important;
    }


    .pen-commitment-slider__viewport {
        gap:
            12px;

        padding-right:
            16px;
    }


    .pen-commitment-slider__slide,
    .pen-commitment-slider__slide.is-active {
        flex-basis:
            calc(100vw - 16px);

        width:
            calc(100vw - 16px);

        aspect-ratio:
            1.18 / 1;

        border-radius:
            18px;
    }


    .pen-commitment__content {
        margin-top:
            46px;

        padding:
            42px
            16px
            16px !important;
    }


    .pen-commitment__eyebrow {
        gap:
            15px;

        margin-bottom:
            23px;

        font-size:
            15px !important;
    }


    .pen-commitment__eyebrow-line {
        width:
            66px;

        height:
            2px;
    }


    .pen-commitment__title {
        font-size:
            20px !important;
    }


    .pen-commitment__description-mobile {
        font-size:
            19px;

        line-height:
            1.23;
    }


    .pen-commitment__toggle {
        right:
            4px;

        bottom:
            4px;
    }

}


/* =========================================================
   NUESTRA MISIÓN — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-commitment__description-mobile,
    .pen-commitment__toggle svg {
        transition:
            none !important;
    }

}


/* =========================================================
   NUESTRA VISIÓN — MOBILE ACCORDION FINAL

   Referencias:
   - nuestra-visión-colapsada
   - nuestra-visión-abierta

   Desktop permanece intacto.
========================================================= */


/*
 * Desktop:
 * el toggle no se muestra.
 */
.pen-vision__toggle {
    display:
        none;
}


@media (max-width: 767px) {

    /* =====================================================
       SECCIÓN
    ====================================================== */

    .pen-vision {
        position:
            relative;

        width:
            100%;

        margin:
            0;

        padding:
            50px
            0
            52px !important;

        background:
            #f5f5f5;

        color:
            #101010;

        overflow:
            hidden;
    }


    .pen-vision__container {
        position:
            relative;

        width:
            calc(100% - 40px) !important;

        margin:
            0 auto;

        padding-bottom:
            0;
    }


    /* =====================================================
       EYEBROW
    ====================================================== */

    .pen-vision__eyebrow {
        display:
            flex;

        align-items:
            center;

        gap:
            20px;

        margin:
            0
            0
            27px;

        color:
            #111111;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                16px,
                4.2vw,
                18px
            ) !important;

        font-weight:
            700;

        line-height:
            1;

        letter-spacing:
            -.015em;
    }


    .pen-vision__eyebrow-line {
        flex:
            0 0 auto;

        width:
            82px;

        height:
            3px;

        background:
            #111111;
    }


    .pen-vision__eyebrow-text {
        color:
            #111111;
    }


    /* =====================================================
       TITLE
    ====================================================== */

    .pen-vision__title {
        width:
            calc(100% - 34px);

        max-width:
            520px;

        margin:
            0 !important;

        color:
            #111111;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                21px,
                5.35vw,
                25px
            ) !important;

        font-weight:
            700;

        line-height:
            1.14 !important;

        letter-spacing:
            -.025em;
    }


    .pen-vision__title br {
        display:
            none;
    }


    /* =====================================================
       DESCRIPTION — COLLAPSED
    ====================================================== */

    .pen-vision__description {
        width:
            100%;

        max-width:
            none;

        max-height:
            0;

        margin:
            0;

        padding:
            0;

        overflow:
            hidden;

        color:
            #111111;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                20px,
                5.1vw,
                24px
            ) !important;

        font-weight:
            400;

        line-height:
            1.22 !important;

        letter-spacing:
            -.018em;

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateY(-8px);

        transition:
            max-height .62s cubic-bezier(.16,1,.3,1),
            margin-top .50s cubic-bezier(.16,1,.3,1),
            opacity .30s ease,
            transform .50s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .62s;
    }


    .pen-vision__description p {
        margin:
            0;
    }


    .pen-vision__description p + p {
        margin-top:
            0;
    }


    /* =====================================================
       DESCRIPTION — OPEN
    ====================================================== */

    .pen-vision.is-vision-open
    .pen-vision__description {
        max-height:
            620px;

        margin-top:
            20px;

        opacity:
            1;

        visibility:
            visible;

        transform:
            translateY(0);

        transition-delay:
            0s;
    }


    /* =====================================================
       CHEVRON
    ====================================================== */

    .pen-vision__toggle {
        appearance:
            none;

        position:
            absolute;

        z-index:
            3;

        right:
            -4px;

        bottom:
            -39px;

        display:
            grid;

        place-items:
            center;

        width:
            38px;

        height:
            34px;

        margin:
            0;

        padding:
            0;

        color:
            #111111;

        background:
            transparent !important;

        border:
            0;

        border-radius:
            0;

        box-shadow:
            none;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;
    }


    .pen-vision__toggle:hover,
    .pen-vision__toggle:active,
    .pen-vision__toggle:focus {
        color:
            #111111;

        background:
            transparent !important;

        box-shadow:
            none;
    }


    .pen-vision__toggle:focus {
        outline:
            none;
    }


    .pen-vision__toggle:focus-visible {
        outline:
            1px solid
            rgba(0,0,0,.45);

        outline-offset:
            2px;
    }


    .pen-vision__toggle svg {
        width:
            18px;

        height:
            18px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            2.2;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        transform:
            rotate(0deg);

        transform-origin:
            center;

        transition:
            transform .42s cubic-bezier(.16,1,.3,1);
    }


    .pen-vision.is-vision-open
    .pen-vision__toggle svg {
        transform:
            rotate(180deg);
    }

}


/* =========================================================
   NUESTRA VISIÓN — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-vision {
        padding:
            44px
            0
            48px !important;
    }


    .pen-vision__container {
        width:
            calc(100% - 32px) !important;
    }


    .pen-vision__eyebrow {
        gap:
            15px;

        margin-bottom:
            23px;

        font-size:
            15px !important;
    }


    .pen-vision__eyebrow-line {
        width:
            66px;

        height:
            2px;
    }


    .pen-vision__title {
        font-size:
            20px !important;
    }


    .pen-vision__description {
        font-size:
            19px !important;

        line-height:
            1.23 !important;
    }


    .pen-vision__toggle {
        right:
            -3px;

        bottom:
            -35px;
    }

}


/* =========================================================
   NUESTRA VISIÓN — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-vision__description,
    .pen-vision__toggle svg {
        transition:
            none !important;
    }

}


/* =========================================================
   DESARROLLOS VERTICALES — MOBILE AJUSTE TÍTULO
   2026-08-31

   Solo móvil:
   - Título limitado visualmente a 2–3 líneas.
========================================================= */

@media (max-width: 767px) {

    .pen-developments__heading-wrap {
        width:
            calc(100% - 40px);

        padding:
            52px
            0
            36px;
    }


    .pen-developments__heading {
        max-width:
            560px;

        margin:
            0 auto;

        font-size:
            clamp(
                24px,
                6vw,
                29px
            );

        line-height:
            1.03;

        letter-spacing:
            -.018em;

        text-align:
            center;

        text-wrap:
            balance;
    }


}


@media (max-width: 390px) {

    .pen-developments__heading-wrap {
        width:
            calc(100% - 32px);
    }


    .pen-developments__heading {
        font-size:
            23px;

        line-height:
            1.04;
    }

}


/* =========================================================
   MAPA — MOBILE DROPDOWN FINAL
   2026-08-31

   Desktop:
   - conserva cards + hover.

   Mobile <=800:
   - dropdown como único selector.
   - selección inicial Cancún.
   - badge solo "+ cifra".
   - resumen sobre el mapa.
========================================================= */


/* Elementos mobile ocultos por default. */
.mexico-map__eyebrow-mobile,
.mexico-map__mobile-select {
    display:
        none;
}


@media (max-width: 800px) {

    /* =====================================================
       SECTION
    ====================================================== */

    .mexico-map {
        overflow:
            visible;

        background:
            #ffffff;
    }


    .mexico-map__container {
        width:
            100% !important;

        max-width:
            none;

        padding:
            50px
            0
            72px !important;
    }


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

    .mexico-map__header {
        width:
            calc(100% - 40px);

        margin:
            0 auto
            66px;

        text-align:
            left;
    }


    .mexico-map__eyebrow {
        justify-content:
            flex-start;

        gap:
            20px;

        margin:
            0;
    }


    .mexico-map__eyebrow-line,
    .mexico-map__eyebrow > span {
        flex:
            0 0 auto;

        width:
            82px;

        height:
            3px;

        background:
            #111111;
    }


    .mexico-map__eyebrow p {
        margin:
            0;

        color:
            #111111;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                16px,
                4.2vw,
                19px
            );

        font-weight:
            700;

        line-height:
            1;

        letter-spacing:
            -.015em;

        text-transform:
            uppercase;

        white-space:
            nowrap;
    }


    .mexico-map__eyebrow-desktop {
        display:
            none;
    }


    .mexico-map__eyebrow-mobile {
        display:
            inline;
    }


    /*
     * El titular desktop no aparece en la composición móvil.
     */
    .mexico-map__header h2 {
        display:
            none;
    }


    /* =====================================================
       MAP MAIN
    ====================================================== */

    .mexico-map__main {
        position:
            relative;

        display:
            block;

        width:
            100%;

        min-height:
            0;

        margin:
            0;

        padding:
            0;
    }


    .mexico-map__stage {
        position:
            relative;

        width:
            100%;

        min-width:
            0;

        margin:
            0;

        padding:
            30px
            0
            0;
    }


    .mexico-map__image {
        display:
            block;

        width:
            100%;

        height:
            auto;

        max-width:
            none;

        object-fit:
            contain;

        object-position:
            center;

        transform:
            scale(1.02);

        transform-origin:
            center;
    }


    /* =====================================================
       SUMMARY — SUPERIOR DERECHA
    ====================================================== */

    .mexico-map__summary {
        position:
            absolute;

        z-index:
            4;

        top:
            -6px;

        right:
            18px;

        width:
            150px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            center;

        text-align:
            center;

        pointer-events:
            none;
    }


    .mexico-map__summary-title,
    .mexico-map__summary-number,
    .mexico-map__summary-text {
        font-family:
            var(--font-display);

        font-weight:
            500;

        font-synthesis:
            none;
    }


    .mexico-map__summary-title {
        margin:
            0;

        color:
            var(--map-navy);

        font-size:
            26px !important;

        line-height:
            1;
    }


    .mexico-map__summary-number {
        margin:
            7px
            0
            4px;

        color:
            var(--map-gold);

        font-size:
            29px !important;

        line-height:
            .92;
    }


    .mexico-map__summary-text {
        margin:
            0;

        color:
            var(--map-gold);

        font-size:
            25px !important;

        line-height:
            1.03;
    }


    .mexico-map__button {
        display:
            none;
    }


    /* =====================================================
       BADGE MÓVIL
       Únicamente "+ cifra".
    ====================================================== */

    .mexico-map__popover {
        width:
            max-content;

        min-width:
            94px;

        min-height:
            42px;

        max-width:
            110px;

        padding:
            7px
            15px;

        justify-content:
            center;

        gap:
            6px;

        color:
            #ffffff;

        background:
            var(--map-navy);

        border:
            1.5px solid
            #ffffff;

        border-radius:
            999px;

        box-shadow:
            4px 7px 0
            rgba(0,0,0,.13),
            0 8px 16px
            rgba(0,0,0,.15);

        /*
         * El centro del badge se mantiene siempre
         * dentro del viewport del mapa.
         */
        left:
            clamp(
                52px,
                var(--marker-x),
                calc(100% - 52px)
            );

        top:
            var(--marker-y);

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translate(-42%, -50%)
            scale(.96);

        transition:
            opacity .28s ease,
            transform .40s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .40s;
    }


    .mexico-map__popover.is-visible {
        opacity:
            1;

        visibility:
            visible;

        transform:
            translate(-50%, -50%)
            scale(1);

        transition-delay:
            0s;
    }


    .mexico-map__popover-state {
        display:
            none;
    }


    .mexico-map__popover-count {
        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            24px !important;

        font-weight:
            500;

        line-height:
            1;

        letter-spacing:
            0;
    }


    /* =====================================================
       DESKTOP CARDS — OCULTAS EN MOBILE
    ====================================================== */

    .mexico-map__regions {
        display:
            none !important;
    }


    /* =====================================================
       DROPDOWN MOBILE
    ====================================================== */

    .mexico-map__mobile-select {
        position:
            relative;

        z-index:
            8;

        display:
            block;

        width:
            min(
                calc(100% - 112px),
                354px
            );

        min-width:
            min(
                280px,
                calc(100% - 40px)
            );

        max-width:
            calc(100% - 40px);

        margin:
            36px
            auto
            0;
    }


    .mexico-map__select-trigger {
        appearance:
            none;

        position:
            relative;

        z-index:
            2;

        width:
            100%;

        min-height:
            54px;

        margin:
            0;

        padding:
            10px
            24px;

        display:
            flex;

        align-items:
            center;

        justify-content:
            space-between;

        gap:
            18px;

        color:
            #ffffff;

        background:
            var(--map-teal);

        border:
            0;

        border-radius:
            9px;

        box-shadow:
            none;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                20px,
                5vw,
                25px
            );

        font-weight:
            400;

        line-height:
            1;

        text-align:
            left;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;

        transition:
            border-radius .28s ease;
    }


    .mexico-map__mobile-select.is-open
    .mexico-map__select-trigger {
        border-radius:
            9px
            9px
            0
            0;
    }


    .mexico-map__select-trigger svg {
        flex:
            0 0 auto;

        width:
            18px;

        height:
            18px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            2.2;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        transform:
            rotate(0deg);

        transition:
            transform .34s cubic-bezier(.16,1,.3,1);
    }


    .mexico-map__mobile-select.is-open
    .mexico-map__select-trigger svg {
        transform:
            rotate(180deg);
    }


    .mexico-map__select-trigger:focus-visible {
        outline:
            2px solid
            rgba(40,85,101,.25);

        outline-offset:
            3px;
    }


    /* =====================================================
       OPTIONS LIST
    ====================================================== */

    .mexico-map__select-list {
        width:
            100%;

        max-height:
            0;

        overflow:
            hidden;

        background:
            #f5f5f5;

        opacity:
            0;

        visibility:
            hidden;

        pointer-events:
            none;

        transform:
            translateY(-5px);

        transition:
            max-height .46s cubic-bezier(.16,1,.3,1),
            opacity .24s ease,
            transform .36s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .46s;
    }


    .mexico-map__mobile-select.is-open
    .mexico-map__select-list {
        max-height:
            520px;

        opacity:
            1;

        visibility:
            visible;

        pointer-events:
            auto;

        transform:
            translateY(0);

        transition-delay:
            0s;
    }


    .mexico-map__select-option {
        appearance:
            none;

        width:
            100%;

        min-height:
            56px;

        margin:
            0;

        padding:
            11px
            26px;

        display:
            flex;

        align-items:
            center;

        color:
            #c3c3c3;

        background:
            #f5f5f5;

        border:
            0;

        border-top:
            1px solid
            rgba(255,255,255,.86);

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                19px,
                4.8vw,
                24px
            );

        font-weight:
            300;

        line-height:
            1;

        text-align:
            left;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;

        transition:
            color .18s ease,
            background-color .18s ease;
    }


    /*
     * La opción actualmente seleccionada ya aparece
     * en el trigger y no se repite dentro de la lista.
     */
    .mexico-map__select-option.is-active {
        display:
            none;
    }


    .mexico-map__select-option:hover,
    .mexico-map__select-option:focus-visible {
        color:
            #6f6f6f;

        background:
            #eeeeee;

        outline:
            none;
    }

}


@media (max-width: 390px) {

    .mexico-map__container {
        padding-top:
            44px !important;
    }


    .mexico-map__header {
        width:
            calc(100% - 32px);

        margin-bottom:
            54px;
    }


    .mexico-map__eyebrow {
        gap:
            15px;
    }


    .mexico-map__eyebrow-line,
    .mexico-map__eyebrow > span {
        width:
            66px;

        height:
            2px;
    }


    .mexico-map__eyebrow p {
        font-size:
            15px;
    }


    .mexico-map__summary {
        right:
            12px;

        width:
            128px;
    }


    .mexico-map__summary-title {
        font-size:
            23px !important;
    }


    .mexico-map__summary-number {
        font-size:
            27px !important;
    }


    .mexico-map__summary-text {
        font-size:
            22px !important;
    }


    .mexico-map__mobile-select {
        width:
            calc(100% - 80px);

        min-width:
            0;

        max-width:
            none;

        margin-top:
            30px;
    }


    .mexico-map__select-trigger {
        min-height:
            52px;

        padding-right:
            20px;

        padding-left:
            20px;

        font-size:
            20px;
    }


    .mexico-map__select-option {
        min-height:
            52px;

        padding-right:
            20px;

        padding-left:
            20px;

        font-size:
            19px;
    }

}


@media (prefers-reduced-motion: reduce) {

    .mexico-map__select-list,
    .mexico-map__select-trigger svg {
        transition:
            none !important;
    }

}


/* =========================================================
   MAPA — FIX TÍTULO MOBILE EYEBROW
   2026-08-31

   Corrige la colisión con la regla base:
   .mexico-map__eyebrow span

   Solo la línea decorativa debe tener width/height/background.
========================================================= */

.mexico-map__eyebrow
.mexico-map__eyebrow-desktop,

.mexico-map__eyebrow
.mexico-map__eyebrow-mobile {
    width:
        auto !important;

    height:
        auto !important;

    min-width:
        0 !important;

    background:
        transparent !important;
}


@media (max-width: 800px) {

    .mexico-map__eyebrow { gap:0; }
    .mexico-map__eyebrow p { min-width:0; white-space:normal; line-height:1.25; }


    .mexico-map__eyebrow
    .mexico-map__eyebrow-mobile {
        display:
            inline !important;

        width:
            auto !important;

        height:
            auto !important;

        color:
            #111111 !important;

        background:
            transparent !important;

        font-family:
            var(--font-ui);

        font-size:
            inherit;

        font-weight:
            700;

        line-height:
            inherit;

        letter-spacing:
            inherit;

        white-space:
            normal;
    }


    .mexico-map__eyebrow
    .mexico-map__eyebrow-desktop {
        display:
            none !important;
    }


    .mexico-map__eyebrow
    .mexico-map__eyebrow-line {
        display:
            none;

        flex:
            0 0 auto;

        width:
            82px !important;

        height:
            3px !important;

        background:
            #111111 !important;
    }

}


@media (max-width: 390px) {

    .mexico-map__eyebrow
    .mexico-map__eyebrow-line {
        width:
            66px !important;

        height:
            2px !important;
    }

}


/* =========================================================
   DESARROLLOS MÁS RECIENTES — MOBILE CAROUSEL FINAL
   2026-08-31

   Referencia:
   - Carrusel horizontal
   - Card principal ~70% del viewport
   - Siguiente card parcialmente visible
   - CTA centrado debajo
   - Swipe nativo + scroll snap

   Desktop permanece intacto.
========================================================= */

@media (max-width: 767px) {

    /* =====================================================
       SECTION
    ====================================================== */

    .pen-recent {
        padding:
            26px
            0
            34px !important;

        background:
            var(--recent-bg);
    }


    /*
     * El carrusel necesita aprovechar todo el viewport
     * para mostrar parcialmente la siguiente card.
     */
    .pen-recent__container {
        width:
            100% !important;

        margin:
            0 !important;
    }


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

    .pen-recent__header {
        width:
            calc(100% - 40px);

        margin:
            0
            auto
            44px !important;
    }


    .pen-recent__title {
        margin:
            0
            0
            22px;

        color:
            #111111;

        font-size:
            clamp(
                23px,
                5.8vw,
                27px
            ) !important;

        font-weight:
            700;

        line-height:
            1.1;

        letter-spacing:
            -.025em;
    }


    .pen-recent__subtitle {
        max-width:
            520px;

        margin:
            0;

        color:
            #111111;

        font-size:
            clamp(
                20px,
                5vw,
                24px
            ) !important;

        font-weight:
            400;

        line-height:
            1.18 !important;

        letter-spacing:
            -.02em;
    }


    /* =====================================================
       HORIZONTAL CAROUSEL
    ====================================================== */

    .pen-recent__grid {
        display:
            flex !important;

        grid-template-columns:
            none !important;

        align-items:
            stretch;

        gap:
            12px !important;

        width:
            100%;

        margin:
            0;

        padding:
            0
            20px
            0
            0;

        overflow-x:
            auto;

        overflow-y:
            hidden;

        scroll-snap-type:
            x mandatory;

        scroll-padding-left:
            0;

        scroll-padding-right:
            20px;

        overscroll-behavior-x:
            contain;

        -webkit-overflow-scrolling:
            touch;

        scrollbar-width:
            none;

        touch-action:
            pan-x pan-y;
    }


    .pen-recent__grid::-webkit-scrollbar {
        display:
            none;
    }


    /* =====================================================
       CARDS
    ====================================================== */

    .pen-recent-card {
        flex:
            0
            0
            clamp(
                268px,
                70vw,
                408px
            );

        width:
            clamp(
                268px,
                70vw,
                408px
            );

        min-width:
            0;

        aspect-ratio:
            3 / 4 !important;

        border-radius:
            9px;

        scroll-snap-align:
            start;

        scroll-snap-stop:
            always;
    }


    /*
     * En móvil no queremos arrastrar el enlace/imagen
     * como elemento nativo; el gesto pertenece al carrusel.
     */
    .pen-recent-card,
    .pen-recent-card__image,
    .pen-recent-card__logo {
        -webkit-user-drag:
            none;
    }


    .pen-recent-card__image {
        transform:
            scale(1) !important;
    }


    /*
     * Logo centrado como en la referencia.
     */
    .pen-recent-card__brand {
        top:
            53%;

        width:
            100%;
    }


    .pen-recent-card__logo {
        width:
            48%;

        max-height:
            28%;
    }


    /* =====================================================
       CTA
    ====================================================== */

    .pen-recent__footer {
        width:
            100%;

        margin:
            42px
            0
            0 !important;

        display:
            flex;

        justify-content:
            center;
    }


    .pen-recent__cta {
        min-width:
            202px;

        min-height:
            56px;

        padding:
            10px
            28px;

        gap:
            14px;

        color:
            #0563d8;

        background:
            transparent;

        border:
            1.5px solid
            #0563d8;

        border-radius:
            5px;

        font-size:
            20px;

        font-weight:
            500;
    }


    .pen-recent__cta svg {
        width:
            16px;

        height:
            16px;
    }

}


/* =========================================================
   DESARROLLOS MÁS RECIENTES — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-recent {
        padding-top:
            24px !important;
    }


    .pen-recent__header {
        width:
            calc(100% - 32px);

        margin-bottom:
            36px !important;
    }


    .pen-recent__title {
        margin-bottom:
            18px;

        font-size:
            22px !important;
    }


    .pen-recent__subtitle {
        font-size:
            19px !important;

        line-height:
            1.2 !important;
    }


    .pen-recent__grid {
        gap:
            10px !important;

        padding-right:
            16px;
    }


    .pen-recent-card {
        flex-basis:
            clamp(
                250px,
                73vw,
                286px
            );

        width:
            clamp(
                250px,
                73vw,
                286px
            );
    }


    .pen-recent__footer {
        margin-top:
            34px !important;
    }


    .pen-recent__cta {
        min-width:
            190px;

        min-height:
            52px;

        font-size:
            18px;
    }

}


/* =========================================================
   DESARROLLOS MÁS RECIENTES — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-recent__grid {
        scroll-behavior:
            auto;
    }

}


/* =========================================================
   MODELOS DE NEGOCIO — MOBILE ACCORDION + CAROUSEL FINAL
   2026-08-31

   Móvil:
   - inicia colapsado;
   - chevron abre/cierra;
   - cards internas en carrusel horizontal;
   - RLP aparece primero;
   - segunda card queda parcialmente visible;
   - swipe + scroll snap.

   Desktop permanece intacto.
========================================================= */

.pen-business__eyebrow-mobile,
.pen-business__toggle {
    display:
        none;
}


@media (max-width: 767px) {

    /* =====================================================
       SECTION / CONTAINER
    ====================================================== */

    .pen-business {
        position:
            relative;

        padding:
            50px
            0
            50px !important;

        overflow:
            hidden;

        background:
            var(--business-bg);
    }


    .pen-business__frame {
        display:
            none !important;
    }


    .pen-business__container {
        width:
            100% !important;

        margin:
            0 !important;
    }


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

    .pen-business__header {
        position:
            relative;

        width:
            calc(100% - 40px);

        margin:
            0 auto !important;

        padding-bottom:
            22px;

        text-align:
            left;
    }


    /*
     * Neutraliza el reveal desktop en móvil para evitar
     * estados ocultos mientras el acordeón está cerrado.
     */
    .pen-business.is-reveal-ready
    .pen-business__eyebrow,

    .pen-business.is-reveal-ready
    .pen-business__title,

    .pen-business.is-reveal-ready
    .pen-business-card {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    .pen-business__eyebrow {
        display:
            flex;

        align-items:
            center;

        justify-content:
            flex-start;

        gap:
            20px;

        margin:
            0
            0
            26px;

        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                16px,
                4.2vw,
                18px
            ) !important;

        font-weight:
            700;

        line-height:
            1;

        letter-spacing:
            -.015em;
    }


    .pen-business__eyebrow-line {
        flex:
            0 0 auto;

        width:
            82px;

        height:
            3px;

        background:
            #ffffff;
    }


    .pen-business__eyebrow-desktop {
        display:
            none;
    }


    .pen-business__eyebrow-mobile {
        display:
            inline;
    }


    .pen-business__title {
        width:
            calc(100% - 30px);

        margin:
            0 !important;

        color:
            #ffffff;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                20px,
                5.1vw,
                24px
            ) !important;

        font-weight:
            300;

        line-height:
            1.18 !important;

        letter-spacing:
            -.018em;
    }


    .pen-business__title br {
        display:
            none;
    }


    /* =====================================================
       TOGGLE
    ====================================================== */

    .pen-business__toggle {
        appearance:
            none;

        position:
            absolute;

        right:
            -4px;

        bottom:
            -4px;

        z-index:
            4;

        display:
            grid;

        place-items:
            center;

        width:
            38px;

        height:
            34px;

        margin:
            0;

        padding:
            0;

        color:
            #ffffff;

        background:
            transparent !important;

        border:
            0;

        box-shadow:
            none;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;
    }


    .pen-business__toggle:hover,
    .pen-business__toggle:active,
    .pen-business__toggle:focus {
        color:
            #ffffff;

        background:
            transparent !important;

        box-shadow:
            none;
    }


    .pen-business__toggle:focus {
        outline:
            none;
    }


    .pen-business__toggle:focus-visible {
        outline:
            1px solid
            rgba(255,255,255,.75);

        outline-offset:
            2px;
    }


    .pen-business__toggle svg {
        width:
            18px;

        height:
            18px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            2.2;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;

        transform:
            rotate(0deg);

        transform-origin:
            center;

        transition:
            transform .42s cubic-bezier(.16,1,.3,1);
    }


    .pen-business.is-business-open
    .pen-business__toggle svg {
        transform:
            rotate(180deg);
    }


    /* =====================================================
       CAROUSEL CONTAINER — COLLAPSED
    ====================================================== */

    .pen-business__grid {
        display:
            flex !important;

        grid-template-columns:
            none !important;

        align-items:
            stretch;

        gap:
            12px !important;

        width:
            100%;

        max-height:
            0;

        margin:
            0;

        padding:
            0
            20px
            0
            20px;

        overflow-x:
            auto;

        overflow-y:
            hidden;

        scroll-snap-type:
            x mandatory;

        scroll-padding-left:
            20px;

        scroll-padding-right:
            20px;

        overscroll-behavior-x:
            contain;

        -webkit-overflow-scrolling:
            touch;

        scrollbar-width:
            none;

        touch-action:
            pan-x pan-y;

        opacity:
            0;

        visibility:
            hidden;

        pointer-events:
            none;

        transform:
            translateY(-8px);

        transition:
            max-height .62s cubic-bezier(.16,1,.3,1),
            margin-top .52s cubic-bezier(.16,1,.3,1),
            opacity .28s ease,
            transform .48s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .62s;
    }


    .pen-business__grid::-webkit-scrollbar {
        display:
            none;
    }


    /* =====================================================
       OPEN
    ====================================================== */

    .pen-business.is-business-open
    .pen-business__grid {
        max-height:
            410px;

        margin-top:
            14px;

        opacity:
            1;

        visibility:
            visible;

        pointer-events:
            auto;

        transform:
            translateY(0);

        transition-delay:
            0s;
    }


    /*
     * Cuando abre, se añade aire inferior para el chevron.
     */
    .pen-business.is-business-open {
        padding-bottom:
            62px !important;
    }


    /* =====================================================
       CARDS
    ====================================================== */

    .pen-business-card {
        flex:
            0
            0
            clamp(
                300px,
                86vw,
                520px
            );

        width:
            clamp(
                300px,
                86vw,
                520px
            );

        min-width:
            0;

        min-height:
            280px;

        margin:
            0;

        padding:
            34px
            32px
            30px;

        display:
            flex;

        flex-direction:
            column;

        border-radius:
            20px;

        scroll-snap-align:
            start;

        scroll-snap-stop:
            always;

        transform:
            none !important;

        opacity:
            1 !important;
    }


    /*
     * Referencia móvil:
     * RLP aparece como primera card del carrusel.
     */
    .pen-business-card:nth-child(2) {
        order:
            1;
    }


    .pen-business-card:nth-child(1) {
        order:
            2;
    }


    /* =====================================================
       BRANDS
    ====================================================== */

    .pen-business-card__brand {
        min-height:
            54px;

        justify-content:
            center;

        margin-bottom:
            22px;
    }


    .pen-business-card__brand--premium {
        justify-content:
            center;
    }


    .pen-business-card__rlp-mark {
        justify-content:
            center;
    }


    .pen-business-card__premium-name {
        font-size:
            25px;
    }


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

    .pen-business-card__copy {
        max-width:
            none;

        margin:
            0
            0
            22px;

        color:
            #0b0b0d;

        font-size:
            clamp(
                20px,
                5vw,
                24px
            ) !important;

        font-weight:
            400;

        line-height:
            1.2 !important;

        letter-spacing:
            -.02em;
    }


    .pen-business-card__copy strong {
        font-weight:
            700;
    }


    /* =====================================================
       CTA MÓVIL — TEXT LINK
    ====================================================== */

    .pen-business-card__cta {
        min-width:
            0;

        min-height:
            0;

        margin:
            auto auto
            0;

        padding:
            0;

        color:
            var(--business-blue);

        background:
            transparent !important;

        border:
            0;

        border-radius:
            0;

        font-size:
            18px;

        font-weight:
            400;
    }


    .pen-business-card__cta span {
        text-decoration:
            underline;

        text-underline-offset:
            4px;
    }


    .pen-business-card__cta svg {
        display:
            none;
    }

}


/* =========================================================
   MODELOS DE NEGOCIO — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-business {
        padding:
            44px
            0
            46px !important;
    }


    .pen-business__header {
        width:
            calc(100% - 32px);
    }


    .pen-business__eyebrow {
        gap:
            15px;

        margin-bottom:
            23px;

        font-size:
            15px !important;
    }


    .pen-business__eyebrow-line {
        width:
            66px;

        height:
            2px;
    }


    .pen-business__title {
        font-size:
            19px !important;

        line-height:
            1.2 !important;
    }


    .pen-business__grid {
        gap:
            10px !important;

        padding-right:
            16px;

        padding-left:
            16px;

        scroll-padding-left:
            16px;

        scroll-padding-right:
            16px;
    }


    .pen-business-card {
        flex-basis:
            clamp(
                286px,
                88vw,
                344px
            );

        width:
            clamp(
                286px,
                88vw,
                344px
            );

        min-height:
            270px;

        padding:
            30px
            28px
            28px;

        border-radius:
            18px;
    }


    .pen-business-card__copy {
        font-size:
            19px !important;
    }


    .pen-business-card__cta {
        font-size:
            17px;
    }

}


/* =========================================================
   MODELOS DE NEGOCIO — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-business__grid,
    .pen-business__toggle svg {
        transition:
            none !important;
    }

}


/* =========================================================
   COMITÉ DIRECTIVO — MOBILE CAROUSEL FINAL
   2026-08-31

   - Una card completa + ~media card siguiente.
   - Swipe horizontal + scroll snap.
   - Tap revela descripción dentro de la misma card.
   - Modal oculto en móvil.
   - CTA "Conócenos" debajo.
========================================================= */

.pen-committee-mobile,
.pen-committee__cta-wrap--mobile {
    display:
        none;
}


@media (max-width: 767px) {

    /* =====================================================
       MOBILE HORIZONTAL OVERFLOW GUARD

       Evita que carruseles, transforms o elementos con 100vw
       aumenten el ancho real del documento.
       Los scrolls horizontales internos siguen funcionando.
    ====================================================== */

    html,
    body {
        width:
            100%;

        max-width:
            100%;

        overflow-x:
            hidden !important;
    }


    #peninsula-page-content {
        width:
            100%;

        max-width:
            100%;

        overflow-x:
            hidden;
    }


    @supports (overflow: clip) {

        html,
        body,
        #peninsula-page-content {
            overflow-x:
                clip !important;
        }

    }


    .pen-commitment,
    .pen-recent,
    .pen-business,
    .mexico-map,
    .pen-committee,
    .pen-testimonials {
        max-width:
            100%;

        min-width:
            0;
    }


    /* =====================================================
       SECTION
    ====================================================== */

    .pen-committee {
        padding:
            42px
            0
            56px !important;

        overflow:
            hidden;

        background:
            #ffffff;
    }


    .pen-committee__container {
        width:
            100% !important;

        margin:
            0 !important;
    }


    /* Header conserva margen editorial */
    .pen-committee__header {
        width:
            calc(100% - 40px);

        margin:
            0
            auto
            34px !important;
    }


    .pen-committee__eyebrow {
        gap:
            18px;

        margin-bottom:
            21px;

        font-size:
            15px !important;
    }


    .pen-committee__eyebrow-line {
        width:
            70px;

        height:
            2px;
    }


    .pen-committee__title {
        max-width:
            480px;

        font-size:
            clamp(
                25px,
                6.6vw,
                31px
            ) !important;

        line-height:
            1.08;
    }


    /*
     * En móvil se reemplazan imagen general, caption y copy
     * por las cards individuales.
     */
    .pen-committee__figure,
    .pen-committee__description {
        display:
            none !important;
    }


    /*
     * Neutralizar reveal desktop.
     */
    .pen-committee.is-reveal-ready
    .pen-committee__eyebrow,

    .pen-committee.is-reveal-ready
    .pen-committee__title,

    .pen-committee.is-reveal-ready
    .pen-committee__cta-wrap {

        opacity:
            1 !important;

        transform:
            none !important;

        transition:
            none !important;
    }


    /* =====================================================
       CAROUSEL
    ====================================================== */

    .pen-committee-mobile {
        display:
            block;

        width:
            100%;

        min-width:
            0;
    }


    .pen-committee-mobile__track {
        display:
            flex;

        align-items:
            stretch;

        gap:
            12px;

        width:
            100%;

        margin:
            0;

        padding:
            0
            20px
            0
            0;

        overflow-x:
            auto;

        overflow-y:
            hidden;

        scroll-snap-type:
            x mandatory;

        scroll-padding-left:
            0;

        scroll-padding-right:
            20px;

        overscroll-behavior-x:
            contain;

        -webkit-overflow-scrolling:
            touch;

        scrollbar-width:
            none;

        touch-action:
            pan-x pan-y;
    }


    .pen-committee-mobile__track::-webkit-scrollbar {
        display:
            none;
    }


    /* =====================================================
       CARD
       68vw deja visible aprox. 40–50% de la siguiente.
    ====================================================== */

    .pen-committee-mobile-card {
        flex:
            0
            0
            clamp(
                256px,
                68vw,
                398px
            );

        width:
            clamp(
                256px,
                68vw,
                398px
            );

        min-width:
            0;

        aspect-ratio:
            3 / 4;

        margin:
            0;

        overflow:
            hidden;

        border-radius:
            10px;

        background:
            #01264f;

        scroll-snap-align:
            start;

        scroll-snap-stop:
            always;
    }


    .pen-committee-mobile-card__button {
        appearance:
            none;

        width:
            100%;

        height:
            100%;

        margin:
            0;

        padding:
            16px
            16px
            22px;

        display:
            grid;

        grid-template-rows:
            minmax(0, 1fr)
            auto;

        gap:
            0;

        color:
            #ffffff;

        background:
            transparent !important;

        border:
            0;

        text-align:
            center;

        cursor:
            pointer;

        -webkit-tap-highlight-color:
            transparent;
    }


    .pen-committee-mobile-card__button:focus-visible {
        outline:
            2px solid
            rgba(255,255,255,.85);

        outline-offset:
            -4px;
    }


    /* =====================================================
       MEDIA / FRONT / BIO
    ====================================================== */

    .pen-committee-mobile-card__media {
        position:
            relative;

        display:
            block;

        width:
            100%;

        min-height:
            0;

        overflow:
            hidden;

        border-radius:
            16px;

        background:
            #f5f5f5;
    }


    .pen-committee-mobile-card__photo,
    .pen-committee-mobile-card__bio {
        position:
            absolute;

        inset:
            0;

        display:
            flex;

        width:
            100%;

        height:
            100%;

        transition:
            opacity .32s ease,
            transform .46s cubic-bezier(.16,1,.3,1),
            visibility 0s linear .46s;
    }


    .pen-committee-mobile-card__photo {
        opacity:
            1;

        visibility:
            visible;

        transform:
            translateX(0);
    }


    .pen-committee-mobile-card__photo img {
        display:
            block;

        width:
            100%;

        height:
            100%;

        object-fit:
            cover;

        object-position:
            center top;

        -webkit-user-drag:
            none;
    }


    .pen-committee-mobile-card__bio {
        padding:
            30px
            24px
            48px;

        flex-direction:
            column;

        align-items:
            center;

        justify-content:
            center;

        overflow-y:
            auto;

        color:
            #07152d;

        background:
            #f7f7f7;

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                15px,
                3.9vw,
                18px
            );

        font-weight:
            400;

        line-height:
            1.3;

        text-align:
            center;

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateX(14px);
    }


    .pen-committee-mobile-card__quote {
        display:
            block;

        margin-bottom:
            12px;

        color:
            #07152d;

        font-family:
            Georgia,
            serif;

        font-size:
            44px;

        line-height:
            .6;
    }


    /* REVEALED */

    .pen-committee-mobile-card.is-revealed
    .pen-committee-mobile-card__photo {
        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateX(-14px);
    }


    .pen-committee-mobile-card.is-revealed
    .pen-committee-mobile-card__bio {
        opacity:
            1;

        visibility:
            visible;

        transform:
            translateX(0);

        transition-delay:
            0s;
    }


    /* =====================================================
       ARROW
    ====================================================== */

    .pen-committee-mobile-card__arrow {
        position:
            absolute;

        right:
            14px;

        bottom:
            14px;

        width:
            32px;

        height:
            32px;

        display:
            grid;

        place-items:
            center;

        color:
            #01264f;
    }


    .pen-committee-mobile-card__arrow svg {
        width:
            27px;

        height:
            27px;

        fill:
            none;

        stroke:
            currentColor;

        stroke-width:
            1.8;

        stroke-linecap:
            round;

        stroke-linejoin:
            round;
    }


    .pen-committee-mobile-card__arrow--back {
        color:
            #01264f;
    }


    /* =====================================================
       IDENTITY
    ====================================================== */

    .pen-committee-mobile-card__identity {
        min-height:
            112px;

        padding:
            20px
            8px
            0;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            center;

        justify-content:
            center;

        gap:
            6px;
    }


    .pen-committee-mobile-card__identity strong {
        color:
            #ffffff;

        font-family:
            var(--font-display);

        font-size:
            clamp(
                21px,
                5.2vw,
                27px
            );

        font-weight:
            500;

        line-height:
            1.04;

        letter-spacing:
            -.018em;

        text-transform:
            uppercase;

        font-synthesis:
            none;
    }


    .pen-committee-mobile-card__identity > span {
        color:
            rgba(255,255,255,.9);

        font-family:
            var(--font-ui);

        font-size:
            clamp(
                15px,
                3.8vw,
                18px
            );

        font-weight:
            300;

        line-height:
            1.2;
    }


    /* =====================================================
       CTA
    ====================================================== */

    .pen-committee__cta-wrap--desktop {
        display:
            none !important;
    }


    .pen-committee__cta-wrap--mobile {
        display:
            flex;

        justify-content:
            center;

        margin:
            34px
            0
            0 !important;
    }


    .pen-committee__cta--mobile {
        min-width:
            202px;

        min-height:
            54px;

        padding:
            10px
            26px;

        color:
            #ffffff;

        background:
            #0452a4;

        border-color:
            #0452a4;

        border-radius:
            5px;

        font-size:
            19px;

        font-weight:
            600;
    }


    /* =====================================================
       MODAL — REMOVED FROM MOBILE
    ====================================================== */

    .pen-committee-modal {
        display:
            none !important;
    }

}


/* =========================================================
   COMITÉ — SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .pen-committee__header {
        width:
            calc(100% - 32px);
    }


    .pen-committee-mobile__track {
        gap:
            10px;

        padding-right:
            16px;
    }


    .pen-committee-mobile-card {
        flex-basis:
            clamp(
                246px,
                69vw,
                270px
            );

        width:
            clamp(
                246px,
                69vw,
                270px
            );
    }


    .pen-committee-mobile-card__button {
        padding:
            14px
            14px
            19px;
    }


    .pen-committee-mobile-card__identity {
        min-height:
            102px;

        padding-top:
            16px;
    }


    .pen-committee-mobile-card__identity strong {
        font-size:
            20px;
    }


    .pen-committee-mobile-card__identity > span {
        font-size:
            14px;
    }


    .pen-committee__cta--mobile {
        min-width:
            190px;

        min-height:
            52px;

        font-size:
            18px;
    }

}


/* =========================================================
   COMITÉ — REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .pen-committee-mobile-card__photo,
    .pen-committee-mobile-card__bio {
        transition:
            none !important;
    }

}


/* =========================================================
   HEADER MOBILE — FIX STICKY DURANTE OFF-CANVAS
   2026-09-03

   Problema corregido:
   al abrir el menú después de hacer scroll, el body pasa a
   position:fixed con top negativo. El header sticky podía
   perder su referencia y desaparecer.

   Solución:
   - el header NO participa del overflow guard;
   - mientras el menú está activo, el root pasa a fixed;
   - al cerrar vuelve a sticky y se restaura el scroll.
========================================================= */

@media (max-width: 900px) {

    /*
     * El off-canvas vive dentro del header root.
     * Por eso el root jamás debe recortar su contenido.
     */
    .pen-header-root {
        overflow:
            visible !important;

        overflow-x:
            visible !important;

        overflow-y:
            visible !important;
    }


    /*
     * Estado temporal controlado desde main.js.
     *
     * Se usa únicamente mientras el Smart Morph está
     * preparando, abierto o cerrando.
     */
    .pen-header-root.pen-mobile-menu-active {
        position:
            fixed !important;

        top:
            0 !important;

        right:
            0 !important;

        left:
            0 !important;

        width:
            100% !important;

        max-width:
            none !important;

        height:
            var(--pen-mobile-header-height);

        z-index:
            100200 !important;

        overflow:
            visible !important;

        transform:
            none !important;

        contain:
            none !important;
    }


    /*
     * El header negro conserva su layout normal dentro
     * del root fijo. No se introduce un segundo sticky/fixed.
     */
    .pen-header-root.pen-mobile-menu-active
    .pen-main-header,

    .pen-header-root.pen-mobile-menu-active
    .pen-main-header.pen-is-fixed {
        position:
            relative !important;

        top:
            auto !important;

        right:
            auto !important;

        left:
            auto !important;

        width:
            100% !important;

        height:
            var(--pen-mobile-header-height);

        transform:
            none !important;

        animation:
            none !important;
    }


    /*
     * El botón hamburguesa / X siempre queda sobre
     * el panel y sobre la superficie Smart Morph.
     */
    .pen-header-root.pen-mobile-menu-active
    .pen-menu-toggle {
        position:
            relative;

        z-index:
            100205 !important;
    }


    /*
     * El off-canvas continúa empezando exactamente debajo
     * del header, incluso cuando el root está fixed.
     */
    .pen-header-root.pen-mobile-menu-active
    .pen-mobile-offcanvas {
        position:
            fixed !important;

        top:
            var(--pen-mobile-header-height) !important;

        right:
            0 !important;

        bottom:
            0 !important;

        left:
            0 !important;
    }

}


/* =========================================================
   BLOG — HERO / BANNER
   Ajustes 2026-09-30
========================================================= */

.pen-blog {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: visible;
    background: #ffffff;
}

.pen-blog-hero {
    position: relative;
    width: 100%;
    min-height: 0;
    overflow: hidden;
    background: #111111;
}

.pen-blog-hero__viewport {
    position: relative;
    width: 100%;
    height: min(
        940px,
        calc(
            100vh -
            var(--pen-topbar-height, 44px) -
            var(--pen-desktop-header-height, 100px)
        )
    );
    min-height: 620px;
    overflow: hidden;
}

.pen-blog-hero__slide {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(1.012);
    transition:
        opacity .72s ease,
        visibility .72s ease,
        transform 1s cubic-bezier(.22, 1, .36, 1);
}

.pen-blog-hero__slide.is-active {
    z-index: 2;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
}

.pen-blog-hero__media,
.pen-blog-hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.pen-blog-hero__media img {
    display: block;
    object-fit: cover;
    object-position: center center;
}

.pen-blog-hero__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.66) 0%,
            rgba(0,0,0,.38) 31%,
            rgba(0,0,0,.08) 62%,
            rgba(0,0,0,0) 100%
        );
}

.pen-blog-hero__copy {
    position: absolute;
    z-index: 2;
    left: clamp(40px, 5.15vw, 88px);
    top: 50%;
    width: min(620px, calc(100% - 80px));
    transform: translateY(-50%);
    color: #ffffff;
}

.pen-blog-hero__eyebrow {
    margin: 0 0 20px;
    font-family: var(--font-ui);
    font-size: clamp(14px, 1vw, 18px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.pen-blog-hero__title {
    max-width: 640px;
    margin: 0;
    color: #ffffff;
    font-family: var(--font-display);
    font-weight: 500;
    font-style: normal;
    font-synthesis: none;
    font-size: clamp(48px, 4.15vw, 76px);
    line-height: .98;
    letter-spacing: -.026em;
    text-wrap: balance;
}

.pen-blog-hero__description {
    max-width: 590px;
    margin: 26px 0 0;
    color: rgba(255,255,255,.96);
    font-family: var(--font-ui);
    font-size: clamp(18px, 1.25vw, 24px);
    font-weight: 300;
    line-height: 1.28;
}

.pen-blog-hero__cta {
    display: inline-flex;
    align-items: center;
    min-height: 46px;
    margin-top: 28px;
    padding: 0 22px;
    color: #ffffff;
    border: 1px solid #ffffff;
    border-radius: 5px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    text-decoration: none;
    transition:
        color .24s ease,
        background-color .24s ease,
        transform .24s ease;
}

.pen-blog-hero__cta:hover {
    color: #111111;
    background: #ffffff;
    transform: translateY(-2px);
}

.pen-blog-hero__controls {
    position: absolute;
    z-index: 10;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0;
}

.pen-blog-hero__button {
    appearance: none;
    width: 52px;
    height: 46px;
    display: grid;
    place-items: center;
    padding: 0;
    color: var(--commitment-navy, #002957);
    background: #ffffff;
    border: 1.5px solid var(--commitment-navy, #002957);
    border-radius: 5px;
    cursor: pointer;
    transition:
        color .24s ease,
        background-color .24s ease,
        transform .24s ease;
}

.pen-blog-hero__button:hover {
    color: #ffffff;
    background: var(--commitment-navy, #002957);
    transform: translateY(-2px);
}

.pen-blog-hero__button:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.pen-blog-hero__button svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 1100px) {
    .pen-blog-hero__viewport {
        height: 680px;
        min-height: 560px;
    }

    .pen-blog-hero__copy {
        left: 40px;
        width: min(580px, calc(100% - 80px));
    }
}

@media (max-width: 767px) {
    .pen-blog-hero__viewport {
        height: calc((100svh - var(--pen-mobile-header-height, 82px)) * .75);
        min-height: 420px;
        max-height: 570px;
    }

    .pen-blog-hero__media img {
        object-position: 58% center;
    }

    .pen-blog-hero__overlay {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.10) 0%,
                rgba(0,0,0,.18) 34%,
                rgba(0,0,0,.70) 100%
            );
    }

    .pen-blog-hero__copy {
        left: 20px;
        right: 20px;
        bottom: 108px;
        top: auto;
        width: auto;
        transform: none;
    }

    .pen-blog-hero__eyebrow {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .pen-blog-hero__title {
        max-width: 500px;
        font-size: clamp(39px, 11vw, 58px);
        line-height: 1;
    }

    .pen-blog-hero__description {
        margin-top: 20px;
        font-size: 18px;
        line-height: 1.28;
    }

    .pen-blog-hero__cta {
        margin-top: 22px;
    }

    .pen-blog-hero__controls {
        bottom: 26px;
        gap: 12px;
    }

    .pen-blog-hero__button {
        width: 52px;
        height: 46px;
    }
}

@media (max-width: 390px) {
    .pen-blog-hero__viewport {
        min-height: 397.5px;
    }

    .pen-blog-hero__copy {
        left: 16px;
        right: 16px;
        bottom: 102px;
    }

    .pen-blog-hero__title {
        font-size: 36px;
    }

    .pen-blog-hero__controls {
        bottom: 22px;
    }
}

/* =========================================================
   BLOG — INTRO / CATEGORÍAS, BÚSQUEDA Y FILTRO
   Contenedor homologado con index.php: máximo 1680px.
========================================================= */

.pen-blog-intro {
    position: relative;
    z-index: 20;
    width: 100%;
    margin: 0;
    padding: 68px 0 70px;
    overflow: visible;
    background: #ffffff;
}

.pen-blog-intro__inner,
.pen-blog-articles__inner {
    width: min(calc(100% - 48px), 1680px);
    margin-inline: auto;
}

.pen-blog-intro__header {
    margin: 0;
}

.pen-blog-intro__title {
    max-width: 980px;
    margin: 0;
    color: #050505;
    font-family: var(--font-ui);
    font-size: clamp(32px, 2.15vw, 40px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.pen-blog-intro__divider {
    width: 100%;
    height: 1px;
    margin-top: 25px;
    background: #d3d3d3;
}

.pen-blog-intro__description {
    max-width: 1400px;
    margin: 21px 0 0;
    color: #090909;
    font-family: var(--font-ui);
    font-size: clamp(18px, 1.28vw, 23px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.012em;
}

.pen-blog-intro__explore {
    margin-top: 35px;
    text-align: center;
}

.pen-blog-intro__explore-label {
    margin: 0;
    color: #050505;
    font-family: var(--font-ui);
    font-size: clamp(20px, 1.35vw, 24px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.015em;
}

.pen-blog-intro__categories {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 47px;
    margin-top: 20px;
}

.pen-blog-intro__category {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    min-width: 300px;
    height: 60px;
    padding: 0 26px;
    color: #111111;
    background: #ffffff;
    border: 1px solid #777777;
    border-radius: 32px;
    font-family: var(--font-ui);
    font-size: 19px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -.01em;
    cursor: pointer;
    transition:
        color .30s ease,
        background-color .30s ease,
        border-color .30s ease,
        transform .34s cubic-bezier(.22,1,.36,1),
        box-shadow .30s ease;
}

.pen-blog-intro__category svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-intro__category:hover,
.pen-blog-intro__category.is-active {
    color: #ffffff;
    background: #002957;
    border-color: #002957;
    box-shadow: 0 5px 14px rgba(0,41,87,.10);
    transform: translateY(-1px);
}

.pen-blog-intro__category:focus-visible {
    outline: 2px solid #002957;
    outline-offset: 3px;
}

.pen-blog-intro__search-row {
    position: relative;
    z-index: 30;
    display: flex;
    align-items: flex-start;
    gap: 48px;
    margin-top: 39px;
}

.pen-blog-intro__search {
    min-width: 0;
    flex: 1 1 auto;
    height: 60px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 25px;
    color: #999999;
    background: #ffffff;
    border: 1px solid #111111;
    border-radius: 32px;
    cursor: text;
    transition: color .24s ease, border-color .24s ease;
}

.pen-blog-intro__search svg {
    width: 21px;
    height: 21px;
    flex: 0 0 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}

.pen-blog-intro__search:focus-within {
    color: #002957;
    border-color: #002957;
}

.pen-blog-intro__search input {
    min-width: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    color: #111111;
    background: transparent;
    border: 0;
    outline: 0;
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -.01em;
}

.pen-blog-intro__search input::placeholder {
    color: #9a9a9a;
    opacity: 1;
}

.pen-blog-intro__filter-wrap {
    position: relative;
    flex: 0 0 70px;
    width: 70px;
    z-index: 40;
}

.pen-blog-intro__filter {
    appearance: none;
    width: 70px;
    height: 60px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #111111;
    background: #ffffff;
    border: 1px solid #111111;
    border-radius: 13px;
    cursor: pointer;
    transition:
        color .28s ease,
        background-color .28s ease,
        border-color .28s ease,
        transform .34s cubic-bezier(.22,1,.36,1),
        box-shadow .28s ease;
}

.pen-blog-intro__filter svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-intro__filter:hover,
.pen-blog-intro__filter.is-active {
    color: #ffffff;
    background: #002957;
    border-color: #002957;
    box-shadow: 0 5px 14px rgba(0,41,87,.12);
}

.pen-blog-intro__filter:hover {
    transform: translateY(-1px);
}

.pen-blog-intro__filter:focus-visible {
    outline: 2px solid #002957;
    outline-offset: 3px;
}

.pen-blog-intro__filter-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    width: 338px;
    max-height: 0;
    padding: 0;
    overflow: hidden;
    color: #111111;
    background: #ffffff;
    border: 1px solid transparent;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scaleY(.96);
    transform-origin: top right;
    transition:
        max-height .56s cubic-bezier(.22,1,.36,1),
        padding .48s cubic-bezier(.22,1,.36,1),
        opacity .30s ease,
        transform .56s cubic-bezier(.22,1,.36,1),
        border-color .30s ease,
        visibility 0s linear .56s;
}

.pen-blog-intro__filter-wrap.is-open .pen-blog-intro__filter-menu {
    max-height: 320px;
    padding: 20px 0 18px;
    border-color: #111111;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scaleY(1);
    transition-delay: 0s;
}

.pen-blog-intro__filter-option {
    appearance: none;
    width: 100%;
    min-height: 47px;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 0 22px;
    color: #111111;
    background: transparent;
    border: 0;
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.15;
    text-align: left;
    cursor: pointer;
    transition:
        color .26s ease,
        background-color .26s ease,
        padding-left .34s cubic-bezier(.22,1,.36,1);
}

.pen-blog-intro__filter-option svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-intro__filter-option:hover,
.pen-blog-intro__filter-option:focus-visible,
.pen-blog-intro__filter-option.is-selected {
    color: #ffffff;
    background: #002957;
    padding-left: 25px;
    outline: none;
}

/* =========================================================
   BLOG — ARTÍCULOS / CARDS CON SCROLL INTERNO
========================================================= */

.pen-blog-articles {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 0 0 92px;
    background: #ffffff;
}

.pen-blog-articles__header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 24px;
    margin: 0 0 22px;
}

.pen-blog-articles__title {
    margin: 0;
    color: #050505;
    font-family: var(--font-ui);
    font-size: clamp(28px, 2.1vw, 36px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.025em;
}

.pen-blog-articles__count {
    margin: 0;
    color: #777777;
    font-family: var(--font-ui);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.2;
}

.pen-blog-articles__viewport {
    height: 1020px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 22px 0 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #002957 #ededed;
    scrollbar-gutter: stable;
}

.pen-blog-articles__viewport::-webkit-scrollbar {
    width: 7px;
}

.pen-blog-articles__viewport::-webkit-scrollbar-track {
    background: #ededed;
    border-radius: 999px;
}

.pen-blog-articles__viewport::-webkit-scrollbar-thumb {
    background: #002957;
    border-radius: 999px;
    border: 1px solid #ffffff;
}

.pen-blog-articles__viewport::-webkit-scrollbar-thumb:hover {
    background: #001f43;
}

.pen-blog-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    padding: 0 0 2px;
}

.pen-blog-card {
    min-width: 0;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 2px;
    overflow: hidden;
    transition:
        border-color .25s ease,
        box-shadow .25s ease,
        transform .25s ease;
}

.pen-blog-card:hover {
    border-color: #c7c7c7;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .08);
    transform: translateY(-2px);
}

.pen-blog-card__link {
    display: block;
    height: 100%;
    color: inherit;
    text-decoration: none;
}

.pen-blog-card__media {
    position: relative;
    width: 100%;
    aspect-ratio: 1.62 / 1;
    overflow: hidden;
    background: #eeeeee;
}

.pen-blog-card__media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, .08));
    pointer-events: none;
}

.pen-blog-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform .65s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.pen-blog-card:hover .pen-blog-card__media img,
.pen-blog-card:focus-within .pen-blog-card__media img {
    transform: scale(1.08);
}

.pen-blog-card__body {
    min-height: 176px;
    padding: 20px 20px 21px;
    display: flex;
    flex-direction: column;
}

.pen-blog-card__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    color: #777777;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: .01em;
    text-transform: uppercase;
}

.pen-blog-card__title {
    margin: 11px 0 18px;
    color: #080808;
    font-family: var(--font-ui);
    font-size: 21px;
    font-weight: 500;
    line-height: 1.18;
    letter-spacing: -.02em;
}

.pen-blog-card__read {
    margin-top: auto;
    color: #002957;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
    transition: letter-spacing .25s ease;
}

.pen-blog-card__read span {
    display: inline-block;
    margin-left: 4px;
    transition: transform .25s ease;
}

.pen-blog-card:hover .pen-blog-card__read,
.pen-blog-card:focus-within .pen-blog-card__read {
    letter-spacing: .01em;
}

.pen-blog-card:hover .pen-blog-card__read span,
.pen-blog-card:focus-within .pen-blog-card__read span {
    transform: translateX(4px);
}

.pen-blog-card.is-hidden {
    display: none;
}

@media (max-width: 1100px) {
    .pen-blog-intro__inner,
    .pen-blog-articles__inner {
        width: calc(100% - 48px);
    }

    .pen-blog-intro {
        padding: 52px 0 60px;
    }

    .pen-blog-intro__title {
        font-size: 32px;
    }

    .pen-blog-intro__description {
        font-size: 18px;
        line-height: 1.42;
    }

    .pen-blog-intro__categories {
        gap: 14px;
    }

    .pen-blog-intro__category {
        min-width: 0;
        flex: 1 1 0;
        padding: 0 17px;
        font-size: 17px;
    }

    .pen-blog-intro__search-row {
        gap: 18px;
    }

    .pen-blog-articles__viewport {
        height: 930px;
    }

    .pen-blog-articles__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .pen-blog-card__body {
        min-height: 165px;
        padding: 17px;
    }

    .pen-blog-card__title {
        font-size: 19px;
    }
}

@media (max-width: 767px) {
    .pen-blog-intro {
        padding: 44px 0 50px;
    }

    .pen-blog-intro__inner,
    .pen-blog-articles__inner {
        width: calc(100% - 40px);
    }

    .pen-blog-intro__title {
        font-size: 29px;
        line-height: 1.12;
    }

    .pen-blog-intro__desktop-break {
        display: none;
    }

    .pen-blog-intro__divider {
        margin-top: 20px;
    }

    .pen-blog-intro__description {
        margin-top: 18px;
        font-size: 17px;
        line-height: 1.43;
    }

    .pen-blog-intro__explore {
        margin-top: 32px;
    }

    .pen-blog-intro__explore-label {
        font-size: 21px;
    }

    .pen-blog-intro__categories {
        flex-direction: column;
        gap: 12px;
        margin-top: 18px;
    }

    .pen-blog-intro__category {
        width: min(100%, 330px);
        min-width: 0;
        flex: none;
        height: 56px;
        font-size: 17px;
    }

    .pen-blog-intro__search-row {
        gap: 12px;
        margin-top: 30px;
    }

    .pen-blog-intro__search {
        height: 56px;
        padding: 0 18px;
    }

    .pen-blog-intro__search input {
        font-size: 17px;
    }

    .pen-blog-intro__filter-wrap {
        width: 56px;
        flex-basis: 56px;
    }

    .pen-blog-intro__filter {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .pen-blog-intro__filter-menu {
        width: min(338px, calc(100vw - 32px));
    }

    .pen-blog-intro__filter-option {
        min-height: 47px;
        padding-inline: 22px;
        font-size: 20px;
    }

    .pen-blog-articles {
        padding-bottom: 60px;
    }

    .pen-blog-articles__header {
        margin-bottom: 18px;
    }

    .pen-blog-articles__title {
        font-size: 28px;
    }

    .pen-blog-articles__count {
        font-size: 13px;
    }

    .pen-blog-articles__viewport {
        height: 760px;
        padding-right: 13px;
        scrollbar-width: thin;
    }

    .pen-blog-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .pen-blog-card__media {
        aspect-ratio: 1.25 / 1;
    }

    .pen-blog-card__body {
        min-height: 155px;
        padding: 14px;
    }

    .pen-blog-card__meta {
        font-size: 10px;
    }

    .pen-blog-card__title {
        margin-top: 8px;
        font-size: 17px;
    }

    .pen-blog-card__read {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .pen-blog-articles__viewport {
        height: 690px;
    }

    .pen-blog-articles__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .pen-blog-card__media {
        aspect-ratio: 1.65 / 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pen-blog-hero__slide,
    .pen-blog-hero__button,
    .pen-blog-hero__cta,
    .pen-blog-intro__category,
    .pen-blog-intro__filter,
    .pen-blog-intro__filter-menu,
    .pen-blog-intro__filter-option,
    .pen-blog-card,
    .pen-blog-card__media img,
    .pen-blog-card__read,
    .pen-blog-card__read span {
        transition: none !important;
    }
}


/* =========================================================
   BLOG — FRAME DE NOTAS / CARDS V3
   9 notas, máximo 6 visibles en desktop (3 x 2 filas).
========================================================= */

.pen-blog-articles {
    --pen-blog-navy: #011e41;
    --pen-blog-tag: #598fa3;
    --pen-blog-scroll: #d0b986;
    --pen-blog-scroll-hover: #b99f66;
    --pen-blog-card-height: 560px;
    --pen-blog-row-gap: 56px;
    padding-bottom: 96px;
}

.pen-blog-articles__header {
    margin-bottom: 26px;
}

.pen-blog-articles__viewport {
    height: calc((var(--pen-blog-card-height) * 2) + var(--pen-blog-row-gap));
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 28px 0 0;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--pen-blog-scroll) transparent;
    scroll-behavior: smooth;
}

.pen-blog-articles__viewport::-webkit-scrollbar {
    width: 7px;
}

.pen-blog-articles__viewport::-webkit-scrollbar-track {
    background: transparent;
}

.pen-blog-articles__viewport::-webkit-scrollbar-thumb {
    background: var(--pen-blog-scroll);
    border-radius: 999px;
    border: 0;
}

.pen-blog-articles__viewport::-webkit-scrollbar-thumb:hover {
    background: var(--pen-blog-scroll-hover);
}

.pen-blog-articles__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--pen-blog-row-gap) 50px;
    align-items: stretch;
    padding: 0 0 2px;
}

.pen-blog-card {
    min-width: 0;
    height: var(--pen-blog-card-height);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--pen-blog-navy);
    border: 0;
    border-radius: 24px;
    box-shadow: none;
    transform: none;
    transition: none;
}

.pen-blog-card:hover,
.pen-blog-card:focus-within {
    border-color: transparent;
    box-shadow: none;
    transform: none;
}

.pen-blog-card__media {
    position: relative;
    flex: 0 0 270px;
    width: 100%;
    height: 270px;
    aspect-ratio: auto;
    overflow: hidden;
    background: #d7d7d7;
}

.pen-blog-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, .05) 0%,
        rgba(0, 0, 0, .13) 100%
    );
}

.pen-blog-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transform-origin: center;
    transition: transform .82s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.pen-blog-card__media:hover img,
.pen-blog-card__media:focus-within img {
    transform: scale(1.18);
}

.pen-blog-card__tag {
    position: absolute;
    z-index: 2;
    left: 24px;
    bottom: 15px;
    min-width: 78px;
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 18px;
    color: #ffffff;
    background: var(--pen-blog-tag);
    border-radius: 1px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
    white-space: nowrap;
}

.pen-blog-card__body {
    flex: 1 1 auto;
    min-height: 0;
    padding: 26px 24px 32px;
    display: flex;
    flex-direction: column;
    color: #ffffff;
    background: var(--pen-blog-navy);
}

.pen-blog-card__date {
    margin: 0;
    color: rgba(255, 255, 255, .98);
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.pen-blog-card__title {
    margin: 21px 0 11px;
    color: #ffffff;
    font-family: var(--font-ui);
    font-size: clamp(20px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.pen-blog-card__excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .97);
    font-family: var(--font-ui);
    font-size: clamp(16px, 1.05vw, 18px);
    font-weight: 400;
    line-height: 1.36;
    letter-spacing: -.015em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.pen-blog-card__cta {
    align-self: center;
    min-width: 148px;
    min-height: 40px;
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 20px;
    color: #3c819b;
    background: #ffffff;
    border: 1px solid rgba(60, 129, 155, .45);
    border-radius: 3px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        color .3s ease,
        background-color .3s ease,
        border-color .3s ease,
        transform .3s cubic-bezier(.22, 1, .36, 1);
}

.pen-blog-card__cta svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .3s cubic-bezier(.22, 1, .36, 1);
}

.pen-blog-card__cta:hover,
.pen-blog-card__cta:focus-visible {
    color: #ffffff;
    background: #244B5A;
    border-color: #244B5A;
    transform: translateY(-1px);
}

.pen-blog-card__cta:hover svg,
.pen-blog-card__cta:focus-visible svg {
    transform: translateX(3px);
}

.pen-blog-card__cta:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 3px;
}

.pen-blog-card.is-hidden {
    display: none;
}

.pen-blog-articles__viewport.is-empty {
    height: 180px !important;
    min-height: 180px;
}

.pen-blog-articles__empty {
    display: none;
    min-height: 180px;
    align-items: center;
    justify-content: center;
    padding: 36px;
    color: #6b6b6b;
    font-family: var(--font-ui);
    font-size: 17px;
    text-align: center;
}

.pen-blog-articles__viewport.is-empty .pen-blog-articles__empty {
    display: flex;
}

@media (max-width: 1100px) {
    .pen-blog-articles {
        --pen-blog-card-height: 540px;
        --pen-blog-row-gap: 28px;
    }

    .pen-blog-articles__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--pen-blog-row-gap) 24px;
    }

    .pen-blog-card__media {
        flex-basis: 250px;
        height: 250px;
    }

    .pen-blog-card__body {
        padding: 23px 22px 28px;
    }
}

@media (max-width: 767px) {
    .pen-blog-articles {
        --pen-blog-card-height: 520px;
        --pen-blog-row-gap: 20px;
        padding-bottom: 64px;
    }

    .pen-blog-articles__viewport {
        padding-right: 14px;
    }

    .pen-blog-articles__grid {
        grid-template-columns: 1fr;
        gap: var(--pen-blog-row-gap);
    }

    .pen-blog-card {
        border-radius: 20px;
    }

    .pen-blog-card__media {
        flex-basis: 235px;
        height: 235px;
    }

    .pen-blog-card__tag {
        left: 20px;
        bottom: 14px;
    }

    .pen-blog-card__body {
        padding: 22px 20px 26px;
    }

    .pen-blog-card__date {
        font-size: 15px;
    }

    .pen-blog-card__title {
        margin-top: 18px;
        font-size: 20px;
    }

    .pen-blog-card__excerpt {
        font-size: 16px;
        -webkit-line-clamp: 3;
    }

    .pen-blog-card__cta {
        min-width: 145px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .pen-blog-articles {
        --pen-blog-card-height: 500px;
    }

    .pen-blog-card__media {
        flex-basis: 220px;
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pen-blog-card__media img,
    .pen-blog-card__cta,
    .pen-blog-card__cta svg {
        transition: none !important;
    }

    .pen-blog-articles__viewport {
        scroll-behavior: auto;
    }
}

/* =========================================================
   BLOG — MEDIOS Y PRENSA / SLIDER DE 6 CARDS
========================================================= */

.pen-blog-press {
    --pen-blog-press-gap: 46px;
    --pen-blog-press-visible: 3;
    width: 100%;
    padding: 58px 0 64px;
    background: #f5f5f5;
    color: #080808;
}

.pen-blog-press__inner {
    width: min(calc(100% - 48px), 1680px);
    margin: 0 auto;
}

.pen-blog-press__header {
    margin: 0 0 30px;
}

.pen-blog-press__title {
    margin: 0;
    color: #070707;
    font-family: var(--font-ui);
    font-size: clamp(34px, 2.3vw, 42px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.pen-blog-press__divider {
    width: 100%;
    height: 1px;
    margin-top: 14px;
    background: #cfcfcf;
}

.pen-blog-press__description {
    max-width: 1540px;
    margin: 13px 0 0;
    color: #111111;
    font-family: var(--font-ui);
    font-size: clamp(18px, 1.36vw, 24px);
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: -.018em;
}

.pen-blog-press__viewport {
    /*
     * El viewport sigue recortando el desplazamiento horizontal
     * del carrusel, pero ahora reserva un halo interno para que
     * la sombra de las cards no choque con sus cuatro bordes.
     *
     * El margen negativo compensa ese halo y conserva exactamente
     * el mismo ancho/alineación visual del contenido de 1680px.
     */
    width: calc(100% + 24px);
    margin: -12px -12px -20px;
    padding: 12px 12px 20px;
    overflow: hidden;
    outline: none;
}

.pen-blog-press__track {
    display: flex;
    align-items: stretch;
    gap: var(--pen-blog-press-gap);
    transform: translate3d(0, 0, 0);
    transition: transform .72s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

.pen-blog-press-card {
    flex: 0 0 calc(
        (100% - (var(--pen-blog-press-gap) * (var(--pen-blog-press-visible) - 1))) /
        var(--pen-blog-press-visible)
    );
    min-width: 0;
    min-height: 548px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 4px 5px rgba(0, 0, 0, .18);
}

.pen-blog-press-card__media {
    position: relative;
    flex: 0 0 266px;
    height: 266px;
    overflow: hidden;
    background: #d9d9d9;
}

.pen-blog-press-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1);
    transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.pen-blog-press-card:hover .pen-blog-press-card__media img,
.pen-blog-press-card:focus-within .pen-blog-press-card__media img {
    transform: scale(1.08);
}

.pen-blog-press-card__tag {
    position: absolute;
    z-index: 2;
    left: 42px;
    bottom: 18px;
    min-width: 120px;
    min-height: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px 14px;
    color: #ffffff;
    background: #3f8ba3;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 400;
    line-height: 1.2;
}

.pen-blog-press-card__body {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    padding: 26px 24px 20px;
}

.pen-blog-press-card__date {
    margin: 0;
    color: #111111;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
}

.pen-blog-press-card__title {
    margin: 21px 0 10px;
    color: #050505;
    font-family: var(--font-ui);
    font-size: clamp(20px, 1.35vw, 22px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.pen-blog-press-card__excerpt {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #111111;
    font-family: var(--font-ui);
    font-size: clamp(16px, 1.05vw, 18px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -.015em;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.pen-blog-press-card__actions {
    margin-top: auto;
    min-height: 56px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: end;
    gap: 12px;
    padding-top: 22px;
}

.pen-blog-press-card__cta {
    grid-column: 2;
    min-width: 146px;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 20px;
    color: #3c819b;
    background: #ffffff;
    border: 1px solid #3c819b;
    border-radius: 3px;
    font-family: var(--font-ui);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    text-decoration: none;
    transition:
        color .28s ease,
        background-color .28s ease,
        transform .28s cubic-bezier(.22, 1, .36, 1);
}

.pen-blog-press-card__cta svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
}

.pen-blog-press-card__cta:hover,
.pen-blog-press-card__cta:focus-visible {
    color: #ffffff;
    background: #244B5A;
    transform: translateY(-1px);
}

.pen-blog-press-card__cta:hover svg,
.pen-blog-press-card__cta:focus-visible svg {
    transform: translateX(3px);
}

.pen-blog-press-card__external {
    grid-column: 3;
    justify-self: end;
    align-self: end;
    color: #020202;
    font-family: var(--font-ui);
    font-size: 28px;
    font-weight: 400;
    line-height: 1;
}

.pen-blog-press__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.pen-blog-press__button {
    appearance: none;
    width: 42px;
    height: 38px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #002957;
    background: transparent;
    border: 1.5px solid #002957;
    border-radius: 4px;
    cursor: pointer;
    transition:
        color .24s ease,
        background-color .24s ease,
        opacity .24s ease,
        transform .24s ease;
}

.pen-blog-press__button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-press__button:hover:not(:disabled),
.pen-blog-press__button:focus-visible:not(:disabled) {
    color: #ffffff;
    background: #002957;
    transform: translateY(-1px);
}

.pen-blog-press__button:disabled {
    opacity: .35;
    cursor: default;
}

.pen-blog-press__button:focus-visible,
.pen-blog-press-card__cta:focus-visible {
    outline: 2px solid #002957;
    outline-offset: 3px;
}

@media (max-width: 1100px) {
    .pen-blog-press {
        --pen-blog-press-gap: 24px;
        --pen-blog-press-visible: 2;
    }

    .pen-blog-press-card {
        min-height: 530px;
    }

    .pen-blog-press-card__media {
        flex-basis: 250px;
        height: 250px;
    }
}

@media (max-width: 767px) {
    .pen-blog-press {
        --pen-blog-press-gap: 18px;
        --pen-blog-press-visible: 1;
        padding: 48px 0 54px;
    }

    .pen-blog-press__inner {
        width: calc(100% - 32px);
    }

    .pen-blog-press__title {
        font-size: 30px;
    }

    .pen-blog-press__description {
        font-size: 17px;
        line-height: 1.42;
    }

    .pen-blog-press__viewport {
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 12px;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .pen-blog-press__track {
        transform: none;
        transition: none;
        will-change: auto;
    }

    .pen-blog-press-card {
        scroll-snap-align: start;
        min-height: 510px;
        border-radius: 20px;
    }

    .pen-blog-press-card__media {
        flex-basis: 235px;
        height: 235px;
    }

    .pen-blog-press-card__tag {
        left: 24px;
        bottom: 14px;
    }

    .pen-blog-press-card__body {
        padding: 22px 20px 18px;
    }

    .pen-blog-press-card__date {
        font-size: 15px;
    }

    .pen-blog-press-card__title {
        margin-top: 18px;
        font-size: 20px;
    }

    .pen-blog-press-card__excerpt {
        font-size: 16px;
    }

    .pen-blog-press__controls {
        margin-top: 32px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pen-blog-press__track,
    .pen-blog-press-card__media img,
    .pen-blog-press-card__cta,
    .pen-blog-press-card__cta svg,
    .pen-blog-press__button {
        transition: none !important;
    }
}

/* =========================================================
   BLOG — DETALLE DE NOTA / PLANTILLA GENERAL
   ========================================================= */

.pen-blog-detail {
    width: 100%;
    background: #f5f5f5;
    color: #080808;
}

.pen-blog-detail__article {
    width: 100%;
    padding: clamp(68px, 6vw, 104px) 0 clamp(76px, 7vw, 120px);
}

.pen-blog-detail__container {
    width: min(calc(100% - 48px), 1680px);
    margin-inline: auto;
}

.pen-blog-detail__header {
    width: 100%;
}

.pen-blog-detail__tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 84px;
    min-height: 22px;
    padding: 3px 15px;
    color: #ffffff;
    background: #3482a0;
    border-radius: 2px;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.pen-blog-detail__title {
    margin: 20px 0 12px;
    color: #050505;
    font-family: var(--font-display);
    font-size: clamp(46px, 4.1vw, 72px);
    font-weight: 500;
    font-style: normal;
    font-synthesis: none;
    line-height: .98;
    letter-spacing: -.028em;
}

.pen-blog-detail__divider {
    width: 100%;
    height: 1px;
    background: #cdcdcd;
}

.pen-blog-detail__meta-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: clamp(38px, 5vw, 100px);
    margin-top: 16px;
}

.pen-blog-detail__dek {
    max-width: 900px;
    margin: 0;
    color: #0b0b0b;
    font-family: var(--font-ui);
    font-size: clamp(21px, 1.55vw, 30px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -.018em;
}

.pen-blog-detail__date {
    margin: 0;
    color: #0a0a0a;
    font-family: var(--font-ui);
    font-size: clamp(18px, 1.3vw, 24px);
    font-weight: 400;
    line-height: 1.15;
    white-space: nowrap;
}

.pen-blog-detail__content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
    align-items: start;
    gap: clamp(36px, 3.5vw, 62px);
    margin-top: clamp(54px, 5vw, 84px);
}

.pen-blog-detail__main-column {
    min-width: 0;
}

.pen-blog-detail__hero {
    width: 100%;
    margin: 28px 0 0;
}

.pen-blog-detail__hero :is(img, video) {
    display: block;
    width: 100%;
    aspect-ratio: 1297 / 369;
    object-fit: cover;
    object-position: center center;
    border-radius: 30px;
}

.pen-blog-detail__caption {
    max-width: 1100px;
    margin: 20px auto 0;
    padding: 0 20px;
    color: #244b5a;
    font-family: var(--font-ui);
    font-size: clamp(13px, .95vw, 16px);
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
}

.pen-blog-detail__body {
    width: 100%;
}

.pen-blog-detail__sidebar {
    position: sticky;
    top: calc(var(--pen-desktop-header-height, 100px) + 24px);
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.pen-blog-detail__share,
.pen-blog-detail__related {
    padding: 24px;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .055);
}

.pen-blog-detail__sidebar-title {
    margin: 0 0 18px;
    color: #080808;
    font-family: var(--font-ui);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.2;
}

.pen-blog-detail__share-list {
    display: grid;
    gap: 9px;
}

.pen-blog-detail__share-button {
    appearance: none;
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 0 14px;
    color: #244b5a;
    background: #ffffff;
    border: 1px solid #cdd5d8;
    border-radius: 7px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition:
        color .24s ease,
        background-color .24s ease,
        border-color .24s ease,
        transform .24s cubic-bezier(.22,1,.36,1);
}

.pen-blog-detail__share-button:hover,
.pen-blog-detail__share-button:focus-visible {
    color: #ffffff;
    background: #244b5a;
    border-color: #244b5a;
    transform: translateY(-1px);
}

.pen-blog-detail__share-button:focus-visible {
    outline: 2px solid #002957;
    outline-offset: 3px;
}

.pen-blog-detail__share-button svg {
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-detail__related-list {
    display: grid;
    gap: 18px;
}

.pen-blog-related-card {
    display: block;
    overflow: hidden;
    color: #0b0b0b;
    background: #f6f6f6;
    border-radius: 12px;
    text-decoration: none;
    transition:
        transform .32s cubic-bezier(.22,1,.36,1),
        box-shadow .32s ease;
}

.pen-blog-related-card:hover,
.pen-blog-related-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,.08);
}

.pen-blog-related-card:focus-visible {
    outline: 2px solid #002957;
    outline-offset: 3px;
}

.pen-blog-related-card__media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.48 / 1;
}

.pen-blog-related-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.16,1,.3,1);
}

.pen-blog-related-card:hover .pen-blog-related-card__media img,
.pen-blog-related-card:focus-visible .pen-blog-related-card__media img {
    transform: scale(1.08);
}

.pen-blog-related-card__body {
    padding: 15px 16px 17px;
}

.pen-blog-related-card__tag {
    display: inline-block;
    margin-bottom: 8px;
    color: #3482a0;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
}

.pen-blog-related-card h3 {
    margin: 0;
    color: #080808;
    font-family: var(--font-ui);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.25;
}

.pen-blog-related-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 13px;
    color: #244b5a;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 1180px) {
    .pen-blog-detail__content-grid {
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 32px;
    }

}

@media (max-width: 980px) {
    .pen-blog-detail__meta-row {
        grid-template-columns: 1fr;
        gap: 18px;
        align-items: start;
    }

    .pen-blog-detail__content-grid {
        grid-template-columns: 1fr;
    }

    .pen-blog-detail__sidebar {
        position: static;
        display: grid;
        grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
        gap: 24px;
    }

    .pen-blog-detail__related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pen-blog-detail__article {
        padding: 42px 0 68px;
    }

    .pen-blog-detail__container {
        width: calc(100% - 32px);
    }

    .pen-blog-detail__title {
        margin-top: 17px;
        font-size: clamp(38px, 11vw, 52px);
    }

    .pen-blog-detail__dek {
        font-size: 19px;
    }

    .pen-blog-detail__date {
        font-size: 17px;
    }

    .pen-blog-detail__content-grid {
        margin-top: 46px;
    }

    .pen-blog-detail__hero :is(img, video) {
        aspect-ratio: 1.58 / 1;
        border-radius: 20px;
    }

    .pen-blog-detail__caption {
        margin-top: 14px;
        padding: 0 6px;
        font-size: 12px;
    }

    .pen-blog-detail__sidebar {
        grid-template-columns: 1fr;
    }

    .pen-blog-detail__related-list {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .pen-blog-detail__share,
    .pen-blog-detail__related {
        padding: 20px;
        border-radius: 14px;
    }
}

@media (max-width: 520px) {
    .pen-blog-detail__related-list {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pen-blog-detail__share-button,
    .pen-blog-related-card,
    .pen-blog-related-card__media img {
        transition: none !important;
    }
}

/* =========================================================
   BLOG — DETALLE V2
   Navegación por tags + frame editorial + sidebar espejo
   ========================================================= */

.pen-blog-detail__caption {
    max-width: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
    font-size: clamp(11px, .78vw, 14px);
}

.pen-blog-detail__category-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin: clamp(46px, 4.5vw, 72px) 0 22px;
}

.pen-blog-detail__category-nav .pen-blog-intro__category {
    text-decoration: none;
}

.pen-blog-detail__share-strip {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    min-height: 44px;
    margin-bottom: 26px;
    font-family: var(--font-ui);
}

.pen-blog-detail__share-strip-label {
    margin-right: 3px;
    color: #4e4e4e;
    font-size: 13px;
    font-weight: 500;
}

.pen-blog-detail__share-strip > a,
.pen-blog-detail__share-strip > button {
    appearance: none;
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    padding: 0;
    color: #244b5a;
    background: transparent;
    border: 1px solid #244b5a;
    border-radius: 50%;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition:
        color .24s ease,
        background-color .24s ease,
        transform .24s cubic-bezier(.22,1,.36,1);
}

.pen-blog-detail__share-strip > button {
    width: auto;
    min-width: 74px;
    border-radius: 999px;
    grid-auto-flow: column;
    gap: 6px;
    padding: 0 11px;
}

.pen-blog-detail__share-strip > button svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-detail__share-strip > a:hover,
.pen-blog-detail__share-strip > a:focus-visible,
.pen-blog-detail__share-strip > button:hover,
.pen-blog-detail__share-strip > button:focus-visible {
    color: #ffffff;
    background: #244b5a;
    transform: translateY(-1px);
}

.pen-blog-detail__content-grid {
    width: 100%;
    max-width: 1680px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 808px) minmax(420px, 520px);
    justify-content: start;
    align-items: start;
    gap: clamp(84px, 5.75vw, 112px);
}

.pen-blog-detail__story-frame {
    width: 100%;
    max-width: 808px;
    height: clamp(900px, 100vw, 1600px);
    max-height: 1600px;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0 20px 36px 0;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #d0b986 transparent;
    scroll-behavior: smooth;
}

.pen-blog-detail__story-frame::-webkit-scrollbar {
    width: 7px;
}

.pen-blog-detail__story-frame::-webkit-scrollbar-track {
    background: transparent;
}

.pen-blog-detail__story-frame::-webkit-scrollbar-thumb {
    background: #d0b986;
    border-radius: 999px;
}

.pen-blog-detail__story-sticky {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 0 0 16px;
    background: #f5f5f5;
}

.pen-blog-detail__story-title {
    margin: 0;
    color: #080808;
    font-family: var(--font-ui);
    font-size: clamp(32px, 2.1vw, 42px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -.03em;
}

.pen-blog-detail__story-title span,
.pen-blog-detail__accent {
    color: #a36e29;
}

.pen-blog-detail__story-divider {
    width: 100%;
    height: 1px;
    margin-top: 20px;
    background: #cfcfcf;
}

.pen-blog-detail__story-content {
    padding-top: 4px;
}

.pen-blog-detail__story-text,
.pen-blog-detail__story-list-block {
    margin: 20px 0 0;
    color: #111111;
    font-family: var(--font-ui);
    font-size: clamp(17px, 1.1vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: -.012em;
}

.pen-blog-detail__story-list-block p {
    margin: 0;
}

.pen-blog-detail__story-list-block ul {
    margin: 8px 0 0;
    padding-left: 28px;
}

.pen-blog-detail__story-list-block li {
    margin: 2px 0;
}

.pen-blog-detail__story-figure {
    margin: 28px 0 34px;
}

.pen-blog-detail__story-figure :is(img, video) {
    display: block;
    width: 100%;
    height: auto;
    max-height: 570px;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
}

.pen-blog-detail__story-figure figcaption {
    margin: 10px auto 0;
    padding: 0 12px;
    color: #244b5a;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}

.pen-blog-detail__sidebar {
    position: sticky;
    top: calc(var(--pen-desktop-header-height, 100px) + 22px);
    width: 100%;
    min-width: 0;
    display: block;
}

.pen-blog-detail__back {
    justify-self: end;
    width: max-content;
    margin: 0 0 24px auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    color: #111111;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .22s ease, transform .22s cubic-bezier(.22,1,.36,1);
}

.pen-blog-detail__back svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pen-blog-detail__back:hover,
.pen-blog-detail__back:focus-visible {
    color: #244b5a;
    transform: translateX(-2px);
}

.pen-blog-detail__back:focus-visible {
    outline: 2px solid #244b5a;
    outline-offset: 5px;
    border-radius: 2px;
}

.pen-blog-detail__sidebar-heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid #8e8e8e;
    font-family: var(--font-ui);
}

.pen-blog-detail__sidebar-topic {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #111111;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    white-space: nowrap;
}

.pen-blog-detail__sidebar-topic:first-child { color: #011e41; }
.pen-blog-detail__sidebar-topic img,
.pen-blog-detail__back img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
}

.pen-blog-detail__related-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/*
 * El sidebar usa exactamente el mismo componente .pen-blog-card de blog.php.
 * Solamente se adapta su alto al ancho de columna; estructura, colores,
 * microinteracciones y CTA siguen siendo los mismos.
 */
.pen-blog-detail__related-list .pen-blog-card {
    width: 100%;
    max-width: 520px;
    height: 560px;
}

.pen-blog-detail__related-list .pen-blog-card__media {
    flex-basis: 245px;
    height: 245px;
}

.pen-blog-detail__related-list .pen-blog-card__body {
    padding: 22px 20px 24px;
}

.pen-blog-detail__related-list .pen-blog-card__title {
    font-size: 20px;
}

.pen-blog-detail__related-list .pen-blog-card__excerpt {
    font-size: 16px;
    -webkit-line-clamp: 4;
}

@media (max-width: 1480px) {
    .pen-blog-detail__content-grid {
        grid-template-columns: minmax(0, 808px) minmax(360px, 430px);
        gap: clamp(56px, 4.5vw, 78px);
    }
}

@media (max-width: 1240px) {
    .pen-blog-detail__content-grid {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 44px;
    }

    .pen-blog-detail__story-frame {
        height: clamp(820px, 100vw, 1300px);
    }
}

@media (max-width: 980px) {
    .pen-blog-detail__caption {
        white-space: normal;
    }

    .pen-blog-detail__category-nav {
        gap: 16px;
    }

    .pen-blog-detail__category-nav .pen-blog-intro__category {
        min-width: 0;
        flex: 1 1 0;
    }

    .pen-blog-detail__content-grid {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .pen-blog-detail__story-frame {
        max-width: none;
        height: min(1100px, 78vh);
        min-height: 680px;
    }

    .pen-blog-detail__sidebar {
        position: static;
    }

    .pen-blog-detail__back {
        margin-left: auto;
    }

    .pen-blog-detail__related-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .pen-blog-detail__category-nav {
        flex-direction: column;
        margin-top: 36px;
    }

    .pen-blog-detail__category-nav .pen-blog-intro__category {
        width: min(100%, 340px);
        flex: none;
    }

    .pen-blog-detail__share-strip {
        justify-content: center;
        flex-wrap: wrap;
        margin-bottom: 30px;
    }

    .pen-blog-detail__story-frame {
        height: 76vh;
        min-height: 620px;
        padding-right: 12px;
    }

    .pen-blog-detail__story-title {
        font-size: 30px;
    }

    .pen-blog-detail__story-text,
    .pen-blog-detail__story-list-block {
        font-size: 17px;
    }

    .pen-blog-detail__story-figure :is(img, video) {
        border-radius: 18px;
    }

    .pen-blog-detail__related-list {
        grid-template-columns: 1fr;
    }

    .pen-blog-detail__related-list .pen-blog-card {
        width: min(100%, 430px);
        margin-inline: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pen-blog-detail__share-strip > a,
    .pen-blog-detail__share-strip > button {
        transition: none !important;
    }
}

/* Variables del componente compartido de cards dentro del detalle. */
.pen-blog-detail {
    --pen-blog-navy: #011e41;
    --pen-blog-tag: #598fa3;
    --pen-blog-card-height: 560px;
}

/* =========================================================
   BLOG — DETALLE / RETÍCULA 80 · 5 · 15
   Ajuste 2026-09-30
   Columna editorial dominante + sidebar compacto.
   ========================================================= */

@media (min-width: 1241px) {
    .pen-blog-detail__content-grid {
        width: 100%;
        max-width: 1680px;
        margin-inline: 0;
        grid-template-columns:
            minmax(0, 80fr)
            minmax(220px, 15fr);
        column-gap: 5%;
        row-gap: 0;
        justify-content: stretch;
        align-items: start;
    }

    .pen-blog-detail__story-frame {
        width: 100%;
        max-width: none;
    }

    .pen-blog-detail__story-title {
        font-size: clamp(32px, 2vw, 40px);
        white-space: nowrap;
    }

    .pen-blog-detail__related-list .pen-blog-card {
        max-width: none;
    }
}

/*
 * En laptop se conserva una columna editorial claramente dominante,
 * pero se entrega un poco más de ancho al sidebar para que las cards
 * no queden excesivamente estrechas antes del breakpoint apilado.
 */
@media (min-width: 981px) and (max-width: 1240px) {
    .pen-blog-detail__content-grid {
        grid-template-columns:
            minmax(0, 72fr)
            minmax(250px, 23fr);
        column-gap: 5%;
    }

    .pen-blog-detail__story-frame {
        width: 100%;
        max-width: none;
    }

    .pen-blog-detail__story-title {
        font-size: clamp(29px, 2.4vw, 36px);
        white-space: normal;
    }
}

/* =========================================================
   BLOG — DETALLE / AJUSTE FINAL DE PROPORCIÓN DEL SIDEBAR
   2026-10-02

   Objetivo:
   - Mantener la columna editorial como dominante.
   - Dar al sidebar ancho suficiente para que la card compartida
     conserve proporciones, tipografía y CTA sin verse comprimida.
   - Mantener un gutter amplio y consistente con el contenedor 1680px.
   ========================================================= */

@media (min-width: 1441px) {
    .pen-blog-detail__content-grid {
        grid-template-columns:
            minmax(0, 68fr)
            minmax(400px, 27fr);
        column-gap: 5%;
        row-gap: 0;
    }

    .pen-blog-detail__story-title {
        white-space: nowrap;
        font-size: clamp(32px, 1.9vw, 38px);
    }

    .pen-blog-detail__related-list .pen-blog-card {
        width: 100%;
        max-width: none;
        height: 570px;
    }

    .pen-blog-detail__related-list .pen-blog-card__media {
        flex-basis: 248px;
        height: 248px;
    }
}

@media (min-width: 1241px) and (max-width: 1440px) {
    .pen-blog-detail__content-grid {
        grid-template-columns:
            minmax(0, 66fr)
            minmax(360px, 29fr);
        column-gap: 5%;
        row-gap: 0;
    }

    .pen-blog-detail__story-title {
        white-space: normal;
        font-size: clamp(30px, 2.25vw, 36px);
    }

    .pen-blog-detail__related-list .pen-blog-card {
        width: 100%;
        max-width: none;
        height: 560px;
    }

    .pen-blog-detail__related-list .pen-blog-card__media {
        flex-basis: 235px;
        height: 235px;
    }
}

@media (min-width: 981px) and (max-width: 1240px) {
    .pen-blog-detail__content-grid {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(340px, 390px);
        column-gap: clamp(36px, 4vw, 52px);
        row-gap: 0;
    }

    .pen-blog-detail__story-title {
        white-space: normal;
        font-size: clamp(28px, 2.5vw, 34px);
    }

    .pen-blog-detail__related-list .pen-blog-card {
        width: 100%;
        max-width: none;
        height: 540px;
    }

    .pen-blog-detail__related-list .pen-blog-card__media {
        flex-basis: 220px;
        height: 220px;
    }
}

/* Ajustes tipográficos exclusivos del sidebar relacionado.
   La estructura sigue siendo el mismo componente .pen-blog-card. */
@media (min-width: 981px) {
    .pen-blog-detail__sidebar {
        min-width: 0;
    }

    .pen-blog-detail__related-list {
        width: 100%;
        gap: 24px;
    }

    .pen-blog-detail__related-list .pen-blog-card__body {
        padding: 22px 22px 24px;
    }

    .pen-blog-detail__related-list .pen-blog-card__date {
        font-size: 15px;
    }

    .pen-blog-detail__related-list .pen-blog-card__title {
        margin-top: 18px;
        font-size: clamp(18px, 1.25vw, 21px);
        line-height: 1.2;
    }

    .pen-blog-detail__related-list .pen-blog-card__excerpt {
        font-size: clamp(15px, 1vw, 17px);
        line-height: 1.38;
        -webkit-line-clamp: 4;
    }

    .pen-blog-detail__related-list .pen-blog-card__cta {
        min-width: 142px;
        font-size: 15px;
    }
}



/* =========================================================
   PENÍNSULA — ESCALA DESKTOP ACOTADA / V8
   Referencia medida: contenido 1170px, títulos 40/30px, texto 16px.
   Solo >900px. No modifica motion, estados, eventos ni estilos móviles.
========================================================= */
@media (min-width: 901px) {
    :root {
        --pen-content-width: 1170px;
        --pen-page-gutter: max(20px, calc((100% - var(--pen-content-width)) / 2));
        --pen-desktop-header-height: 76px;
        --pen-heading-size: 30px;
        --pen-body-size: 16px;
    }

    .pen-container,
    .pen-prestige__container,
    .pen-vision__container,
    .pen-developments__heading-wrap,
    .mexico-map__container,
    .pen-recent__container,
    .pen-business__container,
    .pen-committee__container,
    .pen-testimonials__header,
    .pen-testimonials__viewport,
    .pen-contact__header,
    .pen-contact__layout,
    .pen-footer__container,
    .pen-footer__bottom-inner,
    .pen-blog-intro__inner,
    .pen-blog-articles__inner,
    .pen-blog-press__inner,
    .pen-blog-detail__container {
        width: min(calc(100% - 40px), var(--pen-content-width));
        max-width: var(--pen-content-width);
        margin-left: auto;
        margin-right: auto;
    }

    .pen-desktop-nav { gap: 40px; }
    .pen-logo img { width: 170px; }
    .pen-nav-link { font-size: 16px; }

    /* Jerarquía tipográfica. Se conservan las familias de la marca. */
    .pen-prestige__title,
    .pen-blog-hero__title,
    .pen-blog-detail__title {
        font-size: 40px;
        line-height: 1.375;
    }
    .pen-history__title,
    .pen-commitment__title,
    .pen-vision__title,
    .pen-developments__heading,
    .mexico-map__header h2,
    .pen-recent__title,
    .pen-business__title,
    .pen-committee__title,
    .pen-contact__title,
    .pen-committee-modal__title,
    .pen-blog-intro__title,
    .pen-blog-articles__title,
    .pen-blog-press__title,
    .pen-blog-detail__story-title {
        font-size: var(--pen-heading-size);
        line-height: 1.2;
    }
    .pen-prestige__description,
    .pen-history__description,
    .pen-commitment__description,
    .pen-vision__description,
    .pen-recent__subtitle,
    .pen-business-card__copy,
    .pen-committee__description,
    .pen-testimonials-card__description,
    .pen-contact__intro,
    .pen-blog-hero__description,
    .pen-blog-intro__description,
    .pen-blog-press__description,
    .pen-blog-detail__dek,
    .pen-blog-detail__story-text,
    .pen-blog-detail__story-list-block {
        font-size: var(--pen-body-size);
        line-height: 1.5;
    }
    .pen-prestige__eyebrow,
    .pen-history__eyebrow-text,
    .pen-commitment__eyebrow,
    .pen-vision__eyebrow,
    .pen-business__eyebrow,
    .pen-committee__eyebrow,
    .pen-blog-hero__eyebrow { font-size: 14px; }

    /* Primera sección: dos columnas que dejan de crecer a 1170px. */
    .pen-prestige { padding: 64px 0; }
    .pen-prestige__container {
        width: min(calc(100% - 40px), var(--pen-content-width)) !important;
        max-width: var(--pen-content-width) !important;
        grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
        gap: 78px;
    }
    .pen-prestige__content,
    .pen-prestige__visual { min-width: 0; }
    .pen-prestige__content { padding-top: 0; }
    .pen-prestige__eyebrow { margin-bottom: 24px; }
    .pen-prestige__divider { margin: 24px 0; }
    .pen-prestige__stats { gap: 40px; margin-top: 32px; }
    .pen-prestige__plus { font-size: 32px; }
    .pen-prestige__counter { font-size: 53px; }
    .pen-prestige__stat-label { font-size: 16px; }
    .pen-prestige__legal { margin-top: 24px; }
    .pen-prestige-slider__viewport { aspect-ratio: 468 / 283; }

    /* Historia y Misión: composición centrada, alturas independientes
       del monitor. Los fondos y efectos siguen en sus nodos originales. */
    .pen-history {
        width: min(calc(100% - 40px), var(--pen-content-width));
        height: 440px;
        min-height: 440px;
        max-height: none;
        margin: 64px auto;
        padding-right: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .pen-history__content,
    .pen-history__visual {
        width: 100%;
        height: 440px;
        min-height: 440px;
        max-height: none;
    }
    .pen-history__visual img { height: 100%; }
    .pen-history__content-inner { width: auto; margin: 0 36px; }
    .pen-history__title { margin-bottom: 24px; }
    .pen-commitment {
        --commitment-height: 440px;
        padding: 0;
        margin-bottom: 64px;
    }
    .pen-commitment__layout {
        width: min(calc(100% - 40px), var(--pen-content-width));
        margin-inline: auto;
        grid-template-columns: 0 minmax(0, 1fr) minmax(0, 1fr);
    }
    .pen-commitment__content { padding: 32px; }
    .pen-commitment__title { margin-bottom: 24px; }
    .pen-vision { padding: 64px 0; }
    .pen-vision__description { max-width: 768px; }
    .pen-video { padding: 64px 0; }
    .pen-video__frame { width: min(calc(100% - 40px), 900px); }
    .pen-video__control { width: 48px; height: 48px; bottom: 28px; }

    /* Desarrollo, mapa y tarjetas. */
    .pen-developments__heading-wrap { padding: 64px 0 40px; }
    .pen-developments__logos { gap: 72px; padding-right: 72px; }
    .mexico-map__container { padding-block: 64px; }
    .mexico-map__header { margin-bottom: 40px; }
    .mexico-map__main { gap: 40px; }
    .mexico-map__summary-title,
    .mexico-map__summary-text { font-size: 30px; }
    .mexico-map__summary-number { font-size: 53px; }
    .mexico-map__card span { font-size: 16px; }
    .pen-recent { padding: 64px 0; }
    .pen-recent__header { margin-bottom: 32px; }
    .pen-recent__grid { gap: 24px; }
    .pen-recent-card { height: 383px; aspect-ratio: auto; }
    .pen-recent-card__name { font-size: 33px; }
    .pen-recent-card__descriptor { font-size: 11px; }
    .pen-recent__footer { margin-top: 28px; }
    .pen-business { padding: 64px 0; }
    .pen-business__header { margin-bottom: 32px; }
    .pen-business-card { padding: 32px; }
    .pen-committee { padding: 64px 0; }
    .pen-committee__header { margin-bottom: 32px; }
    .pen-committee__caption { font-size: 11px; }
    .pen-committee__description { max-width: 768px; }

    /* Mantener el carrusel y sus cálculos de desplazamiento, limitando
       el viewport y calculando las tarjetas respecto a ese contenedor. */
    .pen-testimonials { padding: 64px 0; }
    .pen-testimonials__header { margin-bottom: 32px; }
    .pen-testimonials__track { padding-left: 0; padding-right: 0; }
    .pen-testimonials-card {
        flex-basis: calc((100% - (var(--testimonials-gap) * 1.35)) / var(--testimonials-visible));
        grid-template-columns: 120px minmax(0, 1fr);
        min-height: 280px;
    }
    .pen-testimonials-card__name { font-size: 14px; }
    .pen-testimonials-card__content { padding: 24px 20px 24px 52px; }
    .pen-contact { padding: 64px 0; }
    .pen-contact__header { margin-bottom: 40px; }
    .pen-contact__intro { max-width: 768px; }
    .pen-contact__form-column { padding: 36px; }
    .pen-contact__visual,
    .pen-contact__image { min-height: 600px; }

    .pen-footer__logo img { width: 195px; }
    .pen-footer__grid { gap: 48px; }
    .pen-footer__heading { font-size: 14px; line-height: 20px; }
    .pen-footer__blog-copy { font-size: 14px; line-height: 21px; }
    .pen-footer__bottom-inner { padding-inline: 0; }

    /* Modal: se conserva el scroll, el giro de tarjetas y sus estados. */
    .pen-committee-modal__header { padding: 40px 64px 28px; }
    .pen-committee-modal__close { top: 24px; right: 28px; }
    .pen-committee-modal__scroll { padding: 28px 32px 56px; }
    .pen-committee-modal__grid {
        max-width: 1016px;
        grid-template-columns: repeat(3, minmax(0, 320px));
        gap: 28px;
    }
    .pen-director-card { max-width: 320px; aspect-ratio: 320 / 430; }
    .pen-director-card__identity { min-height: 92px; }
    .pen-director-card__identity h3 { font-size: 20px; }
    .pen-director-card__identity p { font-size: 14px; }
    .pen-director-card__back { padding: 26px; }
    .pen-director-card__back p { font-size: 16px; line-height: 1.375; }

    /* Blog: alturas estables y columnas adaptadas al ancho disponible. */
    .pen-blog-hero__viewport { height: 520px; min-height: 0; }
    .pen-blog-hero__copy { left: var(--pen-page-gutter); width: min(560px, calc(100% - 80px)); }
    .pen-blog-intro { padding: 64px 0; }
    .pen-blog-intro__description,
    .pen-blog-press__description { max-width: 768px; }
    .pen-blog-intro__explore-label { font-size: 20px; }
    .pen-blog-articles {
        --pen-blog-card-height: 520px;
        --pen-blog-row-gap: 32px;
        padding-bottom: 64px;
    }
    .pen-blog-articles__grid { column-gap: 24px; }
    .pen-blog-card__media { flex-basis: 220px; height: 220px; }
    .pen-blog-card__body { padding: 22px 24px; }
    .pen-blog-card__title,
    .pen-blog-press-card__title { font-size: 20px; line-height: 1.2; }
    .pen-blog-card__excerpt,
    .pen-blog-press-card__excerpt { font-size: 16px; line-height: 1.375; }
    .pen-blog-card__date,
    .pen-blog-press-card__date { font-size: 14px; }
    .pen-blog-press { --pen-blog-press-gap: 24px; padding: 64px 0; }
    .pen-blog-press-card { min-height: 500px; }
    .pen-blog-press-card__media { flex-basis: 220px; height: 220px; }
    .pen-blog-detail__article { padding: 64px 0; }
    .pen-blog-detail__meta-row { gap: 40px; }
    .pen-blog-detail__date { font-size: 16px; }
    .pen-blog-detail__caption { font-size: 12px; }
    .pen-blog-detail__category-nav { margin-top: 40px; }
    .pen-blog-detail__content-grid { max-width: none; margin-top: 40px; gap: 40px; }
    .pen-blog-detail__story-frame { height: 900px; max-height: 900px; }
    .pen-blog-detail__story-title { white-space: normal; }
    .pen-blog-detail__related-list .pen-blog-card { height: 520px; }
    .pen-blog-detail__related-list .pen-blog-card__media { height: 220px; flex-basis: 220px; }
    .pen-blog-detail__related-list .pen-blog-card__title { font-size: 20px; }
    .pen-blog-detail__related-list .pen-blog-card__excerpt { font-size: 16px; }
}

@media (min-width: 981px) {
    .pen-blog-detail__content-grid {
        grid-template-columns: minmax(0, 1fr) 330px;
        column-gap: 40px;
    }
}

/* Ajustes de encaje para escritorio estrecho; móvil sigue hasta 900px. */
@media (min-width: 901px) and (max-width: 1180px) {
    .pen-prestige__container { gap: 32px; }
    .pen-prestige__stats { gap: 24px; }
    .pen-history__content-inner { margin-inline: 24px; }
    .pen-commitment__content { padding: 24px; }
    .pen-contact__form-column { padding: 28px 24px; }
    .pen-committee-modal__grid { grid-template-columns: repeat(2, minmax(0, 320px)); }
}


/* Historia y Misión: prolongar únicamente los fondos hasta el viewport. */
@media (min-width: 901px) {
    .pen-history {
        width: 100%;
        grid-template-columns:
            minmax(20px, 1fr)
            repeat(2, minmax(0, calc(var(--pen-content-width) / 2)))
            minmax(20px, 1fr);
        background: linear-gradient(to right, #000 50%, transparent 50%);
    }

    .pen-history__content { grid-column: 2; }
    .pen-history__visual { grid-column: 3; }

    .pen-commitment {
        background-image: linear-gradient(
            to right, transparent 50%, var(--commitment-teal) 50%
        );
        background-size: 100% var(--commitment-height);
        background-repeat: no-repeat;
    }
}


/* Visión, botones y regiones: ajustes de escritorio. */
@media (min-width: 901px) {
    .pen-vision__description {
        width: 100%;
        max-width: none;
    }

    :is(
        .pen-developments__cta, .mexico-map__button, .pen-recent__cta,
        .pen-business-card__cta, .pen-committee__cta, .pen-contact-form__submit,
        .pen-footer__blog-cta, .pen-blog-hero__cta, .pen-blog-card__cta,
        .pen-blog-detail__related-list .pen-blog-card__cta,
        .pen-blog-press-card__cta, .pen-blog-intro__category,
        .pen-blog-detail__share-strip > button
    ) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        min-width: 148px;
        min-height: 44px;
        height: auto;
        padding: 11px 20px;
        border-width: 1px;
        border-style: solid;
        border-radius: 5px;
        font-family: var(--font-ui);
        font-size: 16px;
        font-weight: 500;
        line-height: 20px;
        text-decoration: none;
    }

    .pen-business-card__cta span { text-decoration: none; }
    .mexico-map__button span { font-size: 20px; line-height: 20px; }

    :is(
        .pen-prestige-slider__button, .pen-commitment-slider__button,
        .pen-testimonials__button, .pen-blog-hero__button,
        .pen-blog-press__button, .pen-blog-intro__filter, .pen-cart-button
    ) {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        min-width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        border-width: 1px;
        border-style: solid;
        border-radius: 5px;
    }
    .pen-blog-intro__filter-wrap {
        flex-basis: 44px;
        width: 44px;
        align-self: center;
    }

    :is(
        .pen-developments__cta, .pen-recent__cta, .pen-business-card__cta,
        .pen-committee__cta, .pen-contact-form__submit, .pen-footer__blog-cta,
        .pen-blog-card__cta, .pen-blog-press-card__cta, .pen-blog-intro__category,
        .pen-prestige-slider__button, .pen-commitment-slider__button,
        .pen-testimonials__button, .pen-blog-hero__button,
        .pen-blog-press__button, .pen-blog-intro__filter
    ) svg {
        width: 18px;
        height: 18px;
        flex: 0 0 18px;
    }

    :is(
        .pen-developments__cta, .mexico-map__button, .pen-recent__cta,
        .pen-business-card__cta, .pen-committee__cta, .pen-contact-form__submit,
        .pen-footer__blog-cta, .pen-blog-hero__cta, .pen-blog-card__cta,
        .pen-blog-detail__related-list .pen-blog-card__cta,
        .pen-blog-press-card__cta, .pen-blog-intro__category,
        .pen-blog-detail__share-strip > button, .pen-blog-detail__share-strip > a,
        .pen-prestige-slider__button, .pen-commitment-slider__button,
        .pen-testimonials__button, .pen-blog-hero__button, .pen-blog-press__button,
        .pen-blog-intro__filter, .pen-blog-intro__filter-option,
        .pen-cart-button, .pen-video__control, .pen-committee-modal__close
    ):is(:hover, :focus-visible):not(:disabled):not([aria-disabled="true"]) {
        color: #ffffff;
        background-color: #244B5A;
        border-color: #244B5A;
    }

    .pen-blog-intro__filter-option {
        min-height: 44px;
        font-family: var(--font-ui);
        font-size: 16px;
        line-height: 20px;
    }

    .mexico-map__regions { gap: 32px 54px; }
    .mexico-map__card {
        min-height: 90px;
        border-width: 1px;
    }
    .mexico-map__card:is(:hover, :focus-visible, .is-active) {
        border-width: 1px;
        border-color: #244B5A;
    }
}


/* Modelos de negocio, comité y fotografía de contacto: solo escritorio. */
@media (min-width: 901px) {
    .pen-business__title { font-weight: 300; }
    .pen-business__grid {
        width: 100%;
        max-width: 990px;
        margin-inline: auto;
        gap: 32px;
    }
    .pen-business-card {
        min-height: 0;
        height: auto;
    }
    .pen-business-card__copy {
        width: 100%;
        max-width: none;
    }

    .pen-committee__title { font-weight: 500; }
    .pen-committee__caption,
    .pen-committee__description {
        width: 100%;
        max-width: none;
    }
    .pen-committee__caption br { display: none; }

    /* La columna del formulario conserva su ancho y posición.
       Solo la fotografía ocupa también el margen izquierdo. */
    .pen-contact__layout {
        width: 100%;
        max-width: none;
        grid-template-columns:
            50%
            minmax(0, calc(min(100% - 40px, var(--pen-content-width)) / 2))
            minmax(20px, 1fr);
    }
    .pen-contact__visual { position: relative; }
    .pen-contact__image {
        position: absolute;
        inset: 0;
        min-height: 0;
    }
}

/* Línea del menú separada del texto, independiente de la altura del header. */
@media (min-width: 901px) {
    .pen-nav-link::after {
        top: calc(50% + 0.5lh + 6px);
        bottom: auto;
    }
}

/* El chat flotante sustituye al antiguo panel inferior de contacto móvil. */
@media (max-width: 767px) {
    .pen-mobile-contact-sheet,
    .pen-mobile-contact-backdrop { display: none !important; }
    body { padding-bottom: 0; }
}

/* Página principal del blog: tipografía, anchos y controles de escritorio. */
@media (min-width: 901px) {
    .pen-blog-intro__title,
    .pen-blog-press__title { font-weight: 400; }

    .pen-blog-intro__description,
    .pen-blog-press__description {
        width: 100%;
        max-width: none;
    }

    :is(.pen-blog-intro, .pen-blog-detail__category-nav) .pen-blog-intro__category { border-radius: 100px; }
    :is(.pen-blog-intro, .pen-blog-detail__category-nav) .pen-blog-intro__category:is(:hover, :focus-visible):not(:disabled):not([aria-disabled="true"]) {
        color: #ffffff;
        background-color: #011E41;
        border-color: #011E41;
    }

    .pen-blog-intro__search { height: 50px; }
    .pen-blog-intro__filter-wrap {
        flex-basis: 50px;
        width: 50px;
    }
    .pen-blog-intro__filter {
        width: 50px;
        min-width: 50px;
        height: 50px;
        min-height: 50px;
    }
}

/* Bordes y estados de los controles de la página principal del blog. */
@media (min-width: 901px) {
    .pen-blog-intro__categories {
        gap: 20px;
        margin-top: 16px;
    }
    :is(.pen-blog-intro, .pen-blog-detail__category-nav) .pen-blog-intro__category { margin: 0; }

    :is(.pen-blog-intro, .pen-blog-detail__category-nav) :is(.pen-blog-intro__search, .pen-blog-intro__category, .pen-blog-intro__filter),
    :is(.pen-blog-intro, .pen-blog-detail__category-nav) :is(.pen-blog-intro__search, .pen-blog-intro__category, .pen-blog-intro__filter):is(:hover, :focus-visible, :focus-within, :active, .is-active):not(:disabled):not([aria-disabled="true"]) {
        border-color: #d3d3d3;
    }

    .pen-blog-intro :is(.pen-blog-intro__filter, .pen-blog-intro__filter-option):is(:hover, :focus-visible, :active, .is-active, .is-selected, [aria-expanded="true"], [aria-checked="true"]):not(:disabled):not([aria-disabled="true"]) {
        color: #ffffff;
        background-color: #011E41;
    }
}

/* Plantilla de notas: compartir alineado al título e iconos equivalentes. */
.pen-blog-detail__title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin: 20px 0 12px;
}
.pen-blog-detail__title-row .pen-blog-detail__title { margin: 0; }
.pen-blog-detail__title-row .pen-blog-detail__share-strip {
    flex: 0 0 auto;
    margin: 0 0 0 auto;
    justify-content: flex-end;
}
.pen-blog-detail .pen-blog-detail__share-strip > :is(a, button) {
    position: relative;
    display: inline-grid;
    place-items: center;
    width: 34px;
    min-width: 34px;
    height: 34px;
    min-height: 34px;
    padding: 0;
    gap: 0;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}
.pen-blog-detail__copy-status {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}
@media (min-width: 901px) {
    .pen-blog-detail__title-row { flex-wrap: nowrap; }
    .pen-blog-detail__title-row .pen-blog-detail__title { min-width: 0; }
    .pen-blog-detail__category-nav { gap: 20px; }
    .pen-blog-detail__category-nav .pen-blog-intro__category {
        flex: none;
        min-width: 148px;
    }
}

/* Lectura continua: solo avanza el cuerpo editorial; título y sidebar sticky. */
@media (min-width: 981px) {
    .pen-blog-detail {
        --pen-note-sticky-top: calc(var(--pen-topbar-height, 44px) + var(--pen-desktop-header-height, 76px) + 16px);
    }
    .pen-blog-detail__story-frame {
        height: auto;
        min-height: 0;
        max-height: none;
        overflow: visible;
        overscroll-behavior: auto;
    }
    .pen-blog-detail__story-sticky {
        top: var(--pen-note-sticky-top);
        padding-top: 8px;
    }
    .pen-blog-detail__sidebar {
        position: sticky;
        top: var(--pen-note-sticky-top);
        max-height: calc(100dvh - var(--pen-note-sticky-top) - 16px);
        overflow-y: auto;
        overflow-x: hidden;
        overscroll-behavior: auto;
        scrollbar-width: thin;
        scrollbar-color: #d0b986 transparent;
        scrollbar-gutter: stable;
        padding-right: 8px;
    }
}

/* Mapa: nueve estados, con sus ubicaciones en el badge. */
@media (min-width: 801px) {
    .mexico-map__regions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .mexico-map__popover-state { white-space: normal; max-width: 240px; line-height: 1.15; }
}
@media (max-width: 800px) {
    .mexico-map__popover {
        width: min(240px, calc(100% - 24px));
        min-width: 0;
        max-width: 240px;
        left: clamp(120px, var(--marker-x), calc(100% - 120px));
        padding: 8px 14px;
        gap: 10px;
    }
    .mexico-map__popover-state {
        display: block;
        min-width: 0;
        white-space: normal;
        font-size: 14px;
        line-height: 1.2;
    }
    .mexico-map__popover-count { flex-shrink: 0; }
    .mexico-map__mobile-select.is-open .mexico-map__select-list {
        max-height: 520px;
        overflow-y: auto;
    }
}

/* Repartir el ancho entre las tarjetas presentes, sin columnas vacías. */
@media (min-width: 901px) {
    .pen-recent__grid {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
    }
}

/* Icono oficial Premium Society: silueta original en azul de marca. */
.pen-business-card__premium-icon {
    display: block;
    background-color: #011e41;
    -webkit-mask: url('../img/developments/logos/icon-premiumsociety.webp') center / contain no-repeat;
    mask: url('../img/developments/logos/icon-premiumsociety.webp') center / contain no-repeat;
}

/* Notas: título pegado al header y relacionados visibles sin scroll interno. */
@media (min-width: 981px) {
    .pen-blog-detail {
        --pen-note-sticky-top: calc(var(--pen-topbar-height, 44px) + var(--pen-desktop-header-height, 76px));
    }
    .pen-blog-detail__story-sticky { padding-top: 16px; }
    .pen-blog-detail__sidebar {
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr);
        gap: 10px;
        height: min(760px, calc(100dvh - var(--pen-note-sticky-top) - 12px));
        max-height: none;
        overflow: visible;
        scrollbar-gutter: auto;
        padding-right: 0;
    }
    .pen-blog-detail__back { margin: 0; }
    .pen-blog-detail__sidebar-heading { margin: 0; padding-bottom: 8px; }
    .pen-blog-detail__related-list {
        min-height: 0;
        grid-template-rows: repeat(2, minmax(0, 1fr));
        grid-auto-rows: minmax(0, 1fr);
        gap: 12px;
    }
    .pen-blog-detail__related-list .pen-blog-card {
        display: grid;
        grid-template-rows: minmax(0, 1fr) auto;
        height: auto;
        min-height: 0;
        border-radius: 16px;
    }
    .pen-blog-detail__related-list .pen-blog-card__media {
        height: 100%;
        min-height: 0;
        flex-basis: auto;
    }
    .pen-blog-detail__related-list .pen-blog-card__body { padding: 12px 14px; }
    .pen-blog-detail__related-list .pen-blog-card__date { font-size: 12px; }
    .pen-blog-detail__related-list .pen-blog-card__title {
        margin: 6px 0;
        font-size: 16px;
        line-height: 1.2;
    }
    .pen-blog-detail__related-list .pen-blog-card__excerpt {
        font-size: 13px;
        line-height: 1.3;
        -webkit-line-clamp: 2;
    }
    .pen-blog-detail__related-list .pen-blog-card__cta {
        min-width: 120px;
        min-height: 34px;
        margin-top: 10px;
        padding: 6px 12px;
        font-size: 14px;
        line-height: 20px;
    }
}
@media (min-width: 981px) and (max-height: 740px) {
    .pen-blog-detail__related-list .pen-blog-card {
        grid-template-columns: 82px minmax(0, 1fr);
        grid-template-rows: 1fr;
    }
    .pen-blog-detail__related-list .pen-blog-card__body { padding: 10px; }
    .pen-blog-detail__related-list .pen-blog-card__tag {
        left: 4px;
        bottom: 8px;
        min-width: 0;
        padding: 3px 5px;
        font-size: 10px;
        max-width: calc(100% - 8px);
        white-space: normal;
    }
}
@media (min-width: 981px) and (max-height: 600px) {
    .pen-blog-detail__related-list .pen-blog-card__excerpt { display: none; }
}
@media (min-width: 981px) and (max-height: 480px) {
    .pen-blog-detail__sidebar { position: static; height: auto; }
    .pen-blog-detail__related-list .pen-blog-card { min-height: 150px; }
}

/* Ajustes exclusivos de móvil: acordeones, badges y margen de carruseles. */
@media (max-width: 767px) {
    .pen-history__description,
    .pen-commitment__description-mobile,
    .pen-vision__description,
    .pen-business__grid {
        transition: max-height .36s cubic-bezier(.22, 1, .36, 1),
            margin-top .36s cubic-bezier(.22, 1, .36, 1),
            opacity .24s ease, transform .36s cubic-bezier(.22, 1, .36, 1),
            visibility 0s linear .36s;
    }
    .pen-history.is-history-open .pen-history__description,
    .pen-commitment.is-mission-open .pen-commitment__description-mobile,
    .pen-vision.is-vision-open .pen-vision__description,
    .pen-business.is-business-open .pen-business__grid {
        max-height: var(--pen-accordion-height, 1000px);
        transition-delay: 0s;
    }
    .pen-business {
        transition: padding-bottom .36s cubic-bezier(.22, 1, .36, 1);
    }
    .pen-recent__grid,
    .pen-committee-mobile__track {
        box-sizing: border-box;
        padding-left: 20px;
        padding-right: 20px;
        scroll-padding-left: 20px;
        scroll-padding-right: 20px;
    }
}
@media (max-width: 800px) {
    .mexico-map__popover {
        width: max-content;
        max-width: min(240px, calc(100% - 24px));
    }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .pen-history__description,
    .pen-commitment__description-mobile,
    .pen-vision__description,
    .pen-business__grid,
    .pen-business { transition: none !important; }
}

/* Ocultar el comite directivo en todas las resoluciones. */
#comite-directivo { display: none !important; }

/* Video opcional dentro de los mismos contenedores de imagen de las notas. */
.pen-blog-detail__hero video,
.pen-blog-detail__story-figure video { object-fit:contain; background:#000; }

/* Overlay de imágenes exclusivo de las cards de la página principal del blog. */
.pen-blog :is(.pen-blog-card__media, .pen-blog-press-card__media)::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: rgba(0, 0, 0, .30);
}

/* Conservar en el DOM las notas de prensa y controles ocultos. */
.pen-blog-press-card[hidden],
.pen-blog-press__controls[hidden] {
    display: none;
}

/* Indicador para quitar la categoría activa, exclusivo del listado del blog. */
.pen-blog-intro .pen-blog-intro__category-clear {
    width: 14px;
    height: 14px;
    flex: 0 0 14px;
    visibility: hidden;
}

.pen-blog-intro .pen-blog-intro__category.is-active .pen-blog-intro__category-clear {
    visibility: visible;
}

.pen-blog .pen-blog-card__excerpt a {
    color: inherit;
    text-decoration: underline;
}

/* Footer móvil: logo, información y franja social/legal en vertical. */
@media (max-width:620px) {
    .pen-footer__container { display:grid; grid-template-areas:"logo" "divider" "content"; }
    .pen-footer__logo { grid-area:logo; justify-self:center; margin:0 0 24px; }
    .pen-footer__divider { grid-area:divider; margin-bottom:24px; }
    .pen-footer__grid { grid-area:content; gap:24px; }
    .pen-footer__blog-cta { display:flex; width:max-content; margin:32px auto 0; }
    .pen-footer__bottom-inner { align-items:center; gap:20px; }
    .pen-footer__social { order:-1; justify-content:center; margin-top:0; }
    .pen-footer__legal { width:100%; text-align:center; line-height:1.8; }
    .pen-footer__copyright { display:inline; margin:0; line-height:inherit; }
    .pen-footer__legal-nav { display:inline; }
    .pen-footer__legal-nav a { display:inline-block; line-height:inherit; }
    .pen-footer .pen-footer__legal-nav a::before {
        content:""; display:inline-block; width:1px; height:12px;
        margin:0 8px; vertical-align:-2px; background:rgba(255,255,255,.75);
    }
}

/* La página desplazada permite cerrar el menú sin activar su contenido. */
@media (max-width:900px) {
    .pen-mobile-offcanvas:is(.is-preparing, .is-open, .is-closing) .pen-mobile-preview {
        pointer-events:auto;
        cursor:pointer;
        touch-action:manipulation;
    }
}

/* Modelos de negocio: cards móviles con contenido completo y medidas comunes. */
@media (max-width:767px) {
    .pen-business-card { min-height:300px; height:auto; }
    .pen-business-card__brand,
    .pen-business-card__copy,
    .pen-business-card__cta { flex-shrink:0; }
    .pen-business-card__brand { margin-bottom:16px; }
    .pen-business-card__brand--premium { gap:12px; }
    .pen-business-card__premium-name { min-width:0; font-size:20px; line-height:1.15; }
    .pen-business-card__copy {
        font-size:clamp(16px,4vw,18px) !important;
        line-height:1.3 !important;
        margin-bottom:20px;
    }
    .pen-business-card__cta { font-size:17px; line-height:1.2; }
}

/* Aviso de privacidad: lectura cómoda sin afectar las demás páginas. */
.pen-privacy { background:#fff; color:#333; padding:64px 0 80px; }
.pen-privacy__content { width:min(calc(100% - 40px),960px); margin-inline:auto; font:400 16px/1.7 var(--font-ui); overflow-wrap:break-word; }
.pen-privacy h1 { margin:0 0 32px; color:#011e41; font:500 clamp(32px,4vw,48px)/1.15 var(--font-display); }
.pen-privacy h2 { margin:36px 0 16px; color:#011e41; font:600 22px/1.35 var(--font-ui); }
.pen-privacy p { margin:0 0 20px; }
.pen-privacy ol { padding-left:1.6em; margin:0 0 24px; }
.pen-privacy li { padding-left:.25em; margin-bottom:12px; }
.pen-privacy li > p { margin-bottom:12px; }
.pen-privacy a { color:#011e41; text-decoration:underline; text-underline-offset:3px; }
.pen-privacy a:focus-visible { outline:2px solid currentColor; outline-offset:3px; }
@media (max-width:620px) {
    .pen-privacy { padding:36px 0 48px; }
    .pen-privacy__content { width:calc(100% - 32px); }
    .pen-privacy h2 { font-size:20px; }
}
