:root {
    --ink: #0b2337;
    --ink-soft: #17384f;
    --blue: #234f6e;
    --sky: #dce9f1;
    --sand: #d7bda7;
    --sand-light: #efe1d4;
    --paper: #f5f1eb;
    --white: #ffffff;
    --text: #17242d;
    --muted: #5b6872;   /* A-10 (22-08-2026): era #65737d, que no alcanzaba 4.5:1 sobre ninguno
                            de los fondos claros salvo el blanco. Peor caso ahora 4.63:1. */
    --line: rgba(11, 35, 55, .14);
    --shadow: 0 30px 80px rgba(11, 35, 55, .14);
    --radius: 22px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Manrope", Arial, sans-serif;
    --font-sans: "Manrope", Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 104px;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--paper);
    font-family: var(--font-body);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body.menu-open {
    overflow: hidden;
}

body.modal-open {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
select {
    cursor: pointer;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: .98;
}

h1 {
    font-size: clamp(4rem, 8vw, 7.8rem);
    letter-spacing: -.045em;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(3rem, 5.3vw, 5.4rem);
    letter-spacing: -.035em;
}

h3 {
    font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 120px 0;
}

.section-soft {
    background: #ebe8e2;
}

.section-ink {
    color: rgba(255, 255, 255, .78);
    background: var(--ink);
}

.section-ink h2,
.section-ink h3 {
    color: var(--white);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 8px;
    left: 8px;
    padding: 10px 14px;
    color: var(--white);
    background: var(--ink);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: translateY(0);
}

.eyebrow {
    margin-bottom: 18px;
    color: #1f577d;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.eyebrow-light {
    color: #f1d8c2;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .9rem;
    font-weight: 700;
    transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    color: var(--ink);
    background: var(--white);
}

.button-primary:hover {
    background: var(--sand-light);
}

.button-glass {
    color: var(--white);
    border-color: rgba(255, 255, 255, .34);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.button-glass:hover {
    background: rgba(255, 255, 255, .16);
}

.button-sand {
    color: var(--ink);
    background: var(--sand);
}

.button-outline {
    color: var(--ink);
    border-color: rgba(11, 35, 55, .32);
    background: transparent;
}

.button-outline:hover {
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
}

.button-block {
    width: 100%;
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-weight: 700;
    border-bottom: 1px solid currentColor;
}

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: 110px;
    color: var(--white);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    background: rgba(5, 22, 34, .62);
    backdrop-filter: blur(16px);
    transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
    height: 90px;
    background: rgba(5, 22, 34, .94);
    box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.header-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 30px;
}

.brand {
    margin-right: auto;
    display: flex;
    align-items: center;
}

.brand img {
    height: 90px;
    width: auto;
    max-width: 360px;
    object-fit: contain;
    transition: height .25s ease;
}

.site-header.is-scrolled .brand img {
    height: 86px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.main-nav>a,
.nav-dropdown-toggle {
    position: relative;
    color: rgba(255, 255, 255, .78);
    font-size: .82rem;
    font-weight: 600;
}

.main-nav>a::after,
.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -8px;
    left: 0;
    height: 1px;
    background: var(--sand);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.main-nav>a:hover,
.nav-dropdown-toggle:hover,
.nav-dropdown.is-open .nav-dropdown-toggle {
    color: var(--white);
}

.main-nav>a:hover::after,
.nav-dropdown-toggle:hover::after,
.nav-dropdown.is-open .nav-dropdown-toggle::after {
    transform: scaleX(1);
    transform-origin: left;
}

.main-nav>a[aria-current="page"] {
    color: var(--white);
}

.main-nav>a[aria-current="page"]::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
}

.nav-dropdown-toggle>span {
    font-size: 1rem;
    transition: transform .25s ease;
}

.nav-dropdown.is-open .nav-dropdown-toggle>span {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    display: grid;
    width: 310px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 16px;
    background: rgba(5, 22, 34, .98);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 8px);
    transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
    display: block;
    padding: 12px 13px;
    color: rgba(255, 255, 255, .78);
    border-radius: 10px;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    color: var(--white);
    background: rgba(255, 255, 255, .08);
    outline: none;
}

.nav-dropdown-menu strong,
.nav-dropdown-menu small {
    display: block;
}

.nav-dropdown-menu strong {
    font-size: .85rem;
}

.nav-dropdown-menu small {
    margin-top: 2px;
    color: rgba(255, 255, 255, .52);
    font-size: .68rem;
    line-height: 1.4;
}

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 19px;
    color: var(--ink);
    border-radius: 999px;
    background: var(--sand);
    font-size: .8rem;
    font-weight: 700;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: transparent;
}

.menu-toggle>span:not(.sr-only) {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: var(--white);
    transition: transform .25s ease, opacity .25s ease;
}

.hero {
    position: relative;
    display: flex;
    min-height: 860px;
    padding-top: 140px;
    overflow: hidden;
    color: var(--white);
    background: var(--ink);
}

.hero-media,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 55%;
    transform: scale(1.015);
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(4, 20, 32, .94) 0%, rgba(4, 20, 32, .68) 46%, rgba(4, 20, 32, .12) 78%), linear-gradient(0deg, rgba(4, 20, 32, .7), transparent 44%);
}

.hero-pattern {
    position: absolute;
    right: 6%;
    bottom: 24%;
    width: 190px;
    height: 160px;
    opacity: .42;
}

.hero-pattern span {
    position: absolute;
    width: 105px;
    height: 62px;
    border: 1px solid var(--sand);
    transform: rotate(28deg);
}

.hero-pattern span:nth-child(2) {
    top: 50px;
    left: 75px;
    transform: rotate(-20deg) scale(.78);
}

.hero-pattern span:nth-child(3) {
    top: 95px;
    left: 15px;
    transform: rotate(12deg) scale(.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: center;
    gap: 80px;
    padding-top: 62px;
    padding-bottom: 150px;
}

.hero-copy {
    max-width: 710px;
}

.hero h1 {
    margin-bottom: 26px;
    color: var(--white);
}

.hero h1 em {
    color: var(--sand);
    font-style: normal;
}

.hero-lead {
    max-width: 650px;
    margin-bottom: 34px;
    color: rgba(255, 255, 255, .76);
    font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .55);
    font-size: .75rem;
}

.hero-note span {
    width: 22px;
    height: 1px;
    background: var(--sand);
}

.hero-card {
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: var(--radius);
    background: rgba(7, 28, 43, .7);
    backdrop-filter: blur(18px);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .24);
}

.hero-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.hero-card-head p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
}

.hero-card-head span {
    padding: 5px 9px;
    color: var(--ink);
    border-radius: 999px;
    background: var(--sand);
    font-size: .62rem;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-card-model {
    padding: 24px 0;
}

.hero-card-model small {
    display: block;
    color: rgba(255, 255, 255, .58);
}

.hero-card-model strong {
    display: block;
    margin: 6px 0;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 3.3rem;
    line-height: 1;
}

.hero-card-model p {
    margin: 0;
    color: var(--sand);
    font-size: .8rem;
}

.hero-card-row {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .73rem;
}

.hero-card-row span {
    color: rgba(255, 255, 255, .52);
}

.hero-card-row strong {
    color: var(--white);
    font-size: .73rem;
}

.hero-card>a {
    display: flex;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 18px;
    color: var(--sand);
    border-top: 1px solid rgba(255, 255, 255, .14);
    font-size: .78rem;
    font-weight: 700;
}

.hero-stats {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    background: rgba(5, 22, 34, .74);
    backdrop-filter: blur(14px);
}

.hero-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.hero-stats-grid>div {
    display: flex;
    min-height: 100px;
    padding: 20px 22px;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(255, 255, 255, .12);
}

.hero-stats-grid>div:last-child {
    border-right: 0;
}

.hero-stats strong {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 2.6vw, 2.55rem);
    line-height: .9;
}

