/* ============================================
   MURA CONSTRUCTION - New Design
   ============================================ */

/* ===== FONTS ===== */
@font-face {
    font-family: 'Nord';
    src: url('/assets/fonts/nord/Nord-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nord';
    src: url('/assets/fonts/nord/Nord-Book.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nord';
    src: url('/assets/fonts/nord/Nord-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nord';
    src: url('/assets/fonts/nord/Nord-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nord';
    src: url('/assets/fonts/nord/Nord-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Nord';
    src: url('/assets/fonts/nord/Nord-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbiter';
    src: url('/assets/fonts/orbiter/OrbiterFBSTrial-Regular-BF651f81805489a.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Orbiter';
    src: url('/assets/fonts/orbiter/OrbiterFBSTrial-Medium-BF651f818095012.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* ===== 111 LOADER ===== */
.preloader {
    background-color: #020202 !important;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.7s ease, visibility 0.7s ease;
}

.preloader.is-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

.preloader__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 1.05s cubic-bezier(0.4, 0, 0.2, 1),
        transform 1.05s cubic-bezier(0.4, 0, 0.2, 1),
        filter 1.05s ease;
    will-change: opacity, transform;
}

.preloader.is-exiting .preloader__logo {
    opacity: 0;
    transform: scale(0.92) translateY(8px);
    filter: blur(2px);
}

.preloader__image {
    width: clamp(80px, 10vw, 140px);
    height: auto;
    object-fit: contain;
    opacity: 0;
    animation: loader-fade-in 1s ease-out forwards;
}

@keyframes loader-fade-in {
    0% {
        opacity: 0;
        transform: scale(0.92);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ===== 222 HERO ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background-color: #020202;
}

.hero__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    /* Poster shows instantly while the MP4 buffers */
    background-color: #020202;
    background-image: url('/assets/images/content/hero-poster.jpg');
    background-size: cover;
    background-position: center;
}

.hero__video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.7s ease;
}

.hero__video.is-ready {
    opacity: 1;
}

/* Mobile / tablet: full-bleed cover (revert — letterbox looked broken) */
@media (max-width: 767.98px) {
    .hero__video {
        object-fit: cover;
        object-position: center center;
    }

    .hero__media {
        background-size: cover;
        background-position: center center;
    }
}

/* ===== 333 INTRO — IMAGEN 0..4 =====
   Bloque hero conserva .about__label / .about__title / .about__line / .word
   para el scrub de descubrimiento R() de app.js. El resto usa ganchos
   propios (.about__block / .about__subtitle / .about__body / .about__values
   / .about__closing) + data-reveal para las entradas de animations.js. */
.about {
    background-color: #edecea;
    height: auto;
}

.about__label {
    font-family: 'Nord', sans-serif;
    font-weight: 900;
    font-size: clamp(14px, 1.5vw, 16px);
    color: #a2522a;
    letter-spacing: 0.1em;
    margin: 0 0 clamp(48px, 8vh, 100px);
    text-transform: uppercase;
}

/* Marca del bloque intro: 1.5× el tamaño de "RAISING STANDARDS" */
.about__brand {
    font-family: 'Nord', sans-serif;
    font-weight: 900;
    font-size: min(6.1vw, 60px);
    line-height: 1.1;
    color: #a2522a;
    letter-spacing: 0.1em;
    margin: 0 0 clamp(48px, 8vh, 100px);
    text-transform: uppercase;
}

.about__title {
    font-family: 'Nord', sans-serif;
    font-weight: 300;
    font-size: clamp(36px, 5.5vw, 48px);
    color: #020202;
    margin: 0;
    max-width: 18em;
}

.about__line {
    display: block;
}

.about__title .word {
    display: inline-block;
}

.about__line--display {
    font-size: clamp(36px, 5.5vw, 40px);
    line-height: 1.15;
    letter-spacing: 0.02em;
    margin-bottom: 0;
}

.about__title .word--pink {
    color: #a2522a;
}

.about__line--dark .word,
.about__line--display .word:not(.word--pink) {
    color: #020202;
}

.about__line--lead {
    font-family: 'Orbiter', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.5vw, 20px);
    line-height: 1.6;
    letter-spacing: normal;
    color: #020202;
    margin-top: clamp(36px, 5vh, 64px);
    max-width: 38em;
}

.about__line--lead + .about__line--lead {
    margin-top: clamp(20px, 3vh, 36px);
}

@media (max-width: 767.98px) {
    .about__line--display {
        font-size: clamp(28px, 9vw, 40px);
    }

    .about__brand {
        font-size: min(8vw, 60px);
        margin-bottom: clamp(36px, 6vh, 64px);
    }

    .about__label {
        margin-bottom: clamp(40px, 7vh, 80px);
    }

    .about__title {
        max-width: 100%;
    }
}

/* ===== 444 SERVICES ===== */
.services {
    background-color: #edecea;
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.services__video {
    width: 22%;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.services__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.services__content {
    width: 78%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(48px, 9vh, 110px) clamp(24px, 3.2vw, 56px) clamp(40px, 6vh, 80px);
    min-width: 0;
    overflow: hidden;
}

/* Motion mode (desktop): video starts fullscreen, shrinks to the left
   40% column on scroll (wemake-style pin); content sits on the right and
   title/cards enter from the left as the video edge retreats. */
@media (min-width: 1120px) {
    html.has-motion .services {
        display: block;
        height: 100vh;
        min-height: 100vh;
        position: relative;
        overflow: hidden;
    }

    html.has-motion .services__video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 5;
        flex-shrink: unset;
        will-change: width;
    }

    html.has-motion .services__content {
        position: relative;
        width: 78%;
        margin-left: 22%;
        height: 100%;
        z-index: 2;
        /* visible so title/cards can slide in from under the video edge */
        overflow: visible;
        justify-content: center;
        padding-top: clamp(56px, 11vh, 130px);
    }
}

.services__title {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(38px, calc(4.8vw - 4.5px), 74px); /* +50% solicitado */
    color: #020202;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin: 0 0 clamp(32px, 5vh, 64px);
    /* sit a bit higher — relative offset so GSAP can own transform */
    position: relative;
    top: 0;
}

.services__dot {
    color: #a2522a;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(8px, 0.9vw, 14px);
    margin-top: 0;
}

.services__card {
    background-color: #a2522a;
    color: #edecea;
    padding: clamp(14px, 1.3vw, 24px);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Proporción del mockup: más cuadrados, no alargados en vertical */
    aspect-ratio: 1.25 / 1;
    min-height: 0;
    min-width: 0;
    transition: transform 0.3s ease;
    /* card is a link to its detail page (/services/{slug}) */
    text-decoration: none;
}

.services__card:focus-visible {
    outline: 2px solid #020202;
    outline-offset: 3px;
}

.services__card:hover {
    transform: translateY(-4px);
}

.services__number {
    font-family: 'Nord', sans-serif;
    font-weight: 400;
    font-size: clamp(12px, 0.95vw, 16px);
    color: #edecea;
    letter-spacing: 0.08em;
    margin-bottom: 0;
}

.services__name {
    font-family: 'Nord', sans-serif;
    font-weight: 400;
    font-size: clamp(18px, 1.35vw, 24px);
    color: #edecea;
    letter-spacing: 0.02em;
    line-height: 1.12;
    overflow-wrap: break-word;
    min-width: 0;
    /* Número arriba, nombre centrado en el espacio restante */
    margin-top: auto;
    margin-bottom: auto;
}

/* 1120–1279: misma columna de vídeo, tarjetas en 2×2 para no comprimir el texto */
@media (min-width: 1120px) and (max-width: 1279.98px) {
    .services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .services__card {
        aspect-ratio: auto;
        min-height: clamp(190px, 16vw, 210px);
    }
}

/* ===== 555 WE WORK IN ===== */
.work-in {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    justify-content: flex-start;
    overflow: hidden;
    /* Curtain transition: slides OVER the services section below it */
    z-index: 3;
    margin-top: clamp(-64px, -6vh, -32px);
    border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
}

.work-in__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Oversized frame so y-parallax never shows gaps */
.work-in__bg img {
    position: absolute;
    top: -12%;
    left: 0;
    width: 100%;
    height: 124%;
    object-fit: cover;
    will-change: transform;
}

.work-in__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.38);
}

.work-in__content {
    position: relative;
    z-index: 2;
    text-align: left;
    padding: clamp(48px, 7vh, 90px) clamp(24px, 4vw, 64px) clamp(60px, 10vh, 120px);
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(40px, 7vh, 80px);
}

.work-in__title {
    font-family: 'Nord', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.2vw, 48px);
    color: #cec6b7;
    letter-spacing: 0.18em;
    margin: 0;
    text-align: left;
    align-self: flex-start;
    text-transform: uppercase;
    line-height: 1.2;
}

/* Single full-width row of 4 cards (mockup 555) */
.work-in__grid {
    display: flex;
    justify-content: stretch;
    align-items: stretch;
    gap: clamp(16px, 2.2vw, 36px);
    flex-wrap: nowrap;
    width: 100%;
}

.work-in__card {
    flex: 1 1 0;
    min-width: 0;
    background-color: #cec6b7;
    color: #3a372f;
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(14px, 1.15vw, 20px);
    letter-spacing: 0.08em;
    padding: clamp(40px, 6vh, 72px) clamp(16px, 1.8vw, 32px);
    min-height: clamp(120px, 16vh, 190px);
    text-align: center;
    border-radius: clamp(14px, 1.6vw, 28px);
    line-height: 1.45;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.work-in__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* ===== 666 FOOTER ===== */
.footer {
    position: relative;
    min-height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

/* Curtain transition on home: footer slides OVER the work-in section */
body.home .footer {
    z-index: 3;
    margin-top: clamp(-64px, -6vh, -32px);
    border-radius: clamp(24px, 3vw, 44px) clamp(24px, 3vw, 44px) 0 0;
}

.footer__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.footer__video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.footer__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(243, 243, 243, 0.55);
}

.footer__content {
    position: relative;
    z-index: 2;
    width: 100%;
    min-height: 90vh;
    padding: clamp(60px, 10vh, 120px) clamp(24px, 5vw, 80px) clamp(40px, 6vh, 70px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(40px, 6vh, 80px);
}

.footer__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(40px, 6vw, 100px);
    flex: 1;
}

.footer__left {
    display: flex;
    flex-direction: column;
    /* logo horizontally centered over the tagline below it */
    align-items: center;
    /* tagline sits closer under the logo */
    gap: clamp(16px, 3vh, 40px);
    max-width: min(56%, 700px);
    padding-top: clamp(8px, 2vh, 28px);
}

.footer__logo {
    width: clamp(260px, 48vw, 640px);
    height: auto;
}

.footer__tagline {
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(12px, 1vw, 16px);
    color: #020202;
    letter-spacing: 0.12em;
    line-height: 1.7;
    margin: 0;
    text-transform: uppercase;
}

.footer__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: clamp(16px, 2.5vh, 32px);
    /* drop into the mid band (aligned with left tagline / red-box zone) */
    padding-top: clamp(72px, 14vh, 160px);
}

.footer__email,
.footer__phone {
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(16px, 1.6vw, 30px);
    color: #020202;
    text-decoration: none;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: color 0.3s ease;
    text-align: right;
}

.footer__email:hover,
.footer__phone:hover {
    color: #a2522a;
}

/* Thin full-width divider near the bottom (mockup 666) — no nav links */
.footer__bottom {
    width: 100%;
    border-top: 1px solid rgba(2, 2, 2, 0.35);
    padding-top: clamp(28px, 4vh, 48px);
    margin-top: auto;
    min-height: 1px;
}

/* ===== GOTO TOP (bottom-left) ===== */
.goto-top {
    position: fixed;
    left: clamp(14px, 2vw, 28px);
    bottom: clamp(14px, 2vw, 28px);
    z-index: 95;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid rgba(2, 2, 2, 0.35);
    border-radius: 999px;
    background: rgba(232, 228, 220, 0.92);
    color: #020202;
    font-family: 'Nord', sans-serif;
    font-size: clamp(11px, 0.85vw, 13px);
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s ease,
        background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    pointer-events: none;
}

.goto-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.goto-top:hover {
    background: #a2522a;
    border-color: #a2522a;
    color: #ffffff;
}

.goto-top:focus-visible {
    outline: 2px solid #a2522a;
    outline-offset: 3px;
}

.goto-top__icon {
    display: inline-flex;
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.goto-top__icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: clamp(16px, 2vw, 32px) clamp(24px, 3vw, 48px);
    pointer-events: none;
}

/* Disable the theme's instant chrome snap-reveal when motion is on.
   Header/socials sit under the preloader; GSAP fades them in after exit. */
html.has-motion [data-animate='chrome'] {
    animation: none;
    opacity: 1;
    visibility: visible;
}

.site-header__logo {
    pointer-events: auto;
}

.site-header__logo img {
    width: clamp(56px, 5.5vw, 88px);
    height: auto;
    object-fit: contain;
}

.navbar {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: clamp(20px, 2vw, 40px);
}

.navbar__cta {
    font-family: 'Nord', sans-serif;
    font-weight: 400;
    font-size: clamp(14px, 1vw, 18px);
    color: #020202;
    background: #ffffff;
    border: 1.5px solid #020202;
    border-radius: 999px;
    padding: clamp(10px, 1vw, 16px) clamp(24px, 2vw, 40px);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.navbar__cta:hover {
    background: #a2522a;
    border-color: #a2522a;
    color: #ffffff;
}

.navbar__tools {
    display: flex;
    align-items: center;
}

.navbar__burger {
    width: clamp(40px, 3vw, 56px);
    height: clamp(40px, 3vw, 56px);
    background: #ffffff;
    border: 1.5px solid #020202;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.navbar__burger:hover {
    background: #a2522a;
    border-color: #a2522a;
}

.navbar__burger span {
    display: block;
    width: clamp(16px, 1.5vw, 22px);
    height: 2px;
    background: #020202;
    transition: background 0.3s ease;
}

.navbar__burger:hover span {
    background: #ffffff;
}

/* ===== SOCIALS (fixed right) ===== */
.socials {
    position: fixed;
    right: clamp(16px, 2vw, 32px);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 1.5vw, 24px);
    z-index: 90;
}

.socials__link {
    width: clamp(40px, 3vw, 52px);
    height: clamp(40px, 3vw, 52px);
    border-radius: 50%;
    background: rgba(2, 2, 2, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.socials__link:hover {
    background: #a2522a;
    border-color: #a2522a;
    transform: scale(1.1);
}

.socials__link img {
    width: clamp(18px, 1.5vw, 24px);
    height: clamp(18px, 1.5vw, 24px);
    object-fit: contain;
}

/* ===== MENU =====
   Overrides the legacy site-header theme menu so items always fit
   and the left logo is not cover-cropped. */
.menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #020202 !important;
    z-index: 200;
    display: flex;
    inset: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    overflow: hidden;
}

.menu.is-open {
    opacity: 1;
    visibility: visible;
}

.menu__left {
    width: 46%;
    height: 100%;
    background: #020202 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(40px, 5vw, 80px);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.menu__left img {
    position: static;
    inset: auto;
    height: auto;
    width: clamp(140px, 18vw, 280px);
    max-width: 80%;
    object-fit: contain;
    object-position: center;
}

.menu__right {
    width: 54%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    padding: clamp(48px, 5vw, 80px) clamp(32px, 5vw, 80px);
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.menu__close {
    position: absolute;
    top: clamp(24px, 3vw, 48px);
    right: clamp(24px, 3vw, 48px);
    width: clamp(44px, 3vw, 56px);
    height: clamp(44px, 3vw, 56px);
    background: none;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    z-index: 2;
    padding: 10px;
}

.menu__close:hover {
    border-color: #a2522a;
    color: #a2522a;
}

.menu__close svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    display: block;
}

.menu__nav {
    width: 100%;
    padding-left: 0;
    padding-right: clamp(0px, 4vw, 40px);
    max-width: 100%;
}

.menu__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: none;
}

.menu__nav li {
    display: block;
    border-bottom: 1px solid hsla(0, 0%, 100%, 0.22);
}

.menu__nav li:last-child {
    border-bottom: 0;
}

.menu__link {
    font-family: 'Nord', sans-serif;
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 56px);
    line-height: 1.15;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 0.04em;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block;
    /* Override legacy theme padding that pushed items off-screen */
    padding: clamp(14px, 1.8vh, 28px) 0;
}

.menu__link:hover {
    color: #a2522a;
    transform: translateX(10px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1119.98px) {
    .services {
        flex-direction: column;
    }

    .services__video {
        width: 100%;
        height: 40vh;
        min-height: 240px;
    }

    .services__content {
        width: 100%;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: clamp(40px, 8vh, 72px) clamp(20px, 5vw, 40px) clamp(48px, 8vh, 80px);
        overflow: visible;
    }

    .services__title {
        text-align: center;
        position: relative;
        top: 0;
        margin-left: auto;
        margin-right: auto;
        max-width: 14em;
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        max-width: 720px;
        margin-left: auto;
        margin-right: auto;
        justify-items: stretch;
    }

    .services__card {
        text-align: left;
        overflow: hidden;
        aspect-ratio: auto;
        min-height: clamp(160px, 28vw, 220px);
    }

    .services__number,
    .services__name {
        word-break: normal;
        overflow-wrap: break-word;
    }
}

@media (max-width: 968px) {
    .footer__content,
    .footer {
        min-height: auto;
    }

    .footer__top {
        flex-direction: column;
        gap: clamp(32px, 5vh, 48px);
    }

    .footer__left {
        max-width: 100%;
        gap: clamp(12px, 2vh, 28px);
    }

    .footer__logo {
        width: clamp(200px, 56vw, 320px);
    }

    .footer__right {
        align-items: flex-start;
    }

    .footer__email,
    .footer__phone {
        text-align: left;
    }

    /* El correo (28 caracteres en mayúsculas) se salía ~34px del viewport
       en móvil vertical: fuente más chica + corte de seguridad */
    .footer__email {
        font-size: clamp(13px, 3.8vw, 15px);
        letter-spacing: 0.03em;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .footer__right {
        min-width: 0;
        max-width: 100%;
    }

    .menu__left {
        display: none;
    }

    .menu__right {
        width: 100%;
        padding-left: clamp(24px, 8vw, 80px);
        padding-right: clamp(24px, 8vw, 80px);
    }

    .menu__link {
        font-size: clamp(30px, 8vw, 52px);
        padding: clamp(16px, 2.2vh, 28px) 0;
    }

    .work-in__content {
        justify-content: flex-start;
        padding-top: clamp(80px, 12vh, 120px);
    }

    .work-in__grid {
        flex-wrap: wrap;
    }

    .work-in__card {
        flex: 1 1 calc(50% - clamp(8px, 1.1vw, 18px));
    }
}

@media (max-width: 640px) {
    .services__grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }

    .services__card {
        text-align: center;
        min-height: clamp(140px, 36vw, 180px);
    }

    .work-in__card {
        flex: 1 1 100%;
    }

    .socials {
        display: none;
    }
}

/* ===== SERVICE DETAIL PAGE — /services/{slug} =====
   Spec: _resources_/SERVICES.pdf
   · background #edecea
   · page/service titles: NORD Bold #a2522a
   · body copy: POI ORBITER Regular #020202
   · item titles: NORD Medium #020202
   · CTA "Discuss your project": POI ORBITER Medium Italic #020202 */
.svc-page {
    display: block;
    background-color: #edecea;
    color: #020202;
    font-family: 'Orbiter', sans-serif;
    min-height: 100vh;
    padding-top: clamp(112px, 16vh, 170px);
}

.svc-page__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: min(1180px, 100%);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 56px) clamp(48px, 8vh, 96px);
}

.svc-page__back {
    align-self: flex-start;
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(11px, 0.9vw, 13px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #020202;
    text-decoration: none;
    opacity: 0.75;
    margin-bottom: clamp(36px, 7vh, 72px);
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.svc-page__back:hover {
    color: #a2522a;
    opacity: 1;
    transform: translateX(-6px);
}

.svc-page__title {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 4.6vw, 58px);
    line-height: 1.12;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    /* Explicit color: global main.css `h1 { color: var(--wp--preset--color--contrast) }` (#3d3a33) outranks inherited color */
    color: #a2522a;
    text-align: center;
    margin: 0 0 clamp(24px, 3.5vh, 40px);
    max-width: 18em;
}

.svc-page__lead {
    font-family: 'Orbiter', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.35vw, 19px);
    line-height: 1.65;
    color: #020202;
    text-align: left;
    max-width: min(720px, 100%);
    margin: 0 auto;
}

.svc-page__cta-link {
    font-family: 'Orbiter', sans-serif;
    font-weight: 500;
    font-style: italic;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.4;
    color: #020202;
    text-decoration: none;
    text-align: center;
    margin: clamp(30px, 4.5vh, 52px) 0 0;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.35s ease;
}

.svc-page__cta-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 1.5px;
    background-color: #a2522a;
    transform: translateX(-50%);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.svc-page__cta-link:hover {
    color: #a2522a;
}

.svc-page__cta-link:hover::after {
    width: 100%;
}

.svc-page__cta-link--top {
    margin: clamp(28px, 4vh, 44px) 0;
}

.svc-page__items {
    display: flex;
    flex-direction: column;
    gap: clamp(30px, 4.5vh, 46px);
    width: 100%;
    max-width: min(960px, 100%);
    margin: clamp(40px, 6vh, 64px) auto 0;
}

.svc-page__item {
    margin: 0;
}

.svc-page__item-title {
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 1.05vw, 15px);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    /* Explicit color: global main.css h2 rule (#3d3a33) outranks inherited color */
    color: #020202;
    margin: 0 0 clamp(10px, 1.4vh, 16px);
}

.svc-page__item-text {
    font-family: 'Orbiter', sans-serif;
    font-weight: 400;
    font-size: clamp(16px, 1.3vw, 19px);
    line-height: 1.6;
    color: #020202;
    margin: 0;
}

.svc-page__others {
    display: block;
    width: 100%;
    max-width: min(1180px, 100%);
    margin: 0 auto;
    padding: clamp(40px, 6vh, 72px) clamp(20px, 4vw, 56px) clamp(72px, 12vh, 140px);
    border-top: 1px solid rgba(2, 2, 2, 0.16);
}

.svc-page__others-label {
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(11px, 0.9vw, 13px);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #020202;
    opacity: 0.6;
    margin: 0 0 clamp(20px, 3vh, 32px);
}

.svc-page__others-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(12px, 1.4vw, 24px);
}

