    /* Variables y base */
    :root,
    html[data-theme="ferreira"] {
        --navy: #0B203B;
        --deep: #07172B;
        --blue: #2254D1;
        --blue-hover: #143DB5;
        --paper: #F5F7FA;
        --line: #E4E8EF;
        --ink: #17243A;
        --muted: #68768A;
        --white: #FFFFFF;
        --radius: 16px;
        --body-bg: #FFFFFF;
        --surface: #FFFFFF;
        --section-alt: #F7F9FC;
        --nav-bg: #FFFFFF;
        --nav-text: #455064;
        --brand-text: #101A2C;
        --nav-hover: var(--blue);
        --link-hover: var(--blue-hover);
        --menu-icon: var(--navy);
        --theme-bg: #FFFFFF;
        --theme-text: #0B203B;
        --theme-border: #DCE3EC;
        --theme-bg-hover: #F1F5FA;
        --theme-border-hover: #A8B8CD;
        --heading-text: #112139;
        --page-heading-text: #13233A;
        --service-heading-text: #142338;
        --process-heading-text: var(--navy);
        --page-heading-muted: #738197;
        --accent-text: var(--blue);
        --card-border: #E8EDF3;
        --value-card-border: #E7ECF3;
        --process-border: #DDE5EF;
        --value-icon-bg: #ECF2FF;
        --form-bg: #FFFFFF;
        --field-bg: #FFFFFF;
        --field-text: #1E3048;
        --field-border: #D7DEE7;
        --field-label: #22324A;
        --field-placeholder: #9AA6B7;
        --field-focus-shadow: #E6EDFF;
        --consent-text: #56667D;
        --contact-name-text: #112846;
        --contact-icon-bg: #E6EDFC;
        --contact-aside-border: #DDE5F0;
        --aside-small: #778498;
        --form-footnote: #8795A5;
        --placeholder-text: #8793A4;
        --select-chevron: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23546985' stroke-width='1.5'/%3E%3C/svg%3E");
        --footer-bg: #F5F7FA;
        --footer-text: #17243A;
        --footer-brand: #0B203B;
        --footer-heading: #0B203B;
        --footer-muted: #5D6B80;
        --footer-description: #5D6B80;
        --footer-hover: #2254D1;
        --footer-link: #2254D1;
        --footer-link-hover: #143DB5;
        --footer-border: #DDE4ED;
        --footer-link-border: #B7C9E5;
        --footer-bottom: #68768A;
        --footer-separator: #B4C0CF;
    }

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

    html {
        scroll-behavior: smooth;
    }

    body {
        margin: 0;
        min-height: 100vh;
        background: var(--body-bg);
        color: var(--ink);
        font-family: "Inter", Arial, sans-serif;
        font-size: 15px;
        -webkit-font-smoothing: antialiased;
        line-height: 1.65;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    a:hover {
        text-decoration: none;
    }

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

    button {
        cursor: pointer;
    }

    button,
    select {
        touch-action: manipulation;
    }

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

    p,
    h1,
    h2,
    h3,
    h4 {
        margin-top: 0;
    }

    h1,
    h2,
    h3 {
        line-height: 1.17;
        letter-spacing: -.045em;
    }

    :focus-visible {
        outline: 3px solid #85a6ff;
        outline-offset: 3px;
    }

    .wrap {
        width: min(100% - 72px, 1320px);
        margin-left: auto;
        margin-right: auto;
    }

    .skip-link {
        position: absolute;
        top: -100px;
        left: 18px;
        background: var(--blue);
        color: #fff;
        z-index: 1000;
        padding: 12px 17px;
        border-radius: 6px;
    }

    .skip-link:focus {
        top: 12px;
    }

    html[data-theme="ferreira-oscuro"] {
        color-scheme: dark;
        --paper: #111E30;
        --line: #293D55;
        --ink: #EAF0F8;
        --muted: #A9B8CC;
        --blue: #3264D7;
        --blue-hover: #2855BF;
        --body-bg: #0B1422;
        --surface: #17273B;
        --section-alt: #111E30;
        --nav-bg: #0F1D2D;
        --nav-text: #EAF0F8;
        --brand-text: #EAF0F8;
        --nav-hover: #9BB8FF;
        --link-hover: #D1E1FF;
        --menu-icon: #EAF0F8;
        --theme-bg: #17273B;
        --theme-text: #EAF0F8;
        --theme-border: #344963;
        --theme-bg-hover: #243A55;
        --theme-border-hover: #344963;
        --heading-text: #EAF0F8;
        --page-heading-text: #EAF0F8;
        --service-heading-text: #EAF0F8;
        --process-heading-text: #EAF0F8;
        --page-heading-muted: #A9B8CC;
        --accent-text: #9BB8FF;
        --card-border: #293D55;
        --value-card-border: #293D55;
        --process-border: #293D55;
        --value-icon-bg: #1F3655;
        --form-bg: #17273B;
        --field-bg: #101E30;
        --field-text: #EAF0F8;
        --field-border: #344963;
        --field-label: #EAF0F8;
        --field-placeholder: #91A3BB;
        --field-focus-shadow: #233A62;
        --consent-text: #A9B8CC;
        --contact-name-text: #EAF0F8;
        --contact-icon-bg: #1F3655;
        --contact-aside-border: #293D55;
        --aside-small: #91A3BB;
        --form-footnote: #A9B8CC;
        --placeholder-text: #A9B8CC;
        --select-chevron: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m1 1 5 5 5-5' stroke='%23A9B8CC' stroke-width='1.5'/%3E%3C/svg%3E");
        --footer-bg: #09182B;
        --footer-text: #FFFFFF;
        --footer-brand: #FFFFFF;
        --footer-heading: #FFFFFF;
        --footer-muted: #AAB8CA;
        --footer-description: #A2B1C6;
        --footer-hover: #FFFFFF;
        --footer-link: #FFFFFF;
        --footer-link-hover: #FFFFFF;
        --footer-border: #23354A;
        --footer-link-border: #65768C;
        --footer-bottom: #8498B1;
        --footer-separator: #36506A;
    }

    html[data-theme="ferreira"] {
        color-scheme: light;
    }

    /* Navegación */
    .site-header {
        background: var(--nav-bg);
        position: relative;
        z-index: 30;
    }

    .nav-shell {
        height: 94px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 22px;
    }

    .brand {
        display: inline-flex;
        align-items: center;
        gap: 12px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .brand img {
        width: 40px;
        height: 40px;
    }

    .brand-wordmark {
        display: flex;
        flex-direction: column;
        line-height: 1.04;
        letter-spacing: -.045em;
        font-size: 20px;
        color: var(--brand-text);
    }

    .brand-wordmark strong:first-child {
        font-weight: 750;
        font-size: 11px;
        letter-spacing: .125em;
        line-height: 1.6;
    }

    .brand-wordmark strong:nth-child(2) {
        font-weight: 800;
    }

    .brand-period {
        color: var(--blue);
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 35px;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-links>a {
        font-size: 13px;
        color: var(--nav-text);
        font-weight: 600;
        transition: color .2s;
        white-space: nowrap;
    }

    .nav-links>a:hover,
    .nav-links>a[aria-current=page] {
        color: var(--nav-hover);
    }

    .nav-links>a[aria-current=page] {
        position: relative;
    }

    .nav-links>a[aria-current=page]::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -13px;
        height: 2px;
        background: var(--blue);
    }

    .nav-actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .theme-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        height: 44px;
        padding: 0 15px;
        background: var(--theme-bg);
        color: var(--theme-text);
        border: 1px solid var(--theme-border);
        border-radius: 8px;
        font-size: 13px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
        transition: background-color .2s, border-color .2s, color .2s;
    }

    .theme-toggle:hover {
        background: var(--theme-bg-hover);
        border-color: var(--theme-border-hover);
    }

    .theme-icon {
        font-size: 21px;
        line-height: 1;
    }

    .btn.action-btn {
        display: inline-flex;
        align-items: center;
        justify-content: space-between;
        gap: 30px;
        height: 48px;
        min-height: 48px;
        padding: 0 19px;
        border: 1px solid transparent;
        background: var(--blue);
        color: #fff;
        border-radius: 8px;
        box-shadow: none;
        font-size: 13px;
        letter-spacing: -.015em;
        font-weight: 700;
        text-transform: none;
        white-space: nowrap;
        transition: background .18s, transform .18s;
        text-decoration: none;
    }

    .btn.action-btn:hover {
        background: var(--blue-hover);
        color: #fff;
        transform: translateY(-1px);
    }

    .action-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 17px;
        line-height: 1;
    }

    .menu-toggle {
        display: none;
        width: 42px;
        height: 42px;
        border: 1px solid var(--line);
        border-radius: 8px;
        background: var(--nav-bg);
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 5px;
    }

    .menu-toggle span {
        height: 2px;
        width: 19px;
        background: var(--menu-icon);
        transition: transform .15s, opacity .15s;
    }

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

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

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

    /* Portada */
    .hero-outer {
        padding-bottom: 0;
    }

    .hero-cover {
        position: relative;
        min-height: 610px;
        overflow: hidden;
        isolation: isolate;
        border-radius: 17px;
        color: #fff;
        background-color: var(--deep);
        background-image: linear-gradient(90deg, rgba(5, 16, 30, .87) 0%, rgba(5, 16, 30, .74) 34%, rgba(5, 16, 30, .29) 71%, rgba(5, 16, 30, .30) 100%), linear-gradient(0deg, rgba(4, 13, 24, .86), transparent 47%), var(--hero-photo), url("../img/photo-fallback.svg");
        background-position: center, center, center 47%, center;
        background-size: cover;
    }

    .hero-cover::after {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background: linear-gradient(145deg, transparent 44%, rgba(9, 29, 57, .18));
        pointer-events: none;
    }

    .hero-content {
        position: relative;
        padding: 200px 70px 250px;
        max-width: 840px;
        z-index: 1;
    }

    .hero-cover .hero-content.hero-content-two-cols {
        width: 100%;
        max-width: 1220px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 62px;
        padding-right: 62px;
    }

    .eyebrow {
        font-size: 11px;
        font-weight: 800;
        letter-spacing: .16em;
        display: inline-flex;
        align-items: center;
        gap: 9px;
    }

    .hero-content.hero-content-two-cols>.eyebrow {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 36px;
        align-items: center;
        width: 100%;
        font-weight: 400;
        font-size: inherit;
        letter-spacing: normal;
    }

    .hero-content.hero-content-two-cols>.eyebrow>.grid:first-child {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .hero-content.hero-content-two-cols>.eyebrow>.grid:first-child h1,
    .hero-content.hero-content-two-cols>.eyebrow>.grid:first-child p {
        max-width: 100%;
    }

    .hero-content.hero-content-two-cols>.eyebrow>.grid:last-child {
        width: 50%;
        min-width: 0;
        justify-self: center;
    }

    .eyebrow-light {
        color: #e5ebf8;
    }

    .eyebrow-dot {
        display: inline-block;
        width: 7px;
        height: 7px;
        min-width: 7px;
        background: #77A3FF;
        border-radius: 50%;
    }

    .hero-content h1 {
        font-size: clamp(43px, 5vw, 68px);
        max-width: 720px;
        margin: 21px 0 25px;
        line-height: 1.11;
        letter-spacing: -.055em;
        font-weight: 750;
    }

    .hero-content h1 em {
        font-weight: 500;
        font-style: normal;
        color: #d7e4ff;
    }

    .hero-content p {
        max-width: 520px;
        font-size: 15px;
        line-height: 1.82;
        color: #e4e9f1;
        margin-bottom: 25px;
    }

    .hero-buttons {
        display: flex;
        align-items: center;
        gap: 28px;
        flex-wrap: wrap;
    }

    .hero-buttons .action-btn {
        height: 50px;
    }

    .button-light-outline {
        font-weight: 650;
        color: #fff;
        font-size: 13px;
        display: inline-flex;
        align-items: center;
        gap: 14px;
        transition: color .2s;
    }

    .button-light-outline:hover {
        color: #b9d1ff;
    }

    .hero-bottom {
        position: absolute;
        z-index: 2;
        left: 70px;
        right: 70px;
        bottom: 35px;
        border-top: 1px solid rgba(255, 255, 255, .34);
        padding-top: 25px;
        display: flex;
        align-items: center;
        gap: 45px;
        color: #f9fbff;
    }

    .hero-bottom-label {
        font-size: 9px;
        line-height: 1.3;
        letter-spacing: .17em;
        font-weight: 800;
        color: #c5d4e8;
        max-width: 80px;
    }

    .hero-bottom-items {
        display: flex;
        align-items: center;
        gap: 28px;
        flex: 1;
    }

    .hero-bottom-items span {
        border-left: 1px solid rgba(255, 255, 255, .26);
        padding-left: 20px;
        font-size: 14px;
        font-weight: 600;
        white-space: nowrap;
    }

    .hero-bottom-items b {
        font-size: 10px;
        color: #394254;
        margin-right: 8px;
    }

    .hero-bottom-end {
        font-size: 10px;
        letter-spacing: .09em;
        white-space: nowrap;
        color: #dce6f5;
        font-weight: 700;
    }

    .hero-bottom-end span {
        margin-left: 10px;
        font-size: 15px;
    }

    /* Secciones generales */
    .section {
        padding-top: 111px;
        padding-bottom: 111px;
    }

    .section-label {
        display: flex;
        align-items: center;
        gap: 11px;
        color: var(--accent-text);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .16em;
        line-height: 1.3;
    }

    .short-line {
        width: 21px;
        height: 2px;
        background: var(--blue);
    }

    .display-heading {
        font-size: clamp(35px, 4.15vw, 58px);
        font-weight: 750;
        max-width: 690px;
    }

    .display-heading span {
        color: #8b98aa;
    }

    .section-title {
        font-size: clamp(32px, 3.35vw, 48px);
        font-weight: 750;
        line-height: 1.18;
        margin: 22px 0 0;
        letter-spacing: -.052em;
        color: var(--heading-text);
    }

    .intro-grid {
        display: grid;
        grid-template-columns: 1.35fr .65fr;
        gap: 80px;
        align-items: end;
        margin-top: 27px;
    }

    .intro-grid .display-heading {
        margin-bottom: 0;
    }

    .intro-copy {
        padding-bottom: 3px;
    }

    .intro-copy p,
    .about-feature-copy>p,
    .story-copy p {
        color: var(--muted);
        font-size: 15px;
        line-height: 1.9;
    }

    .intro-copy p {
        margin-bottom: 21px;
    }

    .text-link {
        font-size: 13px;
        color: var(--accent-text);
        font-weight: 750;
        display: inline-flex;
        gap: 24px;
        align-items: center;
        border-bottom: 1px solid #c7d5f9;
        padding-bottom: 7px;
    }

    .text-link span {
        font-size: 18px;
    }

    .text-link:hover {
        color: var(--link-hover);
    }

    /* Servicios */
    .section-services {
        background: var(--paper);
        padding-top: 110px;
        padding-bottom: 115px;
    }

    .section-head-row {
        display: flex;
        align-items: end;
        justify-content: space-between;
        gap: 60px;
    }

    .section-head-row .text-link {
        margin-bottom: 5px;
    }

    .service-grid {
        margin-top: 45px;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .service-card {
        background: var(--surface);
        min-width: 0;
        border: 1px solid var(--card-border);
        border-radius: 13px;
        overflow: hidden;
        transition: transform .25s, box-shadow .25s;
        display: flex;
        flex-direction: column;
    }

    .service-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 22px 35px rgba(12, 32, 63, .11);
    }

    .service-image {
        height: 240px;
        background-color: #243d58;
        background-image: linear-gradient(0deg, rgba(6, 22, 42, .28), rgba(8, 25, 48, .12)), var(--photo), url("../img/photo-fallback.svg");
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .service-counter {
        position: absolute;
        top: 22px;
        left: 22px;
        color: #fff;
        font-size: 11px;
        letter-spacing: .07em;
        font-weight: 700;
    }

    .service-visit {
        width: 37px;
        height: 37px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: absolute;
        bottom: 16px;
        right: 16px;
        border-radius: 50%;
        background: white;
        color: var(--blue);
        font-size: 19px;
    }

    .service-card-body {
        padding: 24px 25px 27px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .service-card h3 {
        font-size: 22px;
        letter-spacing: -.035em;
        color: var(--service-heading-text);
        margin: 0 0 13px;
        font-weight: 750;
    }

    .service-card p {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.83;
        min-height: 71px;
        margin-bottom: 23px;
    }

    .service-explore {
        border-top: 1px solid var(--line);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding-top: 17px;
        color: var(--accent-text);
        font-size: 12px;
        font-weight: 750;
        margin-top: auto;
    }

    .service-explore span {
        font-size: 18px;
    }

    /* Empresa y equipo */
    .about-feature {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 76px;
        align-items: center;
    }

    .about-feature-image {
        height: 696px;
        border-radius: 12px;
        position: relative;
        background-color: #283a4d;
        background-image:
            linear-gradient(0deg,
                rgba(5, 18, 37, .41),
                rgba(5, 18, 37, .02) 58%),
            var(--photo),
            url("../img/photo-fallback.svg");

        background-position: center top;
        background-size: cover;
        overflow: hidden;
    }

    .image-caption {
        position: absolute;
        bottom: 28px;
        left: 30px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: white;
        font-size: 10px;
        font-weight: 750;
        letter-spacing: .14em;
    }

    .about-feature-copy {
        max-width: 545px;
    }

    .about-feature-copy>.section-title {
        margin-bottom: 25px;
    }

    .about-feature-copy>p {
        margin-bottom: 25px;
    }

    .feature-list {
        border-top: 1px solid var(--line);
        margin-top: 30px;
    }

    .feature-list>div {
        display: grid;
        grid-template-columns: 36px 1fr;
        column-gap: 13px;
        row-gap: 3px;
        align-items: center;
        border-bottom: 1px solid var(--line);
        padding: 13px 0;
    }

    .feature-list div>span {
        color: var(--blue);
        font-size: 11px;
        font-weight: 800;
        grid-row: span 2;
        align-self: start;
        padding-top: 3px;
    }

    .feature-list strong {
        font-size: 14px;
        color: var(--ink);
    }

    .feature-list small {
        font-size: 12px;
        color: var(--muted);
    }

    .feature-button {
        margin-top: 29px;
    }

    .process-section {
        background: var(--section-alt);
    }

    .process-header>p {
        max-width: 355px;
        color: var(--muted);
        line-height: 1.85;
        font-size: 14px;
        margin: 0 0 2px;
    }

    .process-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0;
        margin-top: 57px;
        border-top: 1px solid var(--process-border);
    }

    .process-step {
        padding: 26px 30px 6px 0;
        border-right: 1px solid var(--process-border);
    }

    .process-step+.process-step {
        padding-left: 30px;
    }

    .process-step:last-child {
        border-right: 0;
    }

    .process-number {
        font-size: 38px;
        letter-spacing: -.06em;
        font-weight: 600;
        color: #bac7d7;
        display: flex;
        align-items: start;
        justify-content: space-between;
        margin-bottom: 34px;
    }

    .process-number span {
        font-size: 18px;
        color: var(--blue);
    }

    .process-step h3 {
        font-size: 20px;
        color: var(--process-heading-text);
        margin-bottom: 11px;
    }

    .process-step p {
        font-size: 13px;
        line-height: 1.9;
        color: var(--muted);
        max-width: 280px;
        margin-bottom: 0;
    }

    .cta-outer {
        padding-top: 46px;
        padding-bottom: 110px;
    }

    .cta-panel {
        background: var(--navy);
        color: #fff;
        border-radius: 13px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 45px;
        padding: 65px 75px;
        background-image: url("../img/pattern.svg");
        background-position: right center;
        background-repeat: no-repeat;
    }

    .cta-panel h2 {
        font-size: clamp(30px, 3.2vw, 47px);
        letter-spacing: -.05em;
        line-height: 1.16;
        margin: 17px 0;
    }

    .cta-panel p {
        font-size: 14px;
        color: #c2d0e1;
        margin: 0;
    }

    .cta-panel>.btn {
        flex-shrink: 0;
    }

    /* Páginas interiores */
    .subhero-section {
        padding-top: 68px;
    }

    .subhero-copy {
        max-width: 960px;
    }

    .page-heading {
        font-size: clamp(44px, 5.4vw, 72px);
        font-weight: 750;
        line-height: 1.14;
        letter-spacing: -.056em;
        margin: 22px 0 23px;
        color: var(--page-heading-text);
    }

    .page-heading span {
        color: var(--page-heading-muted);
    }

    .subhero-copy>p {
        max-width: 635px;
        font-size: 15px;
        line-height: 1.87;
        color: var(--muted);
        margin-bottom: 43px;
    }

    .wide-photo {
        height: 500px;
        border-radius: 14px;
        background-color: var(--navy);
        position: relative;
        background-image: linear-gradient(0deg, rgba(5, 20, 35, .42), rgba(5, 20, 35, .03)), var(--photo), url("../img/photo-fallback.svg");
        background-size: cover;
        background-position: center;
    }

    .about-story {
        padding-top: 110px;
    }

    .story-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 85px;
        margin-top: 16px;
    }

    .story-grid .section-title {
        margin-top: 0;
        max-width: 530px;
    }

    .story-copy {
        max-width: 590px;
    }

    .placeholder-note,
    .story-copy .placeholder-note {
        font-size: 12px;
        border-left: 2px solid #b6c4da;
        padding-left: 13px;
        margin-top: 15px;
        color: var(--placeholder-text);
    }

    /* Misión y visión: tarjetas de texto, sin fotografías externas. */
    .purpose-block {
        margin-top: 66px;
    }

    .purpose-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
        margin-top: 30px;
    }

    .purpose-card {
        min-width: 0;
        padding: 33px;
        background: var(--paper);
        border: 1px solid var(--line);
        border-radius: 13px;
    }

    .purpose-kicker {
        display: block;
        margin-bottom: 21px;
        color: var(--accent-text);
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .14em;
    }

    .purpose-card h3 {
        margin-bottom: 14px;
        color: var(--ink);
        font-size: 23px;
    }

    .purpose-card p {
        margin-bottom: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.85;
    }

    .values-section {
        background: var(--paper);
    }

    .values-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        margin-top: 43px;
    }

    .value-card {
        background: var(--surface);
        border: 1px solid var(--value-card-border);
        border-radius: 13px;
        padding: 33px;
        min-height: 250px;
    }

    .value-icon {
        width: 46px;
        height: 46px;
        border-radius: 9px;
        color: var(--blue);
        display: grid;
        place-items: center;
        background: var(--value-icon-bg);
        font-size: 15px;
        font-weight: 750;
        margin-bottom: 28px;
    }

    .value-card h3 {
        font-size: 20px;
        margin: 0 0 12px;
    }

    .value-card p {
        color: var(--muted);
        font-size: 13px;
        line-height: 1.84;
        margin: 0;
    }

    .team-section .section-head-row>p {
        max-width: 365px;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.9;
        margin: 0;
    }

    .team-grid {
        margin-top: 45px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 23px;
    }

    .team-card {
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
        background: var(--surface);
    }

    .team-art {
        display: grid;
        place-items: center;
        height: 280px;
        position: relative;
        overflow: hidden;
    }

    .team-art:after {
        content: "";
        position: absolute;
        height: 150%;
        width: 100px;
        transform: rotate(31deg);
        border: 1px solid rgba(255, 255, 255, .15);
        left: 60%;
    }

    .team-art>span {
        font-size: 85px;
        font-weight: 800;
        letter-spacing: -.1em;
        color: rgba(255, 255, 255, .76);
    }

    .team-art-a {
        background: linear-gradient(135deg, #1e3d67, #091c38);
    }

    .team-art-b {
        background: linear-gradient(135deg, #496E9B, #132A49);
    }

    .team-art-c {
        background: linear-gradient(135deg, #8399B4, #243D5F);
    }

    .tiny-plus {
        font-size: 21px;
        vertical-align: top;
        letter-spacing: 0;
    }

    .team-meta {
        padding: 22px 25px;
    }

    .team-meta h3 {
        font-size: 18px;
        margin: 0 0 7px;
    }

    .team-meta p {
        font-size: 12px;
        color: var(--muted);
        margin: 0;
    }

    /* Formularios */
    .contact-heading .subhero-copy>p,
    .quote-heading .subhero-copy>p {
        margin-bottom: 0;
    }

    .form-layout {
        display: grid;
        grid-template-columns: .81fr 1.19fr;
        gap: 0;
        align-items: stretch;
        margin-top: 50px;
        margin-bottom: 115px;
        border: 1px solid var(--line);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 15px 45px rgba(10, 32, 60, .035);
        background: var(--surface);
    }

    .contact-aside {
        background: var(--paper);
        padding: 62px 50px;
    }

    .aside-kicker,
    .form-overline {
        font-size: 10px;
        font-weight: 800;
        letter-spacing: .14em;
        color: var(--blue);
    }

    .contact-aside h2,
    .quote-aside h2 {
        font-size: clamp(29px, 2.5vw, 39px);
        margin: 21px 0 20px;
        line-height: 1.2;
        letter-spacing: -.05em;
    }

    .contact-aside>p,
    .quote-aside p {
        font-size: 13px;
        color: var(--muted);
        line-height: 1.85;
        margin-bottom: 27px;
    }

    .contact-method {
        display: flex;
        gap: 15px;
        padding: 19px 0;
        border-top: 1px solid var(--contact-aside-border);
        align-items: start;
    }

    .contact-method-icon {
        width: 36px;
        height: 36px;
        display: grid;
        place-items: center;
        background: var(--contact-icon-bg);
        color: var(--blue);
        font-size: 16px;
        border-radius: 7px;
        flex-shrink: 0;
    }

    .contact-method small {
        display: block;
        font-size: 10px;
        color: var(--aside-small);
        letter-spacing: .09em;
        font-weight: 750;
        margin-bottom: 4px;
    }

    .contact-method strong {
        font-size: 14px;
        color: var(--contact-name-text);
        font-weight: 700;
        overflow-wrap: anywhere;
    }

    .aside-rule {
        height: 1px;
        background: var(--contact-aside-border);
        margin-top: 13px;
    }

    .contact-aside>.aside-note {
        font-size: 13px;
        margin: 22px 0 15px;
    }

    .aside-link {
        color: var(--accent-text);
        font-size: 13px;
        font-weight: 750;
        display: flex;
        align-items: center;
        gap: 35px;
        width: max-content;
    }

    .form-panel {
        padding: 55px 58px 60px;
        background: var(--form-bg);
    }

    .form-panel h2 {
        font-size: 31px;
        letter-spacing: -.045em;
        margin: 13px 0 9px;
    }

    .form-caption {
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 34px;
    }

    .required-star,
    .field label span,
    .consent-label b {
        color: var(--blue);
    }

    .form-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 20px;
    }

    .field {
        display: flex;
        flex-direction: column;
        min-width: 0;
    }

    .field-full {
        grid-column: 1/-1;
    }

    .field label {
        display: block;
        font-size: 12px;
        font-weight: 750;
        margin-bottom: 9px;
        color: var(--field-label);
    }

    .field label span {
        margin-left: 2px;
    }

    .field .input,
    .field .select,
    .field .textarea {
        width: 100%;
        background: var(--field-bg);
        color: var(--field-text);
        border: 1px solid var(--field-border);
        border-radius: 7px;
        box-shadow: none;
        outline: none;
        font-size: 13px;
        letter-spacing: 0;
        min-height: 48px;
        height: 48px;
        padding: 0 14px;
        transition: border-color .18s, box-shadow .18s;
    }

    .field .textarea {
        height: auto;
        min-height: 130px;
        padding: 14px;
        resize: vertical;
        line-height: 1.65;
    }

    .field .input:focus,
    .field .textarea:focus,
    .field .select:focus {
        border-color: #517FDF;
        box-shadow: 0 0 0 3px var(--field-focus-shadow);
    }

    .field .input::placeholder,
    .field .textarea::placeholder {
        color: var(--field-placeholder);
    }

    .field .select {
        appearance: none;
        background-image: var(--select-chevron);
        background-repeat: no-repeat;
        background-position: right 17px center;
        padding-right: 43px;
    }

    .field-error {
        color: #B23838;
        font-size: 11px;
        margin-top: 5px;
    }

    .form-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 20px;
        border-top: 1px solid var(--line);
        margin-top: 11px;
        padding-top: 25px;
    }

    .form-footer>p {
        color: var(--form-footnote);
        font-size: 11px;
        line-height: 1.7;
        max-width: 275px;
        margin: 0;
    }

    .spam-field {
        position: absolute;
        left: -99999px;
        opacity: 0;
        height: 0;
        overflow: hidden;
        pointer-events: none;
    }

    .notice-wrap {
        margin-top: 12px;
    }

    .alert.notice {
        display: flex;
        gap: 10px;
        align-items: center;
        border-radius: 8px;
        background: #e4f5ed;
        color: #16674f;
        border: 1px solid #b9e2d1;
        padding: 14px 20px;
        font-size: 13px;
    }

    .notice-dot {
        background: #21855e;
        border-radius: 50%;
        color: #fff;
        display: inline-grid;
        place-items: center;
        width: 22px;
        height: 22px;
        flex-shrink: 0;
    }

    .quote-layout {
        grid-template-columns: .76fr 1.24fr;
    }

    .quote-aside {
        position: relative;
        overflow: hidden;
        background: #0A203C;
        color: #fff;
    }

    .quote-side-inner {
        padding: 57px 47px 280px;
        position: relative;
        isolation: isolate;
        min-height: 100%;
        background-image: url("../img/pattern.svg");
        background-repeat: no-repeat;
        background-position: bottom right;
    }

    .quote-aside .aside-kicker {
        color: #9BB8FF;
    }

    .quote-aside h2 {
        max-width: 425px;
    }

    .quote-aside p {
        color: #c0cde0;
    }

    .quote-check {
        border-top: 1px solid #344963;
        padding: 24px 0;
        display: flex;
        gap: 16px;
        align-items: start;
    }

    .quote-check>span {
        font-size: 11px;
        color: #9ab9ff;
        font-weight: 800;
        flex-shrink: 0;
        padding-top: 4px;
    }

    .quote-check strong {
        font-size: 14px;
        color: #fff;
    }

    .quote-check p {
        font-size: 12px;
        margin: 6px 0 0;
    }

    .quote-aside-decoration {
        position: absolute;
        bottom: 58px;
        left: 47px;
        font-size: 27px;
        font-weight: 800;
        letter-spacing: -.04em;
        color: rgba(255, 255, 255, .15);
    }

    .quote-form-panel {
        padding-top: 53px;
    }

    .form-subhead {
        font-size: 15px;
        font-weight: 750;
        display: flex;
        gap: 13px;
        align-items: center;
        margin: 12px 0 0;
        padding: 0 0 15px;
        border-bottom: 1px solid var(--line);
        letter-spacing: -.02em;
    }

    .form-subhead:not(:first-of-type) {
        margin-top: 16px;
    }

    .form-subhead span {
        color: var(--blue);
        font-size: 12px;
    }

    .consent-field {
        margin-top: 5px;
    }

    .consent-label,
    .field label.consent-label {
        display: flex;
        align-items: start;
        gap: 12px;
        font-size: 12px;
        font-weight: 500;
        color: var(--consent-text);
        line-height: 1.65;
    }

    .consent-label .checkbox {
        width: 17px;
        min-width: 17px;
        height: 17px;
        min-height: 17px;
        margin-top: 1px;
        border-radius: 4px;
        accent-color: var(--blue);
    }

    .consent-label span,
    .field .consent-label span {
        color: var(--consent-text);
        margin: 0;
    }

    .consent-label b {
        font-weight: 750;
    }

    /* Pie de página */
    .site-footer {
        background: var(--footer-bg);
        color: var(--footer-text);
    }

    .footer-top {
        display: grid;
        grid-template-columns: 1.6fr .75fr .95fr 1fr;
        gap: 50px;
        padding: 78px 0 67px;
    }

    .brand-light .brand-wordmark {
        color: var(--footer-brand);
    }

    .footer-brand-block>p {
        max-width: 265px;
        font-size: 13px;
        color: var(--footer-description);
        line-height: 1.9;
        margin: 25px 0 0;
    }

    .footer-column {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .footer-column h3 {
        font-size: 12px;
        letter-spacing: .04em;
        color: var(--footer-heading);
        margin: 0 0 15px;
        font-weight: 750;
    }

    .footer-column>a,
    .footer-column>p {
        color: var(--footer-muted);
        font-size: 13px;
        line-height: 1.7;
        margin: 0;
    }

    .footer-column>a:hover {
        color: var(--footer-hover);
    }

    .footer-column .footer-link {
        color: var(--footer-link);
        font-weight: 750;
        border-bottom: 1px solid var(--footer-link-border);
        display: flex;
        justify-content: space-between;
        width: max-content;
        padding-bottom: 4px;
        margin-top: 5px;
    }

    .footer-column .footer-link:hover {
        color: var(--footer-link-hover);
        border-bottom-color: var(--footer-link-hover);
    }

    .footer-link span {
        margin-left: 25px;
        font-size: 17px;
    }

    .footer-bottom {
        border-top: 1px solid var(--footer-border);
        padding: 24px 0;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        color: var(--footer-bottom);
        font-size: 11px;
    }

    .footer-sep {
        margin: 0 11px;
        color: var(--footer-separator);
    }

    .site-footer,
    .site-footer .brand-wordmark,
    .site-footer .footer-column h3,
    .site-footer .footer-column a,
    .site-footer .footer-column p,
    .site-footer .footer-bottom {
        transition: background-color .25s ease, color .25s ease, border-color .25s ease;
    }

    /* Responsive */
    @media (max-width:1150px) {
        .nav-links {
            gap: 23px;
        }

        .footer-top {
            gap: 25px;
        }

        .about-feature {
            gap: 45px;
        }

        .hero-bottom-end {
            display: none;
        }

        .hero-content h1 {
            font-size: 58px;
        }

        .form-panel {
            padding: 40px 34px;
        }

        .contact-aside {
            padding: 48px 35px;
        }
    }

    @media (max-width: 1023px) {
        .hero-cover .hero-content.hero-content-two-cols {
            padding-left: 24px;
            padding-right: 24px;
        }

        .hero-content.hero-content-two-cols>.eyebrow {
            grid-template-columns: minmax(0, 1fr);
            gap: 28px;
        }

        .hero-content.hero-content-two-cols>.eyebrow>.grid:last-child {
            width: 100%;
        }
    }

    @media (max-width:900px) {
        .wrap {
            width: min(100% - 40px, 1320px);
        }

        .nav-shell {
            height: 78px;
        }

        .nav-links {
            display: none;
            position: absolute;
            top: 78px;
            left: 20px;
            right: 20px;
            flex-direction: column;
            gap: 0;
            margin: 0;
            align-items: stretch;
            background: var(--nav-bg);
            border: 1px solid var(--line);
            box-shadow: 0 18px 30px rgba(10, 20, 40, .13);
            padding: 15px 20px 20px;
            border-radius: 9px;
        }

        .nav-links.is-open {
            display: flex;
        }

        .nav-links>a {
            padding: 12px 4px;
            font-size: 14px;
        }

        .nav-links>a[aria-current=page]::after {
            display: none;
        }

        .theme-toggle {
            width: 44px;
            padding: 0;
        }

        .theme-label {
            display: none;
        }

        .menu-toggle {
            display: flex;
        }

        .hero-cover {
            min-height: 565px;
        }

        .hero-content {
            padding: 95px 44px 155px;
            max-width: 720px;
        }

        .hero-content h1 {
            font-size: 54px;
        }

        .hero-bottom {
            left: 44px;
            right: 44px;
        }

        .hero-bottom-items {
            gap: 12px;
        }

        .hero-bottom-items span {
            font-size: 12px;
            padding-left: 12px;
        }

        .section {
            padding: 82px 0;
        }

        .intro-grid {
            gap: 36px;
        }

        .service-grid {
            gap: 14px;
        }

        .service-image {
            height: 205px;
        }

        .service-card-body {
            padding: 20px;
        }

        .service-card h3 {
            font-size: 19px;
        }

        .about-feature {
            grid-template-columns: 1fr 1fr;
            gap: 32px;
        }

        .about-feature-image {
            height: 525px;
        }

        .footer-top {
            grid-template-columns: 1.4fr 1fr 1fr;
            gap: 32px;
        }

        .footer-contact {
            grid-column: 1/-1;
        }

        .form-layout {
            grid-template-columns: 1fr;
        }

        .contact-aside,
        .quote-side-inner {
            padding: 43px;
        }

        .quote-side-inner {
            padding-bottom: 60px;
        }

        .quote-aside-decoration {
            display: none;
        }

        .values-grid,
        .team-grid {
            gap: 14px;
        }

        .team-art {
            height: 215px;
        }

        .cta-panel {
            padding: 50px 43px;
        }
    }

    @media (max-width:640px) {
        .wrap {
            width: min(100% - 28px, 1320px);
        }

        .nav-shell {
            height: 72px;
        }

        .nav-links {
            top: 72px;
            left: 14px;
            right: 14px;
        }

        .brand-wordmark {
            font-size: 17px;
        }

        .brand-wordmark strong:first-child {
            font-size: 9px;
        }

        .brand img {
            width: 36px;
            height: 36px;
        }

        .hero-cover {
            min-height: 620px;
            border-radius: 12px;
            background-position: center, center, 60% center, center;
        }

        .hero-content {
            padding: 73px 25px 182px;
        }

        .hero-content h1 {
            font-size: clamp(38px, 10vw, 51px);
            letter-spacing: -.055em;
            line-height: 1.13;
        }

        .hero-content p {
            font-size: 13px;
            line-height: 1.85;
        }

        .hero-buttons {
            gap: 19px;
        }

        .hero-buttons .action-btn {
            font-size: 12px;
            gap: 17px;
        }

        .button-light-outline {
            font-size: 12px;
        }

        .hero-bottom {
            left: 25px;
            right: 25px;
            bottom: 28px;
            padding-top: 16px;
            display: block;
        }

        .hero-bottom-label {
            font-size: 9px;
            max-width: none;
        }

        .hero-bottom-items {
            margin-top: 12px;
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 5px;
        }

        .hero-bottom-items span {
            font-size: 10px;
            padding-left: 7px;
        }

        .hero-bottom-items b {
            display: block;
            margin-bottom: 3px;
        }

        .section {
            padding-top: 73px;
            padding-bottom: 73px;
        }

        .section-intro {
            padding-top: 73px;
        }

        .intro-grid,
        .story-grid {
            grid-template-columns: 1fr;
            gap: 22px;
        }

        .intro-grid {
            margin-top: 22px;
        }

        .display-heading {
            font-size: 38px;
            line-height: 1.2;
        }

        .intro-copy p {
            font-size: 13px;
        }

        .section-title {
            font-size: 34px;
        }

        .section-head-row {
            display: block;
        }

        .optional-desktop {
            display: none;
        }

        .service-grid {
            grid-template-columns: 1fr;
            gap: 19px;
            margin-top: 31px;
        }

        .service-image {
            height: 245px;
        }

        .service-card-body {
            padding: 20px 21px;
        }

        .service-card p {
            min-height: 0;
        }

        .about-feature {
            grid-template-columns: 1fr;
            gap: 32px;
        }

        .about-feature-image {
            height: 330px;
        }

        .about-feature-copy>.section-title {
            margin-top: 14px;
        }

        .process-header>p {
            margin-top: 22px;
        }

        .process-grid {
            grid-template-columns: 1fr;
            gap: 0;
            margin-top: 31px;
        }

        .process-step,
        .process-step+.process-step {
            padding: 20px 0 23px;
            border-right: 0;
            border-bottom: 1px solid var(--process-border);
        }

        .process-step:last-child {
            border-bottom: 0;
        }

        .process-number {
            margin-bottom: 12px;
            font-size: 29px;
        }

        .process-step h3 {
            font-size: 18px;
        }

        .cta-outer {
            padding-top: 23px;
            padding-bottom: 70px;
        }

        .cta-panel {
            display: block;
            padding: 39px 28px;
        }

        .cta-panel h2 {
            font-size: 31px;
        }

        .cta-panel p {
            font-size: 13px;
        }

        .cta-panel>.btn {
            margin-top: 25px;
        }

        .footer-top {
            grid-template-columns: 1fr 1fr;
            gap: 36px 26px;
            padding-top: 56px;
        }

        .footer-brand-block {
            grid-column: 1/-1;
        }

        .footer-contact {
            grid-column: 1/-1;
        }

        .footer-bottom {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        .subhero-section {
            padding-top: 42px;
        }

        .page-heading {
            font-size: clamp(38px, 10vw, 54px);
        }

        .subhero-copy>p {
            font-size: 13px;
            margin-bottom: 28px;
        }

        .wide-photo {
            height: 290px;
        }

        .about-story {
            padding-top: 72px;
        }

        .purpose-grid,
        .values-grid,
        .team-grid {
            grid-template-columns: 1fr;
        }

        .purpose-card {
            padding: 26px;
        }

        .value-card {
            min-height: 0;
        }

        .team-art {
            height: 225px;
        }

        .form-layout {
            margin-top: 37px;
            margin-bottom: 72px;
        }

        .contact-aside,
        .quote-side-inner {
            padding: 37px 26px;
        }

        .form-panel {
            padding: 35px 23px 37px;
        }

        .form-panel h2 {
            font-size: 28px;
        }

        .form-grid {
            grid-template-columns: 1fr;
            gap: 16px;
        }

        .field-full {
            grid-column: auto;
        }

        .form-subhead {
            grid-column: 1;
        }

        .form-footer {
            display: block;
        }

        .form-footer>p {
            max-width: none;
            margin-bottom: 16px;
        }

        .form-footer>.action-btn {
            width: 100%;
        }

        .contact-method {
            padding: 14px 0;
        }

        .contact-aside h2,
        .quote-aside h2 {
            font-size: 30px;
        }

        .quote-side-inner {
            padding-bottom: 45px;
        }
    }

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

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


    .contact-map-panel {
        min-width: 0;
    }

    .contact-map {
        width: 100%;
        overflow: hidden;
        border: 1px solid var(--line, #E4E8EF);
        border-radius: 8px;
        margin-top: 24px;
    }

    .contact-map iframe {
        display: block;
        width: 100%;
        height: 420px;
        border: 0;
    }

    .contact-map-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        padding-top: 24px;
    }

    .contact-map-footer strong {
        display: block;
        font-size: 15px;
        font-weight: 700;
    }

    .contact-map-footer p {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.7;
        color: var(--muted, #68768A);
    }

    .contact-map-footer .text-link {
        flex-shrink: 0;
    }

    .contact-placeholder {
        display: block;
        margin-top: 5px;
        font-size: 11px;
        color: var(--muted, #68768A);
    }

    .contact-address {
        display: block;
        margin-top: 5px;
        font-size: 13px;
        line-height: 1.6;
        color: var(--muted, #68768A);
    }

    @media (max-width: 768px) {
        .contact-map iframe {
            height: 320px;
        }

        .contact-map-footer {
            flex-direction: column;
            align-items: flex-start;
            gap: 16px;
        }
    }



    html[data-theme="ferreira"] .cta-panel {
        background: #F1F5FB;
        background-image: none;

        color: #0B203B;

        border: 1px solid #DCE5F0;
        box-shadow: 0 12px 35px rgba(11, 32, 59, 0.04);
    }

    html[data-theme="ferreira"] .cta-panel .eyebrow-light {
        color: #2254D1;
    }

    html[data-theme="ferreira"] .cta-panel .eyebrow-dot {
        background: #2254D1;
    }

    html[data-theme="ferreira"] .cta-panel h2 {
        color: #0B203B;
    }

    html[data-theme="ferreira"] .cta-panel p {
        color: #5D6B80;
    }

    html[data-theme="ferreira"] .cta-panel>.action-btn {
        background: #2254D1;
        color: #FFFFFF;
    }

    html[data-theme="ferreira"] .cta-panel>.action-btn:hover {
        background: #143DB5;
    }



    /* hero claro */

    html[data-theme="ferreira"] .hero-cover {
        background-color: #F1F5FB;

        background-image:
            linear-gradient(90deg,
                rgba(245, 247, 250, 0.36) 0%,
                rgba(245, 247, 250, 0.31) 35%,
                rgba(245, 247, 250, 0.28) 65%,
                rgba(245, 247, 250, 0.20) 100%),
            var(--hero-photo);

        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;

        border: 1px solid #E4E8EF;
        box-shadow: 0 12px 40px rgba(11, 32, 59, 0.44);
    }

    html[data-theme="ferreira"] .hero-cover h1 {
        color: #0B203B;
        text-shadow: none;
    }

    html[data-theme="ferreira"] .hero-cover h1 em {
        color: #2254D1;
    }

    html[data-theme="ferreira"] .hero-cover p {
        color: #252d38;
        text-shadow: none;
    }

    html[data-theme="ferreira"] .hero-cover .eyebrow-light {
        color: #0B203B;
    }

    html[data-theme="ferreira"] .hero-bottom {
        color: #0B203B;
        border-top-color: rgba(11, 32, 59, 0.12);
    }

    html[data-theme="ferreira"] .hero-bottom-label {
        color: #141517;
    }

    html[data-theme="ferreira"] .hero-bottom-items {
        color: #252d38;
    }

    html[data-theme="ferreira"] .hero-bottom-items b {
        color: #2254D1;
    }

    html[data-theme="ferreira"] .hero-cover .button-light-outline {
        color: #0B203B;
        border-color: #C9D5E6;
        background: rgba(255, 255, 255, 0.00);
    }

    html[data-theme="ferreira"] .hero-cover .button-light-outline:hover {
        background: transparent;
        border-color: #2254D1;
        color: #0a142a;
        box-shadow: none;
    }

    html[data-theme="ferreira"] .hero-cover .action-btn {
        background: #2254D1;
        color: #FFFFFF;
    }

    @media (max-width: 768px) {
        html[data-theme="ferreira"] .hero-cover {
            background-image:
                linear-gradient(180deg,
                    rgba(245, 247, 250, 0.34) 0%,
                    rgba(245, 247, 250, 0.28) 55%,
                    rgba(245, 247, 250, 0.32) 100%),
                var(--hero-photo);
        }
    }

    .wide-photo-about {
        background-position: center bottom;
    }

    .contact-method-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .contact-method-icon i {
        font-size: 20px;
        line-height: 1;
    }

    .about-gallery-main img {
        object-fit: cover;
        object-position: center 65%;
    }

    .about-gallery-item:nth-child(2) img {
        object-position: center 55%;
    }

    .about-gallery-item:nth-child(3) img {
        object-position: center 60%;
    }



    /* Contenedor principal de la galería */
    .about-gallery {
        display: grid;

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

        width: 100%;
        height: 560px;
        gap: 12px;
    }

    /* Cada fotografía */
    .about-gallery .about-gallery-item {
        position: relative;
        margin: 0;
        padding: 0;
        min-width: 0;
        min-height: 0;

        overflow: hidden;
        border-radius: 12px;
        background: #20344C;
    }

    /* Fotografía principal: ocupa ambas filas */
    .about-gallery .about-gallery-main {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    /* Fotografías: ocupar exactamente su contenedor */
    .about-gallery .about-gallery-item img {
        position: absolute;
        inset: 0;

        width: 100%;
        height: 100%;

        display: block;
        object-fit: cover;

        transition: transform 0.45s ease;
    }

    /* Encuadres individuales */
    .about-gallery .about-gallery-main img {
        object-position: center 65%;
    }

    .about-gallery .about-gallery-item:nth-child(2) img {
        object-position: center 55%;
    }

    .about-gallery .about-gallery-item:nth-child(3) img {
        object-position: center 60%;
    }

    /* Degradado inferior para leer los títulos */
    .about-gallery .about-gallery-item::after {
        content: "";
        position: absolute;
        inset: 0;

        background: linear-gradient(0deg,
                rgba(5, 18, 37, 0.65) 0%,
                rgba(5, 18, 37, 0.15) 35%,
                transparent 65%);

        pointer-events: none;
        z-index: 1;
    }

    /* Etiquetas sobre cada imagen */
    .about-gallery .about-gallery-item figcaption {
        position: absolute;
        bottom: 22px;
        left: 24px;
        z-index: 2;

        display: flex;
        align-items: center;
        gap: 10px;

        color: #FFFFFF;
        font-size: 11px;
        font-weight: 750;
        letter-spacing: 0.12em;
        line-height: 1.4;
    }

    /* Efecto suave al pasar el cursor */
    @media (hover: hover) {
        .about-gallery .about-gallery-item:hover img {
            transform: scale(1.035);
        }
    }


    @media (max-width: 900px) {
        .about-gallery {
            height: 440px;
            gap: 10px;
        }
    }


    @media (max-width: 640px) {
        .about-gallery {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            grid-template-rows: 270px 170px;

            height: auto;
            gap: 8px;
        }

        /* Foto principal arriba, ancho completo */
        .about-gallery .about-gallery-main {
            grid-column: 1 / -1;
            grid-row: 1;
        }

        /* Fotografías secundarias abajo */
        .about-gallery .about-gallery-item:nth-child(2) {
            grid-column: 1;
            grid-row: 2;
        }

        .about-gallery .about-gallery-item:nth-child(3) {
            grid-column: 2;
            grid-row: 2;
        }

        .about-gallery .about-gallery-item {
            border-radius: 9px;
        }

        .about-gallery .about-gallery-item figcaption {
            bottom: 12px;
            left: 12px;
            font-size: 9px;
            letter-spacing: 0.06em;
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .about-gallery .about-gallery-item img {
            transition: none;
        }
    }