.hero-stats span {
    margin-top: 8px;
    color: rgba(255, 255, 255, .76);
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.25;
}

.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, .6fr);
    align-items: end;
    gap: 70px;
    margin-bottom: 60px;
}

.section-heading>p {
    margin: 0 0 8px;
    color: var(--muted);
}

.section-heading-light>p {
    color: rgba(255, 255, 255, .76);
}

.opportunity-grid {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    grid-template-rows: repeat(2, 290px);
    gap: 18px;
}

.opportunity-card {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: var(--ink);
}

.opportunity-main {
    grid-row: 1 / 3;
}

.opportunity-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.opportunity-card:hover img {
    transform: scale(1.045);
}

.opportunity-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 22, 34, .9), rgba(5, 22, 34, .08) 70%);
}

.opportunity-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 30px;
    color: var(--white);
}

.opportunity-content span {
    display: block;
    color: #f1d8c2;
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 800;
    letter-spacing: .04em;
    line-height: 1;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .3);
}

.opportunity-content h3 {
    max-width: 520px;
    margin: 13px 0 11px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: clamp(1.1rem, 1.55vw, 1.4rem);
    font-weight: 700;
    line-height: 1.25;
}

.opportunity-content p {
    max-width: 520px;
    color: rgba(255, 255, 255, .82);
}

.opportunity-content a {
    display: inline-block;
    margin-top: 2px;
    color: #f1d8c2;
    font-size: 1rem;
    font-weight: 800;
}

.company-trust {
    padding-top: 0;
}

.company-trust-card {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(390px, .95fr);
    min-height: 500px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    background: var(--white);
    box-shadow: var(--shadow);
}

.company-trust-media {
    position: relative;
    min-height: 500px;
    overflow: hidden;
    background: var(--ink);
}

.company-trust-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 22, 34, .62), transparent 50%);
}

.company-trust-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #101d26;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.company-trust-card:hover .company-trust-media img {
    transform: scale(1.025);
}

.company-trust-media>span {
    position: absolute;
    z-index: 1;
    right: 26px;
    bottom: 24px;
    left: 26px;
    color: var(--white);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.company-trust-copy {
    display: flex;
    padding: 56px;
    flex-direction: column;
    justify-content: center;
}

.company-trust-copy h2 {
    max-width: 600px;
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 4.4vw, 4.7rem);
}

.company-trust-copy>p:not(.eyebrow) {
    margin-bottom: 0;
    color: var(--muted);
}

.company-trust-disciplines {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 30px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.company-trust-disciplines span {
    padding: 15px 8px;
    color: var(--ink);
    font-size: .7rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

.company-trust-disciplines span+span {
    border-left: 1px solid var(--line);
}

.company-trust-copy .button {
    align-self: flex-start;
}

.inventory-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}

.inventory-tab {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 15px;
    min-height: 96px;
    padding: 17px 18px;
    color: rgba(255, 255, 255, .82);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 16px;
    background: rgba(255, 255, 255, .045);
    text-align: left;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.inventory-tab:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .48);
    transform: translateY(-2px);
}

.inventory-tab.is-active {
    color: var(--ink);
    border-color: var(--sand);
    background: var(--sand);
    box-shadow: 0 16px 36px rgba(0, 0, 0, .17);
}

.inventory-tab-number {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    color: var(--ink);
    border-radius: 50%;
    background: #f1d8c2;
    font-size: .7rem;
    font-weight: 800;
}

.inventory-tab.is-active .inventory-tab-number {
    color: var(--white);
    background: var(--ink);
}

.inventory-tab strong,
.inventory-tab small {
    display: block;
}

.inventory-tab strong {
    font-size: .9rem;
}

.inventory-tab small {
    margin-top: 3px;
    color: rgba(255, 255, 255, .62);
    font-size: .7rem;
}

.inventory-tab.is-active small {
    color: rgba(11, 35, 55, .72);
}

.inventory-tab-arrow {
    font-size: 1.15rem;
}

.inventory-panel[hidden] {
    display: none;
}

.model-selector-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 0 16px;
}

.model-selector-heading span,
.model-selector-heading strong {
    display: block;
}

.model-selector-heading span {
    color: #f1d8c2;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.model-selector-heading strong {
    margin-top: 4px;
    color: var(--white);
    font-size: .98rem;
}

.model-selector-heading p {
    margin: 0;
    color: rgba(255, 255, 255, .7);
    font-size: .76rem;
}

.model-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 22px;
}

.model-tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
    min-height: 78px;
    padding: 13px 16px;
    color: rgba(255, 255, 255, .8);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 13px;
    background: rgba(255, 255, 255, .045);
    text-align: left;
    transition: color .25s ease, border-color .25s ease, background .25s ease, transform .25s ease;
}

.model-tab:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, .5);
    transform: translateY(-2px);
}

.model-tab-main {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.model-tab-main strong {
    font-family: var(--font-display);
    font-size: 1.5rem;
    line-height: 1;
}

.model-tab-main small {
    color: #f1d8c2;
    font-size: .78rem;
    font-weight: 800;
    white-space: nowrap;
}

.model-tab-action {
    font-size: .7rem;
    font-weight: 800;
}

.model-tab.is-active {
    color: var(--ink);
    border-color: var(--white);
    background: var(--white);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}

.model-tab.is-active .model-tab-main small {
    color: var(--blue);
}

.model-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    min-height: 470px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .035);
}

.model-panel[hidden] {
    display: none;
}

/* Misma idea que .quote-sheet-gallery en cotizacion.php: escenario fijo
   arriba (la imagen activa, clicable, se amplía en la caja de luz) y una
   tira de miniaturas debajo con TODAS las fotos —la planta incluida como la
   primera—, en vez del indicador flotante "+N" que se probó antes. */
.model-image {
    display: flex;
    flex-direction: column;
    min-height: 470px;
    background: #dfe5e5;
}

.model-image-stage {
    position: relative;
    display: grid;
    flex: 1;
    min-height: 0;
    place-items: center;
    padding: 22px;
}

.model-image-zoom {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: none;
    cursor: zoom-in;
}

.model-image-zoom img {
    width: 100%;
    height: 100%;
    max-height: 440px;
    object-fit: contain;
}

.model-image-zoom-hint {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(11, 35, 55, .74);
    color: var(--white);
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    opacity: 0;
    transition: opacity .18s ease;
}

.model-image-zoom:hover .model-image-zoom-hint,
.model-image-zoom:focus-visible .model-image-zoom-hint {
    opacity: 1;
}

@media (hover: none) {
    .model-image-zoom-hint {
        opacity: 1;
    }
}

.model-image-thumbnails {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
    overflow-x: auto;
    padding: 10px 14px;
    background: rgba(11, 35, 55, .06);
}

