.colpercol-local-theme .wp-block-cover.alignfull {
    margin-top: 0;
}

.colpercol-local-theme .wp-block-cover__image-background {
    filter: blur(1px);
    transform: scale(1.04);
}

.colpercol-local-theme .quienes-somos-hero .wp-block-cover__image-background {
    filter: none;
    transform: none;
    object-position: center 42%;
}

.colpercol-local-theme .wp-block-cover__inner-container {
    width: min(1200px, 100%);
    margin: 0 auto;
}

.colpercol-local-theme .wp-block-group.alignfull p {
    color: #1f2937;
    line-height: 1.75;
    font-size: 1rem;
}

.colpercol-local-theme .wp-block-group.alignfull p + p {
    margin-top: 1.1rem;
}

.colpercol-local-theme .wp-block-post-content {
    margin-block-start: 0;
    max-width: 100%;
    overflow-x: clip;
}

.colpercol-local-theme.home .wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.colpercol-local-theme.chalets-velada-page .wp-block-post-content,
.colpercol-local-theme.viviendas-page .wp-block-post-content,
.colpercol-local-theme.contact-page-body .wp-block-post-content,
.colpercol-local-theme.services-page-body .wp-block-post-content,
.colpercol-local-theme.about-page-body .wp-block-post-content,
.colpercol-local-theme.sector-page-body .wp-block-post-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.home-hero,
.home-quick-paths,
.home-company-note,
.home-intro,
.home-assurance,
.home-featured,
.home-services,
.home-process,
.home-contact-band,
.contact-page,
.services-page {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
}

.colpercol-local-theme .wp-block-post-content > .home-hero,
.colpercol-local-theme .wp-block-post-content > .home-quick-paths,
.colpercol-local-theme .wp-block-post-content > .home-company-note,
.colpercol-local-theme .wp-block-post-content > .home-intro,
.colpercol-local-theme .wp-block-post-content > .home-assurance,
.colpercol-local-theme .wp-block-post-content > .home-featured,
.colpercol-local-theme .wp-block-post-content > .home-services,
.colpercol-local-theme .wp-block-post-content > .home-process,
.colpercol-local-theme .wp-block-post-content > .home-contact-band,
.colpercol-local-theme .wp-block-post-content > .contact-page,
.colpercol-local-theme .wp-block-post-content > .services-page {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
}

.home-hero {
    --home-page-gutter: max(1rem, calc((100vw - 1200px) / 2 + 1rem));
    position: relative;
    isolation: isolate;
    min-height: calc(100svh - var(--site-header-height, 78px));
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 4.6rem var(--home-page-gutter) 3.4rem;
    color: #ffffff;
    background: #102033;
}

@supports not (min-height: 100svh) {
    .home-hero {
        min-height: calc(100vh - var(--site-header-height, 78px));
    }
}

.home-hero::before,
.home-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.home-hero::before {
    background-image: url("../images/promocion-residencial-zoom.jpg");
    background-repeat: no-repeat;
    background-position: 72% 28%;
    background-size: cover;
    background-color: #102033;
    filter: saturate(1.05) contrast(1.06) brightness(0.92);
    transform: none;
}

.home-hero::after {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 18, 33, 0.88) 0%, rgba(8, 24, 42, 0.76) 42%, rgba(8, 24, 42, 0.26) 72%, rgba(8, 24, 42, 0.08) 100%),
        linear-gradient(180deg, rgba(7, 18, 33, 0.08) 0%, rgba(7, 18, 33, 0.36) 100%);
}

.home-hero__content {
    position: relative;
    z-index: 1;
    width: min(820px, 100%);
    padding: 0;
}

.home-hero__body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}

.home-hero__eyebrow,
.home-section-kicker {
    margin: 0;
    color: #ad741b;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    min-height: 34px;
    padding: 0.38rem 0.82rem 0.38rem 0.48rem;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.home-hero__chip-icon {
    flex: 0 0 auto;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 8px;
    background: rgba(244, 184, 74, 0.22);
    box-shadow: inset 0 0 0 1px rgba(244, 184, 74, 0.35);
}

.home-hero__chip-icon--build {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9'/%3E%3C/svg%3E") center / 72% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l9-7 9 7'/%3E%3Cpath d='M5 10v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9'/%3E%3C/svg%3E") center / 72% no-repeat;
    background-color: #f4b84a;
}

.home-hero__chip-icon--pin {
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / 72% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") center / 72% no-repeat;
    background-color: #f4b84a;
}

.home-hero__eyebrow-text strong {
    font-weight: 850;
    color: #ffffff;
}

.home-hero h1 {
    max-width: 100%;
    margin: 1rem 0 0.82rem;
    color: #ffffff;
    font-size: clamp(2.15rem, 4.35vw, 3.45rem);
    font-weight: 850;
    line-height: 1.02;
    letter-spacing: 0;
    text-wrap: balance;
    text-shadow: 0 2px 16px rgba(7, 18, 33, 0.35);
}

.home-hero__lead {
    max-width: 680px;
    margin: 0;
    color: #edf3fb;
    font-size: clamp(1rem, 1.45vw, 1.12rem);
    line-height: 1.6;
    text-shadow: 0 1px 10px rgba(7, 18, 33, 0.28);
}

.home-hero__note {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    width: fit-content;
    max-width: 100%;
    min-height: 30px;
    margin: 1rem 0 0;
    padding: 0.38rem 0.78rem 0.38rem 0.48rem;
    border-radius: 999px;
    background: rgba(244, 184, 74, 0.16);
    color: #ffe2a0;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.2;
}

.home-hero__actions,
.home-contact-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.home-hero__actions {
    margin-top: 1.35rem;
}

.home-hero .home-button--primary {
    min-height: 52px;
    padding-inline: 1.35rem;
    box-shadow: 0 10px 24px rgba(7, 18, 33, 0.32);
}

.home-hero .home-button--secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.14);
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-sizing: border-box;
    min-height: 48px;
    padding: 0.78rem 1.1rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-button--call::before {
    content: "";
    flex: 0 0 auto;
    width: 1.05rem;
    height: 1.05rem;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.home-button:hover {
    transform: translateY(-1px);
    text-decoration: none;
}

.home-button--primary {
    background: #f4b84a;
    color: #102033;
}

.home-button--primary:hover {
    background: #ffd166;
    color: #102033;
}

.home-button--secondary {
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.home-button--secondary:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #102033;
}

.home-hero__proof {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: 760px;
    margin-top: 1.35rem;
}

.home-hero__proof div {
    min-height: 0;
    padding: 0.4rem 0.9rem;
    border-left: 0;
}

.home-hero__proof strong,
.home-hero__proof span {
    display: block;
}

.home-hero__proof strong {
    color: #ffffff;
    font-size: 1.16rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.home-hero__proof span {
    margin-top: 0.32rem;
    color: #c7d6ea;
    font-size: 0.86rem;
    line-height: 1.4;
}

.home-hero__card {
    display: none;
}

.home-hero__phone-action {
    display: none;
}

.home-quick-paths {
    position: relative;
    isolation: isolate;
    display: grid;
    gap: 1.55rem;
    margin-top: 0 !important;
    padding: clamp(1.25rem, 2vw, 1.85rem) max(1rem, calc((100vw - 1240px) / 2 + 1rem)) 4.15rem;
    background:
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
    border-top: 1px solid #d8e2ec;
    border-bottom: 1px solid #d8e2ec;
}

.home-quick-paths__header {
    display: grid;
    grid-template-columns: minmax(300px, 0.7fr) minmax(430px, 0.98fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: end;
    width: min(1180px, 100%);
    padding-bottom: 0.15rem;
}

.home-quick-paths__header span {
    color: #ad741b;
    font-size: 0.78rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-quick-paths__header h2 {
    margin: 0.4rem 0 0;
    color: #102033;
    font-size: clamp(2.05rem, 2.85vw, 2.85rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-quick-paths__header p {
    margin: 0;
    max-width: 620px;
    color: #536171;
    font-size: 1.04rem;
    line-height: 1.66;
}

.home-quick-paths__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, clamp(216px, 18.5vw, 252px));
    grid-template-areas:
        "feature feature aside"
        "alt-one alt-two aside";
    gap: 1rem;
}

.home-quick-paths a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.42rem;
    min-height: 0;
    padding: 1.4rem 1.45rem 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(7, 18, 33, 0.12);
    border-radius: 14px;
    background: #0c1c30;
    color: #ffffff;
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.16);
    text-decoration: none;
    isolation: isolate;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}

.home-quick-paths a:nth-of-type(1) {
    grid-area: feature;
}

.home-quick-paths a:nth-of-type(2) {
    grid-area: alt-one;
}

.home-quick-paths a:nth-of-type(3) {
    grid-area: alt-two;
}

.home-quick-paths a:nth-of-type(4) {
    grid-area: aside;
}

.home-quick-paths a:hover {
    transform: translateY(-6px);
    border-color: rgba(244, 184, 74, 0.6);
    box-shadow: 0 30px 64px rgba(7, 16, 28, 0.34);
    text-decoration: none;
}

.home-quick-paths__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #0c1c30;
}

.home-quick-paths__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 28, 0.04) 0%, rgba(7, 16, 28, 0.34) 42%, rgba(7, 16, 28, 0.9) 100%),
        linear-gradient(90deg, rgba(7, 16, 28, 0.4) 0%, rgba(7, 16, 28, 0) 58%);
}

.home-quick-paths__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.04);
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-quick-paths a:hover .home-quick-paths__media img {
    transform: scale(1.12);
}

.home-quick-paths a span {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.34rem 0.68rem;
    border: 1px solid rgba(244, 184, 74, 0.42);
    border-radius: 999px;
    background: rgba(244, 184, 74, 0.16);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #ffd79a;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-quick-paths strong {
    position: relative;
    z-index: 1;
    margin-top: 0.16rem;
    max-width: 24ch;
    color: #ffffff;
    font-size: clamp(1.12rem, 1.4vw, 1.42rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 18px rgba(7, 16, 28, 0.55);
}

.home-quick-paths small {
    position: relative;
    z-index: 1;
    max-width: 40ch;
    color: rgba(233, 240, 250, 0.88);
    font-size: 0.92rem;
    font-weight: 560;
    line-height: 1.46;
    text-shadow: 0 1px 14px rgba(7, 16, 28, 0.55);
}

.home-quick-paths em {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.55rem;
    color: #ffd79a;
    font-size: 0.86rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.home-quick-paths em::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.home-quick-paths a:hover em {
    color: #ffffff;
}

.home-quick-paths a:hover em::after {
    transform: translateX(4px) rotate(-45deg);
}

@media (prefers-reduced-motion: no-preference) {
    @supports (animation-timeline: view()) {
        .home-quick-paths__grid > a {
            animation: home-quick-paths-rise linear both;
            animation-timeline: view();
            animation-range: entry 0% cover 24%;
        }
    }
}

@keyframes home-quick-paths-rise {
    from {
        opacity: 0;
        translate: 0 28px;
    }

    to {
        opacity: 1;
        translate: 0 0;
    }
}

.home-company-note {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 4rem max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    border-top: 0;
    border-bottom: 1px solid #dbe7f4;
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
    color: #102033;
}

.home-company-note::before {
    display: none;
}

.home-company-note__panel {
    display: grid;
    grid-template-columns: minmax(300px, 0.78fr) minmax(520px, 1.22fr);
    gap: clamp(2.2rem, 4vw, 4.4rem);
    align-items: center;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-company-note__content {
    position: relative;
    display: grid;
    gap: 0.78rem;
    align-content: center;
    min-height: 0;
    padding: 0.2rem 0;
    overflow: hidden;
    border-radius: 8px;
    background: transparent;
    color: #102033;
    box-shadow: none;
}

.home-company-note__content::after {
    display: none;
}

.home-company-note__copy {
    display: grid;
    gap: 0.72rem;
}

.home-company-note__copy::after {
    content: "";
    width: 4.1rem;
    height: 3px;
    margin-top: 0.2rem;
    border-radius: 999px;
    background: #f4b84a;
}

.home-company-note h2 {
    margin: 0;
    color: #102033;
    max-width: 13ch;
    font-size: clamp(2.05rem, 2.9vw, 2.85rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-company-note p {
    margin: 0;
    color: #536171;
    max-width: 34rem;
    font-size: 1.04rem;
    line-height: 1.64;
}

.home-company-note .home-section-kicker {
    color: #ad741b;
}

.home-company-note__split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.home-company-note__card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.45rem;
    min-height: 344px;
    padding: 1.4rem 1.45rem 1.35rem;
    overflow: hidden;
    border: 1px solid rgba(7, 18, 33, 0.1);
    border-radius: 16px;
    background: #0c1c30;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 20px 44px rgba(16, 32, 51, 0.16);
    isolation: isolate;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.home-company-note__card::before {
    content: "";
    position: absolute;
    top: 1.3rem;
    bottom: 1.3rem;
    left: 0;
    z-index: 3;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: #4f86e8;
}

.home-company-note__card.is-active {
    border-color: rgba(79, 134, 232, 0.42);
}

.home-company-note__card.is-active::before {
    background: #4f86e8;
}

.home-company-note__card--link::before {
    background: #f4b84a;
}

.home-company-note__card--link:hover {
    transform: translateY(-5px);
    border-color: rgba(244, 184, 74, 0.6);
    box-shadow: 0 30px 60px rgba(7, 16, 28, 0.34);
    text-decoration: none;
}

.home-company-note__card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    height: auto;
    margin: 0;
    overflow: hidden;
    border-radius: inherit;
    background: #0c1c30;
}

.home-company-note__card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 16, 28, 0.05) 0%, rgba(7, 16, 28, 0.42) 45%, rgba(7, 16, 28, 0.9) 100%);
}

.home-company-note__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-company-note__card--link:hover .home-company-note__card-media img {
    transform: scale(1.1);
}

.home-company-note__split span {
    position: relative;
    z-index: 1;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.34rem 0.72rem;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-company-note__card.is-active span {
    border-color: rgba(132, 176, 255, 0.5);
    background: rgba(79, 134, 232, 0.22);
    color: #d4e3ff;
}

.home-company-note__card.is-active span::before {
    content: "";
    flex: 0 0 auto;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #4ade80;
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.25);
}

.home-company-note__card--link span {
    border-color: rgba(244, 184, 74, 0.42);
    background: rgba(244, 184, 74, 0.16);
    color: #ffd79a;
}

.home-company-note__split strong {
    position: relative;
    z-index: 1;
    margin-top: 0.16rem;
    color: #ffffff;
    font-size: clamp(1.18rem, 1.5vw, 1.42rem);
    font-weight: 850;
    line-height: 1.12;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 16px rgba(7, 16, 28, 0.5);
}

.home-company-note__split small {
    position: relative;
    z-index: 1;
    max-width: 34ch;
    color: rgba(233, 240, 250, 0.88);
    font-size: 0.92rem;
    font-weight: 560;
    line-height: 1.46;
    text-shadow: 0 1px 12px rgba(7, 16, 28, 0.5);
}

.home-company-note__split em {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
    width: auto;
    margin-top: 0.6rem;
    padding-top: 0;
    border-top: 0;
    color: #ffd79a;
    font-size: 0.88rem;
    font-style: normal;
    font-weight: 850;
    line-height: 1.2;
}

.home-company-note__card.is-active em {
    color: #c2d8ff;
}

.home-company-note__split em::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
}

.home-company-note__card.is-active em::after {
    display: none;
}

.home-company-note__card--link em::after {
    border-bottom: 0;
    border-top: 2px solid currentColor;
    transform: rotate(45deg);
}

.home-company-note__card--link:hover em {
    color: #ffffff;
}

.home-company-note__card--link:hover em::after {
    transform: translate(2px, -2px) rotate(45deg);
}

.home-intro {
    background: #ffffff;
    padding: 4.85rem max(1rem, calc((100vw - 1120px) / 2 + 1rem));
}

.home-intro__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.8fr) minmax(340px, 0.72fr);
    grid-template-areas:
        "copy media"
        "facts media";
    column-gap: 3.8rem;
    row-gap: 1.5rem;
    align-items: start;
}

.home-intro__copy {
    display: grid;
    grid-area: copy;
    gap: 0.85rem;
}

.home-intro h2,
.home-services h2 {
    margin: 0;
    color: #102033;
    font-size: 2.35rem;
    font-weight: 820;
    line-height: 1.1;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-intro p {
    margin: 0;
    color: #405166;
    font-size: 1.08rem;
    line-height: 1.75;
}

.home-intro__media {
    position: relative;
    grid-area: media;
    width: 100%;
    min-height: 440px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #dbe3eb;
    box-shadow: 0 22px 52px rgba(16, 32, 51, 0.13);
}

.home-intro__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 440px;
    object-fit: cover;
}

.home-intro__media figcaption {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    left: 0.85rem;
    display: grid;
    gap: 0.25rem;
    padding: 0.78rem 0.9rem;
    border-radius: 8px;
    background: rgba(16, 32, 51, 0.88);
    color: #ffffff;
}

.home-intro__media figcaption span {
    color: #f4b84a;
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-intro__media figcaption strong {
    font-size: 1rem;
    line-height: 1.25;
}

.home-intro__facts {
    display: grid;
    grid-area: facts;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.3rem;
}

.home-intro__facts div {
    display: grid;
    gap: 0.35rem;
    min-height: 156px;
    padding: 0.95rem;
    border-top: 3px solid #f4b84a;
    border-right: 1px solid #dbe7f4;
    border-bottom: 1px solid #dbe7f4;
    border-left: 1px solid #dbe7f4;
    border-radius: 8px;
    background: #f7fbff;
}

.home-intro__facts span {
    color: #2459b7;
    font-size: 0.78rem;
    font-weight: 900;
    line-height: 1;
}

.home-intro__facts strong {
    color: #102033;
    font-size: 1rem;
    line-height: 1.2;
}

.home-intro__facts p {
    color: #5a6b7e;
    font-size: 0.9rem;
    line-height: 1.48;
}

.home-assurance {
    display: grid;
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    gap: 2rem;
    align-items: start;
    padding: 4.75rem max(1rem, calc((100vw - 1200px) / 2 + 1rem));
    border-top: 1px solid #dbe7f4;
    border-bottom: 0;
    background: #f7fbff;
    color: #102033;
}

.home-assurance__header {
    display: grid;
    gap: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid rgba(7, 18, 33, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.home-assurance__copy {
    display: grid;
    gap: 0.72rem;
    padding: 1.6rem 1.55rem 1.35rem;
}

.home-assurance__header .home-section-kicker {
    color: #ad741b;
}

.home-assurance h2 {
    margin: 0;
    color: #102033;
    font-size: clamp(2rem, 3.3vw, 2.75rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-assurance__header p {
    margin: 0;
    color: #405166;
    font-size: 1.05rem;
    line-height: 1.68;
}

.home-assurance__media {
    position: relative;
    min-height: 232px;
    margin: 0;
    overflow: hidden;
    background: #0c1c30;
}

.home-assurance__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 28, 0) 18%, rgba(7, 16, 28, 0.74) 100%),
        linear-gradient(90deg, rgba(7, 16, 28, 0.18) 0%, rgba(7, 16, 28, 0.02) 62%);
}

.home-assurance__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 232px;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-assurance__header:hover .home-assurance__media img {
    transform: scale(1.06);
}

.home-assurance__media figcaption {
    position: absolute;
    right: 0.9rem;
    bottom: 0.9rem;
    left: 0.9rem;
    z-index: 1;
    display: grid;
    gap: 0.22rem;
    padding: 0.8rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 12px;
    background: rgba(10, 22, 38, 0.7);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    color: #ffffff;
}

.home-assurance__media figcaption span {
    color: #ffce7a;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-assurance__media figcaption strong {
    font-size: 1rem;
    line-height: 1.22;
}

.home-assurance__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.home-assurance__grid article {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 304px;
    padding: 0 1.15rem 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(7, 18, 33, 0.08);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 42px rgba(16, 32, 51, 0.08);
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.3s ease;
}

.home-assurance__grid article::before {
    display: none;
}

.home-assurance__grid article:hover {
    border-color: rgba(36, 89, 183, 0.2);
    box-shadow: 0 28px 56px rgba(7, 16, 28, 0.16);
}

.home-assurance__card-media {
    position: relative;
    height: 138px;
    margin: 0 -1.15rem 0;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    background: #0c1c30;
}

.home-assurance__card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 16, 28, 0.02) 38%, rgba(7, 16, 28, 0.34) 100%),
        linear-gradient(90deg, rgba(7, 16, 28, 0.16) 0%, rgba(7, 16, 28, 0.02) 60%);
}

.home-assurance__card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transform: scale(1.02);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-assurance__grid article:nth-child(2) .home-assurance__card-media img {
    object-position: center 42%;
}

.home-assurance__grid article:nth-child(3) .home-assurance__card-media img {
    object-position: center 38%;
}

.home-assurance__grid article:hover .home-assurance__card-media img {
    transform: scale(1.08);
}

.home-assurance__grid span {
    position: relative;
    z-index: 3;
    align-self: flex-start;
    margin: -1.9rem 0 0.1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 4px solid #ffffff;
    border-radius: 14px;
    background: #0c1c30;
    color: #ffffff;
    font-size: 0.94rem;
    font-weight: 850;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(12, 28, 48, 0.3);
}

.home-assurance__grid h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #102033;
    font-size: 1.18rem;
    font-weight: 800;
    line-height: 1.18;
}

.home-assurance__grid p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #4b5c70;
    font-size: 0.97rem;
    line-height: 1.52;
}

.home-assurance__grid small {
    position: relative;
    z-index: 1;
    display: block;
    margin-top: auto;
    padding: 0.62rem 0.72rem 0.62rem 2.15rem;
    border-radius: 11px;
    background: linear-gradient(180deg, #fff7e9 0%, #fff1d8 100%);
    color: #875312;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.35;
}

.home-assurance__grid small::before {
    content: "";
    position: absolute;
    top: 0.66rem;
    left: 0.68rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background: #f4b84a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 0.66rem no-repeat;
}

.home-featured {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: #fff8eb;
    padding: 5.35rem max(1rem, calc((100vw - 1200px) / 2 + 1rem));
}

.home-featured__inner {
    display: grid;
    grid-template-columns: minmax(360px, 0.96fr) minmax(450px, 1.04fr);
    gap: clamp(2.45rem, 3.8vw, 4.2rem);
    align-items: center;
}

.home-featured__media {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    min-height: 0;
    border: 1px solid rgba(16, 32, 51, 0.06);
    border-radius: 16px;
    background: #dbe3eb;
    box-shadow: 0 30px 62px rgba(16, 32, 51, 0.2), 20px 20px 0 -2px rgba(244, 184, 74, 0.4);
}

.home-featured__media::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(7, 18, 33, 0) 45%, rgba(7, 18, 33, 0.44) 100%),
        linear-gradient(90deg, rgba(7, 18, 33, 0.08), rgba(7, 18, 33, 0) 48%);
}

.home-featured__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-featured__media:hover img {
    transform: scale(1.035);
}

.home-featured__media figcaption {
    position: absolute;
    z-index: 1;
    left: 0.9rem;
    bottom: 0.9rem;
    max-width: calc(100% - 1.8rem);
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(10, 22, 38, 0.62);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 12px 28px rgba(7, 18, 33, 0.28);
}

.home-featured__media figcaption::before {
    content: "";
    flex: 0 0 auto;
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #f4b84a;
}

.home-featured__content {
    display: grid;
    gap: 1.08rem;
    align-content: center;
    max-width: 670px;
}

.home-featured h2 {
    margin: 0;
    color: #102033;
    max-width: 18ch;
    font-size: clamp(2.08rem, 2.65vw, 2.72rem);
    font-weight: 850;
    line-height: 1.06;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-featured__content p {
    max-width: 650px;
    margin: 0;
    color: #405166;
    font-size: 1.06rem;
    line-height: 1.72;
}

.home-featured__facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 0.45rem 0 0.15rem;
    border: 0;
}

.home-featured__facts div {
    display: grid;
    gap: 0.22rem;
    min-height: 0;
    padding: 0.9rem 0.95rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
}

.home-featured__facts div + div {
    padding-left: 0.95rem;
    border-left: 1px solid rgba(16, 32, 51, 0.08);
}

.home-featured__facts dt {
    position: relative;
    padding-left: 0.85rem;
    color: #153f35;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.12;
}

.home-featured__facts dt::before {
    content: "";
    position: absolute;
    top: 0.18rem;
    left: 0;
    width: 0.4rem;
    height: 0.78rem;
    border-radius: 999px;
    background: #f4b84a;
}

.home-featured__facts dd {
    margin: 0.22rem 0 0 0.85rem;
    color: #6b7c8f;
    font-size: 0.92rem;
    line-height: 1.32;
}

.home-featured__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.72rem;
    align-items: center;
    margin-top: 0.38rem;
}

.home-featured__actions .home-text-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 0.15rem;
    line-height: 1.2;
}

.home-featured__actions .home-text-link::after {
    content: "";
    width: 0.44rem;
    height: 0.44rem;
    margin-left: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
}

.home-featured__actions .home-text-link:hover::after {
    transform: translateX(3px) rotate(-45deg);
}

.home-text-link,
.home-service-card a {
    color: #2459b7;
    font-weight: 800;
    text-decoration: none;
}

.home-text-link:hover,
.home-service-card a:hover {
    color: #123c85;
    text-decoration: underline;
}

.home-services {
    border-top: 0;
    border-bottom: 1px solid #dbe7f4;
    background: #f7fbff;
    padding: 4.75rem max(1rem, calc((100vw - 1200px) / 2 + 1rem));
}

.home-services__inner {
    display: grid;
    gap: 2rem;
}

.home-services__header {
    display: grid;
    gap: 0.75rem;
    max-width: 840px;
}

.home-services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.home-services__header p {
    max-width: 760px;
    margin: 0;
    color: #405166;
    font-size: 1.04rem;
    line-height: 1.68;
}