.svc-page__other {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: clamp(130px, 14vw, 190px);
    padding: clamp(20px, 2.4vw, 32px);
    background-color: rgba(2, 2, 2, 0.04);
    border: 1px solid rgba(2, 2, 2, 0.1);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.svc-page__other:hover {
    transform: translateY(-6px);
    border-color: #a2522a;
    background-color: rgba(162, 82, 42, 0.06);
}

.svc-page__other-number {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(11px, 0.9vw, 14px);
    letter-spacing: 0.12em;
    color: #a2522a;
    margin-bottom: 8px;
}

.svc-page__other-name {
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 1.1vw, 18px);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #020202;
}

.svc-page--404 .svc-page__title {
    margin-bottom: clamp(18px, 2.5vh, 28px);
}

.svc-page--404 .svc-page__lead {
    text-align: center;
}

@media (max-width: 968px) {
    .svc-page__title {
        letter-spacing: 0.06em;
    }

    .svc-page__others-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   777 MENU LIGHTBOX · HEADER "MENU" · HERO MOBILE · WORK-IN BG
   ============================================================ */

/* --- WE WORK IN: solo color de fondo (foto de cabra eliminada) --- */
.work-in__bg {
    background-color: #020202;
}

/* --- HERO mobile: video más grande, sin cortar, fondo = color del video --- */
@media (max-width: 767.98px) {
    .hero__video {
        object-fit: contain;
        display: block;
        position: absolute;
        top: 0;
        left: -14%; /* 128% de ancho, centrado sin transform (GSAP-safe) */
        width: 128%;
        max-width: none;
        height: 100%;
        background-color: transparent;
    }

    .hero__media {
        background-color: #f8f3f2; /* color real de fondo del video medido (248,243,242) */
        background-size: contain;
        background-position: center center;
        background-repeat: no-repeat;
        overflow: hidden;
    }
}

/* --- Header: a la derecha solo la palabra MENU --- */
.navbar {
    gap: 0;
    height: clamp(54px, 4.4vw, 76px);
    padding-left: clamp(22px, 1.8vw, 34px);
    padding-right: clamp(22px, 1.8vw, 34px);
}

.navbar__burger {
    align-items: center;
    justify-content: center;
    flex-direction: row;
    gap: 0;
    padding: 0;
    background: none;
    border: 0;
    /* Neutraliza el diseño legado (botón circular blanco con hamburguesa) */
    width: auto;
    height: auto;
    border-radius: 0;
    cursor: pointer;
    color: #1e1e1e;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(14px, 1vw, 17px);
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.navbar__burger:hover,
.navbar__burger:focus-visible {
    color: var(--c-accent); /* resalta el texto en marrón, sin círculo */
    background: none;
    border-color: transparent;
}

.navbar__burger:focus-visible {
    outline: 2px solid var(--c-accent);
    outline-offset: 4px;
}

/* --- Lightbox oscuro a pantalla completa --- */
.menu {
    display: block;
    background-color: #020202;
    z-index: 130;
    /* El ancho heredado (ICB sin recalcular al bloquear el scroll) dejaba una
       franja de ~10px a la derecha donde asomaba la página. Fijamos 100vw. */
    position: fixed;
    top: 0;
    left: 0;
    right: auto;
    bottom: 0;
    width: 100vw;
}

/* El tema reserva gutter de scrollbar (scrollbar-gutter: stable); al abrir el
   menú se quedaba una franja de ~10px sin pintar a la derecha. */
html.is-menu-locked {
    scrollbar-gutter: auto;
}

/* Logo centrado (todas las vistas) */
.menu__left {
    background: transparent;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.menu__left img {
    position: static;
    width: clamp(170px, 18vw, 260px); /* logo MURA cuadrado (loader, fondo transparente) */
    height: auto;
    object-fit: contain;
    object-position: center;
}

.menu__right {
    background: transparent;
    display: block;
    width: 100%;
    position: absolute;
    inset: 0;
    overflow: visible;
}

.menu__nav {
    position: absolute;
    inset: 0;
    padding: 0;
    width: 100%;
}

.menu__nav ul {
    position: absolute;
    inset: 0;
    display: block;
    margin: 0;
    padding: 0;
    max-width: none;
    list-style: none;
}

.menu__nav li {
    position: absolute;
    border: 0;
    display: block;
}

/* Posiciones — PC / tablet landscape */
.menu__nav li:nth-child(1) {
    left: clamp(24px, 5vw, 84px);
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
}

.menu__nav li:nth-child(2) {
    right: clamp(24px, 5vw, 84px);
    top: 0;
    height: 100%;
    display: flex;
    align-items: center;
    text-align: right;
}

.menu__nav li:nth-child(3) {
    left: clamp(24px, 5vw, 84px);
    bottom: clamp(28px, 6vh, 64px);
}

.menu__nav li:nth-child(4) {
    right: clamp(24px, 5vw, 84px);
    bottom: clamp(28px, 6vh, 64px);
}

/* Tipografías: secciones grandes abajo-útiles pequeñas */
.menu__nav li:nth-child(1) .menu__link,
.menu__nav li:nth-child(2) .menu__link {
    font-size: clamp(30px, 3.6vw, 64px);
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-transform: uppercase;
}

/* Laterales VERTICALES (como el mockup del usuario):
   - izquierdo: writing-mode vertical-rl + rotación 180° → se lee de abajo
     hacia arriba ("WHO" abajo), glifos hacia fuera.
   - derecho: vertical-rl → se lee de arriba hacia abajo ("WHAT" arriba),
     glifos hacia fuera. Espejo clásico. GSAP anima los <li> (translate),
     nunca los <a> — el transform del enlace no se pisa. */
.menu__nav li:nth-child(1) .menu__link {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.menu__nav li:nth-child(2) .menu__link {
    writing-mode: vertical-rl;
}

.menu__nav li:nth-child(3) .menu__link,
.menu__nav li:nth-child(4) .menu__link {
    font-size: clamp(14px, 1.1vw, 20px);
    font-weight: 500;
    letter-spacing: 0.16em;
    line-height: 1.4;
    text-transform: uppercase;
}

/* Móvil: laterales verticales a los bordes, abajo centrado y apilado */
@media (max-width: 767.98px) {
    .menu__left img {
        width: clamp(150px, 46vw, 220px);
    }

    .menu__nav li:nth-child(1) {
        left: 16px;
        top: 0;
        height: 100%;
    }

    .menu__nav li:nth-child(2) {
        right: 16px;
        top: 0;
        height: 100%;
    }

    .menu__nav li:nth-child(1) .menu__link,
    .menu__nav li:nth-child(2) .menu__link {
        font-size: clamp(20px, 6vw, 32px);
        white-space: nowrap;
    }

    .menu__nav li:nth-child(3) {
        left: 0;
        right: 0;
        bottom: calc(clamp(24px, 5vh, 44px) + 3em);
        text-align: center;
    }

    .menu__nav li:nth-child(4) {
        left: 0;
        right: 0;
        bottom: clamp(24px, 5vh, 44px);
        text-align: center;
    }

    .menu__nav li:nth-child(3) .menu__link,
    .menu__nav li:nth-child(4) .menu__link {
        font-size: clamp(14px, 4vw, 18px);
        letter-spacing: 0.16em;
    }
}

/* --- Horizontal con poca altura (móvil/tablet girado): encoger logo y
   textos en función de la altura para que nada se encime (links laterales
   vs botón cerrar, links chicos vs logo). Solo aplica en landscape bajo;
   portrait queda intacto. GSAP anima los <li>, aquí solo tamaños. --- */
@media (orientation: landscape) and (max-height: 640px) {
    .menu__left img {
        width: min(220px, 34vh);
    }

    .menu__nav li:nth-child(1) .menu__link,
    .menu__nav li:nth-child(2) .menu__link {
        font-size: clamp(14px, 5vh, 26px);
        white-space: nowrap;
    }

    /* PC/tablet landscape: links chicos en esquinas, pegados abajo */
    .menu__nav li:nth-child(3) {
        left: clamp(24px, 5vw, 84px);
        bottom: 14px;
    }

    .menu__nav li:nth-child(4) {
        right: clamp(24px, 5vw, 84px);
        bottom: 14px;
    }

    .menu__nav li:nth-child(3) .menu__link,
    .menu__nav li:nth-child(4) .menu__link {
        font-size: clamp(11px, 3.2vh, 15px);
        padding: 8px 0;
    }
}

@media (orientation: landscape) and (max-height: 640px) and (max-width: 767.98px) {
    /* Móvil horizontal: laterales más chicos y confinados a la banda media
       (76px arriba / 54px abajo) para que nunca alcancen la cruz de cerrar */
    .menu__nav li:nth-child(1),
    .menu__nav li:nth-child(2) {
        top: 76px;
        bottom: 54px;
        height: auto;
    }

    .menu__nav li:nth-child(1) .menu__link,
    .menu__nav li:nth-child(2) .menu__link {
        font-size: clamp(11px, 3.6vh, 16px);
    }

    /* Móvil horizontal: abajo centrado y apilado, con aire sobre el logo */
    .menu__nav li:nth-child(4) {
        left: 0;
        right: 0;
        bottom: 10px;
        text-align: center;
    }

    .menu__nav li:nth-child(3) {
        left: 0;
        right: 0;
        bottom: calc(10px + 2.6em);
        text-align: center;
    }
}

/* ============================================================
   778 GET IN TOUCH — dark view, cream form box, phone numbers
   ============================================================ */
body:has(.contact-hero) {
    background-color: #020202;
}

.contact-hero {
    background-color: #020202;
}

.contact-hero__form {
    background-color: #edecea;
}

.contact-form__intro {
    color: #212121;
    font-size: clamp(14px, 1.1vw, 16px);
    line-height: 1.6;
    margin: 0 0 clamp(18px, 2.6vh, 28px);
}

/* Keep input text readable on the cream box */
.contact-form__field input,
.contact-form__field textarea {
    color: #212121;
    background: transparent;
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
    color: #66635e;
    opacity: 1;
}

.contact-form__field input::-moz-placeholder,
.contact-form__field textarea::-moz-placeholder {
    color: #66635e;
    opacity: 1;
}

/* ============================================================
   FOOTER FORM — réplica del formulario de contacto en el footer.
   Izquierda: logo + texto. Derecha: formulario + correo + teléf.
   (En get-in-touch no se muestra para no duplicarlo.)
   ============================================================ */
.footer__right {
    flex: 1 1 0;
    max-width: 600px;
    min-width: 0;
}

.footer__form {
    width: 100%;
    margin-bottom: clamp(24px, 4vh, 44px);
}

.footer__form .contact-form__intro {
    color: #3a3a3a;
}

.footer__form .contact-form__field input,
.footer__form .contact-form__field textarea {
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(2, 2, 2, 0.4);
    border-radius: 0;
    color: #020202;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    outline: none;
    padding: 10px 2px;
    width: 100%;
}

.footer__form .contact-form__field input::placeholder,
.footer__form .contact-form__field textarea::placeholder {
    color: #6a6a6a;
    opacity: 1;
}

.footer__form .contact-form__field input::-moz-placeholder,
.footer__form .contact-form__field textarea::-moz-placeholder {
    color: #6a6a6a;
    opacity: 1;
}

.footer__form .contact-form__field input:focus,
.footer__form .contact-form__field textarea:focus {
    border-bottom-color: #a2522a;
}

.footer__form .contact-form__field textarea {
    min-height: 110px;
    resize: vertical;
}

.footer__form .contact-form__field--acceptance label {
    align-items: flex-start;
    cursor: pointer;
    display: flex;
    gap: 10px;
}

.footer__form .contact-form__field--acceptance input[type="checkbox"] {
    accent-color: #a2522a;
    flex: 0 0 auto;
    height: 18px;
    margin-top: 2px;
    width: 18px;
}

.footer__form .contact-form__field--acceptance span {
    color: #3a3a3a;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.footer__form .contact-form__field--acceptance a {
    color: #a2522a;
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.footer__form .contact-form__submit {
    display: flex;
    justify-content: flex-end;
    margin-top: 6px;
}

.footer__form .contact-form__submit input[type="submit"] {
    appearance: none;
    background-color: #a2522a;
    border: 0;
    border-radius: 20px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 16px;
    font-weight: 500;
    padding: 13px 48px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .footer__form .contact-form__submit input[type="submit"]:hover {
        background-color: #7e3f20;
        transform: translateY(-2px);
    }
}

.footer__form .contact-form__success,
.footer__form .contact-form__error {
    border: 1.5px solid #a2522a;
    border-radius: 12px;
    color: #020202;
    font-size: 14px;
    margin-bottom: 16px;
    padding: 12px 16px;
}

/* Loader: logo más grande */
.preloader__logo {
    width: clamp(280px, 46vw, 660px);
}

.preloader__image {
    width: clamp(140px, 18vw, 260px);
}

/* About: las citas en <em> siempre en itálica */
.about__title em {
    font-style: italic;
}

/* ===== 333 INTRO bloques IMAGEN 0..4 ===== */
.about__block {
    padding-left: clamp(24px, 5vw, 80px);
    padding-right: clamp(24px, 5vw, 80px);
}

/* IMAGEN 0 — hero centrado a pantalla casi completa */
.about__block--hero {
    min-height: 92vh;
    min-height: 92svh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: clamp(72px, 10vh, 140px);
    padding-bottom: clamp(72px, 10vh, 140px);
}

/* IMAGEN 1 y 2 — dos columnas: título + párrafos */
.about__block--story,
.about__block--care {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 96px);
    align-items: center;
    padding-top: clamp(70px, 12vh, 150px);
    padding-bottom: clamp(70px, 12vh, 150px);
}

.about__block--care {
    background-color: #55524a;
}

.about__subtitle {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(28px, 3.4vw, 46px);
    line-height: 1.14;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #020202;
    margin: 0;
}

.about__block--care .about__subtitle {
    color: #edecea;
}

.about__accent {
    color: #a2522a;
}

.about__body p {
    font-family: 'Orbiter', sans-serif;
    font-weight: 400;
    font-size: clamp(15px, 1.3vw, 19px);
    line-height: 1.7;
    letter-spacing: normal;
    color: #020202;
    margin: 0 0 1.4em;
}

.about__body p:last-child {
    margin-bottom: 0;
}

.about__block--care .about__body p {
    color: #edecea;
}

/* IMAGEN 3 — valores: 5 columnas con icono (mockup) */
.about__block--values {
    background-color: #cccbca;
    text-align: center;
    padding-top: clamp(70px, 12vh, 150px);
    padding-bottom: clamp(70px, 12vh, 150px);
    padding-left: clamp(24px, 4.2vw, 64px);
    padding-right: clamp(24px, 4.2vw, 64px);
}

.about__block--values .about__subtitle {
    margin: 0 auto clamp(48px, 9vh, 96px);
    max-width: none;
}

.about__values {
    --values-gap: clamp(26px, 2.8vw, 52px);
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 1720px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: var(--values-gap);
}

.about__value {
    flex: 1 1 0;
    min-width: 0;
    max-width: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.about__value-icon {
    display: block;
    width: clamp(76px, 6.2vw, 92px);
    height: clamp(76px, 6.2vw, 92px);
    flex: none;
    border-radius: 50%;
    overflow: hidden;
    background-color: #e4dfd3;
}

.about__value-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.055);
}

.about__value-name {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(15px, 1.5vw, 21px);
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #020202;
    margin: clamp(20px, 2.4vw, 30px) 0 0;
}

.about__value p {
    font-family: 'Orbiter', sans-serif;
    font-weight: 500;
    font-size: clamp(15px, 1.35vw, 19px);
    line-height: 1.45;
    color: #55524a;
    margin: 14px 0 0;
    max-width: 17em;
}

/* IMAGEN 4 — cierre a sangre en negro */
.about__block--closing {
    background-color: #020202;
    text-align: center;
    padding-top: clamp(90px, 16vh, 200px);
    padding-bottom: clamp(90px, 16vh, 200px);
}

.about__closing {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(18px, 2vw, 30px);
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #edecea;
    margin: 0 auto;
    max-width: 40em;
    text-wrap: balance;
}

@media (max-width: 1119.98px) {
    .about__value {
        flex: 0 1 calc((100% - 2 * var(--values-gap)) / 3);
        max-width: 320px;
    }
}

@media (max-width: 767.98px) {
    .about__block--story,
    .about__block--care {
        grid-template-columns: 1fr;
    }

    .about__block--values .about__subtitle {
        max-width: none;
    }
}

@media (max-width: 719.98px) {
    .about__value {
        flex: 0 1 calc((100% - var(--values-gap)) / 2);
    }
}

@media (max-width: 479.98px) {
    .about__values {
        --values-gap: 40px;
    }

    .about__value {
        flex: 1 1 100%;
        max-width: 340px;
    }
}

/* ============================================================
   THANK YOU — página tras enviar el formulario (línea de diseño
   del sitio: negro, crema, acento; redirect 3s + botón home)
   ============================================================ */
.thankyou {
    background-color: #020202;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: clamp(120px, 18vh, 220px) clamp(24px, 5vw, 80px) clamp(60px, 10vh, 120px);
}

.thankyou__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
}

.thankyou__label {
    font-family: 'Nord', sans-serif;
    font-weight: 500;
    font-size: clamp(13px, 1.2vw, 17px);
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: #a2522a;
    margin: 0 0 clamp(20px, 3vh, 36px);
}

.thankyou__title {
    font-family: 'Nord', sans-serif;
    font-weight: 700;
    font-size: clamp(52px, 9vw, 150px);
    line-height: 1.02;
    letter-spacing: 0.01em;
    color: #f2efe9;
    margin: 0;
}

.thankyou__lead {
    font-family: 'Orbiter', sans-serif;
    font-size: clamp(16px, 1.5vw, 22px);
    line-height: 1.6;
    color: rgba(242, 239, 233, 0.82);
    margin: clamp(20px, 3.5vh, 40px) 0 0;
    max-width: 34em;
}

.thankyou__count {
    font-family: 'Orbiter', sans-serif;
    font-size: clamp(13px, 1.1vw, 16px);
    letter-spacing: 0.06em;
    color: rgba(242, 239, 233, 0.55);
    margin: clamp(28px, 4vh, 48px) 0 0;
}

.thankyou__cta {
    display: inline-block;
    margin-top: clamp(16px, 2.5vh, 28px);
    background-color: #a2522a;
    border-radius: 999px;
    color: #fff;
    font-family: 'Nord', sans-serif;
    font-size: clamp(15px, 1.2vw, 19px);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
    padding: clamp(15px, 1.8vh, 22px) clamp(44px, 4.5vw, 72px);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
    .thankyou__cta:hover {
        background-color: #7e3f20;
        transform: translateY(-2px);
    }
}

/* ============================================================
   CONTACT TOAST — aviso de "enviando" al mandar el formulario
   (también evita dobles envíos deshabilitando el botón)
   ============================================================ */
.contact-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(16px);
    display: flex;
    align-items: center;
    gap: 10px;
    background: #1c1c1c;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    border-radius: 999px;
    padding: 13px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact-toast[hidden] {
    display: none;
}

.contact-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%);
}

.contact-toast__spinner {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    animation: contact-spin 0.7s linear infinite;
}

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

/* Password policy checklist (admin user form) */
.pw-hints {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: grid;
    gap: 4px;
    font-size: 12.5px;
    color: #666;
}

.pw-hints li::before {
    content: "\25CB\00A0";
}

.pw-hints li.is-ok {
    color: #1e7e34;
}

.pw-hints li.is-ok::before {
    content: "\2713\00A0";
}