.model-image-thumbnails button {
    flex: 0 0 72px;
    height: 52px;
    padding: 2px;
    overflow: hidden;
    border: 2px solid transparent;
    border-radius: 8px;
    background: var(--white);
    cursor: pointer;
}

.model-image-thumbnails button.is-active {
    border-color: var(--sand);
}

.model-image-thumbnails button:hover,
.model-image-thumbnails button:focus-visible {
    border-color: var(--sand);
    outline: none;
}

.model-image-thumbnails img {
    width: 100%;
    height: 100%;
    border-radius: 5px;
    object-fit: cover;
}

.model-lightbox {
    width: 100vw;
    max-width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    overflow: hidden;
}

.model-lightbox::backdrop {
    background: rgba(4, 14, 22, .93);
}

/* Flexbox, no grid: con un porcentaje de alto sobre un contenedor grid de
   una sola celda, una foto vertical no calculaba bien su tope y se recortaba.
   El mismo patrón que .quote-viewer-shell en cotizacion.php, ya probado con
   verticales, ancla el límite al viewport (100dvh) en vez de al contenedor. */
.model-lightbox-shell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 64px 76px;
    /* El swipe se gestiona por puntero; sin esto el navegador se queda el gesto. */
    touch-action: pan-y;
}

.model-lightbox-shell img {
    max-width: 100%;
    max-height: calc(100dvh - 128px);
    width: auto;
    height: auto;
    border-radius: 14px;
    object-fit: contain;
    -webkit-user-drag: none;
    user-select: none;
}

/* El ancho se calcula a partir del alto disponible (16:9), igual que la
   imagen se acota por calc(100dvh - 128px); max-width entra cuando la
   pantalla es angosta y el límite real pasa a ser el ancho, no el alto. */
.model-lightbox-video {
    width: min(100%, calc((100dvh - 128px) * 16 / 9));
    aspect-ratio: 16 / 9;
}

.model-lightbox-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 14px;
}

.model-price {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.model-video-trigger {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 0;
    border: 0;
    background: none;
    color: var(--white);
    cursor: pointer;
    font-family: inherit;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .01em;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(255, 255, 255, .5);
}

.model-video-trigger span {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--ink);
    font-size: .6rem;
}

.model-video-trigger:hover,
.model-video-trigger:focus-visible {
    text-decoration-color: var(--white);
    outline: none;
}

.model-lightbox-close,
.model-lightbox-nav {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    padding: 0;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}

.model-lightbox-close {
    top: 16px;
    right: 16px;
    font-size: 1.35rem;
}

.model-lightbox-nav {
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.model-lightbox-prev {
    left: 16px;
}

.model-lightbox-next {
    right: 16px;
}

.model-lightbox-close:hover,
.model-lightbox-close:focus-visible,
.model-lightbox-nav:hover,
.model-lightbox-nav:focus-visible {
    color: var(--ink);
    background: var(--sand);
    outline: none;
}

.model-lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 7px 14px;
    color: var(--white);
    border-radius: 999px;
    background: rgba(255, 255, 255, .12);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
}

@media (max-width: 560px) {
    .model-image-thumbnails button {
        flex-basis: 60px;
        height: 44px;
    }

    /* Igual que .quote-viewer en móvil: las flechas estorban sobre la
       imagen, así que bajan a una fila junto al contador. */
    .model-lightbox-shell {
        padding: 56px 12px 84px;
    }

    .model-lightbox-shell img {
        max-height: calc(100dvh - 140px);
    }

    .model-lightbox-video {
        width: min(100%, calc((100dvh - 140px) * 16 / 9));
    }

    .model-lightbox-nav {
        top: auto;
        bottom: 14px;
        transform: none;
    }

    /* 84px, no 56: con las flechas en la fila inferior necesitan más
       distancia del centro para no pisar el contador, que vive ahí también. */
    .model-lightbox-prev {
        left: calc(50% - 84px);
    }

    .model-lightbox-next {
        right: calc(50% - 84px);
    }

    .model-lightbox-counter {
        bottom: 26px;
    }
}

.model-info {
    display: flex;
    flex-direction: column;
    padding: 34px 36px;
}

.model-info h3 {
    margin-bottom: 12px;
    color: var(--white);
    font-size: clamp(1.55rem, 2.15vw, 2.15rem);
    line-height: 1.05;
}

.model-info>p:not(.eyebrow) {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .76);
    font-size: .88rem;
}

.model-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin: 18px 0;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, .13);
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.model-metrics>div {
    padding-right: 12px;
}

.model-metrics strong,
.model-metrics span {
    display: block;
}

.model-metrics strong {
    color: var(--white);
    font-size: .85rem;
}

.model-metrics span {
    color: rgba(255, 255, 255, .64);
    font-size: .72rem;
}

.model-info ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 7px 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: rgba(255, 255, 255, .82);
    font-size: .78rem;
}

.model-info li::before {
    content: "—";
    margin-right: 8px;
    color: var(--sand);
}

.model-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-top: auto;
    padding-top: 20px;
}

.model-footer p {
    margin: 0;
    color: rgba(255, 255, 255, .68);
    font-size: .75rem;
}

.model-footer p strong {
    display: block;
    color: var(--white);
    font-family: var(--font-display);
    font-size: 2rem;
}

.commercial-showcase {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    min-height: 590px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .04);
}

.commercial-showcase-reverse .commercial-image {
    order: 2;
}

.commercial-image {
    position: relative;
    min-height: 590px;
    overflow: hidden;
}

.commercial-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(5, 22, 34, .55), transparent 48%);
}

.commercial-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.commercial-showcase:hover .commercial-image img {
    transform: scale(1.035);
}

.commercial-image>span {
    position: absolute;
    z-index: 1;
    bottom: 22px;
    left: 22px;
    padding: 8px 13px;
    color: var(--ink);
    border-radius: 999px;
    background: #f1d8c2;
    font-size: .72rem;
    font-weight: 800;
}

.commercial-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 52px;
}

.commercial-copy h3 {
    margin-bottom: 20px;
    font-size: clamp(2.7rem, 4.2vw, 4.5rem);
}

.commercial-copy>p:not(.eyebrow) {
    color: rgba(255, 255, 255, .78);
}

.commercial-facts {
    display: grid;
    gap: 0;
    margin: 24px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, .14);
}

.commercial-facts>div {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

.commercial-facts strong,
.commercial-facts span {
    display: block;
}

.commercial-facts strong {
    color: var(--white);
    font-size: .9rem;
}

.commercial-facts span {
    color: rgba(255, 255, 255, .64);
    font-size: .72rem;
}

.commercial-copy .button {
    align-self: flex-start;
}

.plan-layout {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(380px, 1.1fr);
    align-items: start;
    gap: 90px;
}

.plan-intro h2 {
    max-width: 560px;
    margin-bottom: 26px;
    font-size: clamp(3rem, 4.7vw, 4.7rem);
    line-height: .9;
}

.plan-intro>p:not(.eyebrow) {
    max-width: 570px;
    margin-bottom: 0;
    color: var(--muted);
}

.plan-intro label {
    display: block;
    margin: 32px 0 9px;
    font-size: .72rem;
    font-weight: 700;
}

.plan-intro select,
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 13px;
    color: var(--text);
    background: rgba(255, 255, 255, .74);
    outline: none;
}

.plan-intro select {
    height: 54px;
    padding: 0 16px;
}

.plan-intro select:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(35, 79, 110, .12);
}