.home-service-card {
    position: relative;
    display: grid;
    gap: 0.72rem;
    align-content: start;
    min-height: 374px;
    padding: 0 1.2rem 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(36, 89, 183, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.home-service-card::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 4px;
    background: linear-gradient(90deg, #2459b7 0%, #f4b84a 100%);
}

.home-service-card:hover {
    transform: translateY(-2px);
    border-color: rgba(36, 89, 183, 0.28);
    box-shadow: 0 22px 48px rgba(16, 32, 51, 0.12);
}

.home-service-card__media {
    position: relative;
    height: 126px;
    margin: 0 -1.2rem 0.65rem;
    overflow: hidden;
    border-radius: 7px 7px 0 0;
    background: #dbe7f4;
}

.home-service-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(7, 18, 33, 0.02) 34%, rgba(7, 18, 33, 0.28) 100%),
        linear-gradient(90deg, rgba(7, 18, 33, 0.16) 0%, rgba(7, 18, 33, 0.02) 60%);
}

.home-service-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.01);
    transition: filter 0.22s ease, transform 0.22s ease;
}

.home-service-card:hover .home-service-card__media img {
    filter: saturate(1.08) contrast(1.04);
    transform: scale(1.045);
}

.home-service-card:nth-child(2) .home-service-card__media img {
    object-position: 42% 42%;
}

.home-service-card__label {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #d9e9ff;
    color: #2459b7;
    font-size: 0.9rem;
    font-weight: 850;
}

.home-service-card h3 {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #102033;
    font-size: 1.35rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.home-service-card p {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #4b5c70;
    font-size: 0.96rem;
    line-height: 1.55;
}

.home-service-card a {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    align-self: start;
    gap: 0.35rem;
    margin-top: auto;
    max-width: 100%;
    font-size: clamp(1rem, 1.2vw, 1.12rem);
    line-height: 1.2;
}

.home-service-card a::after {
    content: "->";
    flex: 0 0 auto;
    font-size: 0.95rem;
    line-height: 1;
    white-space: nowrap;
    transition: transform 0.2s ease;
}

.home-service-card a:hover::after {
    transform: translateX(3px);
}

.home-process {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    padding: 5.25rem max(1rem, calc((100vw - 1200px) / 2 + 1rem));
}

.home-process__inner {
    display: grid;
    grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(3rem, 5vw, 5.25rem);
    align-items: start;
}

.home-process__heading {
    display: grid;
    gap: 0.9rem;
    position: sticky;
    top: calc(var(--site-header-height, 78px) + 1.2rem);
    padding-top: 0.35rem;
}

.home-process__heading::after {
    content: "";
    display: block;
    width: 4.25rem;
    height: 3px;
    margin-top: 0.55rem;
    border-radius: 999px;
    background: #f4b84a;
}

.home-process h2 {
    margin: 0;
    color: #102033;
    max-width: 15ch;
    font-size: clamp(2.25rem, 3.55vw, 3.08rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: 0;
    text-wrap: balance;
}

.home-process__heading p {
    margin: 0;
    max-width: 30rem;
    color: #405166;
    font-size: 1.04rem;
    line-height: 1.68;
}

.home-process__steps {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0.15rem 0;
    list-style: none;
    counter-reset: home-process;
}

.home-process__steps::before {
    content: "";
    position: absolute;
    top: 1.9rem;
    bottom: 1.9rem;
    left: 27px;
    z-index: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(21, 63, 53, 0.18), rgba(36, 89, 183, 0.12));
}

.home-process__steps::after {
    content: "";
    position: absolute;
    top: 1.9rem;
    bottom: 1.9rem;
    left: 27px;
    z-index: 0;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #1f5a4a 0%, #2459b7 100%);
    transform: scaleY(var(--home-process-fill, 0));
    transform-origin: top center;
    will-change: transform;
}

.home-process__steps li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    column-gap: 1.2rem;
    row-gap: 0.35rem;
    align-items: start;
    min-height: 118px;
    padding: 1.45rem 0;
    border-bottom: 1px solid #dbe7f4;
    background: transparent;
}

.home-process__steps li:last-child {
    border-bottom: 0;
}

.home-process__steps span {
    position: relative;
    z-index: 2;
    grid-row: span 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border: 4px solid #ffffff;
    border-radius: 999px;
    background: linear-gradient(155deg, #1f5a4a 0%, #143a30 100%);
    box-shadow: 0 0 0 1px rgba(21, 63, 53, 0.14), 0 14px 28px rgba(16, 32, 51, 0.16);
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 850;
    line-height: 1;
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.home-process__steps li:hover span {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(244, 184, 74, 0.32), 0 16px 32px rgba(16, 32, 51, 0.22);
}

.home-process__steps h3 {
    margin: 0.2rem 0 0;
    color: #102033;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.18;
    transition: color 0.25s ease;
}

.home-process__steps li:hover h3 {
    color: #1f5a4a;
}

.home-process__steps p {
    margin: 0;
    max-width: 43rem;
    color: #4b5c70;
    font-size: 1.05rem;
    line-height: 1.68;
}

@keyframes home-process-fill {
    to {
        transform: scaleY(1);
    }
}

@keyframes home-process-step {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@supports (animation-timeline: view()) {
    @media (prefers-reduced-motion: no-preference) and (min-width: 681px) {
        .home-process__steps:not(.is-process-enhanced)::after {
            animation: home-process-fill linear both;
            animation-timeline: view();
            animation-range: cover 8% cover 78%;
        }

        .home-process__steps:not(.is-process-enhanced) li {
            animation: home-process-step linear both;
            animation-timeline: view();
            animation-range: entry 4% cover 26%;
        }
    }
}

.home-process__steps.is-process-enhanced::after {
    animation: none !important;
}

.home-process__steps.is-process-enhanced li {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

.home-process__steps.is-process-enhanced li span {
    background: #ffffff;
    color: #1f5a4a;
    border: 2px solid rgba(31, 90, 74, 0.22);
    box-shadow: 0 0 0 4px #ffffff, 0 8px 18px rgba(16, 32, 51, 0.06);
}

.home-process__steps.is-process-enhanced li.is-past span,
.home-process__steps.is-process-enhanced li.is-active span {
    border: 4px solid #ffffff;
    background: linear-gradient(155deg, #1f5a4a 0%, #143a30 100%);
    color: #ffffff;
    box-shadow: 0 0 0 1px rgba(21, 63, 53, 0.14), 0 14px 28px rgba(16, 32, 51, 0.16);
}

.home-process__steps.is-process-enhanced li.is-active span {
    box-shadow: 0 0 0 4px rgba(244, 184, 74, 0.32), 0 14px 28px rgba(16, 32, 51, 0.18);
}

.home-process__steps.is-process-enhanced li.is-active h3 {
    color: #1f5a4a;
}

.home-process__steps.is-process-enhanced li.is-past h3 {
    color: #102033;
}

.home-process__steps.is-process-enhanced li:hover span {
    transform: scale(1.04);
}

.home-contact-band {
    background: #153f35;
    color: #ffffff;
    padding: 2.6rem max(1rem, calc((100vw - 1200px) / 2 + 1rem));
}

.home-contact-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.home-contact-band__title {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 850;
    line-height: 1.15;
}

.home-contact-band p:not(.home-contact-band__title) {
    margin: 0;
    color: #d7eee7;
    line-height: 1.55;
}

.home-button--dark {
    background: #102033;
    color: #ffffff;
}

.home-button--dark:hover {
    background: #071221;
    color: #ffffff;
}

.home-button--light {
    border-color: rgba(255, 255, 255, 0.7);
    color: #ffffff;
}

.home-button--light:hover {
    background: #ffffff;
    color: #153f35;
}

@media (max-width: 980px) {
    .home-hero {
        min-height: calc(100svh - var(--site-header-height, 78px));
        padding-top: 4.5rem;
        padding-bottom: 3rem;
    }

    .home-hero__content {
        width: min(660px, 100%);
    }

    .home-intro__inner,
    .home-company-note,
    .home-assurance,
    .home-featured__inner,
    .home-process__inner,
    .home-contact-band__inner {
        grid-template-columns: 1fr;
    }

    .home-intro__inner {
        grid-template-areas:
            "copy"
            "facts"
            "media";
    }

    .home-company-note__split {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-company-note__panel {
        grid-template-columns: 1fr;
    }

    .home-company-note__content {
        min-height: 0;
    }

    .home-company-note__card {
        min-height: 300px;
    }

    .home-process__heading {
        position: static;
    }

    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-quick-paths__header {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-quick-paths__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, clamp(232px, 33vw, 290px));
        grid-template-areas:
            "feature aside"
            "alt-one alt-two";
    }

    .home-quick-paths a {
        padding: 1.3rem 1.3rem 1.25rem;
    }

    .home-intro h2 {
        grid-row: auto;
    }

    .home-contact-band__inner {
        display: grid;
    }

    .home-company-note {
        display: grid;
    }

    .home-assurance__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .home-section-kicker {
        font-size: 0.76rem;
    }

    .home-contact-band__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .home-button {
        width: 100%;
        min-height: 44px;
    }

    .home-intro,
    .home-company-note,
    .home-assurance,
    .home-featured,
    .home-services,
    .home-process {
        padding-top: 3.1rem;
        padding-bottom: 3.1rem;
    }

    .home-process {
        padding-top: 2.65rem;
        padding-bottom: 2.8rem;
    }

    .home-intro h2,
    .home-services h2,
    .home-featured h2,
    .home-process h2 {
        font-size: 1.85rem;
        line-height: 1.14;
    }

    .home-process h2 {
        max-width: none;
        font-size: 1.56rem;
        line-height: 1.16;
    }

    .home-process__inner {
        gap: 1.35rem;
    }

    .home-process__heading {
        gap: 0.62rem;
    }

    .home-process__heading p {
        font-size: 0.96rem;
        line-height: 1.56;
    }

    .home-process__steps {
        gap: 0;
        padding: 0.15rem 0 0;
    }

    .home-process__heading::after {
        display: none;
    }

    .home-process__steps::before,
    .home-process__steps::after {
        top: 2.86rem;
        bottom: 2.86rem;
        left: 19px;
        width: 2px;
    }

    .home-process__steps::before {
        background: linear-gradient(180deg, rgba(21, 63, 53, 0.18), rgba(36, 89, 183, 0.12));
    }

    .home-process__steps::after {
        background: linear-gradient(180deg, #1f5a4a 0%, #2459b7 100%);
        transform: scaleY(var(--home-process-fill, 0));
        transform-origin: top center;
    }

    .home-intro__inner {
        gap: 1.25rem;
    }

    .home-intro__media,
    .home-intro__media img {
        min-height: 280px;
    }

    .home-intro__facts,
    .home-company-note__split {
        grid-template-columns: 1fr;
    }

    .home-company-note {
        padding-top: 2.65rem;
        padding-bottom: 2.75rem;
        padding-right: 1rem;
        padding-left: 1rem;
        background: #f7fbff;
    }

    .home-quick-paths__header {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .home-company-note__panel {
        gap: 1.15rem;
        padding: 0;
    }

    .home-company-note__content {
        padding: 0;
    }

    .home-company-note h2 {
        max-width: none;
        font-size: 1.72rem;
        line-height: 1.12;
    }

    .home-company-note p {
        font-size: 0.96rem;
        line-height: 1.56;
    }

    .home-company-note__card {
        min-height: 300px;
        padding: 1.25rem 1.2rem 1.2rem;
    }

    .home-company-note__card-media {
        height: auto;
        margin: 0;
    }

    .home-intro__facts div {
        min-height: 0;
        padding: 0.9rem;
    }

    .home-services__grid {
        grid-template-columns: 1fr;
    }

    .home-assurance__grid {
        grid-template-columns: 1fr;
    }

    .home-assurance__grid article {
        min-height: 0;
        padding: 0 1.1rem 1.15rem;
    }

    .home-assurance__card-media {
        height: 128px;
        margin: 0 -1.1rem 0;
    }

    .home-assurance__grid small {
        font-size: 0.88rem;
    }

    .home-quick-paths {
        gap: 1.1rem;
        padding: 1.15rem 1rem 2.65rem;
        border-top: 1px solid #d8e2ec;
    }

    .home-quick-paths__header {
        gap: 0.72rem;
    }

    .home-quick-paths__header h2 {
        font-size: 1.72rem;
        line-height: 1.12;
    }

    .home-quick-paths__header p {
        font-size: 0.96rem;
        line-height: 1.56;
    }

    .home-quick-paths__grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-template-areas: none;
        gap: 0.85rem;
    }

    .home-quick-paths a {
        min-height: 248px;
        padding: 1.2rem 1.15rem 1.15rem;
        box-shadow: 0 14px 30px rgba(7, 16, 28, 0.18);
    }

    .home-quick-paths a:nth-of-type(1),
    .home-quick-paths a:nth-of-type(2),
    .home-quick-paths a:nth-of-type(3),
    .home-quick-paths a:nth-of-type(4) {
        grid-area: auto;
    }

    .home-quick-paths strong {
        font-size: 1.18rem;
    }

    .home-quick-paths small {
        max-width: 36ch;
        font-size: 0.9rem;
    }

    .home-process__steps li {
        grid-template-columns: 42px minmax(0, 1fr);
        min-height: 0;
        padding: 0.95rem 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        position: relative;
    }

    .home-process__steps li + li {
        border-top: 1px solid #dbe7f4;
    }

    .home-process__steps li:not(:last-child)::after {
        content: none;
    }

    .home-process__steps span {
        position: relative;
        z-index: 2;
        width: 38px;
        height: 38px;
        border: 2px solid #e7f0f8;
        border-radius: 999px;
        box-shadow: 0 0 0 4px #ffffff;
        font-size: 0.74rem;
    }

    .home-process__steps h3 {
        padding-top: 0.08rem;
        font-size: 1.05rem;
    }

    .home-process__steps p {
        max-width: 28rem;
        font-size: 0.94rem;
        line-height: 1.5;
    }

    .home-service-card {
        min-height: 0;
        padding: 0 1rem 1.05rem;
    }

    .home-service-card__media {
        height: 134px;
        margin: 0 -1rem 0.72rem;
    }

    .home-contact-band {
        padding-top: 2.1rem;
        padding-bottom: 2.1rem;
    }

    .home-contact-band__title {
        font-size: 1.4rem;
    }

    .home-company-note .home-button {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .home-hero__actions {
        grid-template-columns: 1fr;
    }
}

/* --- Homepage design polish --- */
.colpercol-local-theme,
.colpercol-local-theme * {
    box-sizing: border-box;
}

body.colpercol-local-theme {
    overflow-x: hidden;
    overscroll-behavior-x: none;
}

.home-hero {
    min-height: calc(100svh - var(--site-header-height, 78px));
    padding-top: clamp(3.4rem, 4.8vw, 4.15rem);
    padding-bottom: clamp(1.9rem, 3.4vw, 2.25rem);
}

.home-hero::before {
    background-position: 68% 24%;
    filter: saturate(1.02) contrast(1.06) brightness(0.88);
    transform: scale(1.04);
}

.home-hero::after {
    background:
        linear-gradient(90deg, rgba(5, 14, 27, 0.95) 0%, rgba(6, 18, 34, 0.86) 40%, rgba(6, 18, 34, 0.5) 68%, rgba(6, 18, 34, 0.24) 100%),
        linear-gradient(180deg, rgba(6, 16, 30, 0.3) 0%, rgba(6, 16, 30, 0.04) 34%, rgba(6, 16, 30, 0.58) 100%);
}

.home-hero__content {
    width: min(760px, 100%);
}

.home-hero__eyebrow {
    min-height: 32px;
    padding-inline: 0.72rem;
    border-color: rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    background: rgba(6, 16, 31, 0.42);
    color: #f4d08b;
    box-shadow: 0 14px 34px rgba(7, 18, 33, 0.2);
}

.home-hero__note {
    padding: 0.38rem 0.78rem 0.38rem 0.48rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #e8f0fa;
    font-weight: 700;
}

.home-hero__eyebrow {
    text-transform: none;
    letter-spacing: 0;
}

@media (min-width: 681px) {
    .home-hero__eyebrow,
    .home-hero__note {
        white-space: nowrap;
    }
}

.home-hero h1 {
    max-width: 22ch;
    margin-top: 0.9rem;
    margin-bottom: 0.85rem;
    font-size: clamp(2.55rem, 5vw, 4.35rem);
    line-height: 1;
}

.home-hero__lead {
    max-width: 650px;
    color: #f3f7fb;
    font-size: clamp(1.02rem, 1.38vw, 1.16rem);
}

.home-hero__proof {
    position: relative;
    max-width: 760px;
    gap: 0;
    margin-top: 1.7rem;
    padding: 1.05rem 0.6rem 1.05rem 1.4rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(10, 22, 40, 0.58) 0%, rgba(7, 16, 30, 0.42) 100%);
    box-shadow: 0 24px 50px rgba(4, 12, 24, 0.4);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.home-hero__proof::before {
    content: "";
    position: absolute;
    top: 0.95rem;
    bottom: 0.95rem;
    left: 0;
    width: 3px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg, #ffd06a 0%, #f2ad35 100%);
}

.home-hero__proof div {
    padding: 0.15rem 1.3rem;
}

.home-hero__proof div + div {
    border-left: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 1100px) {
    .home-hero {
        justify-content: space-between;
        gap: clamp(2rem, 4vw, 4rem);
    }

    .home-hero__content {
        flex: 1 1 auto;
        max-width: 680px;
    }

    .home-hero__proof {
        max-width: 100%;
    }

    .home-hero__card {
        flex: 0 0 clamp(300px, 25vw, 358px);
        display: flex;
        flex-direction: column;
        gap: 0.95rem;
        padding: 1.55rem 1.5rem;
        border: 1px solid rgba(255, 255, 255, 0.18);
        border-radius: 16px;
        background: linear-gradient(180deg, rgba(12, 24, 43, 0.74) 0%, rgba(8, 18, 33, 0.6) 100%);
        box-shadow: 0 30px 64px rgba(4, 12, 24, 0.46);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
        color: #eaf1fb;
    }

    .home-hero__card-label {
        margin: 0;
        color: #ffd98a;
        font-size: 0.78rem;
        font-weight: 800;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }

    .home-hero__card-title {
        margin: 0;
        color: #ffffff;
        font-size: 1.18rem;
        font-weight: 750;
        line-height: 1.32;
    }

    .home-hero__card-phone {
        display: flex;
        align-items: center;
        gap: 0.8rem;
        margin-top: 0.15rem;
        padding: 0.72rem 0.85rem;
        border: 1px solid rgba(244, 184, 74, 0.42);
        border-radius: 12px;
        background: rgba(244, 184, 74, 0.12);
        text-decoration: none;
        transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    }

    .home-hero__card-phone:hover {
        background: rgba(244, 184, 74, 0.2);
        border-color: rgba(244, 184, 74, 0.6);
        transform: translateY(-1px);
    }

    .home-hero__card-phone-icon {
        flex: 0 0 auto;
        display: grid;
        place-items: center;
        width: 2.6rem;
        height: 2.6rem;
        border-radius: 999px;
        background: linear-gradient(180deg, #ffd06a 0%, #f2ad35 100%);
        color: #102033;
        box-shadow: 0 8px 18px rgba(7, 18, 33, 0.3);
    }

    .home-hero__card-phone-icon::before {
        content: "";
        width: 1.2rem;
        height: 1.2rem;
        background: currentColor;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .home-hero__card-phone-text {
        display: grid;
        gap: 0.12rem;
    }

    .home-hero__card-phone-text small {
        color: #c7d6ea;
        font-size: 0.76rem;
        line-height: 1.2;
    }

    .home-hero__card-phone-text strong {
        color: #ffffff;
        font-size: 1.32rem;
        font-weight: 850;
        letter-spacing: 0.01em;
        line-height: 1.1;
    }

    .home-hero__card-note {
        margin: 0;
        padding-top: 0.9rem;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        color: #c7d6ea;
        font-size: 0.86rem;
        line-height: 1.45;
    }
}

.home-quick-paths,
.home-company-note,
.home-intro,
.home-assurance,
.home-services,
.home-process,
.home-featured {
    overflow-x: clip;
}

.home-quick-paths {
    background:
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 72%, #ffffff 100%);
    border-top: 1px solid #d8e2ec;
}

.home-quick-paths a,
.home-company-note__card,
.home-assurance__grid article,
.home-service-card {
    border-radius: 8px;
}

.home-quick-paths a,
.home-company-note__card {
    box-shadow: 0 18px 42px rgba(16, 32, 51, 0.08);
}

.home-quick-paths a:hover,
.home-company-note__card--link:hover,
.home-service-card:hover,
.home-assurance__grid article:hover {
    transform: translateY(-3px);
}

.home-company-note__card {
    border-radius: 16px;
    box-shadow: 0 20px 44px rgba(16, 32, 51, 0.16);
}

.home-company-note__card--link:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(7, 16, 28, 0.34);
}

.home-assurance__grid article {
    border-radius: 16px;
    box-shadow: 0 18px 42px rgba(16, 32, 51, 0.08);
}

.home-assurance__grid article:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 56px rgba(7, 16, 28, 0.16);
}

.home-quick-paths a {
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.16);
}

.home-quick-paths a:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 64px rgba(7, 16, 28, 0.34);
}

@media (max-width: 680px) {
    body.colpercol-local-theme {
        overflow-x: hidden;
    }

    .home-hero,
    .home-quick-paths,
    .home-company-note,
    .home-intro,
    .home-assurance,
    .home-services,
    .home-process,
    .home-featured {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-hero {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-end;
        min-height: max(720px, calc(100dvh - var(--site-header-height, 75px) + 1px));
        padding:
            calc(1rem + env(safe-area-inset-top, 0px))
            0.9rem
            calc(1.05rem + env(safe-area-inset-bottom, 0px));
    }

    .home-hero::before {
        background-position: 58% 18%;
        filter: saturate(1.04) contrast(1.06) brightness(0.93);
        transform: none;
    }

    .home-hero::after {
        background:
            radial-gradient(circle at 50% 16%, rgba(12, 34, 58, 0.08) 0%, rgba(12, 34, 58, 0.42) 44%, rgba(5, 14, 27, 0.86) 100%),
            linear-gradient(180deg, rgba(5, 14, 27, 0.04) 0%, rgba(5, 14, 27, 0.2) 31%, rgba(5, 14, 27, 0.88) 72%, rgba(5, 14, 27, 0.98) 100%);
    }

    .home-hero__content {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0.72rem;
        width: min(100%, 480px);
        max-width: none;
        min-height: 0;
        margin-inline: auto;
        padding-top: min(36dvh, 15.5rem);
    }

    .home-hero__body {
        display: flex;
        flex: 0 0 auto;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0.68rem;
        padding: 0.95rem 0.92rem 1rem;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 18px;
        background: linear-gradient(180deg, rgba(8, 20, 38, 0.68) 0%, rgba(5, 14, 27, 0.82) 100%);
        box-shadow: 0 22px 48px rgba(3, 10, 21, 0.42);
        -webkit-backdrop-filter: blur(14px);
        backdrop-filter: blur(14px);
    }

    .home-hero__eyebrow {
        align-self: flex-start;
        width: fit-content;
        max-width: 100%;
        min-height: 0;
        gap: 0.42rem;
        padding: 0.34rem 0.64rem 0.34rem 0.4rem;
        border: 1px solid rgba(244, 184, 74, 0.24);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #f8d995;
        font-size: 0.72rem;
        font-weight: 720;
        letter-spacing: 0;
        line-height: 1.3;
        text-transform: none;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .home-hero__eyebrow-text strong {
        color: #ffffff;
        font-weight: 850;
    }

    .home-hero__chip-icon {
        width: 1.28rem;
        height: 1.28rem;
        border-radius: 8px;
        background: rgba(244, 184, 74, 0.18);
        box-shadow: inset 0 0 0 1px rgba(244, 184, 74, 0.42);
    }

    .home-hero h1 {
        max-width: 12em;
        margin: 0;
        font-size: clamp(2rem, 8.4vw, 2.55rem);
        line-height: 1.03;
        text-wrap: balance;
    }

    .home-hero__lead {
        max-width: 25rem;
        margin: 0;
        color: #f0f5fb;
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .home-hero__note {
        align-self: flex-start;
        width: fit-content;
        max-width: 100%;
        gap: 0.4rem;
        min-height: 0;
        margin: 0;
        padding: 0.34rem 0.62rem 0.34rem 0.4rem;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
        color: #edf3fb;
        font-size: 0.76rem;
        font-weight: 700;
        line-height: 1.3;
        white-space: normal;
        box-shadow: none;
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }

    .home-hero__actions {
        display: grid;
        gap: 0.55rem;
        margin-top: 0.12rem;
    }

    .home-hero .home-button--primary {
        min-height: 52px;
        border-radius: 12px;
        background: linear-gradient(180deg, #ffd06a 0%, #f2ad35 100%);
        box-shadow: 0 14px 28px rgba(4, 12, 24, 0.34);
        font-size: 0.98rem;
    }

    .home-hero .home-button--secondary.home-button--text {
        width: auto;
        min-height: 0;
        margin: 0 auto;
        padding: 0.35rem 0.25rem;
        border: 0;
        background: transparent;
        color: #edf3fb;
        font-size: 0.86rem;
        font-weight: 750;
        text-decoration: underline;
        text-underline-offset: 0.18em;
    }

    .home-hero .home-button--secondary.home-button--text:hover {
        color: #ffffff;
        background: transparent;
        transform: none;
    }

    .home-hero__phone-action {
        display: inline-flex;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        border-color: rgba(255, 255, 255, 0.34);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        font-size: 0.94rem;
        font-weight: 800;
    }

    .home-hero__phone-action:hover {
        background: rgba(255, 255, 255, 0.22);
        color: #ffffff;
    }

    .home-hero__lead,
    .home-hero__actions,
    .home-hero__proof,
    .home-quick-paths__header,
    .home-quick-paths__grid,
    .home-company-note__panel,
    .home-company-note__split,
    .home-intro__inner,
    .home-assurance__header,
    .home-assurance__grid,
    .home-services__inner,
    .home-services__grid,
    .home-process__inner,
    .home-featured__inner {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .home-hero__proof {
        flex-shrink: 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin-top: 0;
        padding: 0.55rem 0.38rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 16px;
        background: rgba(5, 14, 27, 0.62);
        -webkit-backdrop-filter: blur(12px);
        backdrop-filter: blur(12px);
        box-shadow: 0 12px 30px rgba(3, 10, 21, 0.28);
    }

    .home-hero__proof div {
        display: grid;
        align-content: center;
        justify-items: center;
        min-height: 48px;
        padding: 0.2rem 0.34rem;
        border: 0;
        border-left: 0;
        border-radius: 0;
        background: transparent;
        text-align: center;
    }

    .home-hero__proof div + div {
        border-left: 1px solid rgba(255, 255, 255, 0.16);
    }

    .home-hero__proof::before,
    .home-hero__proof div::before {
        content: none;
    }

    .home-hero__proof strong {
        color: #ffffff;
        font-size: 0.78rem;
        font-weight: 820;
        line-height: 1.18;
        overflow-wrap: anywhere;
    }

    .home-hero__proof strong::before {
        content: none;
    }

    .home-hero__proof span {
        display: block;
        margin-top: 0.14rem;
        color: #c7d6ea;
        font-size: 0.62rem;
        font-weight: 650;
        line-height: 1.18;
    }

    .home-quick-paths {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .home-quick-paths__header h2,
    .home-company-note h2,
    .home-intro h2,
    .home-services h2,
    .home-process h2,
    .home-featured h2 {
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .home-quick-paths__header p,
    .home-company-note p,
    .home-intro p,
    .home-assurance p,
    .home-services p,
    .home-process p,
    .home-featured p {
        max-width: 100%;
        overflow-wrap: break-word;
    }
}

@media (max-width: 360px) {
    .home-hero {
        min-height: max(680px, calc(100dvh - var(--site-header-height, 75px) + 1px));
        padding-top: calc(0.9rem + env(safe-area-inset-top, 0px));
    }

    .home-hero__body {
        padding: 0.82rem 0.78rem 0.9rem;
        border-radius: 16px;
    }

    .home-hero h1 {
        font-size: 1.86rem;
    }

    .home-hero__lead {
        font-size: 0.9rem;
    }

    .home-hero__proof strong {
        font-size: 0.7rem;
    }
}

@media (max-width: 680px) and (max-height: 720px) {
    .home-hero {
        min-height: calc(100dvh - var(--site-header-height, 75px) + 1px);
        padding:
            calc(0.42rem + env(safe-area-inset-top, 0px))
            0.68rem
            calc(0.42rem + env(safe-area-inset-bottom, 0px));
    }

    .home-hero::before {
        background-position: 58% 10%;
    }

    .home-hero__content {
        gap: 0.36rem;
        padding-top: min(12dvh, 4.8rem);
    }

    .home-hero__body {
        gap: 0.34rem;
        padding: 0.58rem 0.64rem 0.62rem;
        border-radius: 15px;
    }

    .home-hero__eyebrow,
    .home-hero__note {
        gap: 0.3rem;
        padding: 0.22rem 0.48rem 0.22rem 0.3rem;
        font-size: 0.62rem;
        line-height: 1.18;
    }

    .home-hero__chip-icon {
        width: 0.96rem;
        height: 0.96rem;
        border-radius: 7px;
    }

    .home-hero h1 {
        max-width: 12.5em;
        font-size: clamp(1.48rem, 6.5vw, 1.76rem);
        line-height: 1.02;
    }

    .home-hero__lead {
        font-size: 0.78rem;
        line-height: 1.28;
    }

    .home-hero__actions {
        gap: 0.3rem;
        margin-top: 0;
    }

    .home-hero .home-button--primary {
        min-height: 39px;
        padding: 0.55rem 0.85rem;
        border-radius: 9px;
        font-size: 0.82rem;
    }

    .home-hero__phone-action {
        min-height: 38px;
        padding: 0.52rem 0.85rem;
        border-radius: 9px;
        font-size: 0.8rem;
    }

    .home-hero .home-button--secondary.home-button--text {
        display: none;
    }

    .home-hero__proof {
        padding: 0.34rem 0.22rem;
        border-radius: 13px;
    }

    .home-hero__proof div {
        min-height: 34px;
        padding: 0.08rem 0.18rem;
    }

    .home-hero__proof strong {
        font-size: 0.62rem;
        line-height: 1.08;
    }

    .home-hero__proof span {
        margin-top: 0.06rem;
        font-size: 0.5rem;
        line-height: 1.08;
    }
}

.services-page {
    color: #132238;
    background: #ffffff;
}

.services-page * {
    box-sizing: border-box;
}

.services-hero,
.services-overview,
.services-method,
.services-cta {
    padding-inline: max(1rem, calc((100vw - 1200px) / 2 + 1rem));
}

.services-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.72fr);
    gap: clamp(2rem, 4vw, 3.2rem);
    align-items: center;
    align-content: center;
    min-height: calc(100vh - var(--site-header-height, 78px));
    min-height: calc(100svh - var(--site-header-height, 78px));
    overflow: hidden;
    padding-top: clamp(3.5rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 4.2rem);
    color: #ffffff;
    background: #102033;
}

.services-hero::before,
.services-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
}

.services-hero::before {
    background-image: url("../images/chalets-velada-hero.png");
    background-image: image-set(
        url("../images/chalets-velada-hero.webp") type("image/webp"),
        url("../images/chalets-velada-hero.png") type("image/png")
    );
    background-position: center 44%;
    background-size: cover;
    filter: saturate(1.04) contrast(1.03);
}

.services-hero::after {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 18, 33, 0.91) 0%, rgba(9, 27, 47, 0.78) 48%, rgba(9, 27, 47, 0.22) 100%),
        linear-gradient(180deg, rgba(7, 18, 33, 0.08) 0%, rgba(7, 18, 33, 0.44) 100%);
}

.services-kicker {
    margin: 0;
    color: #f4b84a;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}

.services-hero h1,
.services-section-heading h2,
.services-method h2 {
    margin: 0;
    color: inherit;
    letter-spacing: 0;
    text-wrap: balance;
}

.services-hero h1 {
    max-width: 790px;
    margin-top: 0.85rem;
    color: #ffffff;
    font-size: 3.45rem;
    font-weight: 850;
    line-height: 1.03;
    text-shadow: 0 2px 18px rgba(7, 18, 33, 0.36);
}

.services-hero__content > p:not(.services-kicker) {
    max-width: 700px;
    margin: 1rem 0 0;
    color: #e6edf7;
    font-size: 1.08rem;
    line-height: 1.65;
}

.services-hero__content,
.services-method__content,
.services-hero__proof {
    min-width: 0;
}

.services-hero__actions,
.services-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.services-hero__actions {
    margin-top: 1.45rem;
}

.services-hero .home-button--primary {
    min-height: 52px;
    padding-inline: 1.35rem;
    box-shadow: 0 10px 24px rgba(7, 18, 33, 0.32);
}

.services-hero .home-button--secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
}

.services-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
    margin: 1.6rem 0 0;
    padding: 0;
    list-style: none;
}

.services-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e6edf7;
    font-size: 0.85rem;
    font-weight: 700;
}

.services-hero__trust li::before {
    content: "";
    width: 1.02rem;
    height: 1.02rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.services-hero__proof {
    width: 100%;
    margin: 0;
    padding: 1.35rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 14px;
    background: rgba(7, 18, 33, 0.56);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 52px rgba(7, 18, 33, 0.28);
}

.services-hero__proof-title {
    margin: 0.2rem 0 1rem;
    color: #f4b84a;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.services-hero__steps {
    position: relative;
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: svc-step;
}

.services-hero__steps::before {
    content: "";
    position: absolute;
    left: calc(0.75rem + 21px);
    top: 1.6rem;
    bottom: 1.6rem;
    width: 2px;
    background: linear-gradient(180deg, rgba(244, 184, 74, 0.55) 0%, rgba(244, 184, 74, 0.12) 100%);
    z-index: 0;
}

.services-hero__steps li {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.8rem;
    align-items: center;
    min-height: 56px;
    padding: 0.7rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.08);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.services-hero__steps li:hover {
    transform: translateX(3px);
    border-color: rgba(244, 184, 74, 0.4);
    background: rgba(255, 255, 255, 0.12);
}

.services-hero__step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f4b84a;
    color: #102033;
    font-weight: 850;
    box-shadow: 0 6px 14px rgba(244, 184, 74, 0.28);
}

.services-hero__step-text {
    color: #ffffff;
    font-size: 0.98rem;
    font-weight: 750;
    line-height: 1.35;
}

.services-overview {
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
    background: #f7fbff;
}

.services-section-heading {
    display: grid;
    gap: 0.6rem;
    max-width: 820px;
    margin-bottom: 1.7rem;
}

.services-section-heading h2,
.services-method h2 {
    color: #102033;
    font-size: 2.65rem;
    font-weight: 850;
    line-height: 1.08;
}

.services-section-heading > p:not(.services-kicker),
.services-method__content > p:not(.services-kicker),
.services-card p {
    margin: 0;
    color: #405166;
    font-size: 1rem;
    line-height: 1.68;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.services-card {
    display: grid;
    gap: 0.85rem;
    align-content: start;
    min-height: 420px;
    padding: 1.35rem;
    border: 1px solid rgba(36, 89, 183, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.services-card__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #d9e9ff;
    color: #2459b7;
    font-size: 0.9rem;
    font-weight: 850;
}

.services-card h3 {
    margin: 0;
    color: #102033;
    font-size: 1.42rem;
    line-height: 1.2;
    letter-spacing: 0;
}

.services-card ul,
.services-steps {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.services-card li,
.services-steps li {
    position: relative;
    margin: 0;
    padding-left: 1.05rem;
    color: #405166;
    font-size: 1rem;
    line-height: 1.55;
}

.services-card li::before,
.services-steps li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.68em;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #f4b84a;
}

.services-card__link {
    align-self: end;
    color: #2459b7;
    font-weight: 850;
    text-decoration: none;
}

.services-card__link:hover {
    color: #123c85;
    text-decoration: underline;
}

.services-method {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.78fr);
    gap: 2rem;
    align-items: center;
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
    background: #ffffff;
}

.services-method__content {
    display: grid;
    gap: 0.85rem;
}

.services-method__media {
    position: relative;
    min-height: 330px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.16);
}

.services-method__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 33, 0.04) 0%, rgba(7, 18, 33, 0.36) 100%);
}

.services-method__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
}

.services-steps {
    margin-top: 0.25rem;
}

.services-steps strong {
    color: #102033;
}

.services-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
    color: #ffffff;
    background: #153f35;
}

.services-cta__title {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 850;
    line-height: 1.15;
}

.services-cta p:not(.services-cta__title) {
    margin: 0;
    max-width: 680px;
    color: #d7eee7;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .services-hero,
    .services-method {
        grid-template-columns: 1fr;
    }

    .services-hero {
        min-height: auto;
        align-items: start;
    }

    .services-hero__proof {
        max-width: 680px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .services-card {
        min-height: 0;
    }

    .services-cta {
        display: grid;
    }
}

@media (max-width: 680px) {
    .services-hero,
    .services-overview,
    .services-method,
    .services-cta {
        padding-inline: 1rem;
    }

    .services-hero {
        display: flex;
        flex-direction: column;
        padding-top: 3.2rem;
        padding-bottom: 2.6rem;
    }

    .services-hero::before {
        background-position: center 32%;
    }

    .services-hero::after {
        background:
            linear-gradient(180deg, rgba(7, 18, 33, 0.3) 0%, rgba(7, 18, 33, 0.78) 40%, rgba(7, 18, 33, 0.95) 100%),
            linear-gradient(90deg, rgba(7, 18, 33, 0.58) 0%, rgba(7, 18, 33, 0.2) 100%);
    }

    .services-hero h1 {
        max-width: 100%;
        font-size: 1.78rem;
        line-height: 1.08;
        overflow-wrap: break-word;
        text-wrap: wrap;
    }

    .services-hero__content,
    .services-hero__proof {
        width: 100%;
        max-width: calc(100vw - 2rem);
    }

    .services-hero__content > p:not(.services-kicker) {
        max-width: 100%;
        font-size: 0.98rem;
        line-height: 1.56;
        overflow-wrap: break-word;
    }

    .services-hero__actions,
    .services-cta__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .services-hero__proof {
        padding: 0.95rem;
    }

    .services-hero__steps {
        gap: 0.5rem;
    }

    .services-hero__steps::before {
        top: 1.4rem;
        bottom: 1.4rem;
    }

    .services-hero__steps li {
        min-height: 0;
        padding: 0.6rem 0.65rem;
    }

    .services-hero__step-text {
        font-size: 0.9rem;
    }

    .services-overview,
    .services-method {
        padding-top: 3.1rem;
        padding-bottom: 3.1rem;
    }

    .services-section-heading h2,
    .services-method h2 {
        font-size: 1.85rem;
        line-height: 1.14;
    }

    .services-card {
        padding: 1.1rem;
    }

    .services-method__media,
    .services-method__media img {
        min-height: 230px;
    }

    .services-cta {
        padding-top: 2.1rem;
        padding-bottom: 2.1rem;
    }

    .services-cta__title {
        font-size: 1.4rem;
    }
}

.contact-page {
    color: #132238;
    background: #ffffff;
}

.contact-page * {
    box-sizing: border-box;
}

.contact-hero,
.contact-form-section,
.contact-location,
.contact-cta {
    padding-inline: max(1rem, calc((100vw - 1200px) / 2 + 1rem));
}

.contact-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.78fr);
    gap: clamp(1.5rem, 4vw, 3.2rem);
    align-items: center;
    align-content: center;
    min-height: calc(100vh - var(--site-header-height, 78px));
    min-height: calc(100svh - var(--site-header-height, 78px));
    overflow: hidden;
    padding-top: clamp(3.5rem, 7vw, 5.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.6rem);
    color: #ffffff;
    background: linear-gradient(155deg, #1d5446 0%, #143a30 60%, #0f2f26 100%);
}

.contact-hero::before,
.contact-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
}

.contact-hero::before {
    background:
        radial-gradient(120% 130% at 100% 0%, rgba(36, 89, 183, 0.34) 0%, rgba(21, 63, 53, 0) 56%);
    filter: none;
}

.contact-hero::after {
    z-index: -1;
    background:
        radial-gradient(85% 90% at 0% 100%, rgba(244, 184, 74, 0.12) 0%, rgba(244, 184, 74, 0) 58%),
        linear-gradient(180deg, rgba(7, 18, 33, 0) 55%, rgba(7, 16, 28, 0.34) 100%);
}

.contact-kicker {
    margin: 0 0 0.75rem;
    color: #f4b84a;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}

.contact-hero h1,
.contact-section-heading h2,
.contact-location h2 {
    margin: 0;
    letter-spacing: 0;
    text-wrap: balance;
}

.contact-hero h1 {
    max-width: 780px;
    color: #ffffff;
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1.02;
    text-shadow: 0 2px 18px rgba(7, 18, 33, 0.35);
}

.contact-hero__content > p:not(.contact-kicker) {
    max-width: 680px;
    margin: 1rem 0 0;
    color: #e6edf7;
    font-size: clamp(1rem, 1.5vw, 1.14rem);
    line-height: 1.65;
}

.contact-hero__actions,
.contact-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.contact-hero__actions {
    margin-top: 1.55rem;
}

.contact-hero .home-button--primary {
    min-height: 52px;
    padding-inline: 1.35rem;
}

.contact-hero .home-button--secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
}

.contact-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
    margin: 1.7rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e6edf7;
    font-size: 0.86rem;
    font-weight: 700;
}

.contact-hero__trust li::before {
    content: "";
    width: 1.05rem;
    height: 1.05rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.contact-hero__panel {
    align-self: stretch;
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(7, 18, 33, 0.22);
}

.contact-hero__panel-title {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.78rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    text-transform: none;
}

.contact-channels {
    display: grid;
    gap: 0.55rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-channel {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    align-items: start;
    column-gap: 0.75rem;
    padding: 0.82rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.contact-channel:hover {
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.1);
}

.contact-channel::before {
    content: "";
    width: 2.25rem;
    height: 2.25rem;
    border: 0;
    border-radius: 999px;
    background-color: rgba(244, 184, 74, 0.16);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.15rem;
}

.contact-channel--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.contact-channel--mail::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

.contact-channel--place::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.contact-channel--time::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.contact-channel__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 0;
}

.contact-channel__label {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-transform: none;
}

.contact-channel__body a,
.contact-channel__body > span {
    color: #ffffff;
    font-size: 0.96rem;
    font-weight: 650;
    line-height: 1.38;
    text-decoration: none;
}

.contact-channel__body a:hover {
    color: #f4b84a;
    text-decoration: none;
}

.contact-form-section {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
    gap: clamp(1.6rem, 4vw, 3.4rem);
    align-items: start;
    padding-top: clamp(3rem, 6vw, 5rem);
    padding-bottom: clamp(3rem, 6vw, 5rem);
    background: #f7fbff;
}

.contact-form-aside {
    display: grid;
    gap: 0.4rem;
    align-content: start;
}

.contact-section-heading h2,
.contact-location h2,
.contact-form-aside h2 {
    margin: 0;
    color: #102033;
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 850;
    line-height: 1.08;
    text-wrap: balance;
}

.contact-form-aside__lead {
    margin: 0.8rem 0 0;
    max-width: 460px;
    color: #405166;
    font-size: 1.05rem;
    line-height: 1.62;
}

.contact-form-points {
    display: grid;
    gap: 0.85rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-form-points li {
    position: relative;
    padding-left: 1.85rem;
}

.contact-form-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.15rem;
    width: 1.25rem;
    height: 1.25rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232459b7' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m8 12 2.5 2.5L16 9'/%3E%3C/svg%3E");
}

.contact-form-points b {
    display: block;
    color: #102033;
    font-size: 1.04rem;
    line-height: 1.25;
}

.contact-form-points span {
    display: block;
    margin-top: 0.1rem;
    color: #51637a;
    font-size: 0.95rem;
    line-height: 1.5;
}

.contact-form-aside__alt {
    margin: 1.6rem 0 0;
    color: #405166;
    font-size: 1rem;
}

.contact-form-aside__alt a {
    color: #1f4f43;
    font-weight: 850;
    text-decoration: none;
}

.contact-form-aside__alt a:hover {
    text-decoration: underline;
}

.contact-form {
    display: grid;
    gap: 1rem;
    padding: clamp(1.4rem, 3vw, 2.1rem);
    border: 1px solid rgba(36, 89, 183, 0.14);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(16, 32, 51, 0.1);
}

.contact-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-field {
    display: grid;
    gap: 0.4rem;
}

.contact-field__label {
    color: #1d2c40;
    font-size: 0.9rem;
    font-weight: 800;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
    width: 100%;
    padding: 0.75rem 0.85rem;
    border: 1px solid #cdd9e8;
    border-radius: 10px;
    background: #fbfdff;
    color: #132238;
    font: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-field textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
    outline: none;
    border-color: #2459b7;
    box-shadow: 0 0 0 3px rgba(36, 89, 183, 0.16);
}

.contact-field--check {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 0.65rem;
    margin-top: 0.1rem;
}

.contact-field--check input {
    width: 1.15rem;
    height: 1.15rem;
    margin-top: 0.15rem;
    accent-color: #1f4f43;
}

.contact-field--check span {
    color: #51637a;
    font-size: 0.9rem;
    line-height: 1.45;
}

.contact-field--hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.contact-form__submit {
    justify-self: start;
    min-height: 52px;
    margin-top: 0.2rem;
    padding-inline: 1.6rem;
}

.contact-form__note {
    margin: 0;
    color: #51637a;
    font-size: 0.92rem;
    line-height: 1.5;
}

.contact-form__note.is-success {
    color: #1f6b4f;
    font-weight: 700;
}

.contact-form__note.is-error {
    color: #b3261e;
    font-weight: 700;
}

.contact-location {
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(300px, 0.7fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
    background: #ffffff;
}

.contact-location__content {
    display: grid;
    gap: 0.85rem;
}

.contact-location p {
    margin: 0;
    color: #405166;
    font-size: 1rem;
    line-height: 1.68;
}

.contact-location__facts {
    display: grid;
    gap: 0.9rem;
    margin: 0.4rem 0 0.2rem;
}

.contact-location__facts div {
    display: grid;
    gap: 0.2rem;
    padding-left: 0.85rem;
    border-left: 3px solid #f4b84a;
}

.contact-location__facts dt {
    color: #1d2c40;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-location__facts dd {
    margin: 0;
    color: #405166;
    font-size: 1rem;
    line-height: 1.5;
}

.contact-text-link {
    color: #2459b7;
    font-weight: 850;
    text-decoration: none;
}

.contact-text-link:hover {
    color: #123c85;
    text-decoration: underline;
}

.contact-location__map {
    position: relative;
    min-height: 340px;
    border: 1px solid rgba(16, 32, 51, 0.1);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 22px 52px rgba(16, 32, 51, 0.16);
}

.contact-location__map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    border: 0;
    filter: saturate(0.92) contrast(1.02);
}

.contact-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2.6rem;
    padding-bottom: 2.6rem;
    color: #ffffff;
    background: #153f35;
}

.contact-cta__title {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 850;
    line-height: 1.15;
}

.contact-cta p:not(.contact-cta__title) {
    margin: 0;
    max-width: 650px;
    color: #d7eee7;
    line-height: 1.55;
}

@media (max-width: 980px) {
    .contact-hero,
    .contact-form-section,
    .contact-location {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        min-height: auto;
    }

    .contact-hero__panel {
        max-width: 680px;
    }

    .contact-form-aside {
        max-width: 680px;
    }

    .contact-location__map {
        order: -1;
    }

    .contact-cta {
        display: grid;
    }
}

@media (max-width: 680px) {
    .contact-hero,
    .contact-form-section,
    .contact-location,
    .contact-cta {
        padding-inline: 1rem;
    }

    .contact-hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        gap: 0;
        min-height: calc(100dvh - var(--site-header-height, 78px));
        min-height: max(560px, calc(100dvh - var(--site-header-height, 78px)));
        padding:
            calc(0.85rem + env(safe-area-inset-top, 0px))
            1rem
            calc(0.95rem + env(safe-area-inset-bottom, 0px));
        box-sizing: border-box;
    }

    .contact-hero__content {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        gap: 0.72rem;
        order: 1;
        min-height: 0;
        padding-bottom: 0.65rem;
    }

    .contact-kicker {
        display: inline-flex;
        align-items: center;
        gap: 0.45rem;
        margin: 0;
        font-size: 0.72rem;
        letter-spacing: 0.04em;
    }

    .contact-kicker::before {
        content: "";
        flex: 0 0 auto;
        width: 1.35rem;
        height: 2px;
        border-radius: 999px;
        background: #f4b84a;
    }

    .contact-hero h1 {
        max-width: none;
        font-size: clamp(1.5rem, 6.8vw, 1.85rem);
        line-height: 1.12;
        text-wrap: pretty;
        overflow-wrap: break-word;
    }

    .contact-hero__content > p:not(.contact-kicker) {
        margin: 0;
        max-width: none;
        font-size: 0.9rem;
        line-height: 1.46;
        color: #d7e3f2;
    }

    .contact-hero__actions,
    .contact-cta__actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.55rem;
        margin-top: 0.2rem;
    }

    .contact-hero__actions .home-button {
        width: 100%;
        min-height: 48px;
    }

    .contact-hero__actions .home-button--secondary {
        display: none;
    }

    .contact-hero__trust {
        display: none;
    }

    .contact-hero__panel {
        order: 2;
        flex-shrink: 0;
        margin-top: auto;
        padding: 0.55rem;
        overflow: visible;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.08);
        -webkit-backdrop-filter: blur(18px);
        backdrop-filter: blur(18px);
        box-shadow: 0 12px 32px rgba(7, 18, 33, 0.18);
    }

    .contact-hero__panel::before {
        display: none;
    }

    .contact-hero__panel-title {
        display: block;
        padding: 0.35rem 0.45rem 0.15rem;
        font-size: 0.74rem;
    }

    .contact-channels {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    .contact-channel {
        grid-template-columns: 1fr;
        align-items: start;
        column-gap: 0;
        row-gap: 0.35rem;
        min-height: 0;
        padding: 0.82rem 0.78rem;
        border: 1px solid rgba(255, 255, 255, 0.11);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.07);
    }

    .contact-channel:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.11);
    }

    .contact-channel::before {
        width: 1.75rem;
        height: 1.75rem;
        border-radius: 999px;
        background-size: 0.95rem;
    }

    .contact-channel--phone,
    .contact-channel--mail {
        order: 0;
        min-height: 6.5rem;
    }

    .contact-channel--phone {
        grid-column: 1;
    }

    .contact-channel--mail {
        grid-column: 2;
    }

    .contact-channel--time,
    .contact-channel--place {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 1.35rem minmax(0, 1fr);
        column-gap: 0.55rem;
        align-items: start;
        padding: 0.55rem 0.35rem 0.15rem;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    .contact-channel--time {
        order: 3;
        padding-top: 0.35rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .contact-channel--place {
        order: 4;
        padding-bottom: 0.15rem;
    }

    .contact-channel--time::before,
    .contact-channel--place::before {
        width: 1.35rem;
        height: 1.35rem;
        margin-top: 0.08rem;
        background-size: 0.82rem;
        opacity: 0.88;
    }

    .contact-channel__label {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.55);
    }

    .contact-channel__body a,
    .contact-channel__body > span {
        font-size: 0.84rem;
        line-height: 1.36;
        font-weight: 650;
    }

    .contact-channel--phone .contact-channel__body,
    .contact-channel--mail .contact-channel__body {
        gap: 0.2rem;
    }

    .contact-channel--phone .contact-channel__body {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-channel--phone .contact-channel__body a {
        font-size: 0.98rem;
        font-weight: 750;
        line-height: 1.2;
    }

    .contact-channel--phone .contact-channel__body a + a {
        font-size: 0.8rem;
        font-weight: 650;
        color: rgba(255, 255, 255, 0.82);
    }

    .contact-channel--phone .contact-channel__body a + a::before {
        display: none;
    }

    .contact-channel--mail .contact-channel__body a {
        font-size: 0.78rem;
        overflow-wrap: anywhere;
        line-height: 1.32;
    }

    .contact-channel--place .contact-channel__body span br {
        display: inline;
        height: 0;
        line-height: 0;
    }

    .contact-channel--place .contact-channel__body span br::after {
        content: " · ";
        white-space: pre;
    }

    .contact-channel--place .contact-channel__body span {
        color: rgba(255, 255, 255, 0.86);
        font-size: 0.8rem;
        line-height: 1.36;
    }

    .contact-channel--time .contact-channel__body > span {
        font-size: 0.8rem;
        line-height: 1.34;
        color: rgba(255, 255, 255, 0.86);
    }

    .contact-form-section,
    .contact-location {
        padding-top: 2.35rem;
        padding-bottom: 2.35rem;
    }

    .contact-section-heading h2,
    .contact-location h2,
    .contact-form-aside h2 {
        font-size: 1.85rem;
        line-height: 1.14;
    }

    .contact-form__grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 1.15rem;
    }

    .contact-form__submit {
        justify-self: stretch;
    }

    .contact-location__map,
    .contact-location__map iframe {
        min-height: 260px;
    }

    .contact-cta {
        padding-top: 2.1rem;
        padding-bottom: 2.1rem;
    }

    .contact-cta__title {
        font-size: 1.4rem;
    }
}