.plan-options {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.plan-option {
    display: grid;
    gap: 11px;
    width: 100%;
    padding: 16px 18px;
    color: var(--text);
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(255, 255, 255, .7);
    text-align: left;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.plan-option:hover {
    transform: translateY(-2px);
    border-color: rgba(35, 79, 110, .42);
    box-shadow: 0 12px 28px rgba(11, 35, 55, .08);
}

.plan-option:focus-visible {
    outline: 3px solid rgba(35, 79, 110, .24);
    outline-offset: 3px;
}

.plan-option-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.plan-option-name {
    color: var(--ink);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.plan-option-benefit {
    flex: 0 0 auto;
    padding: 5px 8px;
    color: #2f658a;
    border-radius: 999px;
    background: #e7f0f5;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.plan-option-discount {
    display: flex;
    align-items: baseline;
    gap: 7px;
    color: #1f5d83;
    font-family: var(--font-display);
    font-size: 2.2rem;
    line-height: .8;
}

.plan-option-discount small {
    font-family: var(--font-body);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.plan-option-schedule {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    color: var(--muted);
    font-size: .64rem;
    line-height: 1.3;
}

.plan-option-schedule>span {
    min-width: 0;
    padding-left: 8px;
    border-left: 1px solid var(--line);
}

.plan-option-schedule>span:first-child {
    padding-left: 0;
    border-left: 0;
}

.plan-option-schedule strong {
    display: block;
    color: var(--ink);
    font-size: .74rem;
}

.plan-option.is-active {
    color: var(--white);
    border-color: var(--ink);
    background: var(--ink);
    box-shadow: 0 16px 34px rgba(11, 35, 55, .16);
}

.plan-option.is-active .plan-option-name,
.plan-option.is-active .plan-option-discount,
.plan-option.is-active .plan-option-schedule strong {
    color: var(--white);
}

.plan-option.is-active .plan-option-benefit {
    color: var(--ink);
    background: var(--sand);
}

.plan-option.is-active .plan-option-schedule {
    color: rgba(255, 255, 255, .64);
}

.plan-option.is-active .plan-option-schedule>span {
    border-left-color: rgba(255, 255, 255, .15);
}

.calculator {
    position: sticky;
    top: 108px;
    padding: 34px;
    color: var(--white);
    border-radius: var(--radius);
    background: var(--ink);
    box-shadow: var(--shadow);
}

.calculator-head {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, .13);
}

.calculator-head span {
    color: rgba(255, 255, 255, .7);
    font-size: .84rem;
}

.calculator-head strong {
    color: var(--sand);
    font-size: .9rem;
}

.calculator-price {
    padding: 24px 0 26px;
}

.calculator-price-context {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.calculator-price-context span {
    color: rgba(255, 255, 255, .58);
    font-size: .72rem;
}

.calculator-price-context strong {
    display: block;
    margin-top: 3px;
    color: var(--white);
    font-family: var(--font-body);
    font-size: .88rem;
    line-height: 1.3;
}

.calculator-price>small,
.calculator-price>span {
    display: block;
    color: rgba(255, 255, 255, .48);
}

.calculator-price small {
    font-size: .88rem;
}

.calculator-price>strong {
    display: block;
    margin: 5px 0;
    font-family: var(--font-display);
    font-size: clamp(3.4rem, 6vw, 5.2rem);
    line-height: .9;
}

.calculator-price>span {
    display: inline-flex;
    margin-top: 12px;
    padding: 8px 13px;
    color: var(--ink);
    border-radius: 999px;
    background: var(--sand);
    font-size: 1.05rem;
    font-weight: 800;
}

.payment-flow {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 28px;
}

.payment-step {
    min-width: 0;
    padding: 17px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 15px;
    background: rgba(255, 255, 255, .055);
}

.payment-step>span {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    color: var(--ink);
    border-radius: 50%;
    background: var(--sand);
    font-size: .8rem;
    font-weight: 800;
}

.payment-step small,
.payment-step strong,
.payment-step p {
    display: block;
    margin: 0;
}

.payment-step small {
    min-height: 2.6em;
    color: rgba(255, 255, 255, .7);
    font-size: .83rem;
    line-height: 1.3;
}

.payment-step strong {
    margin-top: 8px;
    color: var(--white);
    font-size: .95rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.payment-step p {
    margin-top: 5px;
    color: rgba(255, 255, 255, .62);
    font-size: .76rem;
    line-height: 1.4;
}

.payment-line {
    display: none;
}

.calculator-disclaimer {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, .36);
    font-size: .62rem;
    text-align: center;
}

.amenity-slider {
    overflow: hidden;
    border-radius: 26px;
    background: var(--ink);
    box-shadow: var(--shadow);
}

.amenity-slider:focus-visible {
    outline: 3px solid var(--sand);
    outline-offset: 4px;
}

.amenity-empty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.amenity-empty p {
    max-width: 720px;
    margin: 0;
    color: var(--muted);
}

.amenity-viewport {
    overflow: hidden;
}

.amenity-track {
    display: flex;
    transition: transform .7s cubic-bezier(.2, .75, .25, 1);
    will-change: transform;
}

.amenity-slide {
    position: relative;
    flex: 0 0 100%;
    min-height: 660px;
    overflow: hidden;
}

.amenity-slide img {
    width: 100%;
    height: 660px;
    object-fit: cover;
}

.amenity-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(4, 20, 32, .92) 0%, rgba(4, 20, 32, .64) 42%, rgba(4, 20, 32, .08) 75%), linear-gradient(0deg, rgba(4, 20, 32, .55), transparent 45%);
}

.amenity-content {
    position: absolute;
    bottom: 0;
    left: 0;
    max-width: 660px;
    padding: 58px;
    color: var(--white);
}

.amenity-content>span {
    color: #f1d8c2;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.amenity-content h3 {
    margin: 12px 0 16px;
    color: var(--white);
    font-size: clamp(3.5rem, 6.5vw, 6.3rem);
}

.amenity-content p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, .84);
    font-size: 1rem;
}

.amenity-controls {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
    padding: 18px 22px;
    color: var(--white);
    border-top: 1px solid rgba(255, 255, 255, .12);
}

.amenity-arrows {
    display: flex;
    gap: 8px;
}

.amenity-arrows button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .28);
    border-radius: 50%;
    background: transparent;
    transition: color .25s ease, background .25s ease, border-color .25s ease;
}

.amenity-arrows button:hover {
    color: var(--ink);
    border-color: var(--sand);
    background: var(--sand);
}

.amenity-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.amenity-dots button {
    width: 32px; height: 44px;
    padding: 20px 0;
    background: transparent;
    background-clip: content-box;
    background-color: rgba(255,255,255,.55);
    border: 0; border-radius: 999px;
    transition: width .25s ease, background-color .25s ease;
}

.amenity-dots button.is-active {
    width: 54px;
    background-color: var(--sand);
}

.amenity-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: rgba(255, 255, 255, .72);
    font-size: .72rem;
}

.amenity-status>span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #62d69b;
    box-shadow: 0 0 0 5px rgba(98, 214, 155, .12);
}

.amenity-status.is-stopped>span {
    background: var(--sand);
    box-shadow: none;
}

.amenity-note {
    margin: 0;
    padding: 0 22px 18px;
    color: rgba(255, 255, 255, .52);
    font-size: .68rem;
    text-align: right;
}