@media (max-width: 680px) and (max-height: 740px) {
    .contact-hero {
        min-height: max(520px, calc(100dvh - var(--site-header-height, 78px)));
    }

    .contact-hero__content {
        gap: 0.58rem;
        padding-bottom: 0.45rem;
    }

    .contact-hero h1 {
        font-size: clamp(1.42rem, 6.4vw, 1.72rem);
    }

    .contact-hero__content > p:not(.contact-kicker) {
        font-size: 0.86rem;
        line-height: 1.42;
    }

    .contact-hero__actions .home-button {
        min-height: 46px;
    }

    .contact-channel {
        padding: 0.58rem 0.72rem;
    }
}

.chalets-page,
.listing-page {
    color: #132238;
    background: #ffffff;
}

.chalets-page *,
.listing-page * {
    box-sizing: border-box;
}

.chalets-page {
    margin: 0;
}

.colpercol-local-theme .wp-block-post-content > .chalets-page,
.colpercol-local-theme .wp-block-post-content > .listing-page,
.colpercol-local-theme .wp-block-post-content > .viviendas-hub {
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
}

.chalets-kicker {
    margin: 0;
    color: #ad741b;
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.25;
    text-transform: uppercase;
}

.chalets-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    width: fit-content;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    background: #f4b84a;
    color: #3a2a07;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.chalets-hero__badge::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #1f5a4a;
}

.chalets-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

.chalets-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    border: 1px solid rgba(30, 91, 79, 0.22);
    border-radius: 999px;
    background: #eef6f1;
    color: #1f5a4a;
    font-size: 0.82rem;
    font-weight: 750;
}

.chalets-hero__status span {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #57e0a8;
    box-shadow: 0 0 0 0 rgba(87, 224, 168, 0.55);
    animation: viviendas-pulse 2.4s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
    .chalets-hero__status span {
        animation: none;
    }
}

.chalets-hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.15rem 0 0;
    padding: 0;
    list-style: none;
}

.chalets-hero__highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    border: 1px solid rgba(30, 91, 79, 0.18);
    border-radius: 999px;
    background: #f4faf7;
    color: #1f5a4a;
    font-size: 0.86rem;
    font-weight: 750;
}

.chalets-hero__highlights li::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.chalets-hero__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 0.35rem;
    color: #1e5b4f;
    font-weight: 850;
    text-decoration: none;
}

.chalets-hero__ghost:hover {
    text-decoration: underline;
}

.chalets-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.52rem;
    padding: 0.8rem max(1rem, calc((100vw - 1180px) / 2 + 1rem)) 0.32rem;
    border-top: 1px solid #edf2f7;
    background: linear-gradient(180deg, #fbfdff 0%, #f5f9fd 100%);
    color: #718096;
    font-size: 0.88rem;
    line-height: 1.4;
}

.chalets-breadcrumb a {
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    color: #1e5b4f;
    font-weight: 850;
    text-decoration: none;
}

.chalets-breadcrumb a::before {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-left: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
}

.chalets-breadcrumb a:hover {
    text-decoration: underline;
}

.chalets-breadcrumb span[aria-hidden="true"] {
    color: #a5b4c4;
}

.chalets-breadcrumb span:last-child {
    color: #25364a;
    font-weight: 800;
}

.chalets-quick-nav {
    position: sticky;
    top: var(--site-header-height, 78px);
    z-index: 20;
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.42rem max(1rem, calc((100vw - 1180px) / 2 + 1rem)) 0.88rem;
    border-bottom: 1px solid #dde5ee;
    background: rgba(245, 249, 253, 0.96);
    box-shadow: 0 8px 20px rgba(16, 32, 51, 0.04);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    scrollbar-width: none;
}

.chalets-quick-nav::-webkit-scrollbar {
    display: none;
}

.chalets-quick-nav a {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0.55rem 0.95rem;
    border: 1px solid #d6e1ec;
    border-radius: 999px;
    background: #ffffff;
    color: #102033;
    font-size: 0.84rem;
    font-weight: 850;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 1px 2px rgba(16, 32, 51, 0.04);
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.chalets-quick-nav:not(.has-active-section) a:first-child,
.chalets-quick-nav a.is-active {
    border-color: #1e5b4f;
    background: #1e5b4f;
    color: #ffffff;
    box-shadow: 0 8px 16px rgba(30, 91, 79, 0.16);
}

.chalets-quick-nav a:hover {
    border-color: #1e5b4f;
    background: #1e5b4f;
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(30, 91, 79, 0.16);
}

.chalets-hero {
    overflow: hidden;
    color: #102033;
    background: linear-gradient(180deg, #ffffff 0%, #f7fafc 100%);
}

.chalets-hero__split {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: clamp(1.2rem, 2.5vw, 2rem);
    align-items: stretch;
    min-height: calc(100vh - var(--site-header-height, 78px) - 110px);
    min-height: calc(100svh - var(--site-header-height, 78px) - 110px);
}

.chalets-hero__media {
    position: relative;
    align-self: stretch;
    min-height: 320px;
    margin: clamp(1rem, 2vw, 1.6rem) clamp(1rem, 2vw, 1.6rem) clamp(1rem, 2vw, 1.6rem) 0;
    padding: 12px;
    border-radius: 4px;
    background: #0b1828;
    box-shadow: 0 34px 74px rgba(7, 18, 33, 0.18);
    clip-path: polygon(0 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%);
}

.chalets-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 300px;
    object-fit: cover;
    object-position: center 38%;
    filter: saturate(1.05) contrast(1.03);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.chalets-hero__media::after {
    content: "";
    position: absolute;
    inset: 12px;
    pointer-events: none;
    border: 2px solid rgba(244, 184, 74, 0.62);
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%);
}

.chalets-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    width: 100%;
    max-width: none;
    padding: clamp(2rem, 4vw, 3.25rem) clamp(1.5rem, 3vw, 2.5rem);
    padding-left: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
}

.chalets-hero__facts-bar {
    position: relative;
    border-top: 1px solid rgba(16, 32, 51, 0.08);
    background:
        linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 1.15rem max(1rem, calc((100vw - 1180px) / 2 + 1rem));
}

.chalets-hero__facts-bar::before {
    content: "";
    position: absolute;
    top: 0;
    left: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    right: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f5a4a 0%, #f4b84a 100%);
}

.chalets-hero__specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    list-style: none;
}

.chalets-hero__spec {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.95rem 0.85rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chalets-hero__spec:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 91, 79, 0.28);
    box-shadow: 0 16px 34px rgba(16, 32, 51, 0.12);
}

.chalets-hero__spec::before {
    content: "";
    width: 1.45rem;
    height: 1.45rem;
    margin-bottom: 0.25rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.chalets-hero__spec--area::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 9V3h-6'/%3E%3Cpath d='M3 15v6h6'/%3E%3Cpath d='M21 3l-7 7'/%3E%3Cpath d='M3 21l7-7'/%3E%3C/svg%3E");
}

.chalets-hero__spec--bed::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4v16'/%3E%3Cpath d='M2 8h18a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M2 17h20'/%3E%3Cpath d='M6 8V6a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
}

.chalets-hero__spec--bath::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.7 3 4 3.7 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3Cline x1='10' x2='8' y1='5' y2='7'/%3E%3Cline x1='2' x2='22' y1='12' y2='12'/%3E%3Cline x1='7' x2='7' y1='19' y2='21'/%3E%3Cline x1='17' x2='17' y1='19' y2='21'/%3E%3C/svg%3E");
}

.chalets-hero__spec--car::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E");
}

.chalets-hero__spec b {
    color: #102033;
    font-size: 1.18rem;
    font-weight: 850;
    line-height: 1.1;
}

.chalets-hero__spec span {
    color: #6b7c8f;
    font-size: 0.88rem;
    line-height: 1.35;
}

.chalets-gallery__item img,
.chalets-plan__image img,
.listing-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chalets-hero h1,
.chalets-intro h2,
.chalets-section-heading h2,
.chalets-plan h2,
.chalets-location h2,
.chalets-contact-card h2,
.listing-page h1,
.listing-card h2 {
    margin: 0;
    color: #102033;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.08;
    text-wrap: balance;
}

.chalets-hero h1 {
    max-width: none;
    color: #102033;
    font-size: clamp(2.1rem, 3.6vw, 3.15rem);
    line-height: 1.06;
    text-shadow: none;
}

.chalets-hero__lead {
    max-width: 520px;
    margin: 0;
    color: #405166;
    font-size: 1.06rem;
    line-height: 1.65;
}

.chalets-hero .chalets-button--secondary {
    border-color: rgba(30, 91, 79, 0.32);
    background: #ffffff;
    color: #1e5b4f;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.chalets-hero .chalets-button--secondary:hover {
    border-color: #1e5b4f;
    background: #eef7f4;
    color: #153f35;
}

.chalets-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.chalets-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.78rem 1.1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 850;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.chalets-button:hover {
    text-decoration: none;
    transform: translateY(-1px);
}

.chalets-button--primary {
    background: #1e5b4f;
    color: #ffffff;
}

.chalets-button--primary:hover {
    background: #153f35;
    color: #ffffff;
}

.chalets-button--secondary {
    border-color: rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.chalets-button--secondary:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #153f35;
}

.chalets-button--outline {
    border-color: rgba(30, 91, 79, 0.28);
    background: #ffffff;
    color: #1e5b4f;
}

.chalets-button--outline:hover {
    border-color: #1e5b4f;
    background: #eef7f4;
    color: #153f35;
}

.chalets-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
}

.chalets-facts div {
    min-height: 0;
    padding: 0.85rem 1rem;
    border: 1px solid #dde5ee;
    border-radius: 8px;
    background: #ffffff;
}

.chalets-facts dt {
    color: #102033;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.1;
}

.chalets-facts dd {
    margin: 0.3rem 0 0;
    color: #6b7c8f;
    line-height: 1.35;
}

.chalets-intro,
.chalets-gallery,
.chalets-plan,
.chalets-specs,
.chalets-location,
.listing-page {
    padding-left: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    padding-right: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    scroll-margin-top: calc(var(--site-header-height, 78px) + 22px);
}

.chalets-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
    gap: 3rem;
    padding-top: 4.4rem;
    padding-bottom: 4.4rem;
    background: #ffffff;
}

.chalets-intro h2,
.chalets-section-heading h2,
.chalets-plan h2,
.chalets-location h2 {
    margin-top: 0.55rem;
    font-size: 2.35rem;
}

.chalets-intro__copy p,
.chalets-plan p,
.chalets-location p,
.chalets-contact-card p,
.listing-page__intro p,
.listing-card p {
    margin: 0;
    color: #405166;
    font-size: 1.05rem;
    line-height: 1.75;
}

.chalets-checklist {
    display: grid;
    gap: 0.7rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.chalets-checklist li {
    position: relative;
    padding-left: 1.7rem;
    color: #24364b;
    line-height: 1.55;
}

.chalets-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #e0a43b;
    box-shadow: 0 0 0 4px rgba(224, 164, 59, 0.18);
}

.chalets-gallery,
.chalets-specs {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: #eef5ff;
}

.chalets-section-heading {
    display: grid;
    gap: 0.55rem;
    max-width: 740px;
    margin-bottom: 1.8rem;
}

.chalets-gallery__intro {
    margin: 0;
    color: #4f6278;
    font-size: 1rem;
    line-height: 1.55;
}

.chalets-gallery__toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem 1.2rem;
    margin-bottom: 1.15rem;
}

.chalets-gallery__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

.chalets-gallery__filter {
    min-height: 40px;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(16, 32, 51, 0.14);
    border-radius: 999px;
    background: #ffffff;
    color: #24384d;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.chalets-gallery__filter:hover,
.chalets-gallery__filter:focus-visible {
    border-color: rgba(30, 91, 79, 0.35);
    color: #153f35;
}

.chalets-gallery__filter.is-active {
    border-color: #1e5b4f;
    background: #1e5b4f;
    color: #ffffff;
}

.chalets-gallery__meta {
    margin: 0;
    color: #607287;
    font-size: 0.92rem;
    font-weight: 650;
}

.chalets-gallery__expand {
    display: block;
    width: 100%;
    max-width: 22rem;
    margin: 1.15rem auto 0;
    min-height: 44px;
    padding: 0.72rem 1.1rem;
    border: 1px solid rgba(16, 32, 51, 0.16);
    border-radius: 999px;
    background: #ffffff;
    color: #102033;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 750;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease;
}

.chalets-gallery__expand:hover,
.chalets-gallery__expand:focus-visible {
    border-color: rgba(30, 91, 79, 0.35);
    background: rgba(30, 91, 79, 0.06);
}

.chalets-gallery__open {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}

.chalets-gallery__zoom {
    position: absolute;
    top: 0.72rem;
    right: 0.72rem;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(16, 32, 51, 0.72);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
}

.chalets-gallery__zoom::before,
.chalets-gallery__zoom::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: #ffffff;
    transform: translate(-50%, -50%);
}

.chalets-gallery__zoom::before {
    width: 0.72rem;
    height: 2px;
}

.chalets-gallery__zoom::after {
    width: 2px;
    height: 0.72rem;
}

.chalets-gallery__item:hover .chalets-gallery__zoom,
.chalets-gallery__open:focus-visible .chalets-gallery__zoom {
    opacity: 1;
    transform: scale(1.04);
}

.chalets-lightbox {
    width: min(96vw, 1100px);
    max-width: none;
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #0f1a28;
    color: #ffffff;
    overflow: hidden;
}

.chalets-lightbox::backdrop {
    background: rgba(8, 14, 22, 0.82);
    backdrop-filter: blur(4px);
}

.chalets-lightbox__figure {
    margin: 0;
}

.chalets-lightbox__img {
    display: block;
    width: 100%;
    max-height: calc(92vh - 4.5rem);
    object-fit: contain;
    background: #0f1a28;
}

.chalets-lightbox__caption {
    padding: 0.85rem 1.1rem 1rem;
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.4;
}

.chalets-lightbox__counter {
    margin: 0;
    padding: 0 1.1rem 1rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.88rem;
    text-align: center;
}

.chalets-lightbox__close,
.chalets-lightbox__prev,
.chalets-lightbox__next {
    position: absolute;
    z-index: 2;
    display: grid;
    place-items: center;
    width: 2.6rem;
    height: 2.6rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    cursor: pointer;
    transition: background 0.18s ease;
}

.chalets-lightbox__close:hover,
.chalets-lightbox__prev:hover,
.chalets-lightbox__next:hover,
.chalets-lightbox__close:focus-visible,
.chalets-lightbox__prev:focus-visible,
.chalets-lightbox__next:focus-visible {
    background: rgba(255, 255, 255, 0.22);
}

.chalets-lightbox__close {
    top: 0.75rem;
    right: 0.75rem;
    font-size: 1.35rem;
    line-height: 1;
}

.chalets-lightbox__close::before {
    content: "\00d7";
}

.chalets-lightbox__prev,
.chalets-lightbox__next {
    top: 50%;
    transform: translateY(-50%);
}

.chalets-lightbox__prev {
    left: 0.75rem;
}

.chalets-lightbox__next {
    right: 0.75rem;
}

.chalets-lightbox__prev::before,
.chalets-lightbox__next::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-top: 2px solid #ffffff;
    border-right: 2px solid #ffffff;
}

.chalets-lightbox__prev::before {
    transform: rotate(-135deg);
    margin-left: 0.15rem;
}

.chalets-lightbox__next::before {
    transform: rotate(45deg);
    margin-right: 0.15rem;
}

.chalets-lightbox__prev:disabled,
.chalets-lightbox__next:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.chalets-gallery__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 14vw, 250px);
    gap: 0.72rem;
}

.chalets-gallery__item {
    position: relative;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #d7dbdf;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.chalets-gallery__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(16, 32, 51, 0.14);
}

.chalets-gallery__item img {
    transition: transform 0.35s ease;
}

.chalets-gallery__item:hover img {
    transform: scale(1.04);
}

.chalets-gallery__item--featured {
    grid-column: span 2;
    grid-row: span 2;
}

.chalets-gallery__item--wide {
    grid-column: span 2;
}

.chalets-gallery__item--tall {
    grid-row: span 2;
}

.chalets-gallery__item--featured img {
    object-position: center 58%;
}

.chalets-gallery__item figcaption {
    position: absolute;
    left: 0.85rem;
    right: 0.85rem;
    bottom: 0.85rem;
    width: fit-content;
    max-width: calc(100% - 1.7rem);
    padding: 0.48rem 0.68rem;
    border-radius: 8px;
    background: rgba(16, 32, 51, 0.82);
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.25;
}

.chalets-plan {
    display: grid;
    grid-template-columns: minmax(0, 0.78fr) minmax(0, 1fr);
    gap: 2.6rem;
    align-items: center;
    padding-top: 4.75rem;
    padding-bottom: 4.75rem;
    background: #fffaf0;
}

.chalets-plan__content {
    display: grid;
    gap: 1rem;
    align-content: start;
}

.chalets-plan__content .chalets-button {
    justify-self: start;
}

.chalets-plan__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chalets-plan__highlights li {
    padding: 0.38rem 0.72rem;
    border: 1px solid rgba(30, 91, 79, 0.18);
    border-radius: 999px;
    background: rgba(30, 91, 79, 0.08);
    color: #153f35;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.chalets-plan__image {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(16, 32, 51, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.1);
}

.chalets-plan__image img {
    object-fit: contain;
}

.chalets-specs__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
}

.chalets-specs {
    background: linear-gradient(180deg, #edf5ff 0%, #f7fbff 100%);
}

.chalets-specs .chalets-section-heading {
    max-width: 680px;
    margin-bottom: 1.45rem;
}

.chalets-specs__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.95rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid rgba(21, 63, 53, 0.16);
    border-radius: 8px;
    background: #153f35;
    box-shadow: 0 16px 34px rgba(16, 32, 51, 0.12);
}

.chalets-specs__cta p {
    margin: 0;
    max-width: 720px;
    color: #d8eee7;
    line-height: 1.55;
}

.chalets-specs__cta strong {
    color: #ffffff;
}

.chalets-specs__cta .chalets-button {
    flex: 0 0 auto;
    border-color: #f4b84a;
    background: #f4b84a;
    color: #102033;
}

.chalets-specs__cta .chalets-button:hover {
    border-color: #ffd166;
    background: #ffd166;
    color: #102033;
}

.chalets-specs__grid article {
    display: grid;
    grid-template-columns: 2.35rem minmax(0, 1fr);
    gap: 0.25rem 0.9rem;
    align-content: start;
    min-height: 150px;
    padding: 1.15rem;
    border: 1px solid rgba(36, 89, 183, 0.14);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(16, 32, 51, 0.055);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chalets-specs__grid article:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 91, 79, 0.28);
    box-shadow: 0 12px 28px rgba(16, 32, 51, 0.08);
}

.chalets-specs__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    grid-row: 1 / span 2;
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 8px;
    background: #fff4dc;
    color: #ad741b;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
}

.chalets-specs__grid h3 {
    margin: 0;
    color: #102033;
    font-size: 1rem;
    font-weight: 850;
    line-height: 1.25;
}

.chalets-specs__grid p {
    margin: 0;
    color: #4b5c70;
    font-size: 0.96rem;
    line-height: 1.5;
}

.chalets-location {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
    gap: 2rem;
    align-items: stretch;
    padding-top: 4.4rem;
    padding-bottom: 4.4rem;
    background: #153f35;
}

.chalets-location h2,
.chalets-location p,
.chalets-location .chalets-kicker {
    color: #ffffff;
}

.chalets-location p {
    max-width: 640px;
    color: #d8eee7;
}

.chalets-location__map {
    margin-top: 1.25rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}

.chalets-location__map iframe {
    display: block;
    width: 100%;
    height: 260px;
    border: 0;
}

.chalets-contact-card {
    display: grid;
    gap: 0.85rem;
    align-content: center;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
}

.chalets-contact-card h2 {
    color: #102033;
}

.chalets-contact-card p {
    color: #405166;
}

.chalets-contact-card__actions {
    display: grid;
    gap: 0.55rem;
}

.chalets-contact-card__actions .chalets-button {
    width: 100%;
}

.chalets-contact-card a:not(.chalets-button) {
    color: #1e5b4f;
    font-weight: 850;
    text-decoration: none;
}

.chalets-contact-card a:not(.chalets-button):hover {
    text-decoration: underline;
}

.listing-page {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
    background: #f6f3ee;
}

.listing-page__intro {
    max-width: 760px;
    margin-bottom: 1.6rem;
}

.listing-page h1 {
    margin-top: 0.55rem;
    font-size: 3rem;
}

.listing-page__intro p {
    margin-top: 0.85rem;
}

.listing-card {
    display: grid;
    grid-template-columns: minmax(260px, 0.68fr) minmax(0, 1fr);
    overflow: hidden;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.1);
}

.listing-card img {
    min-height: 320px;
}

.listing-card__content {
    display: grid;
    gap: 0.85rem;
    align-content: center;
    padding: 2rem;
}

.listing-card__content .chalets-button {
    justify-self: start;
}

@media (max-width: 980px) {
    .chalets-intro,
    .chalets-plan,
    .chalets-location,
    .listing-card {
        grid-template-columns: 1fr;
    }

    .chalets-hero__split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .chalets-hero__media {
        order: -1;
        min-height: 260px;
        max-height: 44vh;
        margin: 0;
        clip-path: none;
    }

    .chalets-hero__media img {
        min-height: 260px;
        clip-path: none;
    }

    .chalets-hero__media::after {
        inset: 10px;
        clip-path: none;
    }

    .chalets-hero__content {
        max-width: none;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .chalets-hero__facts-bar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .chalets-hero__facts-bar::before {
        left: 1rem;
        right: 1rem;
    }

    .chalets-hero__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chalets-hero h1 {
        font-size: clamp(2rem, 6vw, 2.65rem);
    }

    .chalets-gallery__grid,
    .chalets-specs__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .chalets-gallery__grid {
        grid-auto-rows: clamp(170px, 28vw, 260px);
    }

    .chalets-gallery__item--featured {
        grid-row: span 1;
        min-height: clamp(280px, 46vw, 420px);
    }
}

@media (max-width: 680px) {
    .chalets-hero__content,
    .chalets-intro,
    .chalets-gallery,
    .chalets-plan,
    .chalets-specs,
    .chalets-location,
    .listing-page {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .chalets-breadcrumb {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .chalets-quick-nav {
        padding-left: 1rem;
        padding-right: 1rem;
        scroll-padding-left: 1rem;
    }

    .chalets-intro,
    .chalets-gallery,
    .chalets-plan,
    .chalets-specs,
    .chalets-location,
    .listing-page {
        padding-top: 2.8rem;
        padding-bottom: 2.8rem;
    }

    .chalets-hero__content {
        gap: 0.82rem;
        padding-top: 1.5rem;
        padding-bottom: 1.5rem;
    }

    .chalets-hero__facts-bar {
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    .chalets-hero h1,
    .listing-page h1 {
        font-size: 2.22rem;
        line-height: 1.02;
    }

    .chalets-intro h2,
    .chalets-section-heading h2,
    .chalets-plan h2,
    .chalets-location h2 {
        font-size: 1.82rem;
    }

    .chalets-hero__lead,
    .chalets-intro__copy p,
    .chalets-plan p,
    .chalets-location p,
    .listing-page__intro p,
    .listing-card p {
        font-size: 0.98rem;
    }

    .chalets-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .chalets-hero__ghost {
        width: 100%;
        justify-content: center;
    }

    .chalets-button {
        width: 100%;
        min-height: 44px;
    }

    .chalets-gallery__grid,
    .chalets-specs__grid {
        grid-template-columns: 1fr;
    }

    .chalets-gallery__grid {
        grid-auto-rows: auto;
        gap: 0.8rem;
    }

    .chalets-gallery__item--featured,
    .chalets-gallery__item--wide,
    .chalets-gallery__item--tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .chalets-hero__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
    }

    .chalets-hero__spec {
        padding: 0.72rem 0.78rem;
    }

    .chalets-hero__spec b {
        font-size: 1.02rem;
    }

    .chalets-hero__spec span {
        font-size: 0.82rem;
    }

    .chalets-gallery__item,
    .chalets-specs__grid article {
        min-height: 0;
    }

    .chalets-gallery__item {
        aspect-ratio: 4 / 3;
    }

    .chalets-gallery__item--tall {
        aspect-ratio: 3 / 4;
    }

    .chalets-gallery__toolbar {
        align-items: stretch;
    }

    .chalets-gallery__filters {
        width: 100%;
    }

    .chalets-gallery__filter {
        flex: 1 1 auto;
        text-align: center;
    }

    .chalets-lightbox {
        width: 100%;
        max-width: 100%;
        max-height: 100vh;
        border-radius: 0;
    }

    .chalets-lightbox__img {
        max-height: calc(100vh - 5rem);
    }

    .chalets-lightbox__prev,
    .chalets-lightbox__next {
        width: 2.35rem;
        height: 2.35rem;
    }

    .listing-card__content {
        padding: 1.2rem;
    }
}

@media (max-width: 680px) and (max-height: 700px) {
    .chalets-hero__content {
        gap: 0.58rem;
        padding-top: 1rem;
        padding-bottom: 0.85rem;
    }

    .chalets-hero__media {
        max-height: 36vh;
        min-height: 200px;
    }

    .chalets-kicker {
        font-size: 0.68rem;
    }

    .chalets-hero h1 {
        font-size: 1.78rem;
    }

    .chalets-hero__lead {
        font-size: 0.86rem;
        line-height: 1.42;
    }

    .chalets-button {
        min-height: 39px;
        padding: 0.55rem 0.75rem;
        font-size: 0.92rem;
    }

    .chalets-hero__specs {
        gap: 0.42rem;
    }

    .chalets-hero__spec {
        padding: 0.52rem 0.6rem;
    }

    .chalets-hero__spec b {
        font-size: 0.95rem;
    }

    .chalets-hero__spec span {
        font-size: 0.82rem;
    }
}

/* --- Viviendas hub page --- */

.viviendas-hub {
    margin: 0;
}

.viviendas-hub,
.viviendas-hub * {
    box-sizing: border-box;
}

.viviendas-hero,
.viviendas-promos,
.viviendas-process,
.viviendas-contact-band {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
}

.viviendas-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100svh - var(--site-header-height, 78px));
    overflow: hidden;
    color: #ffffff;
    background: #102033;
}

@supports not (min-height: 100svh) {
    .viviendas-hero {
        min-height: calc(100vh - var(--site-header-height, 78px));
    }
}

.viviendas-hero__media {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
    background: #102033;
}

.viviendas-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 18, 33, 0.9) 0%, rgba(13, 31, 51, 0.72) 48%, rgba(13, 31, 51, 0.18) 100%),
        linear-gradient(180deg, rgba(7, 18, 33, 0.12) 0%, rgba(7, 18, 33, 0.48) 100%);
}

.viviendas-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 58%;
    filter: saturate(1.04) contrast(1.04);
    transform: scale(1.03);
}

.viviendas-hero__content {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 1rem;
    align-content: center;
    width: 100%;
    flex: 1;
    min-height: 0;
    padding: clamp(2.5rem, 6vw, 4.4rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem));
}

.viviendas-hero__status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: max-content;
    max-width: 100%;
    margin: 0;
    padding: 0.4rem 0.85rem 0.4rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(31, 90, 74, 0.42);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #eafff7;
    font-size: 0.82rem;
    font-weight: 750;
    letter-spacing: 0.01em;
}

.viviendas-hero__status span {
    width: 0.6rem;
    height: 0.6rem;
    border-radius: 999px;
    background: #57e0a8;
    box-shadow: 0 0 0 0 rgba(87, 224, 168, 0.6);
    animation: viviendas-pulse 2.4s ease-out infinite;
}

@keyframes viviendas-pulse {
    0% { box-shadow: 0 0 0 0 rgba(87, 224, 168, 0.55); }
    70% { box-shadow: 0 0 0 0.5rem rgba(87, 224, 168, 0); }
    100% { box-shadow: 0 0 0 0 rgba(87, 224, 168, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .viviendas-hero__status span {
        animation: none;
    }
}

.viviendas-hero h1,
.viviendas-promos__head h2 {
    margin: 0;
    color: #102033;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1.08;
    text-wrap: balance;
}

.viviendas-hero h1 {
    max-width: 700px;
    color: #ffffff;
    font-size: clamp(3rem, 5.3vw, 4.85rem);
    line-height: 0.98;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.22);
}

.viviendas-hero__lead {
    max-width: 630px;
    margin: 0;
    color: #edf5f2;
    font-size: 1.12rem;
    line-height: 1.62;
}

.viviendas-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin: 0.55rem 0 0.35rem;
}

.viviendas-hero__actions .chalets-button {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
}

.viviendas-hero__proof {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 0.6rem;
    width: min(880px, 100%);
    margin: 0.5rem 0 0;
    padding: 0;
}

.viviendas-hero__stat {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 0.7rem;
    min-width: 0;
    padding: 0.72rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: transform 0.22s ease, background 0.22s ease, border-color 0.22s ease;
}

.viviendas-hero__stat:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.14);
}

.viviendas-hero__stat::before {
    content: "";
    grid-row: 1 / 3;
    align-self: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 11px;
    background-color: rgba(244, 184, 74, 0.2);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.3rem;
}

.viviendas-hero__stat--exp::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6c668' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.viviendas-hero__stat--key::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6c668' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='3.5'/%3E%3Cpath d='m10 13 8.5-8.5'/%3E%3Cpath d='m15 6 2 2'/%3E%3Cpath d='m18 9 2-2'/%3E%3C/svg%3E");
}

.viviendas-hero__stat--loc::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6c668' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.viviendas-hero__stat dt {
    grid-column: 2;
    align-self: end;
    color: #ffffff;
    font-size: 1.02rem;
    font-weight: 850;
    line-height: 1.12;
    white-space: nowrap;
}

.viviendas-hero__stat dd {
    grid-column: 2;
    align-self: start;
    margin: 0.12rem 0 0;
    color: #d3e3df;
    font-size: 0.82rem;
    line-height: 1.25;
    text-wrap: balance;
}

/* Promociones: section header + featured promotion card */
.viviendas-promos {
    padding: clamp(3.4rem, 5vw, 5rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem)) clamp(3.6rem, 5vw, 5.25rem);
    background: linear-gradient(180deg, #ffffff 0%, #f3efe8 100%);
    scroll-margin-top: calc(var(--site-header-height, 78px) + 22px);
}

.viviendas-promos__head {
    max-width: 780px;
    margin: 0 0 clamp(1.8rem, 3vw, 2.6rem);
}

.viviendas-promos__head h2 {
    max-width: 760px;
    margin: 0.55rem 0 0;
    color: #102033;
    font-size: clamp(2rem, 3.4vw, 2.65rem);
    font-weight: 850;
    line-height: 1.08;
    text-wrap: balance;
}

.viviendas-promos__intro {
    max-width: 720px;
    margin: 0.85rem 0 0;
    color: #4b5c70;
    font-size: 1.04rem;
    line-height: 1.65;
}

.viviendas-promos__count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1.1rem 0 0;
    padding: 0.4rem 0.85rem 0.4rem 0.45rem;
    border: 1px solid rgba(31, 90, 74, 0.22);
    border-radius: 999px;
    background: #eaf4ef;
    color: #1f5a4a;
    font-size: 0.86rem;
    font-weight: 750;
}

.viviendas-promos__count span {
    display: inline-grid;
    place-items: center;
    width: 1.55rem;
    height: 1.55rem;
    border-radius: 999px;
    background: #1f5a4a;
    color: #ffffff;
    font-weight: 850;
}

.promo-card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(1.3rem, 2.4vw, 2.3rem);
    align-items: stretch;
    overflow: hidden;
    padding: clamp(0.9rem, 1.5vw, 1.35rem);
    border: 1px solid rgba(16, 32, 51, 0.07);
    border-radius: 24px;
    scroll-margin-top: calc(var(--site-header-height, 78px) + 22px);
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(16, 32, 51, 0.13);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.promo-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 55%, rgba(244, 184, 74, 0) 100%);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 40px 88px rgba(16, 32, 51, 0.18);
}

/* Gallery mosaic: one large image + thumbnail strip */
.promo-card__gallery {
    display: grid;
    grid-template-rows: 1fr auto;
    gap: 0.6rem;
    min-width: 0;
}

.promo-card__main {
    position: relative;
    margin: 0;
    min-height: 320px;
    overflow: hidden;
    border-radius: 16px;
    background: #dbe3eb;
}

.promo-card__main img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-card:hover .promo-card__main img {
    transform: scale(1.05);
}

.promo-card__main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 16, 28, 0) 55%, rgba(7, 16, 28, 0.42) 100%);
    pointer-events: none;
}

.promo-card__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    background: #f4b84a;
    color: #3a2a07;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.promo-card__badge::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #1f5a4a;
}

.promo-card__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(72px, 92px));
    justify-content: start;
    gap: 0.6rem;
}

.promo-card__thumb {
    position: relative;
    display: block;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 13px;
    background: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.promo-card__thumb img {
    display: block;
    width: 100%;
    height: 84px;
    object-fit: cover;
    border-radius: 11px;
    filter: saturate(1.02);
    transition: filter 0.3s ease;
}

.promo-card__thumb:hover {
    transform: translateY(-2px);
}

.promo-card__thumb:hover img {
    filter: saturate(1.1) brightness(1.04);
}

.promo-card__thumb:focus-visible {
    outline: none;
    border-color: #1f5a4a;
    box-shadow: 0 0 0 3px rgba(31, 90, 74, 0.22);
}

.promo-card__thumb.is-active {
    border-color: #1f5a4a;
    box-shadow: 0 6px 16px rgba(31, 90, 74, 0.24);
}

.promo-card__thumb.is-active::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 11px;
    background: rgba(31, 90, 74, 0.12);
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .promo-card__thumb {
        transition: none;
    }

    .promo-card__thumb:hover {
        transform: none;
    }
}

.promo-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    min-width: 0;
    padding: clamp(0.6rem, 1.4vw, 1.45rem) clamp(0.6rem, 1.4vw, 1.45rem) clamp(0.5rem, 1vw, 1rem);
}

.promo-card__location {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: #1f5a4a;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.promo-card__location::before {
    content: "";
    flex: none;
    width: 1.05rem;
    height: 1.05rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 6-8 12-8 12s-8-6-8-12a8 8 0 0 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E") no-repeat center / contain;
}

.promo-card__body h3 {
    margin: 0;
    color: #102033;
    font-size: clamp(1.7rem, 2.6vw, 2.2rem);
    font-weight: 850;
    line-height: 1.08;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

.promo-card__desc {
    margin: 0;
    color: #4b5c70;
    font-size: 1rem;
    line-height: 1.6;
}

.promo-card__specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 0.4rem 0 0;
    padding: 0;
    list-style: none;
}

.promo-card__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.5rem 0 0;
    padding: 0;
    list-style: none;
}

.promo-card__features li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem 0.42rem 0.7rem;
    border: 1px solid rgba(31, 90, 74, 0.2);
    border-radius: 999px;
    background: #eef6f1;
    color: #1f5a4a;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.2;
}

.promo-card__features li::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.promo-card__spec {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    padding: 0.9rem 0.7rem;
    border: 1px solid rgba(31, 90, 74, 0.14);
    border-radius: 14px;
    background: linear-gradient(180deg, #f4faf7 0%, #eef6f1 100%);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.promo-card__spec:hover {
    transform: translateY(-2px);
    border-color: rgba(31, 90, 74, 0.32);
    box-shadow: 0 12px 24px rgba(16, 32, 51, 0.1);
}

.promo-card__spec::before {
    content: "";
    width: 1.45rem;
    height: 1.45rem;
    margin-bottom: 0.25rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.promo-card__spec--area::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 9V3h-6'/%3E%3Cpath d='M3 15v6h6'/%3E%3Cpath d='M21 3l-7 7'/%3E%3Cpath d='M3 21l7-7'/%3E%3C/svg%3E");
}

.promo-card__spec--bed::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 4v16'/%3E%3Cpath d='M2 8h18a2 2 0 0 1 2 2v10'/%3E%3Cpath d='M2 17h20'/%3E%3Cpath d='M6 8V6a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v2'/%3E%3C/svg%3E");
}

.promo-card__spec--bath::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6 6.5 3.5a1.5 1.5 0 0 0-1-.5C4.7 3 4 3.7 4 4.5V17a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-2'/%3E%3Cline x1='10' x2='8' y1='5' y2='7'/%3E%3Cline x1='2' x2='22' y1='12' y2='12'/%3E%3Cline x1='7' x2='7' y1='19' y2='21'/%3E%3Cline x1='17' x2='17' y1='19' y2='21'/%3E%3C/svg%3E");
}

.promo-card__spec--car::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Cpath d='M9 17h6'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E");
}

.promo-card__spec b {
    color: #143a30;
    font-size: 1.08rem;
    font-weight: 850;
    line-height: 1.1;
}

.promo-card__spec span {
    color: #6b7c8f;
    font-size: 0.78rem;
    line-height: 1.2;
}

.promo-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    align-items: center;
    margin-top: auto;
    padding-top: 0.8rem;
}

.promo-card__ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0 1.1rem;
    border: 1.5px solid rgba(16, 32, 51, 0.2);
    border-radius: 10px;
    color: #102033;
    font-weight: 800;
    text-decoration: none;
    transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.promo-card__ghost:hover {
    border-color: rgba(31, 90, 74, 0.55);
    background: #f1f7f4;
    transform: translateY(-1px);
}

.promo-card__ghost:focus-visible,
.promo-card .chalets-button:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(31, 90, 74, 0.28);
}

.promo-card__note {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.65rem 0 0;
    color: #5a6b7e;
    font-size: 0.84rem;
    font-weight: 650;
}

.promo-card__note::before {
    content: "";
    flex: none;
    width: 1rem;
    height: 1rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f5a4a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* Proceso de compra: pasos numerados */
.viviendas-process {
    padding: clamp(3.2rem, 5vw, 4.8rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    background: #ffffff;
}

.viviendas-process__head {
    max-width: 680px;
    margin: 0 0 clamp(1.8rem, 3vw, 2.6rem);
}

.viviendas-process__head h2 {
    margin: 0.55rem 0 0;
    color: #102033;
    font-size: clamp(1.9rem, 3.2vw, 2.5rem);
    font-weight: 850;
    line-height: 1.08;
    text-wrap: balance;
}

.viviendas-process__intro {
    margin: 0.85rem 0 0;
    color: #4b5c70;
    font-size: 1.04rem;
    line-height: 1.65;
}

.viviendas-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.6rem);
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: vstep;
}

.viviendas-step {
    position: relative;
    padding: 1.6rem 1.4rem 1.4rem;
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f7f4ee 100%);
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.viviendas-step::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.4rem;
    right: 1.4rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1f5a4a 0%, #f4b84a 100%);
}

.viviendas-step__num {
    display: inline-grid;
    place-items: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 0.85rem;
    border-radius: 14px;
    background: linear-gradient(135deg, #1f5a4a 0%, #143a30 100%);
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 850;
    box-shadow: 0 8px 18px rgba(31, 90, 74, 0.28);
}

.viviendas-step h3 {
    margin: 0 0 0.4rem;
    color: #102033;
    font-size: 1.2rem;
    font-weight: 850;
    line-height: 1.18;
}

.viviendas-step p {
    margin: 0;
    color: #4b5c70;
    font-size: 0.98rem;
    line-height: 1.6;
}

.viviendas-contact-band {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    color: #ffffff;
    padding: clamp(2.4rem, 4vw, 3rem) max(1rem, calc((100vw - 1180px) / 2 + 1rem));
    background:
        radial-gradient(125% 150% at 100% 0%, rgba(36, 89, 183, 0.28) 0%, rgba(18, 53, 40, 0) 56%),
        linear-gradient(180deg, #1a4a3e 0%, #123528 100%);
}

.viviendas-contact-band::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 3px;
    background: linear-gradient(90deg, #f4b84a 0%, rgba(244, 184, 74, 0) 62%);
}

.viviendas-contact-band__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.viviendas-contact-band__title {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: clamp(1.5rem, 2.6vw, 1.85rem);
    font-weight: 850;
    line-height: 1.15;
    text-wrap: balance;
}

.viviendas-contact-band p:not(.viviendas-contact-band__title) {
    margin: 0;
    max-width: 540px;
    color: #d7eee7;
    line-height: 1.55;
}

.viviendas-contact-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

@media (max-width: 980px) {
    .viviendas-hero__content {
        width: min(700px, 100%);
    }

    .viviendas-hero h1 {
        font-size: clamp(2.4rem, 6.6vw, 3.6rem);
    }

    .promo-card {
        grid-template-columns: 1fr;
        gap: 1.4rem;
    }

    .promo-card__main,
    .promo-card__main img {
        min-height: 260px;
    }

    .viviendas-contact-band__inner {
        display: grid;
    }
}

@media (max-width: 980px) {
    .viviendas-steps {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }
}

@media (max-width: 680px) {
    .viviendas-hero__content,
    .viviendas-promos,
    .viviendas-process,
    .viviendas-contact-band {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .viviendas-promos {
        padding-top: 2.8rem;
        padding-bottom: 3rem;
    }

    .viviendas-process {
        padding-top: 2.8rem;
        padding-bottom: 3rem;
    }

    .promo-card__gallery {
        gap: 0.65rem;
    }

    .promo-card__main,
    .promo-card__main img {
        min-height: 250px;
    }

    .promo-card__thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
    }

    .promo-card__thumb img {
        height: clamp(58px, 15vw, 68px);
    }

    .viviendas-hero {
        justify-content: flex-end;
    }

    .viviendas-hero__content {
        align-content: end;
        gap: 0.82rem;
        padding-top: 2.2rem;
        padding-bottom: clamp(1.3rem, 4svh, 2.4rem);
    }

    .viviendas-hero::after {
        background:
            linear-gradient(180deg, rgba(7, 18, 33, 0.14) 0%, rgba(7, 18, 33, 0.72) 42%, rgba(7, 18, 33, 0.92) 100%),
            linear-gradient(90deg, rgba(7, 18, 33, 0.82) 0%, rgba(7, 18, 33, 0.42) 100%);
    }

    .viviendas-hero__media img {
        object-position: center top;
        transform: none;
    }

    .viviendas-hero h1,
    .viviendas-promos__head h2 {
        font-size: 2.22rem;
        line-height: 1.02;
    }

    .viviendas-hero__lead,
    .viviendas-promos__intro,
    .promo-card__desc {
        font-size: 0.98rem;
    }

    .viviendas-hero__proof {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .viviendas-hero__stat {
        padding: 0.66rem 0.82rem;
    }

    .viviendas-hero__stat::before {
        width: 2.2rem;
        height: 2.2rem;
    }

    .viviendas-hero__stat dt {
        font-size: 1rem;
    }

    .viviendas-hero__stat dd {
        font-size: 0.85rem;
    }

    .promo-card {
        padding: 0.75rem;
        border-radius: 18px;
    }

    .promo-card__body {
        padding: 0.6rem 0.5rem 0.4rem;
    }

    .promo-card__body h3 {
        font-size: 1.62rem;
    }

    .promo-card__specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .promo-card__thumbs img {
        height: 74px;
    }

    .promo-card__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .promo-card__actions .chalets-button,
    .promo-card__ghost {
        width: 100%;
        justify-content: center;
    }

    .viviendas-contact-band {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .viviendas-contact-band__title {
        font-size: 1.45rem;
    }

    .viviendas-contact-band__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .viviendas-contact-band__actions .home-button {
        width: 100%;
    }
}

@media (max-width: 680px) and (max-height: 700px) {
    .viviendas-hero__content {
        gap: 0.58rem;
        padding-top: 1.15rem;
        padding-bottom: 0.85rem;
    }

    .viviendas-hero h1 {
        font-size: 1.78rem;
    }

    .viviendas-hero__lead {
        font-size: 0.86rem;
        line-height: 1.42;
    }
}

/* --- Sector pages: naves, locales, promociones y obras --- */

.sector-page,
.sector-page * {
    box-sizing: border-box;
}

.sector-page {
    width: 100%;
    margin: 0;
    overflow-x: clip;
    color: #102033;
    background: #ffffff;
}

.colpercol-local-theme .wp-block-post-content > .sector-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.sector-hero,
.sector-intro,
.sector-cards,
.sector-feature,
.sector-project,
.sector-cta {
    padding-inline: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
}

.sector-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: end;
    min-height: calc(100vh - var(--site-header-height, 78px));
    min-height: calc(100svh - var(--site-header-height, 78px));
    overflow: hidden;
    padding-top: clamp(4rem, 7vw, 5.8rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
    color: #ffffff;
    background: #102033;
}

.sector-hero__media,
.sector-hero::after {
    position: absolute;
    inset: 0;
}

.sector-hero__media {
    z-index: -2;
    overflow: hidden;
    background: #102033;
}

.sector-hero__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.06) contrast(1.04);
    transform: scale(1.02);
}

.sector-page--naves .sector-hero__media img,
.sector-page--naves .sector-feature__media img {
    object-position: center 58%;
}

.sector-page--promociones .sector-hero__media img {
    object-position: center 42%;
}

.sector-page--promociones .sector-intro__media img {
    object-position: center;
}

.sector-page--promociones .sector-feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
}

.sector-page--promociones .sector-feature__media {
    aspect-ratio: 4 / 3;
    min-height: 0;
}

.sector-page--promociones .sector-feature__media img {
    min-height: 100%;
    object-position: center center;
}

.sector-hero::after {
    content: "";
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(7, 18, 33, 0.92) 0%, rgba(9, 27, 47, 0.78) 46%, rgba(9, 27, 47, 0.24) 100%),
        linear-gradient(180deg, rgba(7, 18, 33, 0.06) 0%, rgba(7, 18, 33, 0.48) 100%);
}

.sector-hero__content {
    display: grid;
    gap: 1rem;
    min-width: 0;
    max-width: 760px;
}

.sector-kicker {
    margin: 0;
    color: #f4b84a;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.25;
    letter-spacing: 0;
    text-transform: uppercase;
}

.sector-hero h1,
.sector-section-heading h2,
.sector-feature h2 {
    margin: 0;
    letter-spacing: 0;
    text-wrap: balance;
}

.sector-hero h1 {
    color: #ffffff;
    font-size: clamp(2.45rem, 5vw, 4rem);
    font-weight: 850;
    line-height: 1.02;
    text-shadow: 0 2px 18px rgba(7, 18, 33, 0.34);
}

.sector-hero__content > p:not(.sector-kicker) {
    max-width: 680px;
    margin: 0;
    color: #e7eff8;
    font-size: clamp(1rem, 1.45vw, 1.14rem);
    line-height: 1.65;
}

.sector-hero__actions,
.sector-feature__actions,
.sector-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.sector-hero__proof {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(7, 18, 33, 0.58);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 52px rgba(7, 18, 33, 0.28);
}

.sector-hero__proof div {
    min-height: 72px;
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.sector-hero__proof dt {
    color: #ffffff;
    font-size: 1.04rem;
    font-weight: 850;
    line-height: 1.15;
}

.sector-hero__proof dd {
    margin: 0.3rem 0 0;
    color: #d9e7f6;
    line-height: 1.38;
}

.sector-intro {
    display: grid;
    grid-template-columns: minmax(0, 0.86fr) minmax(300px, 0.8fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-top: 4.6rem;
    padding-bottom: 4.6rem;
    background: #f7fbff;
}

.sector-section-heading {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    max-width: 820px;
}

.sector-section-heading h2,
.sector-feature h2 {
    color: #102033;
    font-size: clamp(2rem, 3.25vw, 2.75rem);
    font-weight: 850;
    line-height: 1.08;
}

.sector-section-heading p:not(.sector-kicker),
.sector-feature p,
.sector-card p,
.sector-cta p:not(.sector-cta__title) {
    margin: 0;
    color: #405166;
    font-size: 1rem;
    line-height: 1.68;
}

.sector-intro__media,
.sector-feature__media {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #dce6ef;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.14);
}

.sector-intro__media {
    min-height: 330px;
}

.sector-intro__media img,
.sector-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sector-intro__media img {
    min-height: 330px;
}

.sector-cards {
    padding-top: 4.6rem;
    padding-bottom: 4.8rem;
    background: #ffffff;
}

.sector-cards .sector-section-heading {
    margin-bottom: 1.7rem;
}

.sector-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.sector-card {
    display: grid;
    gap: 0.78rem;
    align-content: start;
    min-height: 260px;
    padding: 1.25rem;
    border: 1px solid rgba(36, 89, 183, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sector-card:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 91, 79, 0.26);
    box-shadow: 0 24px 52px rgba(16, 32, 51, 0.14);
}

.sector-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #d9e9ff;
    color: #2459b7;
    font-size: 0.9rem;
    font-weight: 850;
}

.sector-card h3 {
    margin: 0;
    color: #102033;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: 0;
}

/* Iconos de categoria (marca de agua) solo en la pagina de naves */
.sector-page--naves .sector-card {
    position: relative;
    overflow: hidden;
}

.sector-page--naves .sector-card-grid .sector-card > div.sector-card__icon,
.sector-page--naves .sector-card-grid .sector-card::after {
    pointer-events: none;
}

.sector-page--naves .sector-card-grid .sector-card .sector-card__icon {
    position: absolute;
    right: 1rem;
    bottom: 0.95rem;
    z-index: 0;
    width: 2.7rem;
    height: 2.7rem;
    opacity: 0.09;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.sector-page--naves .sector-card:hover .sector-card__icon {
    opacity: 0.2;
    transform: scale(1.08);
}

.sector-page--naves .sector-card-grid .sector-card:nth-child(1) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21V8l9-5 9 5v13'/%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M9 21v-6h6v6'/%3E%3C/svg%3E");
}

.sector-page--naves .sector-card-grid .sector-card:nth-child(2) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 4.5 4h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.sector-page--naves .sector-card-grid .sector-card:nth-child(3) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='7' height='7' rx='1'/%3E%3Crect x='14' y='3' width='7' height='7' rx='1'/%3E%3Crect x='3' y='14' width='7' height='7' rx='1'/%3E%3Crect x='14' y='14' width='7' height='7' rx='1'/%3E%3C/svg%3E");
}

.sector-page--naves .sector-card-grid .sector-card:nth-child(4) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpath d='M14 2v6h6'/%3E%3Cpath d='M8 13h8'/%3E%3Cpath d='M8 17h8'/%3E%3C/svg%3E");
}

/* Iconos de categoria (marca de agua) solo en la pagina de promociones */
.sector-page--promociones .sector-card {
    position: relative;
    overflow: hidden;
}

.sector-page--promociones .sector-card-grid .sector-card .sector-card__icon {
    position: absolute;
    right: 1rem;
    bottom: 0.95rem;
    z-index: 0;
    width: 2.7rem;
    height: 2.7rem;
    opacity: 0.09;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.sector-page--promociones .sector-card:hover .sector-card__icon {
    opacity: 0.2;
    transform: scale(1.08);
}

.sector-page--promociones .sector-card-grid .sector-card:nth-child(1) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M6 21V8l6-4 6 4v13'/%3E%3Cpath d='M10 21v-5h4v5'/%3E%3Cpath d='M9 11h.01'/%3E%3Cpath d='M15 11h.01'/%3E%3C/svg%3E");
}

.sector-page--promociones .sector-card-grid .sector-card:nth-child(2) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 19h20'/%3E%3Cpath d='M3 19l1-7 7-2 2 4 6 1 1 4'/%3E%3Cpath d='M11 10 9 3l3 1'/%3E%3Ccircle cx='6' cy='15' r='1'/%3E%3C/svg%3E");
}