.home-gallery {
    padding-top: 110px;
    background: var(--paper);
}

.home-gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    grid-template-rows: repeat(2, 250px);
    gap: 16px;
}

.home-gallery-card {
    position: relative;
    overflow: hidden;
    color: var(--white);
    border-radius: var(--radius);
    background: var(--ink);
}

.home-gallery-card--large {
    grid-row: 1 / 3;
}

.home-gallery-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 20, 32, .9), transparent 62%);
}

.home-gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.home-gallery-card:hover img,
.home-gallery-card:focus-visible img {
    transform: scale(1.04);
}

.home-gallery-card:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 4px;
}

.home-gallery-card>span {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    gap: 5px;
    padding: 24px;
}

.home-gallery-card small {
    color: var(--sand);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.home-gallery-card strong {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1;
}

.home-gallery-cta {
    margin-top: 24px;
}

.location-layout {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 80px;
}

.location-map {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    border-radius: var(--radius);
    background: var(--sky);
}

.location-map iframe {
    width: 100%;
    height: 570px;
    border: 0;
    pointer-events: none;
    filter: saturate(.78) contrast(1.03);
}

.map-expand {
    position: absolute;
    z-index: 2;
    top: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 17px;
    color: var(--white);
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    box-shadow: 0 12px 30px rgba(11, 35, 55, .26);
    font-size: .78rem;
    font-weight: 800;
}

.map-expand span {
    font-size: 1rem;
}

.location-badge {
    position: absolute;
    right: 22px;
    bottom: 22px;
    min-width: 180px;
    padding: 19px;
    color: var(--white);
    border-radius: 16px;
    background: var(--ink);
    box-shadow: var(--shadow);
}

.location-badge strong,
.location-badge span {
    display: block;
}

.location-badge strong {
    font-family: var(--font-display);
    font-size: 2.3rem;
    line-height: 1;
}

.location-badge span {
    color: rgba(255, 255, 255, .58);
    font-size: .66rem;
}

.location-copy>p:not(.eyebrow) {
    color: var(--muted);
}

.distance-list {
    margin: 34px 0;
    border-top: 1px solid var(--line);
}

.distance-list>div {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.distance-list span {
    color: var(--muted);
}

.distance-list strong {
    font-size: .76rem;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.location-actions .button-primary {
    color: var(--white);
    background: var(--ink);
}

.map-modal {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 28px;
}

.map-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 14, 23, .82);
    backdrop-filter: blur(10px);
}

.map-modal-panel {
    position: relative;
    width: min(1100px, 100%);
    overflow: hidden;
    border-radius: 24px;
    background: var(--white);
    box-shadow: 0 36px 100px rgba(0, 0, 0, .42);
}

.map-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 24px;
}

.map-modal-head span {
    color: var(--blue);
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.map-modal-head h2 {
    margin: 3px 0 0;
    font-size: clamp(2rem, 4vw, 3.6rem);
}

.map-modal-head button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--white);
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    font-size: 1.7rem;
    line-height: 1;
}

.map-modal-panel iframe {
    display: block;
    width: 100%;
    height: min(62vh, 610px);
    border: 0;
}

.map-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    padding: 18px 24px;
}

.map-modal-footer p {
    margin: 0;
    color: var(--muted);
}

.map-modal-footer a {
    color: var(--blue);
    font-weight: 800;
}

.investment-lead {
    display: grid;
    grid-template-columns: .45fr 1.55fr;
    gap: 60px;
    margin-bottom: 70px;
}

.investment-lead h2 {
    max-width: 870px;
}

.investment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.investment-card {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 20px;
    background: var(--ink-soft);
}

.investment-card img {
    width: 100%;
    height: 490px;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.2, .8, .2, 1);
}

.investment-card:hover img {
    transform: scale(1.04);
}

.investment-card-shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(4, 20, 32, .96) 0%, rgba(4, 20, 32, .58) 52%, rgba(4, 20, 32, .08) 100%);
}

.investment-card-copy {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 28px;
}

.investment-card-copy span {
    color: #f1d8c2;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.investment-card-copy h3 {
    margin: 12px 0 15px;
    color: var(--white);
    font-size: 2.55rem;
}

.investment-card-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .82);
    font-size: .82rem;
}

.contact-shell {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 90px;
    padding: 70px;
    border-radius: 28px;
    background: var(--white);
    box-shadow: var(--shadow);
}

.contact-copy h2 {
    margin-bottom: 24px;
    font-size: clamp(2.8rem, 4.5vw, 4.5rem);
    line-height: .96;
}

.contact-copy>p:not(.eyebrow) {
    color: var(--muted);
}

.contact-detail {
    padding: 16px 0;
    border-top: 1px solid var(--line);
}

.contact-detail:first-of-type {
    margin-top: 36px;
}

.contact-detail span,
.contact-detail strong {
    display: block;
}

.contact-detail span {
    color: var(--muted);
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .12em;
}

.contact-detail strong {
    margin-top: 4px;
    font-size: .77rem;
}