.sector-page--promociones .sector-card-grid .sector-card:nth-child(3) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

.sector-page--promociones .sector-card-grid .sector-card:nth-child(4) .sector-card__icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.84z'/%3E%3Cpath d='M2 12l8.58 3.91a2 2 0 0 0 1.66 0L22 12'/%3E%3Cpath d='M2 17l8.58 3.91a2 2 0 0 0 1.66 0L22 17'/%3E%3C/svg%3E");
}

.sector-feature {
    display: grid;
    grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-top: 4.8rem;
    padding-bottom: 4.8rem;
    background: #fffaf0;
}

.sector-feature__media {
    min-height: 380px;
}

.sector-feature__media img {
    min-height: 380px;
}

.sector-feature__content {
    display: grid;
    gap: 0.95rem;
    min-width: 0;
}

.sector-checklist {
    display: grid;
    gap: 0.7rem;
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

.sector-checklist li {
    position: relative;
    padding-left: 1.55rem;
    color: #24364b;
    line-height: 1.55;
}

.sector-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #e0a43b;
    box-shadow: 0 0 0 4px rgba(224, 164, 59, 0.18);
}

.sector-feature .home-button--secondary {
    border-color: rgba(30, 91, 79, 0.28);
    background: #ffffff;
    color: #1e5b4f;
}

.sector-feature .home-button--secondary:hover {
    border-color: #1e5b4f;
    background: #eef7f4;
    color: #153f35;
}

/* Proyecto destacado: ficha de obra realizada */
.sector-project {
    padding-top: clamp(3.2rem, 5vw, 4.8rem);
    padding-bottom: clamp(3.2rem, 5vw, 4.8rem);
    background: #ffffff;
}

.sector-project .sector-section-heading {
    max-width: 760px;
    margin-bottom: clamp(1.6rem, 3vw, 2.4rem);
}

.sector-project__card {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.3rem, 2.6vw, 2.4rem);
    align-items: stretch;
    overflow: hidden;
    padding: clamp(0.9rem, 1.5vw, 1.35rem);
    border: 1px solid rgba(16, 32, 51, 0.08);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 30px 70px rgba(16, 32, 51, 0.13);
}

.sector-project__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 55%, rgba(244, 184, 74, 0) 100%);
}

.sector-project__gallery {
    position: relative;
    min-width: 0;
}

.sector-project__main {
    position: relative;
    margin: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: #dbe3eb;
}

.sector-project__main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 33, 0) 55%, rgba(7, 18, 33, 0.34) 100%);
    pointer-events: none;
}

.sector-project__main img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-project__sub {
    position: absolute;
    right: 0.85rem;
    bottom: 0.85rem;
    z-index: 2;
    width: 42%;
    max-width: 220px;
    margin: 0;
    overflow: hidden;
    border: 3px solid #ffffff;
    border-radius: 12px;
    background: #dbe3eb;
    box-shadow: 0 16px 34px rgba(7, 18, 33, 0.32);
}

.sector-project__sub img {
    display: block;
    width: 100%;
    height: 116px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.sector-project__card:hover .sector-project__main img,
.sector-project__card:hover .sector-project__sub img {
    transform: scale(1.05);
}

.sector-project__badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.42rem;
    padding: 0.46rem 0.82rem;
    border-radius: 999px;
    background: #f4b84a;
    color: #3a2a07;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.sector-project__badge::before {
    content: "";
    width: 0.46rem;
    height: 0.46rem;
    border-radius: 999px;
    background: #1f5a4a;
}

.sector-project__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.9rem;
    min-width: 0;
    padding: clamp(0.6rem, 1.2vw, 1.2rem);
}

.sector-project__location {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 0;
    padding: 0.34rem 0.78rem 0.34rem 0.62rem;
    border-radius: 999px;
    background: rgba(31, 90, 74, 0.1);
    color: #1f5a4a;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.sector-project__location::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #1f5a4a;
    box-shadow: 0 0 0 3px rgba(31, 90, 74, 0.18);
}

.sector-project__features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sector-project__features li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem 0.42rem 0.7rem;
    border: 1px solid rgba(36, 89, 183, 0.18);
    border-radius: 999px;
    background: #eef4ff;
    color: #1d3f86;
    font-size: 0.88rem;
    font-weight: 750;
    line-height: 1.2;
}

.sector-project__features li::before {
    content: "";
    width: 0.95rem;
    height: 0.95rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d3f86' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.sector-project__desc {
    margin: 0;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(16, 32, 51, 0.1);
    color: #4b5c70;
    font-size: 1rem;
    line-height: 1.62;
}

.sector-project__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
    margin-top: 0.35rem;
}

.sector-project .home-button--secondary {
    border-color: rgba(30, 91, 79, 0.28);
    background: #ffffff;
    color: #1e5b4f;
}

.sector-project .home-button--secondary:hover {
    border-color: #1e5b4f;
    background: #eef7f4;
    color: #153f35;
}

.sector-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-top: 2.7rem;
    padding-bottom: 2.7rem;
    color: #ffffff;
    background: #153f35;
}

.sector-cta__title {
    margin: 0 0 0.35rem;
    color: #ffffff;
    font-size: 1.72rem;
    font-weight: 850;
    line-height: 1.15;
}

.sector-cta p:not(.sector-cta__title) {
    max-width: 680px;
    color: #d7eee7;
}

.sector-page--promociones .sector-intro {
    background: #f6f3ee;
}

.sector-page--promociones .sector-feature {
    background: #eef5ff;
}

@media (max-width: 1100px) {
    .sector-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .sector-hero,
    .sector-intro,
    .sector-feature,
    .sector-project__card {
        grid-template-columns: 1fr;
    }

    .sector-project__gallery {
        order: -1;
    }

    .sector-hero {
        min-height: calc(100vh - var(--site-header-height, 78px));
        min-height: calc(100svh - var(--site-header-height, 78px));
        align-items: center;
        align-content: center;
    }

    .sector-hero__proof {
        max-width: 720px;
    }

    .sector-feature__media {
        order: -1;
    }

    .sector-cta {
        display: grid;
    }
}

@media (max-width: 680px) {
    .sector-hero,
    .sector-intro,
    .sector-cards,
    .sector-feature,
    .sector-project,
    .sector-cta {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sector-project {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sector-project__card {
        padding: 0.75rem;
        border-radius: 18px;
    }

    .sector-project__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sector-project__actions .home-button {
        width: 100%;
    }

    .sector-hero {
        padding-top: 3.2rem;
        padding-bottom: 2.5rem;
    }

    .sector-hero::after {
        background:
            linear-gradient(180deg, rgba(7, 18, 33, 0.2) 0%, rgba(7, 18, 33, 0.72) 42%, rgba(7, 18, 33, 0.95) 100%),
            linear-gradient(90deg, rgba(7, 18, 33, 0.76) 0%, rgba(7, 18, 33, 0.28) 100%);
    }

    .sector-hero__media img {
        transform: none;
    }

    .sector-hero h1 {
        font-size: clamp(2rem, 8.2vw, 2.45rem);
        line-height: 1.08;
    }

    .sector-hero__content > p:not(.sector-kicker),
    .sector-section-heading p:not(.sector-kicker),
    .sector-feature p,
    .sector-card p {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .sector-hero__actions,
    .sector-feature__actions,
    .sector-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .sector-hero__actions .home-button,
    .sector-feature__actions .home-button,
    .sector-cta__actions .home-button {
        width: 100%;
    }

    .sector-hero__proof {
        gap: 0.55rem;
        padding: 0.85rem;
    }

    .sector-hero__proof div {
        min-height: 0;
        padding: 0.72rem;
    }

    .sector-intro,
    .sector-cards,
    .sector-feature {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sector-section-heading h2,
    .sector-feature h2 {
        font-size: 1.85rem;
    }

    .sector-card-grid {
        grid-template-columns: 1fr;
    }

    .sector-card {
        min-height: 0;
        padding: 1.05rem;
    }

    .sector-intro__media,
    .sector-feature__media,
    .sector-intro__media img,
    .sector-feature__media img {
        min-height: 240px;
    }

    .sector-page--promociones .sector-feature {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
    }

    .sector-page--promociones .sector-feature__media {
        min-height: clamp(200px, 56vw, 280px);
    }

    .sector-page--promociones .sector-feature h2 {
        font-size: clamp(1.55rem, 6.8vw, 1.85rem);
        line-height: 1.12;
    }

    .sector-cta {
        padding-top: 2.2rem;
        padding-bottom: 2.2rem;
    }

    .sector-cta__title {
        font-size: 1.45rem;
    }

    .viviendas-hero__media img {
        transform: none;
    }
}

/* --- Naves y locales: hero industrial "plano tecnico" (scoped) --- */

.sector-page--naves .sector-hero {
    grid-template-columns: 1fr;
    align-items: stretch;
    align-content: end;
    gap: clamp(1.6rem, 3vw, 2.6rem);
    background: #0b1726;
}

.sector-page--naves .sector-hero::after {
    background:
        linear-gradient(180deg, rgba(7, 16, 27, 0.32) 0%, rgba(7, 16, 27, 0.18) 38%, rgba(6, 13, 22, 0.9) 100%),
        linear-gradient(90deg, rgba(6, 13, 22, 0.6) 0%, rgba(6, 13, 22, 0.2) 55%, rgba(6, 13, 22, 0.48) 100%);
}

.sector-page--naves .sector-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(156, 192, 234, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(156, 192, 234, 0.16) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 56%, transparent 100%);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 56%, transparent 100%);
}

.sector-page--naves .sector-hero::before {
    content: "";
    position: absolute;
    inset: clamp(0.9rem, 2vw, 1.5rem);
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
    background-repeat: no-repeat;
    background-image:
        linear-gradient(#f4b84a, #f4b84a), linear-gradient(#f4b84a, #f4b84a),
        linear-gradient(#f4b84a, #f4b84a), linear-gradient(#f4b84a, #f4b84a);
    background-position: left top, left top, right top, right top;
    background-size: 22px 2px, 2px 22px, 22px 2px, 2px 22px;
}

.sector-page--naves .sector-kicker {
    font-family: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Consolas", monospace;
    letter-spacing: 0.2em;
    font-size: 0.76rem;
}

.sector-page--naves .sector-kicker::before {
    content: "//";
    width: auto;
    height: auto;
    border-radius: 0;
    background: none;
    font-weight: 850;
    letter-spacing: 0;
    opacity: 1;
}

.sector-page--naves .sector-hero__proof {
    counter-reset: spec;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    max-width: none;
    padding: 0;
    border: 1px solid rgba(156, 192, 234, 0.2);
    border-radius: 10px;
    background: rgba(8, 17, 28, 0.55);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    box-shadow: 0 22px 54px rgba(5, 12, 22, 0.42);
    overflow: hidden;
}

.sector-page--naves .sector-hero__proof::before {
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #f4b84a 0%, rgba(244, 184, 74, 0.15) 70%, rgba(244, 184, 74, 0) 100%);
}

.sector-page--naves .sector-hero__proof div {
    counter-increment: spec;
    position: relative;
    min-height: 0;
    padding: 1.05rem 1.15rem 1.1rem;
    border-left: none;
    border-right: 1px solid rgba(156, 192, 234, 0.16);
    border-radius: 0;
    background: transparent;
}

.sector-page--naves .sector-hero__proof div:last-child {
    border-right: none;
}

.sector-page--naves .sector-hero__proof div::before {
    content: "0" counter(spec);
    display: block;
    margin-bottom: 0.5rem;
    font-family: ui-monospace, "SFMono-Regular", "JetBrains Mono", "Consolas", monospace;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #f4b84a;
}

.sector-page--naves .sector-hero__proof dt {
    font-size: 1.02rem;
}

.sector-page--naves .sector-hero__proof dd {
    color: #c6d6ea;
    font-size: 0.92rem;
}

@media (max-width: 680px) {
    .sector-page--naves .sector-hero__proof {
        grid-template-columns: 1fr;
    }

    .sector-page--naves .sector-hero__proof div {
        border-right: none;
        border-bottom: 1px solid rgba(156, 192, 234, 0.16);
        padding: 0.85rem 0.95rem;
    }

    .sector-page--naves .sector-hero__proof div:last-child {
        border-bottom: none;
    }

    .sector-page--naves .sector-hero__proof div::before {
        margin-bottom: 0.3rem;
    }
}

/* --- Promociones y obras: hero editorial "dossier de obra" (scoped) --- */

.sector-page--promociones .sector-hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    align-items: stretch;
    gap: clamp(1.6rem, 4vw, 3.4rem);
    padding-top: clamp(3rem, 5vw, 4.6rem);
    padding-bottom: clamp(3rem, 5vw, 4.6rem);
    background: linear-gradient(165deg, #0e2034 0%, #102033 55%, #0b1828 100%);
}

.sector-page--promociones .sector-hero::after {
    background:
        radial-gradient(75% 70% at 0% 0%, rgba(36, 89, 183, 0.16) 0%, rgba(16, 32, 51, 0) 60%);
}

.sector-page--promociones .sector-hero__content {
    align-self: center;
    display: grid;
    gap: 1.1rem;
    max-width: 560px;
}

.sector-page--promociones .sector-hero h1 {
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.06;
}

.sector-page--promociones .sector-kicker {
    width: max-content;
    max-width: 100%;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(244, 184, 74, 0.45);
    letter-spacing: 0.14em;
}

.sector-page--promociones .sector-kicker::before {
    display: none;
}

.sector-page--promociones .sector-hero__plate {
    position: relative;
    align-self: stretch;
    min-height: clamp(320px, 52vh, 560px);
    margin: 0;
    padding: 14px;
    background: #0b1828;
    border-radius: 4px;
    box-shadow: 0 34px 74px rgba(7, 18, 33, 0.5);
    clip-path: polygon(0 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%);
}

.sector-page--promociones .sector-hero__plate img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.03);
    clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 0 100%);
}

.sector-page--promociones .sector-hero__plate::after {
    content: "";
    position: absolute;
    inset: 14px;
    pointer-events: none;
    border: 2px solid rgba(244, 184, 74, 0.62);
    clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 0 100%);
}

.promo-phases {
    position: relative;
    display: grid;
    gap: 1.05rem;
    margin: 0.4rem 0 0.2rem;
    padding: 0 0 0 1.6rem;
    list-style: none;
}

.promo-phases::before {
    content: "";
    position: absolute;
    left: 6px;
    top: 0.5rem;
    bottom: 0.5rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f4b84a 0%, #1e5b4f 100%);
    opacity: 0.72;
}

.promo-phases li {
    position: relative;
    min-width: 0;
}

.promo-phases__node {
    position: absolute;
    left: -1.6rem;
    top: 0.3rem;
    width: 12px;
    height: 12px;
    background: #f4b84a;
    transform: rotate(45deg);
    box-shadow: 0 0 0 4px #102033;
}

.promo-phases__node--end {
    background: #1e5b4f;
}

.promo-phases strong {
    display: block;
    color: #ffffff;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
}

.promo-phases__role {
    display: block;
    margin-top: 0.1rem;
    color: #aebfd2;
    font-size: 0.92rem;
    line-height: 1.4;
}

@media (max-width: 980px) {
    .sector-page--promociones .sector-hero {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(0, 1.15fr) minmax(0, 0.85fr);
        align-items: stretch;
        align-content: stretch;
        height: calc(100svh - var(--site-header-height, 78px));
        min-height: calc(100svh - var(--site-header-height, 78px));
        max-height: calc(100svh - var(--site-header-height, 78px));
        overflow: hidden;
        padding-top: clamp(0.85rem, 2.5vw, 1.35rem);
        padding-bottom: clamp(0.85rem, 2.5vw, 1.2rem);
        gap: clamp(0.65rem, 2vw, 0.9rem);
    }

    .sector-page--promociones .sector-hero__content {
        align-self: stretch;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.72rem;
        min-height: 0;
        max-width: none;
        overflow: hidden;
    }

    .sector-page--promociones .sector-hero__content > p:not(.sector-kicker) {
        margin: 0;
    }

    .sector-page--promociones .sector-hero__plate {
        order: -1;
        min-height: 0;
        height: 100%;
        max-height: 100%;
        padding: 10px;
    }

    .sector-page--promociones .sector-hero__actions {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.55rem;
        margin-top: 0.15rem;
        padding-top: 0;
    }

    .sector-page--promociones .sector-hero__actions .home-button {
        flex: 1 1 calc(50% - 0.3rem);
        width: auto;
        min-width: 0;
        min-height: 44px;
        padding: 0.68rem 0.8rem;
        font-size: 0.84rem;
    }

    .sector-page--promociones .sector-feature {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .sector-page--promociones .sector-feature__media {
        width: 100%;
        min-height: clamp(220px, 52vw, 320px);
        aspect-ratio: 16 / 10;
    }

    .sector-page--promociones .sector-feature__media img {
        min-height: 100%;
    }
}

@media (max-width: 680px) {
    .sector-page--promociones .sector-hero {
        grid-template-rows: minmax(0, 1.25fr) minmax(0, 0.75fr);
        padding-top: 0.75rem;
        padding-bottom: 0.75rem;
        gap: 0.6rem;
    }

    .sector-page--promociones .sector-hero h1 {
        font-size: clamp(1.42rem, 5.8vw, 1.72rem);
        line-height: 1.08;
    }

    .sector-page--promociones .sector-hero__content > p:not(.sector-kicker) {
        font-size: 0.88rem;
        line-height: 1.48;
    }

    .sector-page--promociones .sector-kicker {
        padding-bottom: 0.35rem;
        font-size: 0.72rem;
    }

    .sector-page--promociones .promo-phases {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.45rem;
        margin: 0;
        padding: 0;
    }

    .sector-page--promociones .promo-phases::before,
    .sector-page--promociones .promo-phases__node {
        display: none;
    }

    .sector-page--promociones .promo-phases strong {
        font-size: 0.8rem;
        line-height: 1.15;
    }

    .sector-page--promociones .promo-phases__role {
        font-size: 0.7rem;
        line-height: 1.28;
    }

    .sector-page--promociones .sector-hero__actions .home-button {
        font-size: 0.8rem;
        padding: 0.64rem 0.7rem;
    }
}

@media (max-width: 520px) {
    .home-button,
    .chalets-button {
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* --- Home intro refinement --- */

.home-intro {
    position: relative;
    overflow: hidden;
    padding-top: clamp(3.4rem, 5.5vw, 4.7rem);
    padding-bottom: clamp(3.4rem, 5.5vw, 4.7rem);
    background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.home-intro__inner {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    grid-template-columns: minmax(0, 1fr) minmax(440px, 0.95fr);
    grid-template-areas:
        "copy media"
        "facts facts";
    column-gap: clamp(2.5rem, 5vw, 5rem);
    row-gap: clamp(2.4rem, 4vw, 3.6rem);
    align-items: center;
}

.home-intro__copy {
    align-self: center;
    max-width: 560px;
    gap: 1.15rem;
}

.home-intro h2 {
    max-width: 15ch;
    font-size: clamp(2.3rem, 3vw, 3rem);
    font-weight: 850;
    line-height: 1.04;
    letter-spacing: -0.01em;
}

.home-intro__copy > p {
    max-width: 540px;
    color: #516579;
    font-size: clamp(1.05rem, 1.5vw, 1.18rem);
    line-height: 1.72;
}

.home-intro .home-text-link {
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 50px;
    margin-top: 0.45rem;
    padding: 0.72rem 1.4rem;
    border: 0;
    border-radius: 11px;
    background: #12243a;
    color: #ffffff;
    font-weight: 800;
    box-shadow: 0 18px 34px rgba(16, 32, 51, 0.2);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.home-intro .home-text-link::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(-45deg);
    transition: transform 0.25s ease;
}

.home-intro .home-text-link:hover {
    transform: translateY(-2px);
    background: #1b3252;
    box-shadow: 0 22px 42px rgba(16, 32, 51, 0.26);
    text-decoration: none;
}

.home-intro .home-text-link:hover::after {
    transform: translateX(3px) rotate(-45deg);
}

.home-intro__media {
    position: relative;
    align-self: center;
    min-height: 0;
    margin: 0;
    aspect-ratio: 1.3 / 1;
    border: 0;
    border-radius: 18px;
    box-shadow:
        0 34px 70px rgba(16, 32, 51, 0.22),
        -20px 22px 0 -2px rgba(36, 89, 183, 0.14);
}

.home-intro__media::before {
    content: "Trayectoria local · 20+ años";
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #102033;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
    box-shadow: 0 10px 24px rgba(7, 18, 33, 0.16);
}

.home-intro__media::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg, rgba(7, 18, 33, 0) 40%, rgba(7, 18, 33, 0.58) 100%);
    pointer-events: none;
}

.home-intro__media img {
    min-height: 0;
    border-radius: inherit;
    object-position: center 48%;
    transform: scale(1.01);
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.home-intro__media:hover img {
    transform: scale(1.05);
}

.home-intro__media figcaption {
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    z-index: 3;
    padding: 0.95rem 1.05rem;
    border-radius: 12px;
    background: rgba(7, 18, 33, 0.84);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}

.home-intro__facts {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.4rem, 3vw, 2.6rem);
    max-width: none;
    margin-top: clamp(0.4rem, 1.5vw, 1rem);
    padding-top: 0;
}

.home-intro__facts::before {
    content: "";
    position: absolute;
    top: calc(1.35rem - 1px);
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(36, 89, 183, 0) 0%, rgba(36, 89, 183, 0.28) 4%, rgba(36, 89, 183, 0.28) 80%, rgba(36, 89, 183, 0) 100%);
    z-index: 0;
}

.home-intro__facts div {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
        "number"
        "title"
        "text";
    justify-items: start;
    gap: 0.35rem;
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.home-intro__facts span {
    grid-area: number;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.7rem;
    height: 2.7rem;
    margin-bottom: 0.7rem;
    border: 2px solid #ffffff;
    border-radius: 999px;
    background: #12243a;
    color: #f4b84a;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 10px 22px rgba(16, 32, 51, 0.2), 0 0 0 6px rgba(244, 184, 74, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.home-intro__facts div:hover span {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(16, 32, 51, 0.26), 0 0 0 6px rgba(244, 184, 74, 0.2);
}

.home-intro__facts strong {
    grid-area: title;
    color: #102033;
    font-size: 1.08rem;
    font-weight: 800;
    line-height: 1.2;
}

.home-intro__facts p {
    grid-area: text;
    max-width: 32ch;
    color: #5a6b7e;
    font-size: 0.92rem;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .home-intro__inner {
        grid-template-areas:
            "copy"
            "facts"
            "media";
        grid-template-columns: 1fr;
    }

    .home-intro__copy,
    .home-intro__facts {
        max-width: 820px;
    }

    .home-intro__facts {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(1.1rem, 2.4vw, 1.8rem);
    }

    .home-intro h2 {
        max-width: 16ch;
    }

    .home-intro__media {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 680px) {
    .home-intro {
        padding: 2.15rem 1rem 2.35rem;
        border-top: 0;
        background:
            linear-gradient(180deg, #eef5ff 0%, #f8fbff 28%, #ffffff 100%);
    }

    .home-intro__inner {
        gap: 1.15rem;
    }

    .home-intro__copy {
        gap: 0.78rem;
        max-width: none;
        padding: 1.25rem 1.1rem 1.15rem;
        border: 1px solid #dce8f4;
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 14px 34px rgba(16, 32, 51, 0.08);
    }

    .home-intro .home-section-kicker {
        display: inline-flex;
        align-self: flex-start;
        padding: 0.34rem 0.68rem;
        border: 1px solid rgba(244, 184, 74, 0.32);
        border-radius: 999px;
        background: rgba(244, 184, 74, 0.1);
        color: #ad741b;
        font-size: 0.7rem;
        font-weight: 850;
        letter-spacing: 0.02em;
    }

    .home-intro h2 {
        max-width: 100%;
        margin-top: 0.1rem;
        font-size: clamp(1.72rem, 6.8vw, 2rem);
        line-height: 1.12;
        text-wrap: balance;
    }

    .home-intro__copy > p {
        font-size: 0.94rem;
        line-height: 1.58;
        color: #4f6278;
    }

    .home-intro .home-intro__cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 48px;
        margin-top: 0.2rem;
        padding: 0.72rem 1rem;
        border: 1px solid rgba(36, 89, 183, 0.22);
        border-radius: 8px;
        background: #ffffff;
        color: #2459b7;
        font-size: 0.92rem;
        font-weight: 850;
        line-height: 1.2;
        text-align: center;
        text-decoration: none;
        box-shadow: 0 10px 22px rgba(16, 32, 51, 0.07);
    }

    .home-intro .home-intro__cta:hover {
        border-color: #2459b7;
        background: #f3f8ff;
        color: #123c85;
        text-decoration: none;
    }

    .home-intro__facts {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0;
        margin-top: 0.35rem;
        padding-top: 0;
        padding-left: 0.15rem;
    }

    .home-intro__facts::before {
        top: 1.35rem;
        bottom: 1.35rem;
        left: calc(1.35rem - 1px);
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, rgba(36, 89, 183, 0) 0%, rgba(36, 89, 183, 0.28) 6%, rgba(36, 89, 183, 0.28) 94%, rgba(36, 89, 183, 0) 100%);
    }

    .home-intro__facts div {
        grid-template-columns: 2.7rem minmax(0, 1fr);
        grid-template-areas:
            "number title"
            "number text";
        align-items: center;
        column-gap: 1rem;
        row-gap: 0.12rem;
        min-height: 0;
        padding: 0 0 1.5rem;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .home-intro__facts div:last-child {
        padding-bottom: 0;
    }

    .home-intro__facts span {
        width: 2.7rem;
        height: 2.7rem;
        margin-bottom: 0;
        border: 2px solid #ffffff;
        border-radius: 999px;
        background: #12243a;
        color: #f4b84a;
        font-size: 0.86rem;
        font-weight: 900;
    }

    .home-intro__facts strong {
        align-self: end;
        font-size: 0.96rem;
        line-height: 1.18;
    }

    .home-intro__facts p {
        align-self: start;
        font-size: 0.86rem;
        line-height: 1.42;
        color: #617487;
    }

    .home-intro__media {
        width: 100%;
        min-height: 0;
        margin-top: 0.35rem;
        aspect-ratio: 4 / 3;
        border-radius: 8px;
        box-shadow: 0 20px 44px rgba(16, 32, 51, 0.14);
    }

    .home-intro__media,
    .home-intro__media img {
        min-height: 0;
    }

    .home-intro__media img {
        object-position: center 40%;
    }

    .home-intro__media::before {
        top: 0.85rem;
        left: 0.85rem;
        min-height: 32px;
        padding-inline: 0.82rem;
        border-radius: 8px;
        font-size: 0.7rem;
        letter-spacing: 0.02em;
    }

    .home-intro__media figcaption {
        right: 0.8rem;
        bottom: 0.8rem;
        left: 0.8rem;
        padding: 0.82rem 0.9rem;
    }

    .home-intro__media figcaption strong {
        font-size: 0.92rem;
    }
}

@media (max-width: 360px) {
    .home-intro h2 {
        font-size: 1.62rem;
    }

    .home-intro__facts strong {
        font-size: 0.9rem;
    }

    .home-intro__facts p {
        font-size: 0.8rem;
    }
}

/* --- Home featured mobile refinement --- */

@media (max-width: 680px) {
    .home-featured {
        padding: 2rem 1rem 2.35rem;
        background:
            linear-gradient(180deg, #fff8eb 0%, #fff4dc 100%);
    }

    .home-featured__inner {
        overflow: hidden;
        grid-template-columns: 1fr;
        gap: 0;
        border: 1px solid rgba(16, 32, 51, 0.08);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(16, 32, 51, 0.1);
    }

    .home-featured__media {
        width: 100%;
        max-width: none;
        height: 212px;
        aspect-ratio: auto;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .home-featured__media img {
        height: 100%;
        min-height: 0;
        object-position: center 42%;
    }

    .home-featured__media figcaption {
        left: 0.8rem;
        bottom: 0.8rem;
        padding: 0.48rem 0.68rem;
        font-size: 0.8rem;
    }

    .home-featured__content {
        gap: 0.72rem;
        max-width: none;
        padding: 1.12rem 1.05rem 1.18rem;
    }

    .home-featured .home-section-kicker {
        display: inline-flex;
        align-self: flex-start;
        padding: 0.32rem 0.65rem;
        border: 1px solid rgba(244, 184, 74, 0.34);
        border-radius: 999px;
        background: rgba(244, 184, 74, 0.12);
        color: #ad741b;
        font-size: 0.68rem;
        font-weight: 850;
        letter-spacing: 0.02em;
    }

    .home-featured h2 {
        max-width: 100%;
        font-size: clamp(1.52rem, 6.4vw, 1.82rem);
        line-height: 1.14;
        text-wrap: balance;
    }

    .home-featured__content p {
        max-width: 100%;
        font-size: 0.91rem;
        line-height: 1.54;
        color: #516579;
    }

    .home-featured__facts {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0;
        margin: 0.1rem 0 0;
        padding: 0.58rem 0.35rem;
        border: 1px solid #f0e4cc;
        border-radius: 8px;
        background: #fffaf3;
    }

    .home-featured__facts div {
        display: grid;
        justify-items: center;
        gap: 0.18rem;
        min-height: 0;
        padding: 0.32rem 0.25rem;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .home-featured__facts div + div {
        padding-left: 0.25rem;
        border-top: 0;
        border-left: 1px solid rgba(16, 32, 51, 0.1);
    }

    .home-featured__facts dt {
        color: #153f35;
        font-size: 0.76rem;
        font-weight: 850;
        line-height: 1.15;
    }

    .home-featured__facts dd {
        margin: 0;
        color: #6b7c8f;
        font-size: 0.7rem;
        line-height: 1.25;
        text-align: center;
    }

    .home-featured__actions {
        display: grid;
        gap: 0.48rem;
        margin-top: 0.2rem;
    }

    .home-featured__actions .home-button--primary {
        width: 100%;
        min-height: 50px;
        box-shadow: 0 12px 24px rgba(16, 32, 51, 0.14);
    }

    .home-featured__actions .home-text-link {
        justify-content: center;
        width: 100%;
        min-height: 0;
        padding: 0.28rem 0;
        font-size: 0.86rem;
        font-weight: 750;
        text-decoration: underline;
        text-underline-offset: 0.16em;
    }

    .home-featured__actions .home-text-link::after {
        display: none;
    }
}

@media (max-width: 360px) {
    .home-featured h2 {
        font-size: 1.45rem;
    }

    .home-featured__facts dt {
        font-size: 0.72rem;
    }

    .home-featured__facts dd {
        font-size: 0.66rem;
    }
}

/* --- About page --- */

.about-page,
.about-page * {
    box-sizing: border-box;
}

.about-page {
    width: 100%;
    margin: 0;
    overflow-x: clip;
    color: #102033;
    background: #ffffff;
}

.colpercol-local-theme .wp-block-post-content > .about-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

.about-facts {
    padding-top: clamp(1.8rem, 3.5vw, 2.8rem);
    padding-bottom: clamp(2rem, 3.5vw, 2.6rem);
    background: #ffffff;
    border-top: 1px solid rgba(36, 89, 183, 0.08);
}

.about-facts__intro {
    max-width: 1180px;
    margin: 0 auto 0.35rem;
}

.about-facts__grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(0.9rem, 2vw, 1.25rem);
    max-width: 1180px;
    margin: 0 auto;
    padding-top: 0.65rem;
}

.about-facts__grid div {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.65rem;
    align-content: start;
    overflow: hidden;
    padding: 1.5rem 1.4rem 1.45rem;
    border: 1px solid rgba(36, 89, 183, 0.12);
    border-radius: 16px;
    background:
        radial-gradient(120% 120% at 100% 0%, rgba(244, 184, 74, 0.08) 0%, rgba(244, 184, 74, 0) 42%),
        linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.06);
    text-align: left;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.about-facts__grid div::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 72%, rgba(244, 184, 74, 0) 100%);
}

/* Icono de marca de agua por tarjeta */
.about-facts__grid div::after {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 0.9rem;
    z-index: 0;
    width: 2.6rem;
    height: 2.6rem;
    opacity: 0.1;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity 0.28s ease, transform 0.28s ease;
}

.about-facts__grid div:hover::after {
    opacity: 0.22;
    transform: scale(1.08);
}

.about-facts__grid div:nth-child(1)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.about-facts__grid div:nth-child(2)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4v18'/%3E%3Cpath d='M19 21V11l-6-4'/%3E%3C/svg%3E");
}

.about-facts__grid div:nth-child(3)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='M10.7 12.3 19 4'/%3E%3Cpath d='m15.5 5.5 3 3'/%3E%3Cpath d='m18 8 2-2'/%3E%3C/svg%3E");
}

.about-facts__grid div:nth-child(4)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.about-facts__grid div:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 89, 183, 0.22);
    box-shadow: 0 24px 50px rgba(16, 32, 51, 0.12);
}

.about-facts__grid dt {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #102033;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.01em;
}

.about-facts__grid dd {
    position: relative;
    z-index: 1;
    margin: 0;
    padding-top: 0.65rem;
    max-width: 28ch;
    border-top: 1px solid rgba(36, 89, 183, 0.12);
    color: #5a6b7e;
    font-size: 0.92rem;
    line-height: 1.5;
}

.about-timeline {
    position: relative;
    display: grid;
    gap: 0.85rem;
    margin: clamp(1.8rem, 3vw, 2.4rem) 0 0;
    padding: 0 0 0 1.35rem;
    list-style: none;
}

.about-timeline::before {
    content: "";
    position: absolute;
    top: 0.35rem;
    bottom: 0.35rem;
    left: 0.35rem;
    width: 2px;
    border-radius: 999px;
    background: linear-gradient(180deg, #f4b84a 0%, rgba(244, 184, 74, 0.18) 100%);
}

.about-timeline li {
    position: relative;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.05rem 1rem 1.15rem;
    border: 1px solid rgba(36, 89, 183, 0.1);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.about-timeline li::before {
    content: "";
    position: absolute;
    top: 1.15rem;
    left: -1.15rem;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #f4b84a;
    box-shadow: 0 0 0 4px #f7fbff, 0 0 0 5px rgba(244, 184, 74, 0.35);
}

.about-timeline li:hover {
    transform: translateX(3px);
    border-color: rgba(36, 89, 183, 0.18);
    box-shadow: 0 18px 40px rgba(16, 32, 51, 0.1);
}

.about-timeline li:focus-within {
    outline: none;
    border-color: rgba(36, 89, 183, 0.22);
    box-shadow: 0 0 0 3px rgba(36, 89, 183, 0.12), 0 18px 40px rgba(16, 32, 51, 0.1);
}

.about-timeline strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.32rem 0.62rem;
    border-radius: 999px;
    background: rgba(244, 184, 74, 0.14);
    color: #ad741b;
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1.2;
}

.about-timeline span {
    color: #51637a;
    font-size: 0.96rem;
    line-height: 1.62;
}

.about-story__panel-note {
    margin: 0.35rem 0 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(36, 89, 183, 0.12);
    color: #536171;
    font-size: 0.88rem;
    line-height: 1.55;
}

.about-story__content a:not(.home-text-link):not(.home-button),
.about-feature__content a:not(.home-text-link):not(.home-button),
.about-clients a:not(.home-text-link):not(.home-button),
.about-trust a:not(.home-text-link):not(.home-button) {
    color: #2459b7;
    font-weight: 800;
    text-decoration: none;
    text-underline-offset: 0.14em;
    transition: color 0.2s ease;
}

.about-story__content a:not(.home-text-link):not(.home-button):hover,
.about-feature__content a:not(.home-text-link):not(.home-button):hover,
.about-clients a:not(.home-text-link):not(.home-button):hover,
.about-trust a:not(.home-text-link):not(.home-button):hover {
    color: #123c85;
    text-decoration: underline;
}

.about-projects {
    padding-top: 3.6rem;
    padding-bottom: 3.8rem;
    background: #ffffff;
}

.about-projects .about-section-heading p:last-child {
    margin: 0;
    color: #536171;
    line-height: 1.62;
}

.about-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.1rem;
}

.about-projects__card {
    position: relative;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 89, 183, 0.14);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-projects__card:hover {
    transform: translateY(-5px);
    border-color: rgba(36, 89, 183, 0.22);
    box-shadow: 0 30px 60px rgba(16, 32, 51, 0.16);
}

.about-projects__media {
    position: relative;
    margin: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dce6ef;
}

.about-projects__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 18, 33, 0.02) 42%, rgba(7, 18, 33, 0.48) 100%);
    pointer-events: none;
}

.about-projects__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-projects__card:hover .about-projects__media img {
    transform: scale(1.06);
}

.about-projects__body .home-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    width: fit-content;
    min-height: 46px;
    margin-top: 0.85rem;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    background: #12243a;
    color: #ffffff;
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(16, 32, 51, 0.18);
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.about-projects__body .home-text-link::after {
    content: "";
    width: 0.42rem;
    height: 0.42rem;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.22s ease;
}

.about-projects__body .home-text-link:hover {
    transform: translateY(-2px);
    background: #1b3252;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(16, 32, 51, 0.24);
}

.about-projects__body .home-text-link:hover::after {
    transform: translateX(2px) rotate(45deg);
}

.about-projects__body {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 0.5rem;
    padding: 1.25rem 1.3rem 1.35rem;
}

.about-projects__tag {
    position: absolute;
    left: 0.95rem;
    bottom: 0.85rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.82rem 0.4rem 0.62rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(7, 18, 33, 0.52);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-projects__tag::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #f4b84a;
    box-shadow: 0 0 0 3px rgba(244, 184, 74, 0.3);
}

.about-projects__body h3 {
    margin: 0;
    color: #102033;
    font-size: 1.32rem;
    font-weight: 800;
    line-height: 1.18;
}

.about-projects__body p {
    margin: 0;
    color: #405166;
    font-size: 0.96rem;
    line-height: 1.58;
}

.about-clients {
    padding-top: 3.6rem;
    padding-bottom: 3.8rem;
    background: #f7fbff;
}

.about-clients__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-clients__grid article {
    display: grid;
    gap: 0.55rem;
    padding: 1.2rem 1.15rem;
    border: 1px solid rgba(36, 89, 183, 0.14);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
}

.about-clients__grid h3 {
    margin: 0;
    color: #102033;
    font-size: 1.12rem;
    line-height: 1.2;
}

.about-clients__grid p {
    margin: 0;
    color: #405166;
    font-size: 0.95rem;
    line-height: 1.58;
}

.about-clients__icon {
    display: inline-flex;
    width: 46px;
    height: 46px;
    margin-bottom: 0.35rem;
    border-radius: 12px;
    background-image: var(--about-client-ico), linear-gradient(135deg, #2c66c8 0%, #1b3f86 100%);
    background-repeat: no-repeat;
    background-position: center, center;
    background-size: 24px 24px, cover;
    box-shadow: 0 7px 16px rgba(27, 63, 134, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.about-clients__grid article:nth-child(1) .about-clients__icon {
    --about-client-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9.5 12 3l9 6.5'/%3E%3Cpath d='M5 21V10'/%3E%3Cpath d='M19 21V10'/%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M10 21v-5h4v5'/%3E%3C/svg%3E");
}

.about-clients__grid article:nth-child(2) .about-clients__icon {
    --about-client-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 4.5 4h15L21 9'/%3E%3Cpath d='M4 9v11h16V9'/%3E%3Cpath d='M3 9h18'/%3E%3Cpath d='M9 20v-6h6v6'/%3E%3C/svg%3E");
}

.about-clients__grid article:nth-child(3) .about-clients__icon {
    --about-client-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 22V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v18'/%3E%3Cpath d='M2 22h20'/%3E%3Cpath d='M10 6h4'/%3E%3Cpath d='M10 10h4'/%3E%3Cpath d='M10 14h4'/%3E%3C/svg%3E");
}

.about-testimonial {
    padding-top: 3.2rem;
    padding-bottom: 3.4rem;
    background: #fffaf0;
}

.about-testimonial__inner {
    max-width: 820px;
}

.about-testimonial blockquote {
    margin: 1rem 0 0;
    padding: 1.35rem 1.4rem;
    border-left: 4px solid #f4b84a;
    border-radius: 0 12px 12px 0;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(16, 32, 51, 0.08);
}

.about-testimonial blockquote p {
    margin: 0;
    color: #24364b;
    font-size: 1.08rem;
    font-style: italic;
    line-height: 1.62;
}

.about-testimonial footer {
    margin-top: 0.85rem;
    color: #536171;
    font-size: 0.92rem;
    font-style: normal;
}

.about-capabilities__grid--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-trust {
    padding-top: 3.6rem;
    padding-bottom: 3.8rem;
    background: #ffffff;
}

.about-trust__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    grid-template-areas:
        "copy contact"
        "map  contact";
    align-items: start;
    gap: 1.35rem clamp(1.8rem, 4vw, 3.4rem);
}

.about-trust__copy {
    grid-area: copy;
}

.about-trust__contact {
    grid-area: contact;
    position: relative;
    display: grid;
    gap: 0.95rem;
    overflow: hidden;
    padding: 1.6rem 1.6rem 1.65rem;
    border: 1px solid rgba(36, 89, 183, 0.14);
    border-radius: 16px;
    background: linear-gradient(180deg, #ffffff 0%, #f6faff 100%);
    box-shadow: 0 20px 46px rgba(16, 32, 51, 0.1);
}

.about-trust__contact::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 72%, rgba(244, 184, 74, 0) 100%);
}

.about-trust__contact p {
    position: relative;
    margin: 0;
    padding-left: 2.1rem;
    color: #24364b;
    font-size: 0.98rem;
    line-height: 1.55;
}

.about-trust__contact p::before {
    content: "";
    position: absolute;
    top: 0.1rem;
    left: 0;
    width: 1.45rem;
    height: 1.45rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.about-trust__contact p:first-of-type::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232459b7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.about-trust__contact p:last-of-type::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232459b7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.about-trust__contact p:first-of-type {
    padding-bottom: 0.95rem;
    border-bottom: 1px solid rgba(36, 89, 183, 0.12);
}

.about-trust__contact a {
    color: #2459b7;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-trust__contact a:hover {
    color: #123c85;
    text-decoration: underline;
}

.about-trust__facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
    margin: 0;
    padding: 1.2rem 1.25rem;
    border: 1px solid rgba(36, 89, 183, 0.14);
    border-radius: 10px;
    background: #f7fbff;
}

.about-trust__facts div {
    display: grid;
    gap: 0.18rem;
}

.about-trust__facts dt {
    color: #ad741b;
    font-size: 0.74rem;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.about-trust__facts dd {
    margin: 0;
    color: #24364b;
    font-size: 0.95rem;
    line-height: 1.45;
}

.about-trust__facts a {
    color: #2459b7;
    text-decoration: none;
    font-weight: 750;
}

.about-trust__map {
    grid-area: map;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    align-self: start;
    min-height: 48px;
    padding: 0.7rem 1.3rem;
    border-radius: 10px;
    background: #12243a;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 14px 28px rgba(16, 32, 51, 0.18);
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

.about-trust__map::before {
    content: "";
    width: 1.1rem;
    height: 1.1rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21'/%3E%3Cline x1='9' y1='3' x2='9' y2='18'/%3E%3Cline x1='15' y1='6' x2='15' y2='21'/%3E%3C/svg%3E");
}

.about-trust__map:hover {
    transform: translateY(-2px);
    background: #1b3252;
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 18px 34px rgba(16, 32, 51, 0.24);
}

.about-kicker {
    margin: 0;
    color: #ad741b;
    font-size: 0.85rem;
    font-weight: 800;
    line-height: 1.25;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.about-hero,
.about-story,
.about-capabilities,
.about-feature,
.about-cta,
.about-facts,
.about-projects,
.about-clients,
.about-testimonial,
.about-trust {
    padding-inline: max(1rem, calc((100vw - 1180px) / 2 + 1rem));
}

.about-hero {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    min-height: calc(100svh - var(--site-header-height, 78px));
    overflow: hidden;
    padding-top: clamp(3.6rem, 6vw, 5rem);
    padding-bottom: clamp(2.8rem, 5vw, 4rem);
    color: #ffffff;
    background: #102033;
}

@supports not (min-height: 100svh) {
    .about-hero {
        min-height: calc(100vh - var(--site-header-height, 78px));
    }
}

.about-hero::before,
.about-hero::after {
    content: "";
    position: absolute;
    inset: 0;
}

.about-hero::before {
    z-index: -2;
    background-color: #102033;
    background-image: url("../images/quienes-somos-hero.png");
    background-repeat: no-repeat;
    background-position: 58% 52%;
    background-size: cover;
    filter: saturate(1.08) contrast(1.04) brightness(0.94);
    transform: none;
}

.about-hero::after {
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(5, 14, 27, 0.95) 0%, rgba(6, 18, 34, 0.86) 40%, rgba(6, 18, 34, 0.5) 68%, rgba(6, 18, 34, 0.24) 100%),
        linear-gradient(180deg, rgba(6, 16, 30, 0.3) 0%, rgba(6, 16, 30, 0.04) 34%, rgba(6, 16, 30, 0.58) 100%);
}

.about-hero__content {
    display: grid;
    gap: 1rem;
    min-width: 0;
    max-width: 780px;
}

.about-hero h1,
.about-story h2,
.about-section-heading h2,
.about-feature h2,
.about-cta h2 {
    margin: 0;
    letter-spacing: 0;
    text-wrap: balance;
}

.about-hero h1 {
    color: #ffffff;
    font-size: clamp(2.15rem, 4.35vw, 3.45rem);
    font-weight: 850;
    line-height: 1.06;
    text-shadow: 0 2px 18px rgba(7, 18, 33, 0.34);
}

.about-hero__eyebrow-text strong {
    color: #f4b84a;
    font-weight: 850;
}

.about-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem 0.7rem;
    margin: 1.15rem 0 0;
    padding: 0;
    list-style: none;
}

.about-hero__trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.8rem 0.4rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: #e6edf7;
    font-size: 0.85rem;
    font-weight: 700;
}

.about-hero__trust li::before {
    content: "";
    width: 1.02rem;
    height: 1.02rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

.about-hero__proof-wrap {
    min-width: 0;
}

.about-hero__proof-title {
    margin: 0 0 0.85rem;
    color: #f4b84a;
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-hero__content > p:not(.about-kicker),
.about-hero__lead {
    max-width: 690px;
    margin: 0;
    color: #e7eff8;
    font-size: clamp(1rem, 1.5vw, 1.16rem);
    line-height: 1.65;
}

.about-hero__body {
    display: grid;
    gap: 1rem;
}

.about-hero__actions,
.about-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: center;
}

.about-hero .home-button--secondary {
    border-color: rgba(255, 255, 255, 0.72);
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
}

.about-hero__proof {
    display: grid;
    gap: 0.75rem;
    min-width: 0;
    margin: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(7, 18, 33, 0.58);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 52px rgba(7, 18, 33, 0.28);
}

.about-hero__proof div {
    min-height: 72px;
    padding: 0.85rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
}

.about-hero__proof dt {
    color: #ffffff;
    font-size: 1.04rem;
    font-weight: 850;
    line-height: 1.15;
}

.about-hero__proof dd {
    margin: 0.3rem 0 0;
    color: #d9e7f6;
    line-height: 1.38;
}

.about-story {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(300px, 0.52fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    padding-top: clamp(3.2rem, 5vw, 3.8rem);
    padding-bottom: clamp(3.2rem, 5vw, 3.8rem);
    background: #f7fbff;
    border-top: 1px solid rgba(36, 89, 183, 0.06);
}

.about-story__content {
    display: grid;
    gap: 0.7rem;
    min-width: 0;
    max-width: 840px;
}

.about-story__content > h2::after {
    content: "";
    display: block;
    width: 3.5rem;
    height: 3px;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 100%);
}

.about-story__content > .about-kicker {
    display: inline-flex;
    align-self: flex-start;
    padding: 0.34rem 0.68rem;
    border: 1px solid rgba(244, 184, 74, 0.32);
    border-radius: 999px;
    background: rgba(244, 184, 74, 0.1);
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.about-story h2,
.about-section-heading h2,
.about-feature h2,
.about-cta h2 {
    color: #102033;
    font-size: clamp(2rem, 3.25vw, 2.8rem);
    font-weight: 850;
    line-height: 1.08;
}

.about-story p,
.about-capabilities p,
.about-feature p,
.about-cta p {
    margin: 0;
    color: #405166;
    font-size: 1rem;
    line-height: 1.68;
}

.about-story__panel {
    display: grid;
    gap: 0.65rem;
    padding: 1.35rem;
    border: 1px solid rgba(36, 89, 183, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.about-story__panel span {
    color: #ad741b;
    font-size: 0.78rem;
    font-weight: 850;
    text-transform: uppercase;
}

.about-story__panel strong {
    color: #102033;
    font-size: 1.45rem;
    line-height: 1.12;
}

.about-capabilities {
    padding-top: 3.8rem;
    padding-bottom: 3.9rem;
    background: #ffffff;
}

.about-section-heading {
    display: grid;
    gap: 0.7rem;
    max-width: 820px;
    margin-bottom: 1.6rem;
}

.about-capabilities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.about-capabilities__grid article {
    display: grid;
    gap: 0.75rem;
    align-content: start;
    min-height: 230px;
    padding: 1.25rem;
    border: 1px solid rgba(36, 89, 183, 0.16);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.08);
}

.about-capabilities__grid span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background: #d9e9ff;
    color: #2459b7;
    font-size: 0.9rem;
    font-weight: 850;
}

.about-capabilities__grid h3 {
    margin: 0;
    color: #102033;
    font-size: 1.28rem;
    line-height: 1.18;
    letter-spacing: 0;
}

.about-feature {
    display: grid;
    grid-template-columns: minmax(300px, 0.85fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
    padding-top: 4rem;
    padding-bottom: 4rem;
    background: #fffaf0;
}

.about-feature__media {
    position: relative;
    min-height: 340px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #dce6ef;
    box-shadow: 0 18px 44px rgba(16, 32, 51, 0.14);
}

.about-feature__badge {
    position: absolute;
    left: 0.85rem;
    bottom: 0.85rem;
    margin: 0;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(16, 32, 51, 0.82);
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 750;
    line-height: 1.2;
}

.about-feature__media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 340px;
    object-fit: cover;
}

.about-feature__content {
    display: grid;
    gap: 0.95rem;
    min-width: 0;
}

.about-checklist {
    display: grid;
    gap: 0.7rem;
    margin: 0.2rem 0 0;
    padding: 0;
    list-style: none;
}

.about-checklist li {
    position: relative;
    padding-left: 1.55rem;
    color: #24364b;
    line-height: 1.55;
}

.about-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.48rem;
    width: 0.62rem;
    height: 0.62rem;
    border-radius: 999px;
    background: #e0a43b;
    box-shadow: 0 0 0 4px rgba(224, 164, 59, 0.18);
}

.about-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1.5rem, 4vw, 3.2rem);
    overflow: hidden;
    padding-top: clamp(2.8rem, 4vw, 3.6rem);
    padding-bottom: clamp(2.8rem, 4vw, 3.6rem);
    color: #ffffff;
}

.about-cta__content {
    display: grid;
    gap: 0.45rem;
    max-width: 620px;
}

.about-cta h2,
.about-cta p,
.about-cta .about-kicker {
    color: #ffffff;
}

.about-cta p {
    color: #d7eee7;
}

.about-cta__actions {
    flex-shrink: 0;
    align-content: center;
}

.about-cta .home-button {
    min-height: 52px;
    padding-inline: 1.35rem;
}