.contact-form {
    display: grid;
    gap: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.contact-form label {
    color: var(--text);
    font-size: .72rem;
    font-weight: 700;
}

.contact-form input,
.contact-form select {
    height: 52px;
    margin-top: 7px;
    padding: 0 14px;
}

.contact-form textarea {
    margin-top: 7px;
    padding: 13px 14px;
    resize: vertical;
}

.contact-form .button-primary {
    color: var(--white);
    background: var(--ink);
}

.form-note {
    margin: -7px 0 0;
    color: var(--muted);
    font-size: .62rem;
    text-align: center;
}

.privacy-consent {
    display: flex !important;
    align-items: flex-start;
    gap: 10px;
    margin: 4px 0 12px;
    color: var(--muted) !important;
    font-size: .72rem !important;
    font-weight: 500 !important;
    line-height: 1.5;
}

.privacy-consent input {
    flex: 0 0 auto;
    width: 18px;
    height: 18px !important;
    min-height: 18px;
    margin: 2px 0 0 !important;
    padding: 0;
}

.privacy-consent a {
    color: var(--blue);
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-status {
    margin: 0;
    padding: 11px 13px;
    color: #8d2435;
    border-radius: 10px;
    background: #fde8eb;
    font-size: .78rem;
    font-weight: 700;
}

.site-footer {
    padding: 58px 0 20px;
    color: rgba(255, 255, 255, .62);
    background: #061724;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.25fr) minmax(130px, .72fr) minmax(175px, .9fr) minmax(230px, 1.15fr);
    align-items: start;
    gap: 42px;
}

.footer-column {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-brand img {
    width: 190px;
    height: auto;
    margin: 0 0 14px;
}

.footer-brand p {
    max-width: 300px;
    margin: 0;
    font-size: .875rem;
    line-height: 1.65;
}

.footer-grid span {
    min-height: 1.5em;
    margin: 0 0 11px;
    color: var(--sand);
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.footer-grid a {
    color: rgba(255, 255, 255, .68);
    font-size: .84rem;
    line-height: 1.45;
    transition: color .2s ease, transform .2s ease;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
    color: var(--white);
    transform: translateX(2px);
    outline: none;
}

.footer-contact a:first-of-type {
    overflow-wrap: anywhere;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: .65rem;
}

.footer-bottom p {
    margin: 0;
}

.whatsapp-float {
    position: fixed;
    z-index: 900;
    right: 24px;
    bottom: 24px;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    color: var(--white);
    border: 5px solid rgba(255, 255, 255, .82);
    border-radius: 50%;
    background: #20b969;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .2);
    font-size: .72rem;
    font-weight: 800;
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1024px) {
    .header-inner {
        gap: 20px;
    }

    .brand img {
        height: 86px;
        max-width: 300px;
    }

    .main-nav {
        gap: 14px;
    }

    .main-nav>a,
    .nav-dropdown-toggle {
        font-size: .76rem;
    }

    .header-cta {
        display: none;
    }

    .hero-content {
        grid-template-columns: 1fr 285px;
        gap: 35px;
    }

    .section-heading {
        gap: 40px;
    }

    .inventory-tab {
        grid-template-columns: auto 1fr;
    }

    .inventory-tab-arrow {
        display: none;
    }

    .commercial-copy {
        padding: 38px;
    }

    .company-trust-card {
        grid-template-columns: 1fr 1fr;
    }

    .company-trust-copy {
        padding: 40px;
    }

    .model-panel {
        grid-template-columns: 1fr 1fr;
    }

    .model-info {
        padding: 34px;
    }

    .plan-layout,
    .location-layout {
        gap: 50px;
    }

    .payment-flow {
        grid-template-columns: 1fr;
    }

    .payment-step {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .payment-step>span {
        margin-bottom: 0;
    }

    .payment-step small {
        min-height: 0;
    }

    .contact-shell {
        gap: 50px;
        padding: 50px;
    }

    /* A-1 (22-08-2026): las cuatro columnas del pie usan minmax con suelo en
       pixeles (240+130+175+230 = 775, mas 3 huecos de 42 = 901 px minimos).
       El contenedor es min(1180px, 100% - 40px), asi que por debajo de 941 px
       de ventana el pie desbordaba y generaba scroll horizontal en TODA la
       pagina. El primer ajuste existente estaba en 820 px, dejando el hueco
       821-940 sin cubrir. Se conservan las proporciones originales del diseno
       (1.25 / .72 / .9 / 1.15) y solo se retiran los suelos rigidos. */
    .footer-grid {
        grid-template-columns: minmax(0, 1.25fr) minmax(0, .72fr) minmax(0, .9fr) minmax(0, 1.15fr);
        gap: 28px;
    }
}

@media (max-width: 820px) {
    html {
        scroll-padding-top: 84px;
    }

    .section {
        padding: 90px 0;
    }

    .site-header,
    .site-header.is-scrolled {
        height: 84px;
    }

    .brand img {
        height: 68px;
        max-width: 245px;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .main-nav {
        position: fixed;
        inset: 84px 0 auto;
        display: grid;
        max-height: calc(100vh - 84px);
        gap: 0;
        padding: 16px 20px 28px;
        overflow-y: auto;
        background: rgba(5, 22, 34, .98);
        transform: translateY(-130%);
        opacity: 0;
        visibility: hidden;
        transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
    }

    .main-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .main-nav>a,
    .nav-dropdown-toggle {
        width: 100%;
        padding: 14px 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        font-size: .9rem;
        text-align: left;
    }

    .main-nav>a::after,
    .nav-dropdown-toggle::after {
        display: none;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown-toggle {
        justify-content: space-between;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        max-height: 0;
        padding: 0 12px;
        overflow: hidden;
        border: 0;
        border-radius: 0;
        background: rgba(255, 255, 255, .035);
        box-shadow: none;
        opacity: 1;
        visibility: hidden;
        transform: none;
        transition: max-height .28s ease, padding .28s ease, visibility .28s ease;
    }

    .nav-dropdown:hover .nav-dropdown-menu {
        visibility: hidden;
        transform: none;
    }

    .nav-dropdown.is-open .nav-dropdown-menu {
        max-height: 330px;
        padding: 8px 12px 12px;
        visibility: visible;
        transform: none;
    }

    .nav-dropdown-menu a {
        padding: 11px 12px;
        border-bottom: 0;
    }

    .nav-dropdown-menu strong {
        font-size: .88rem;
    }

    .nav-dropdown-menu small {
        font-size: .72rem;
    }

    .menu-toggle[aria-expanded="true"]>span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .menu-toggle[aria-expanded="true"]>span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle[aria-expanded="true"]>span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .hero {
        min-height: 980px;
        padding-top: 72px;
    }

    .hero-overlay {
        background: linear-gradient(0deg, rgba(4, 20, 32, .98) 0%, rgba(4, 20, 32, .78) 52%, rgba(4, 20, 32, .22) 100%);
    }

    .hero-content {
        grid-template-columns: 1fr;
        align-content: center;
        gap: 30px;
        padding-top: 80px;
        padding-bottom: 300px;
    }

    .hero-copy {
        padding-top: 140px;
    }

    .hero-card {
        max-width: 480px;
    }

    .hero-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats-grid>div {
        min-height: 88px;
    }

    .hero-stats-grid>div:nth-child(even) {
        border-right: 0;
    }

    .hero-stats-grid>div:nth-child(-n+4) {
        border-bottom: 1px solid rgba(255, 255, 255, .12);
    }

    .hero-stats-grid>div:last-child {
        grid-column: 1 / -1;
        border-right: 0;
        text-align: center;
    }

    .section-heading {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .opportunity-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 440px 300px;
    }

    .opportunity-main {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .company-trust-card {
        grid-template-columns: 1fr;
    }

    .company-trust-media {
        min-height: 420px;
    }

    .inventory-tabs {
        grid-template-columns: 1fr;
    }

    .inventory-tab {
        grid-template-columns: auto 1fr auto;
    }

    .inventory-tab-arrow {
        display: block;
    }

    .commercial-showcase {
        grid-template-columns: 1fr;
    }

    .commercial-showcase-reverse .commercial-image {
        order: 0;
    }

    .commercial-image {
        min-height: 440px;
    }

    .model-tabs {
        grid-template-columns: repeat(2, 1fr);
    }

    .model-panel {
        grid-template-columns: 1fr;
    }

    .model-image {
        min-height: 360px;
    }

    .plan-layout {
        grid-template-columns: 1fr;
    }

    .calculator {
        position: relative;
        top: auto;
    }

    .payment-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .payment-step {
        display: block;
    }

    .payment-step>span {
        margin-bottom: 14px;
    }

    .payment-step small {
        min-height: 2.6em;
    }

    .amenity-slide,
    .amenity-slide img {
        min-height: 560px;
        height: 560px;
    }

    .amenity-content {
        padding: 40px;
    }

    .amenity-controls {
        grid-template-columns: auto 1fr;
    }

    .amenity-status {
        grid-column: 1 / 3;
        justify-content: flex-end;
    }

    .location-layout {
        grid-template-columns: 1fr;
    }

    .home-gallery-grid {
        grid-template-rows: repeat(2, 220px);
    }

    .investment-lead {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .investment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .investment-card:last-child {
        grid-column: 1 / 3;
        min-height: 400px;
    }

    .investment-card:last-child img {
        height: 400px;
    }

    .contact-shell {
        grid-template-columns: 1fr;
        padding: 42px;
    }

    .footer-grid {
        grid-template-columns: 1.2fr .8fr .9fr;
        gap: 34px 28px;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.2fr 1fr 1fr 1fr;
        align-items: start;
        padding-top: 24px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .whatsapp-float {
        display: none;
    }
}

@media (max-width: 560px) {
    .brand img {
        height: 62px;
        max-width: 210px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .section {
        padding: 76px 0;
    }

    h1 {
        font-size: clamp(3.6rem, 18vw, 5.4rem);
    }

    h2 {
        font-size: clamp(2.8rem, 14vw, 4.3rem);
    }

    .hero {
        min-height: 1080px;
    }

    .hero-media img {
        object-position: 56% center;
    }

    .hero-content {
        padding-bottom: 285px;
    }

    .hero-copy {
        padding-top: 110px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-actions .button {
        width: 100%;
    }

    .hero-card {
        padding: 20px;
    }

    .hero-stats-grid>div {
        padding: 17px 15px;
    }

    .hero-stats strong {
        font-size: 2rem;
    }

    .hero-stats span {
        font-size: .78rem;
    }

    .opportunity-grid {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 360px);
    }

    .opportunity-main {
        grid-column: auto;
    }

    .opportunity-content {
        padding: 24px;
    }

    .company-trust-media {
        min-height: 250px;
    }

    .company-trust-copy {
        padding: 34px 24px;
    }

    .company-trust-copy h2 {
        font-size: clamp(2.6rem, 13vw, 3.7rem);
    }

    .company-trust-disciplines {
        grid-template-columns: 1fr;
    }

    .company-trust-disciplines span {
        padding: 12px 8px;
        text-align: left;
    }

    .company-trust-disciplines span+span {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .company-trust-copy .button {
        width: 100%;
    }

    .inventory-tab {
        min-height: 88px;
        padding: 14px;
    }

    .inventory-tab strong {
        font-size: .84rem;
    }

    .inventory-tab small {
        font-size: .65rem;
    }

    .model-selector-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .model-tabs {
        display: flex;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .model-tab {
        min-width: 195px;
    }

    .model-image {
        min-height: 300px;
    }

    .model-image-stage {
        padding: 16px;
    }

    .model-info {
        padding: 26px 22px;
    }

    .model-metrics {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .model-info ul {
        grid-template-columns: 1fr;
    }

    .model-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .calculator {
        padding: 26px 20px;
    }

    .calculator-price strong {
        font-size: 3.4rem;
    }

    .calculator-price-context strong {
        font-size: .82rem;
    }

    .plan-option-heading {
        align-items: flex-start;
    }

    .plan-option-schedule {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .plan-option-schedule>span,
    .plan-option-schedule>span:first-child {
        padding: 0 0 7px;
        border: 0;
        border-bottom: 1px solid var(--line);
    }

    .plan-option-schedule>span:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .plan-option.is-active .plan-option-schedule>span {
        border-bottom-color: rgba(255, 255, 255, .15);
    }

    .payment-flow {
        grid-template-columns: 1fr;
    }

    .payment-step {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
    }

    .payment-step>span {
        margin-bottom: 0;
    }

    .payment-step small {
        min-height: 0;
    }

    .commercial-image {
        min-height: 340px;
    }

    .commercial-copy {
        padding: 30px 22px;
    }

    .commercial-copy h3 {
        font-size: 3rem;
    }

    .amenity-slider {
        border-radius: 18px;
    }

    .amenity-empty {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px;
    }

    .amenity-slide,
    .amenity-slide img {
        min-height: 500px;
        height: 500px;
    }

    .amenity-shade {
        background: linear-gradient(0deg, rgba(4, 20, 32, .94) 0%, rgba(4, 20, 32, .55) 56%, rgba(4, 20, 32, .08) 100%);
    }

    .amenity-content {
        padding: 28px 24px;
    }

    .amenity-content h3 {
        font-size: 3.45rem;
    }

    .amenity-content p {
        font-size: .84rem;
    }

    .amenity-controls {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .amenity-arrows,
    .amenity-dots {
        justify-content: center;
    }

    .amenity-status {
        grid-column: auto;
        justify-content: center;
    }

    .amenity-note {
        padding: 0 18px 18px;
        text-align: center;
    }

    .location-map,
    .location-map iframe {
        min-height: 420px;
        height: 420px;
    }

    .location-badge {
        right: 14px;
        bottom: 14px;
        min-width: 150px;
    }

    .location-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .location-actions .button {
        width: 100%;
    }

    .map-modal {
        padding: 12px;
    }

    .map-modal-head {
        padding: 17px;
    }

    .map-modal-panel iframe {
        height: 56vh;
    }

    .map-modal-footer {
        align-items: flex-start;
        flex-direction: column;
        padding: 16px 18px;
    }

    .investment-grid {
        grid-template-columns: 1fr;
    }

    .investment-card,
    .investment-card:last-child {
        grid-column: auto;
        min-height: 410px;
    }

    .investment-card img,
    .investment-card:last-child img {
        height: 410px;
    }

    .distance-list>div {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
    }

    .home-gallery {
        padding-top: 76px;
    }

    .home-gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 300px);
    }

    .home-gallery-card--large {
        grid-row: auto;
    }

    .home-gallery-cta {
        width: 100%;
    }

    .contact-shell {
        padding: 30px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding: 34px 0 16px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 22px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }

    .footer-brand img {
        width: 170px;
        margin: 0 0 10px;
    }

    .footer-brand p {
        margin: 0;
        font-size: .875rem;
        line-height: 1.45;
    }

    .footer-column {
        gap: 7px;
    }

    .footer-grid span {
        margin-bottom: 5px;
        font-size: .72rem;
    }

    .footer-grid a {
        font-size: .875rem;
        line-height: 1.3;
    }

    .footer-contact {
        grid-column: 1 / -1;
        display: flex;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, .1);
    }

    .footer-bottom {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        margin-top: 22px;
        padding-top: 14px;
        font-size: .875rem;
    }

    .footer-bottom p:last-child {
        text-align: right;
    }
}

.home-advances {
    background: #eef1f2
}

.home-advances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.25rem
}

.home-advance-card {
    display: block;
    overflow: hidden;
    padding-bottom: 1.3rem;
    border: 1px solid rgba(15, 48, 68, .13);
    border-radius: 18px;
    background: #fff;
    color: #102636;
    text-decoration: none
}

.home-advance-card img {
    width: 100%;
    aspect-ratio: 16/10;
    margin-bottom: 1rem;
    object-fit: cover
}

.home-advance-card span,
.home-advance-card h3,
.home-advance-card strong {
    display: block;
    margin-right: 1.2rem;
    margin-left: 1.2rem
}

.home-advance-card span {
    color: #38617d;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase
}

.home-advance-card h3 {
    margin-top: .5rem;
    margin-bottom: 1rem;
    font: 600 1.8rem/1.05 "Cormorant Garamond", serif
}

.home-advance-card strong {
    color: #174c72;
    font-size: .85rem
}

.value-reasons {
    padding-top: clamp(56px, 7vw, 90px);
    padding-bottom: clamp(56px, 7vw, 90px);
    background: #eef1f2;
}

.value-reasons__header {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
    align-items: end;
    gap: 48px;
    margin-bottom: 34px;
}

.value-reasons__header h2 {
    max-width: 720px;
    margin: 8px 0 0;
    font-size: clamp(2.6rem, 4.6vw, 4.5rem);
}

.value-reasons__header>p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.value-reasons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 18px 45px rgba(11, 35, 55, .07);
}

.value-reasons__grid article {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 18px;
    min-height: 190px;
    padding: 30px 26px;
}

.value-reasons__grid article+article {
    border-left: 1px solid var(--line);
}

.value-reasons__grid article>span {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 50%;
    background: var(--ink);
    color: #efd0b7;
    font-size: .72rem;
    font-weight: 800;
}

.value-reasons__grid small {
    color: #53748a;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.value-reasons__grid h3 {
    margin: 7px 0 10px;
    font-size: clamp(1.55rem, 2vw, 2rem);
}

.value-reasons__grid p {
    margin: 0;
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.6;
}

.value-reasons__grid a {
    display: inline-block;
    margin-top: 12px;
    color: #174c72;
    font-size: .82rem;
    font-weight: 800;
}

.home-route {
    background: #eef1f2;
}

.home-route__panel {
    overflow: hidden;
    border: 1px solid rgba(15, 48, 68, .14);
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 22px 55px rgba(11, 35, 55, .08);
}

.home-route__intro {
    display: grid;
    grid-template-columns: minmax(290px, .75fr) minmax(0, 1.25fr);
    column-gap: 52px;
    padding: 38px 42px 30px;
}

.home-route__intro .eyebrow {
    grid-column: 1;
}

.home-route__intro h2 {
    grid-column: 1;
    margin: 8px 0 12px;
    font-size: clamp(2.2rem, 3.6vw, 3.8rem);
}

.home-route__intro>p:not(.eyebrow) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.home-route__intro>small {
    grid-column: 1;
    color: #6f818c;
}

.home-route__steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    margin: 0;
    padding: 0 42px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    list-style: none;
}

.home-route__steps li {
    position: relative;
    display: flex;
    min-width: 0;
    padding: 22px 14px 22px 0;
    gap: 10px;
}

.home-route__steps li+li {
    padding-left: 14px;
    border-left: 1px solid var(--line);
}

.home-route__steps li>span {
    display: grid;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    place-items: center;
    border: 1px solid #bac8cf;
    border-radius: 50%;
    color: #6f818c;
    font-size: .65rem;
    font-weight: 800;
}

.home-route__steps small,
.home-route__steps strong {
    display: block;
}

.home-route__steps small {
    margin-bottom: 4px;
    color: #6f818c;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.home-route__steps strong {
    font-size: .78rem;
    line-height: 1.3;
}

.home-route__steps .is-actual>span {
    border-color: var(--ink);
    background: var(--ink);
    color: #efd0b7;
    box-shadow: 0 0 0 5px rgba(217, 184, 159, .2);
}

.home-route__steps .is-actual small {
    color: #174c72;
}

.home-route__steps .is-completada>span {
    border-color: #2c765a;
    background: #e3f3eb;
    color: #236548;
}

.home-route__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 24px 42px;
}

.home-route__footer p {
    max-width: 720px;
    margin: 0;
    color: #6f818c;
    font-size: .78rem;
    line-height: 1.55;
}

.home-route__footer .button {
    flex: 0 0 auto;
}

@media (max-width: 980px) {
    .value-reasons__grid {
        grid-template-columns: 1fr;
    }

    .value-reasons__grid article {
        min-height: 0;
    }

    .value-reasons__grid article+article {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .home-route__steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-route__steps li:nth-child(4) {
        padding-left: 0;
        border-left: 0;
    }

    .home-route__steps li:nth-child(n+4) {
        border-top: 1px solid var(--line);
    }
}

@media (max-width: 720px) {

    .value-reasons__header,
    .home-route__intro {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .home-route__intro {
        padding: 28px 24px 24px;
    }

    .home-route__intro .eyebrow,
    .home-route__intro h2,
    .home-route__intro>p:not(.eyebrow),
    .home-route__intro>small {
        grid-column: 1;
        grid-row: auto;
    }

    .home-route__steps {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }

    .home-route__steps li,
    .home-route__steps li+li,
    .home-route__steps li:nth-child(4) {
        padding: 16px 0;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .home-route__steps li:first-child {
        border-top: 0;
    }

    .home-route__footer {
        align-items: stretch;
        flex-direction: column;
        padding: 22px 24px;
    }

    .home-route__footer .button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* Consentimiento de analítica: discreto, legible y accesible con teclado. */
.consent-banner {
    position: fixed;
    z-index: 1300;
    left: clamp(1rem, 3vw, 2.5rem);
    right: clamp(1rem, 3vw, 2.5rem);
    bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    max-width: 1120px;
    margin-inline: auto;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 18px;
    background: #0b2337;
    color: #fff;
    box-shadow: 0 20px 55px rgba(5, 21, 34, .3)
}

.consent-banner__copy {
    max-width: 720px
}

.consent-banner__copy strong {
    display: block;
    margin-bottom: .3rem;
    font-size: 1.05rem
}

.consent-banner__copy p {
    margin: 0 0 .35rem;
    color: rgba(255, 255, 255, .82);
    font-size: .92rem;
    line-height: 1.5
}

.consent-banner__copy a {
    color: #efd0b5;
    text-decoration: underline;
    text-underline-offset: 3px
}

.consent-banner__actions {
    display: flex;
    flex: 0 0 auto;
    gap: .65rem
}

.consent-banner .btn {
    min-height: 44px;
    white-space: nowrap
}

.consent-banner .btn-outline {
    border-color: rgba(255, 255, 255, .5);
    color: #fff;
    background: transparent
}

@media(max-width:760px) {
    .consent-banner {
        align-items: stretch;
        flex-direction: column;
        gap: .85rem
    }

    .consent-banner__actions {
        display: grid;
        grid-template-columns: 1fr 1fr
    }

    .consent-banner .btn {
        padding-inline: .7rem
    }
}

/* Paginas con body.cotizador-page (catalogos, cotizacion e inversion).
   Movidas desde cotizadores-v2.css para que inversion.php no cargue ese
   archivo completo solo por estas reglas. Valores identicos al original. */
.cotizador-page { background: #f3f0ea; }

@media (max-width: 820px) {
    .cotizador-page .whatsapp-float { display: none !important; }
}

@media (max-width: 560px) {
    .cotizador-page { padding-bottom: 70px; }
    .cotizador-page .site-footer { padding: 34px 0 16px; }
    .cotizador-page .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
    .cotizador-page .footer-brand { grid-column: 1 / -1; }
    .cotizador-page .footer-brand img { width: 170px; margin: 0 0 10px; }
    .cotizador-page .footer-brand p { margin: 0; font-size: .875rem; line-height: 1.45; }
    .cotizador-page .footer-column { gap: 7px; }
    .cotizador-page .footer-grid span { margin-bottom: 4px; font-size: .72rem; }
    .cotizador-page .footer-grid a { font-size: .875rem; line-height: 1.3; }
    .cotizador-page .footer-contact { grid-column: 1 / -1; display: flex; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
    .cotizador-page .footer-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; padding-top: 14px; font-size: .875rem; }
    .cotizador-page .footer-bottom p:last-child { text-align: right; }
}


body:has(.consent-banner) .mobile-action-bar { display: none !important; }


.nav-dropdown-menu a:focus-visible, .footer-grid a:focus-visible, .footer-legal a:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }


/* Fix M-7: Increase touch targets */

.footer-grid a, .nav-dropdown-menu a { padding: 12px 0; }
.scenario-tabs button { min-height: 44px; }
.unlock-close { width: 44px; height: 44px; }