.about-cta .home-button--dark {
    background: linear-gradient(180deg, #f8c45f 0%, #f4b84a 100%);
    color: #102033;
    box-shadow: 0 12px 26px rgba(7, 18, 33, 0.32);
}

.about-cta .home-button--dark::before {
    content: "";
    width: 1.05rem;
    height: 1.05rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23102033' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.about-cta .home-button--dark:hover {
    background: linear-gradient(180deg, #ffd277 0%, #f8c155 100%);
    color: #102033;
}

.about-cta .home-button--light {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.about-cta .home-button--light:hover {
    background: #ffffff;
    color: #123528;
}

.about-cta__content .about-cta__actions {
    margin-top: 1.35rem;
}

.about-cta__card {
    flex: 0 0 auto;
    position: relative;
    display: grid;
    gap: 0.9rem;
    width: min(380px, 100%);
    overflow: hidden;
    padding: 1.6rem 1.6rem 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: 0 24px 52px rgba(7, 18, 33, 0.3);
}

.about-cta__card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 72%, rgba(244, 184, 74, 0) 100%);
}

.about-cta__card-title {
    margin: 0;
    color: #f4b84a;
    font-size: 0.8rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-cta__line {
    position: relative;
    margin: 0;
    padding-left: 2.05rem;
    color: #eaf3ef;
    font-size: 0.96rem;
    line-height: 1.5;
}

.about-cta__line strong {
    color: #ffffff;
}

.about-cta__line::before {
    content: "";
    position: absolute;
    top: 0.08rem;
    left: 0;
    width: 1.4rem;
    height: 1.4rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.about-cta__line--pin {
    padding-bottom: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.about-cta__line--pin::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E");
}

.about-cta__line--phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.35 1.89.68 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.33 1.84.55 2.8.68A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
}

.about-cta__line--mail::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E");
}

.about-cta__line a {
    color: #ffffff;
    font-weight: 800;
    text-decoration: none;
    transition: color 0.2s ease;
}

.about-cta__line a:hover {
    color: #f4b84a;
    text-decoration: underline;
}

.about-cta__map {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 0.15rem;
    color: #ffe2a0;
    font-size: 0.9rem;
    font-weight: 850;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.about-cta__map::before {
    content: "";
    width: 1.05rem;
    height: 1.05rem;
    background: no-repeat center / contain
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='3 6 9 3 15 6 21 3 21 18 15 21 9 18 3 21'/%3E%3Cline x1='9' y1='3' x2='9' y2='18'/%3E%3Cline x1='15' y1='6' x2='15' y2='21'/%3E%3C/svg%3E");
}

.about-cta__map:hover {
    color: #ffffff;
    transform: translateX(2px);
    text-decoration: none;
}

@media (max-width: 980px) {
    .about-hero,
    .about-story,
    .about-feature {
        grid-template-columns: 1fr;
    }

    .about-trust__inner {
        grid-template-columns: 1fr;
        grid-template-areas:
            "copy"
            "contact"
            "map";
        gap: 1.35rem;
    }

    .about-trust__contact {
        max-width: 36rem;
    }

    .about-hero {
        min-height: auto;
        align-items: start;
        align-content: start;
        gap: 1.25rem;
    }

    .about-hero__proof {
        max-width: 720px;
    }

    .about-capabilities__grid,
    .about-capabilities__grid--four {
        grid-template-columns: 1fr;
    }

    .about-capabilities__grid article {
        min-height: 0;
    }

    .about-facts__grid,
    .about-projects__grid,
    .about-clients__grid,
    .about-trust__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-story {
        gap: 1.25rem;
    }

    .about-story__panel {
        order: -1;
        position: static;
        top: auto;
        max-width: 36rem;
    }

    .about-timeline {
        grid-template-columns: 1fr;
        gap: 0.85rem;
        margin-top: 1.4rem;
    }

    .about-feature__media {
        order: -1;
    }

    .about-cta {
        display: grid;
    }
}

@media (max-width: 680px) {
    .about-hero,
    .about-story,
    .about-capabilities,
    .about-feature,
    .about-cta,
    .about-facts,
    .about-projects,
    .about-clients,
    .about-testimonial,
    .about-trust {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .about-facts {
        padding-top: 1.4rem;
        padding-bottom: 1.25rem;
    }

    .about-projects__grid,
    .about-clients__grid {
        grid-template-columns: 1fr;
    }

    .about-facts__grid {
        gap: 0.65rem;
    }

    .about-facts__grid div {
        padding: 1rem 1.05rem 1.05rem;
    }

    .about-facts__grid dt {
        font-size: 1.5rem;
    }

    .about-facts__grid dd {
        font-size: 0.85rem;
        line-height: 1.42;
    }

    .about-story {
        padding-top: 2.25rem;
        padding-bottom: 2.5rem;
        gap: 1rem;
    }

    .about-story h2 {
        font-size: clamp(1.55rem, 6.5vw, 1.85rem);
        line-height: 1.12;
    }

    .about-timeline {
        margin-top: 1.35rem;
    }

    .about-timeline strong {
        font-size: 0.78rem;
    }

    .about-timeline span {
        font-size: 0.88rem;
        line-height: 1.52;
    }

    .about-cta__actions {
        display: grid;
        gap: 0.55rem;
    }

    .about-cta__actions .home-button {
        width: 100%;
        justify-content: center;
    }

    .about-hero {
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        align-items: stretch;
        align-content: stretch;
        min-height: max(580px, calc(100dvh - var(--site-header-height, 78px)));
        padding:
            calc(1.15rem + env(safe-area-inset-top, 0px))
            1rem
            calc(0.85rem + env(safe-area-inset-bottom, 0px));
        gap: 0;
    }

    .about-hero::before {
        background-position: center 42%;
        filter: saturate(1.06) contrast(1.03) brightness(0.9);
    }

    .about-hero::after {
        background:
            linear-gradient(180deg, rgba(7, 18, 33, 0.22) 0%, rgba(7, 18, 33, 0.72) 42%, rgba(7, 18, 33, 0.95) 100%),
            linear-gradient(90deg, rgba(7, 18, 33, 0.78) 0%, rgba(7, 18, 33, 0.28) 100%);
    }

    .about-hero__content {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        gap: 0.72rem;
        max-width: none;
        min-height: 0;
    }

    .about-hero__body {
        display: flex;
        flex: 1;
        flex-direction: column;
        justify-content: center;
        gap: 0.72rem;
        padding-top: 0.35rem;
    }

    .about-hero__eyebrow.home-hero__eyebrow {
        align-self: flex-start;
        width: fit-content;
        max-width: 100%;
        min-height: 0;
        gap: 0.42rem;
        padding: 0.36rem 0.68rem 0.36rem 0.42rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px;
        background: rgba(5, 14, 27, 0.52);
        color: #dbe6f6;
        font-size: 0.72rem;
        font-weight: 650;
        letter-spacing: 0;
        line-height: 1.3;
        text-transform: none;
    }

    .about-hero h1 {
        max-width: none;
        font-size: clamp(1.72rem, 7vw, 2rem);
        line-height: 1.08;
        overflow-wrap: break-word;
    }

    .about-hero__lead {
        max-width: none;
        font-size: 0.92rem;
        line-height: 1.48;
    }

    .about-hero__trust {
        display: none;
    }

    .about-hero__actions {
        gap: 0.55rem;
        margin-top: 0.35rem;
    }

    .about-hero__actions .home-button {
        min-height: 50px;
    }

    .about-hero__proof-wrap {
        flex-shrink: 0;
        margin-top: 0.85rem;
        padding-top: 0;
    }

    .about-hero__proof-title {
        display: none;
    }

    .about-story h2,
    .about-section-heading h2,
    .about-feature h2,
    .about-cta h2 {
        overflow-wrap: break-word;
    }

    .about-story p,
    .about-capabilities p,
    .about-feature p,
    .about-cta p {
        font-size: 0.98rem;
        line-height: 1.58;
    }

    .about-hero__actions,
    .about-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .about-hero__actions .home-button,
    .about-cta__actions .home-button {
        width: 100%;
    }

    .about-story,
    .about-capabilities,
    .about-feature {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .about-story h2,
    .about-section-heading h2,
    .about-feature h2,
    .about-cta h2 {
        font-size: 1.85rem;
    }

    .about-story__panel,
    .about-capabilities__grid article {
        padding: 1.05rem;
    }

    .about-feature__media,
    .about-feature__media img {
        min-height: 240px;
    }
}

/* Final override: line only, no upper band before the work areas section. */
body.colpercol-local-theme .wp-block-post-content > .home-quick-paths {
    margin-top: 0 !important;
    padding-top: 1.25rem !important;
    border-top: 1px solid #d8e2ec !important;
}

body.colpercol-local-theme .wp-block-post-content > .home-services {
    margin-top: 0 !important;
    border-top: 1px solid #d8e2ec !important;
}

body.colpercol-local-theme .wp-block-post-content > .home-featured {
    margin-top: 0 !important;
    border-top: 1px solid #d8e2ec !important;
    padding-bottom: clamp(2.35rem, 4vw, 3.25rem) !important;
}

body.colpercol-local-theme .wp-block-post-content > .home-company-note {
    margin-top: 0 !important;
}

@media (max-width: 680px) {
    body.colpercol-local-theme .wp-block-post-content > .home-quick-paths {
        padding-top: 1.15rem !important;
    }
}

/* =====================================================================
   1.13.0 — Rediseño editorial (refinamientos transversales)
   Lenguaje de acento común aplicado a todas las páginas. Conserva la
   paleta de marca: azul marino #102033, azules #2459b7, ámbar
   #f4b84a / #f2ad35 / #e0a43b y el verde secundario #153f35 / #1e5b4f.
   Solo añade jerarquía, profundidad y micro-interacciones; no altera
   el contenido, los enlaces ni el flujo responsive.
   ===================================================================== */

/* 1) Antetítulos editoriales: una regla ámbar antes de cada "kicker"
      para dar un ritmo consistente y más diseñado en todo el sitio. */
.home-section-kicker,
.services-kicker,
.contact-kicker,
.sector-kicker,
.about-kicker,
.chalets-kicker,
.home-quick-paths__header span,
.about-story__panel > span {
    display: inline-flex;
    align-items: center;
    gap: 0.62rem;
    letter-spacing: 0.05em;
}

.home-section-kicker::before,
.services-kicker::before,
.contact-kicker::before,
.sector-kicker::before,
.about-kicker::before,
.chalets-kicker::before,
.home-quick-paths__header span::before,
.about-story__panel > span::before {
    content: "";
    flex: 0 0 auto;
    width: 1.7rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 0.92;
}

/* 2) Rúbrica de sección: una barra ámbar corta bajo cada encabezado de
      sección, igualando el detalle que ya existía en la home. */
.services-section-heading::after,
.contact-section-heading::after,
.sector-section-heading::after,
.about-section-heading::after {
    content: "";
    width: 3.5rem;
    height: 3px;
    margin-top: 0.15rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 100%);
}

/* 3) Tarjetas premium: misma elevación, acento y sombra que las tarjetas
      de servicio de la home, unificando las tarjetas "planas" del sitio. */
.services-card,
.contact-topic-card,
.about-capabilities__grid article,
.about-projects__card,
.about-clients__grid article {
    position: relative;
    overflow: hidden;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.services-card::after,
.contact-topic-card::after,
.about-capabilities__grid article::after,
.about-projects__card::after,
.sector-card::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 2;
    height: 3px;
    background: linear-gradient(90deg, #2459b7 0%, #f4b84a 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.34s ease;
}

.services-card:hover,
.contact-topic-card:hover,
.about-capabilities__grid article:hover,
.about-projects__card:hover,
.about-clients__grid article:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 89, 183, 0.3);
    box-shadow: 0 26px 54px rgba(16, 32, 51, 0.14);
}

.services-card:hover::after,
.contact-topic-card:hover::after,
.about-capabilities__grid article:hover::after,
.about-projects__card:hover::after,
.sector-card:hover::after {
    transform: scaleX(1);
}

/* 4) Distintivos numéricos: chip azul marino con relieve, más rotundo
      que el azul claro previo (se mantiene dentro de paleta). */
.services-card__label,
.contact-topic-card__number,
.about-capabilities__grid > article > span,
.sector-card > span,
.home-service-card__label {
    background: linear-gradient(135deg, #2c66c8 0%, #1b3f86 100%);
    color: #ffffff;
    box-shadow: 0 7px 16px rgba(27, 63, 134, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

/* 5) Paneles de héroe en cristal: corona ámbar y mayor profundidad. */
.services-hero__proof,
.sector-hero__proof,
.about-hero__proof,
.contact-hero__panel {
    position: relative;
    border-color: rgba(244, 184, 74, 0.24);
    background: rgba(7, 18, 33, 0.62);
    box-shadow: 0 26px 60px rgba(7, 18, 33, 0.42);
}

.services-hero__proof::before,
.sector-hero__proof::before,
.about-hero__proof::before,
.contact-hero__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.2rem;
    right: 1.2rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #f4b84a 0%, rgba(244, 184, 74, 0) 78%);
}

.sector-hero__proof div,
.about-hero__proof div {
    border-left: 2px solid rgba(244, 184, 74, 0.5);
}

/* Quiénes somos: panel de datos con iconos y micro-interacción */
.about-hero__proof {
    gap: 0.6rem;
    padding: 1.05rem;
    border-radius: 16px;
}

.about-hero__proof div {
    display: grid;
    grid-template-columns: 2.4rem minmax(0, 1fr);
    grid-template-areas:
        "icon title"
        "icon desc";
    align-items: center;
    column-gap: 0.85rem;
    row-gap: 0.08rem;
    min-height: 0;
    padding: 0.85rem 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 2px solid rgba(244, 184, 74, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.about-hero__proof div:hover {
    transform: translateX(3px);
    border-color: rgba(244, 184, 74, 0.5);
    border-left-color: #f4b84a;
    background: rgba(255, 255, 255, 0.1);
}

.about-hero__proof div::before {
    content: "";
    grid-area: icon;
    align-self: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid rgba(244, 184, 74, 0.32);
    border-radius: 10px;
    background-color: rgba(244, 184, 74, 0.14);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 1.25rem;
}

.about-hero__proof div:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E");
}

.about-hero__proof div:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 19v-1a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M22 19v-1a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 4.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.about-hero__proof div:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='M10.7 12.3 19 4'/%3E%3Cpath d='m15.5 5.5 3 3'/%3E%3Cpath d='m18 8 2-2'/%3E%3C/svg%3E");
}

.about-hero__proof dt {
    grid-area: title;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.12;
}

.about-hero__proof dd {
    grid-area: desc;
    margin: 0;
    color: #cfe0f2;
    font-size: 0.9rem;
    line-height: 1.3;
}

@media (max-width: 680px) {
    .about-hero__proof {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.42rem;
        padding: 0.62rem 0.68rem 0.68rem;
        border-radius: 12px;
        box-shadow: 0 12px 32px rgba(5, 14, 27, 0.28);
    }

    .about-hero__proof::before {
        left: 0.85rem;
        right: 0.85rem;
    }

    .about-hero__proof div {
        grid-template-columns: 2.1rem minmax(0, 1fr);
        grid-template-areas:
            "icon title"
            "icon desc";
        align-items: center;
        justify-items: start;
        column-gap: 0.72rem;
        row-gap: 0.06rem;
        min-height: 0;
        padding: 0.58rem 0.68rem;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-left: 2px solid rgba(244, 184, 74, 0.45);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        text-align: left;
    }

    .about-hero__proof div + div {
        border-left: 2px solid rgba(244, 184, 74, 0.45);
    }

    .about-hero__proof div::before {
        display: block;
        width: 2.1rem;
        height: 2.1rem;
    }

    .about-hero__proof div:hover {
        transform: none;
    }

    .about-hero__proof dt {
        font-size: 0.9rem;
        line-height: 1.15;
        white-space: normal;
    }

    .about-hero__proof dd {
        font-size: 0.78rem;
        line-height: 1.28;
    }
}

@media (max-width: 680px) and (max-height: 740px) {
    .about-hero {
        min-height: max(520px, calc(100dvh - var(--site-header-height, 78px)));
    }

    .about-hero__body {
        gap: 0.58rem;
    }

    .about-hero h1 {
        font-size: clamp(1.58rem, 6.6vw, 1.82rem);
    }

    .about-hero__lead {
        font-size: 0.86rem;
        line-height: 1.42;
    }

    .about-hero__actions .home-button {
        min-height: 46px;
    }

    .about-hero__proof {
        gap: 0.32rem;
        padding: 0.52rem 0.58rem 0.58rem;
    }

    .about-hero__proof div {
        padding: 0.48rem 0.58rem;
    }
}

/* 6) Bandas CTA de cierre más rotundas: profundidad por capas y línea
      ámbar superior, conservando el verde de marca. */
.home-contact-band,
.services-cta,
.contact-cta,
.sector-cta,
.about-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background:
        radial-gradient(125% 150% at 100% 0%, rgba(36, 89, 183, 0.3) 0%, rgba(21, 63, 53, 0) 55%),
        linear-gradient(180deg, #1a4a3e 0%, #123528 100%);
}

.home-contact-band::after,
.services-cta::after,
.contact-cta::after,
.sector-cta::after,
.about-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: -1;
    height: 3px;
    background: linear-gradient(90deg, #f4b84a 0%, rgba(244, 184, 74, 0) 62%);
}

/* 7) Botón primario ámbar con leve degradado y elevación al pasar. */
.home-button--primary {
    background: linear-gradient(180deg, #f8c45f 0%, #f4b84a 100%);
    box-shadow: 0 10px 22px rgba(244, 184, 74, 0.26);
}

.home-button--primary:hover {
    background: linear-gradient(180deg, #ffd277 0%, #f8c155 100%);
    box-shadow: 0 14px 28px rgba(244, 184, 74, 0.34);
    transform: translateY(-2px);
}

/* 8) Datos rápidos de chalets: misma micro-interacción de elevación. */
.chalets-facts div {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.chalets-facts div:hover {
    transform: translateY(-3px);
    border-color: rgba(30, 91, 79, 0.32);
    box-shadow: 0 16px 34px rgba(16, 32, 51, 0.12);
}

/* Respeta usuarios con movimiento reducido. */
@media (prefers-reduced-motion: reduce) {
    .services-card,
    .contact-topic-card,
    .about-capabilities__grid article,
    .about-projects__card,
    .about-clients__grid article,
    .about-facts__grid div,
    .about-timeline li,
    .chalets-facts div,
    .home-button--primary {
        transition: none;
    }

    .services-card:hover,
    .contact-topic-card:hover,
    .about-capabilities__grid article:hover,
    .about-projects__card:hover,
    .about-clients__grid article:hover,
    .about-facts__grid div:hover,
    .about-timeline li:hover,
    .chalets-facts div:hover,
    .home-button--primary:hover {
        transform: none;
    }
}

/* ===== Quiénes somos: historia + capacidades (rediseño visual) ===== */

.about-story {
    align-items: start;
    background:
        radial-gradient(140% 120% at 85% 0%, rgba(244, 184, 74, 0.1) 0%, rgba(244, 184, 74, 0) 42%),
        radial-gradient(110% 110% at 0% 100%, rgba(36, 89, 183, 0.07) 0%, rgba(36, 89, 183, 0) 38%),
        linear-gradient(180deg, #f7fbff 0%, #eef6ff 100%);
}

.about-story__content {
    gap: 0.85rem;
}

.about-story__content > .about-kicker {
    padding: 0.38rem 0.78rem;
    border: 1px solid rgba(244, 184, 74, 0.35);
    background: rgba(244, 184, 74, 0.12);
    font-size: 0.74rem;
    letter-spacing: 0.06em;
}

.about-story__content h2 + p {
    color: #2b3a4d;
    font-size: 1.12rem;
    line-height: 1.66;
}

.about-story__content > p {
    max-width: 78ch;
}

.about-timeline {
    counter-reset: about-milestone;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: clamp(2rem, 3.5vw, 2.8rem) 0 0;
    padding: 0;
}

.about-timeline::before {
    display: none;
}

.about-timeline li {
    counter-increment: about-milestone;
    position: relative;
    display: grid;
    gap: 0.5rem;
    align-content: start;
    padding: 1.5rem 1.4rem 1.45rem;
    border: 1px solid rgba(36, 89, 183, 0.1);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 32, 51, 0.07);
    overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.about-timeline li::after {
    content: counter(about-milestone, decimal-leading-zero);
    position: absolute;
    top: 0.9rem;
    right: 1.1rem;
    color: rgba(36, 89, 183, 0.12);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}

.about-timeline li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 70%, rgba(244, 184, 74, 0) 100%);
}

.about-timeline li:hover {
    transform: translateY(-4px);
    border-color: rgba(36, 89, 183, 0.2);
    box-shadow: 0 24px 50px rgba(16, 32, 51, 0.13);
}

.about-timeline strong {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0.34rem 0.78rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f4b84a 0%, #f2ad35 100%);
    color: #102033;
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.01em;
    line-height: 1.2;
    box-shadow: 0 6px 14px rgba(244, 184, 74, 0.24);
}

.about-timeline span {
    position: relative;
    z-index: 1;
    color: #4e5f75;
    font-size: 0.98rem;
    line-height: 1.6;
}

.about-story__panel {
    position: sticky;
    top: calc(var(--site-header-height, 78px) + 1.4rem);
    gap: 0.75rem;
    overflow: hidden;
    padding: 1.6rem 1.5rem 1.65rem;
    border: 1px solid rgba(244, 184, 74, 0.22);
    border-radius: 16px;
    background: linear-gradient(160deg, #102033 0%, #162b45 100%);
    box-shadow: 0 28px 60px rgba(7, 18, 33, 0.28);
    color: #ffffff;
}

.about-story__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 100%);
}

.about-story__panel::after {
    content: "";
    position: absolute;
    right: -0.75rem;
    bottom: -0.75rem;
    z-index: 0;
    width: 7rem;
    height: 7rem;
    opacity: 0.08;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
}

.about-story__panel > * {
    position: relative;
    z-index: 1;
}

.about-story__panel > span {
    color: #f4b84a;
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-story__panel strong {
    color: #ffffff;
    font-size: 1.52rem;
    font-weight: 850;
    letter-spacing: -0.01em;
    line-height: 1.15;
}

.about-story__panel p {
    margin: 0.1rem 0 0;
    color: #c7d6ea;
    font-size: 0.98rem;
    line-height: 1.62;
}

.about-story__panel-note {
    margin-top: 0.55rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.55;
}

.about-story__panel-note::before {
    content: "";
    display: inline-block;
    width: 1.1rem;
    height: 1.1rem;
    margin-right: 0.45rem;
    margin-bottom: -0.18rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f4b84a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E") no-repeat center / contain;
    opacity: 1;
}

.about-story__panel > span::before {
    background: #f4b84a;
}

.about-capabilities__grid article {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
        "badge title"
        "desc desc";
    align-items: center;
    column-gap: 0.95rem;
    row-gap: 0.85rem;
    min-height: 0;
    padding: 1.5rem 1.45rem 1.55rem;
    border-radius: 16px;
}

/* Barra de acento ámbar permanente (coherente con la línea de tiempo) */
.about-capabilities__grid article::after {
    background: linear-gradient(90deg, #f4b84a 0%, #f2ad35 72%, rgba(244, 184, 74, 0) 100%);
    transform: scaleX(1);
}

.about-capabilities__grid article:hover::after {
    transform: scaleX(1);
}

.about-capabilities__grid article::before {
    content: "";
    position: absolute;
    bottom: 1.2rem;
    right: 1.3rem;
    z-index: 0;
    width: 2.3rem;
    height: 2.3rem;
    opacity: 0.12;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.about-capabilities__grid article:hover::before {
    opacity: 0.32;
    transform: scale(1.08);
}

.about-capabilities__grid article:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 19v-1a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v1'/%3E%3Ccircle cx='9' cy='7' r='3'/%3E%3Cpath d='M22 19v-1a4 4 0 0 0-3-3.87'/%3E%3Cpath d='M16 4.13a4 4 0 0 1 0 7.75'/%3E%3C/svg%3E");
}

.about-capabilities__grid article:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='8' y='3' width='8' height='4' rx='1'/%3E%3Cpath d='M16 5h2a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h2'/%3E%3Cpath d='M9 12h6'/%3E%3Cpath d='M9 16h4'/%3E%3C/svg%3E");
}

.about-capabilities__grid article:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4v18'/%3E%3Cpath d='M19 21V11l-6-4'/%3E%3Cpath d='M9 9h.01M9 12h.01M9 15h.01M9 18h.01'/%3E%3C/svg%3E");
}

.about-capabilities__grid article:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b3f86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.77-3.77a6 6 0 0 1-7.94 7.94l-6.91 6.91a2.12 2.12 0 0 1-3-3l6.91-6.91a6 6 0 0 1 7.94-7.94l-3.76 3.76z'/%3E%3C/svg%3E");
}

.about-capabilities__grid span {
    grid-area: badge;
    width: 46px;
    height: 46px;
    border-radius: 13px;
    font-size: 0.95rem;
}

.about-capabilities__grid h3 {
    grid-area: title;
    align-self: center;
    font-weight: 800;
    font-size: 1.18rem;
    line-height: 1.2;
}

.about-capabilities__grid p {
    grid-area: desc;
}

@media (max-width: 680px) {
    .about-story__panel {
        position: static;
        top: auto;
        padding: 1.25rem 1.2rem 1.3rem;
    }

    .about-story__panel strong {
        font-size: 1.28rem;
        line-height: 1.2;
    }

    .about-story__panel p,
    .about-story__panel-note {
        font-size: 0.92rem;
        line-height: 1.55;
    }

    .about-timeline {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .about-timeline li {
        padding: 1.2rem 1.2rem 1.25rem;
    }

    .about-timeline li::after {
        top: 0.8rem;
        right: 1rem;
        font-size: 2.1rem;
    }

    .about-capabilities__grid article {
        padding: 1.2rem 1.15rem 1.25rem;
    }

    .about-story__content h2 + p {
        font-size: 1rem;
    }
}

/* Evita desplazamiento horizontal en móvil (100vw, scale en fondos, etc.) */
@media (max-width: 980px) {
    .home-hero::before,
    .about-hero::before,
    .services-hero::before,
    .sector-hero__media img,
    .sector-page--naves .sector-hero::before {
        transform: none;
    }

    .home-hero,
    .about-hero,
    .services-hero,
    .contact-hero,
    .sector-hero,
    .viviendas-hero,
    .chalets-hero,
    .about-page,
    .viviendas-hub,
    .chalets-page,
    .services-page,
    .contact-page,
    .sector-page {
        max-width: 100%;
        overflow-x: clip;
    }
}

/* Aparicion suave al hacer scroll (mejora progresiva via reveal.js) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.62s ease, transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
        will-change: opacity, transform;
    }

    .reveal.is-visible {
        opacity: 1;
        transform: none;
    }
}
