/* ========================================
   Bel Esponda — Premium layer (Fase 1)
   ======================================== */

:root {
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out-soft: cubic-bezier(0.33, 1, 0.68, 1);
    --space-section: clamp(5rem, 11vw, 8.5rem);
    --nav-height: 88px;
    --shadow-soft: 0 20px 60px rgba(45, 52, 28, 0.1);
    --shadow-elevated: 0 32px 80px rgba(45, 52, 28, 0.14);
    --text-on-hero: rgba(255, 255, 255, 0.92);
    --text-on-hero-muted: rgba(255, 255, 255, 0.78);
}

/* —— Navigation premium —— */
.navbar {
    padding: 0;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(232, 229, 224, 0.8);
    overflow: visible;
    transition:
        background 0.55s var(--ease-premium),
        border-color 0.55s var(--ease-premium),
        box-shadow 0.55s var(--ease-premium);
}

.navbar.navbar--over-hero:not(.scrolled) {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
    box-shadow: none;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: var(--nav-height);
}

.nav-end {
    display: flex;
    align-items: center;
    gap: 2.25rem;
    flex-shrink: 0;
}

.navbar.navbar--over-hero:not(.scrolled) .logo-main,
.navbar.navbar--over-hero:not(.scrolled) .logo-sub {
    color: #fff;
    text-shadow: 0 1px 24px rgba(0, 0, 0, 0.25);
}

.navbar.navbar--over-hero:not(.scrolled) .nav-menu > li > a {
    color: var(--text-on-hero);
}

.navbar.navbar--over-hero:not(.scrolled) .nav-menu > li > a::after {
    background: rgba(255, 255, 255, 0.85);
}

.navbar.navbar--over-hero:not(.scrolled) .nav-menu > li > a:hover,
.navbar.navbar--over-hero:not(.scrolled) .nav-menu > li > a.active {
    color: #fff;
}

.navbar.navbar--over-hero:not(.scrolled) .dropdown > a i {
    color: inherit;
}

.navbar.navbar--over-hero:not(.scrolled) .mobile-menu-btn span {
    background: #fff;
}

.navbar.scrolled {
    box-shadow: var(--shadow-soft);
}

.logo {
    padding: 0.5rem 0;
}

.logo-main {
    font-size: 1.65rem;
    letter-spacing: 0.02em;
    transition: color 0.45s var(--ease-premium);
}

.logo-sub {
    font-size: 1.05rem;
    transition: color 0.45s var(--ease-premium);
}

.nav-menu {
    gap: clamp(1.5rem, 2.8vw, 2.35rem);
}

.nav-menu a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.14em;
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--green-medium);
    border: 1px solid transparent;
    border-radius: 100px;
    white-space: nowrap;
    transition:
        background 0.45s var(--ease-premium),
        transform 0.45s var(--ease-premium),
        box-shadow 0.45s var(--ease-premium),
        color 0.45s var(--ease-premium);
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(85, 99, 48, 0.35);
    color: #fff;
}

.nav-menu-cta {
    display: none;
}

.navbar.navbar--over-hero:not(.scrolled) .nav-cta {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(8px);
}

.navbar.navbar--over-hero:not(.scrolled) .nav-cta:hover {
    background: rgba(255, 255, 255, 0.24);
    border-color: rgba(255, 255, 255, 0.7);
}

/* —— Hero cinematográfico —— */
.hero-cinematic {
    position: relative;
    min-height: 100svh;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
}

.hero-cinematic__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cinematic__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
    transform: scale(1.06);
    will-change: transform;
}

.hero-cinematic__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(35, 40, 28, 0.35) 0%, rgba(35, 40, 28, 0.08) 38%, rgba(35, 40, 28, 0.55) 100%),
        linear-gradient(90deg, rgba(35, 40, 28, 0.45) 0%, transparent 55%);
    z-index: 1;
}

.hero-cinematic__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 3rem) var(--container-pad-x) 5rem;
    animation: heroReveal 1.2s var(--ease-premium) both;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(28px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-cinematic__eyebrow {
    margin: 0 0 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--text-on-hero-muted);
}

.hero-cinematic__title {
    margin: 0 0 1.25rem;
    max-width: min(18ch, 100%);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.75rem, 6.5vw, 4.75rem);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: #fff;
    text-wrap: balance;
}

.hero-cinematic__title em {
    font-style: italic;
    font-weight: 300;
}

.hero-cinematic__sub {
    margin: 0 0 2.5rem;
    max-width: 42ch;
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    line-height: 1.65;
    color: var(--text-on-hero-muted);
}

.hero-cinematic__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-dark);
    background: #fff;
    border: none;
    border-radius: 100px;
    transition:
        transform 0.45s var(--ease-premium),
        box-shadow 0.45s var(--ease-premium),
        background 0.45s var(--ease-premium);
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    background: var(--accent-color);
    color: var(--green-dark);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 100px;
    backdrop-filter: blur(6px);
    transition:
        transform 0.45s var(--ease-premium),
        border-color 0.45s var(--ease-premium),
        background 0.45s var(--ease-premium);
}

.btn-hero-ghost:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Hero páginas internas (ej. Sobre mí) */
.hero-cinematic--page {
    min-height: min(92svh, 880px);
    min-height: min(92vh, 880px);
    align-items: flex-end;
}

.hero-cinematic--page .hero-cinematic__img {
    object-position: center 40%;
    transform: scale(1);
}

.hero-cinematic--page .hero-cinematic__content {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    text-align: left;
}

.hero-cinematic--page .hero-cinematic__inner {
    text-align: left;
}

.hero-cinematic--page .hero-cinematic__title {
    max-width: min(16ch, 100%);
    font-size: clamp(2.5rem, 6vw, 4.25rem);
}

.hero-cinematic__role {
    margin: 0 0 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.65rem, 1.5vw, 0.75rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
}

.hero-cinematic--page .hero-cinematic__role {
    max-width: 52ch;
}

.hero-cinematic__bio {
    max-width: 46ch;
    margin-bottom: 2rem;
}

.hero-cinematic--page .hero-cinematic__bio {
    max-width: 62ch;
}

.hero-cinematic--page .hero-cinematic__actions {
    justify-content: flex-start;
}

.hero-cinematic__bio p {
    margin: 0 0 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.95rem, 1.8vw, 1.0625rem);
    font-weight: 300;
    line-height: 1.7;
    color: var(--text-on-hero-muted);
}

.hero-cinematic__bio p:last-child {
    margin-bottom: 0;
}

.btn-hero-primary--brand {
    color: #fff;
    background: var(--green-medium);
}

.btn-hero-primary--brand:hover {
    color: #fff;
    background: var(--green-dark);
}

.btn-hero-primary--brand:hover {
    color: #fff;
    background: var(--green-dark);
}

/* Hero home — misma altura que páginas internas (ej. Sobre mí) */
.hero-cinematic--home {
    min-height: min(92svh, 880px);
    min-height: min(92vh, 880px);
    align-items: flex-end;
}

.hero-cinematic--home .hero-cinematic__img {
    object-position: 62% 50%;
    transform: scale(1);
    filter: contrast(1.12) saturate(1.1) brightness(0.9);
    animation: heroHomeKenBurns 22s var(--ease-out-soft) forwards;
}

.hero-cinematic--home .hero-cinematic__overlay {
    background:
        radial-gradient(ellipse 80% 70% at 65% 40%, transparent 35%, rgba(12, 16, 8, 0.22) 100%),
        linear-gradient(180deg, transparent 38%, rgba(28, 32, 18, 0.42) 100%),
        linear-gradient(90deg, rgba(28, 32, 18, 0.48) 0%, transparent 42%);
}

@keyframes heroHomeKenBurns {
    from {
        transform: scale(1);
    }
    to {
        transform: scale(1.02);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cinematic--home .hero-cinematic__img {
        animation: none;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .hero-cinematic--home .hero-cinematic__img {
        object-position: 58% 46%;
    }
}

/* Misma columna de texto que Sobre mí: altura de bloque equivalente para alinear el inicio del eyebrow */
.hero-cinematic--home .hero-cinematic__inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: clamp(360px, 54vh, 540px);
    box-sizing: border-box;
}

.hero-cinematic--home .hero-cinematic__eyebrow,
.hero-cinematic--home .hero-cinematic__sub {
    text-shadow: 0 1px 14px rgba(0, 0, 0, 0.38);
}

.hero-cinematic--home .hero-cinematic__title {
    max-width: min(18ch, 100%);
    font-weight: 500;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.32);
}

.hero-cinematic--home .hero-cinematic__sub {
    margin-bottom: 1.75rem;
}

.hero-cinematic--home .hero-cinematic__scroll {
    display: none;
}

/* —— Home: tarjetas de servicios —— */
.home-service-tiles {
    padding: clamp(1.25rem, 2.5vw, 2rem) 0 clamp(2rem, 4vw, 3rem);
    background: var(--accent-color);
}

.home-service-tiles__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(8px, 1.2vw, 12px);
}

.home-service-tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 16 / 10;
    min-height: clamp(152px, 19vw, 210px);
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 20px rgba(45, 52, 28, 0.08);
    transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}

.home-service-tile > img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    filter: contrast(1.18) saturate(1.12) brightness(0.82);
    transition: transform 0.9s var(--ease-premium), filter 0.9s var(--ease-premium);
}

.home-service-tile__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 85% 65% at 50% 32%, transparent 42%, rgba(18, 22, 12, 0.28) 100%),
        linear-gradient(
            180deg,
            rgba(18, 22, 12, 0.12) 0%,
            transparent 42%,
            rgba(18, 22, 12, 0.38) 68%,
            rgba(18, 22, 12, 0.88) 100%
        );
    transition: opacity 0.45s var(--ease-premium);
}

.home-service-tile__content {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0 1.25rem clamp(0.85rem, 2vw, 1.15rem);
    text-align: center;
}

.home-service-tile__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2.2vw, 1.85rem);
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.home-service-tile__decor {
    display: block;
    width: clamp(32px, 4.5vw, 42px);
    margin: 0.35rem 0 0.5rem;
    color: rgba(255, 255, 255, 0.85);
}

.home-service-tile__decor svg {
    display: block;
    width: 100%;
    height: auto;
}

.home-service-tile__link {
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    transition: color 0.35s var(--ease-premium), letter-spacing 0.35s var(--ease-premium);
}

.home-service-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(45, 52, 28, 0.14);
}

.home-service-tile:hover > img {
    transform: scale(1.1);
    filter: contrast(1.22) saturate(1.15) brightness(0.88);
}

.home-service-tile:hover .home-service-tile__link {
    color: #fff;
    letter-spacing: 0.2em;
}

/* —— Home: CTA fino —— */
.home-cta-strip {
    padding: 0 0 clamp(3rem, 6vw, 4.5rem);
    background: var(--accent-color);
}

.home-cta-strip__inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1.25rem, 3vw, 2.5rem);
    padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.18);
    border-radius: 6px;
    box-shadow: 0 4px 24px rgba(45, 52, 28, 0.04);
}

.home-cta-strip__decor {
    flex-shrink: 0;
    width: clamp(48px, 6vw, 72px);
}

.home-cta-strip__decor img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
}

.home-cta-strip__copy {
    min-width: 0;
}

.home-cta-strip__title {
    margin: 0 0 0.35rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 500;
    font-style: italic;
    line-height: 1.2;
    color: var(--green-dark);
}

.home-cta-strip__lead {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    line-height: 1.55;
    color: rgba(45, 52, 28, 0.72);
}

.home-cta-strip__actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-shrink: 0;
}

.home-cta-strip__btn {
    white-space: nowrap;
    padding: 0.9rem 1.35rem;
    font-size: 0.68rem;
}

.home-cta-strip__wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    color: var(--green-medium);
    border: 1px solid rgba(107, 124, 63, 0.25);
    background: rgba(107, 124, 63, 0.06);
    font-size: 1.35rem;
    transition:
        background 0.35s var(--ease-premium),
        color 0.35s var(--ease-premium),
        border-color 0.35s var(--ease-premium),
        transform 0.35s var(--ease-premium);
}

.home-cta-strip__wa:hover {
    color: #fff;
    background: var(--green-medium);
    border-color: var(--green-medium);
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .home-service-tiles__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-cta-strip__inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
    }

    .home-cta-strip__actions {
        grid-column: 1 / -1;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 640px) {
    .home-service-tiles__grid {
        grid-template-columns: 1fr;
    }

    .home-service-tile {
        aspect-ratio: 16 / 10;
    }

    .home-cta-strip {
        padding-bottom: clamp(1.25rem, 3vw, 1.75rem);
    }

    .home-cta-strip__inner {
        grid-template-columns: auto 1fr;
        grid-template-rows: auto auto;
        gap: 0.5rem 0.75rem;
        padding: 0.85rem 1rem;
        text-align: left;
        align-items: center;
    }

    .home-cta-strip__decor {
        grid-row: 1 / 3;
        width: 36px;
        margin: 0;
    }

    .home-cta-strip__copy {
        grid-column: 2;
    }

    .home-cta-strip__title {
        font-size: 1.2rem;
        margin-bottom: 0.15rem;
    }

    .home-cta-strip__lead {
        font-size: 0.78rem;
        line-height: 1.4;
    }

    .home-cta-strip__actions {
        grid-column: 2;
        flex-direction: row;
        justify-content: flex-start;
        width: auto;
        gap: 0.5rem;
    }

    .home-cta-strip__btn {
        width: auto;
        padding: 0.6rem 0.85rem;
        font-size: 0.6rem;
    }

    .home-cta-strip__wa {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.05rem;
    }
}

body.page-inner.page-home .hero-cinematic--page + .page-approach {
    background: var(--white);
}

.hero-cinematic__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    transition: color 0.35s ease;
}

.hero-cinematic__scroll:hover {
    color: #fff;
}

.hero-cinematic__scroll i {
    font-size: 0.85rem;
    animation: scrollHint 2s var(--ease-out-soft) infinite;
}

@keyframes scrollHint {
    0%, 100% { transform: translateY(0); opacity: 0.7; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* —— Footer minimal —— */
.site-footer {
    background: var(--accent-color);
    color: rgba(45, 52, 28, 0.62);
    padding: clamp(1rem, 2.5vw, 1.35rem) 0;
    border-top: 1px solid rgba(107, 124, 63, 0.12);
}

.site-footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.25rem;
}

.site-footer__brand-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem 0.75rem;
}

.site-footer__logo {
    padding: 0;
    text-decoration: none;
}

.site-footer__logo .logo-main,
.site-footer__logo .logo-sub {
    color: var(--green-dark);
    transition: color 0.35s var(--ease-premium);
}

.site-footer__logo:hover .logo-main,
.site-footer__logo:hover .logo-sub {
    color: var(--green-medium);
}

.site-footer__sep {
    opacity: 0.45;
    font-weight: 300;
    color: var(--green-medium);
    font-size: 0.85rem;
}

.site-footer__location {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(85, 99, 48, 0.72);
}

.site-footer__social {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.site-footer__social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: none;
    color: rgba(45, 52, 28, 0.5);
    font-size: 0.95rem;
    background: transparent;
    transition:
        color 0.35s var(--ease-premium),
        transform 0.35s var(--ease-premium);
}

.site-footer__social a:hover {
    color: var(--green-medium);
    transform: translateY(-1px);
}

/* WhatsApp float — más discreto */
.whatsapp-float {
    animation: none;
    background: rgba(37, 211, 102, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.whatsapp-float:hover {
    transform: scale(1.05);
}

/* WhatsApp float — más discreto */
body.nav-mobile-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    :root {
        --nav-height: 72px;
    }

    .nav-end {
        gap: 0;
        flex: 1;
        justify-content: flex-end;
    }

    .mobile-menu-btn {
        margin-left: auto;
        position: relative;
        z-index: 1002;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
    }

    .mobile-menu-btn span {
        display: block;
        transition: transform 0.35s var(--ease-premium), opacity 0.25s ease;
    }

    /* Hamburguesa → X al abrir */
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Panel pantalla completa bajo la barra — scroll táctil sin barra visible */
    .nav-menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100dvh - var(--nav-height));
        height: calc(100svh - var(--nav-height));
        max-height: none;
        margin: 0;
        transform: none;
        opacity: 0;
        visibility: hidden;
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 1001;
        background: var(--accent-color);
        padding: 12px var(--container-pad-x) 2.5rem;
        transition: opacity 0.3s var(--ease-premium), visibility 0.3s var(--ease-premium);
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .nav-menu:not(.active) {
        pointer-events: none;
    }

    .nav-menu.active {
        transform: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .dropdown.active .dropdown-menu {
        max-height: none;
    }

    .nav-cta {
        display: none;
    }

    .nav-menu-cta {
        display: list-item;
    }

    .nav-menu.active ~ .nav-cta,
    .nav-shell .nav-cta--mobile {
        display: none;
    }

    .hero-cinematic__content {
        padding-bottom: 4.5rem;
    }

    .hero-cinematic__title {
        max-width: none;
    }

    .hero-cinematic--page,
    .hero-cinematic--home {
        min-height: 100svh;
        min-height: 100dvh;
    }

    .hero-cinematic--home .hero-cinematic__inner {
        min-height: clamp(300px, 48vh, 460px);
    }

    .hero-cinematic--page .hero-cinematic__bio {
        max-width: none;
    }

    .hero-cinematic__actions {
        flex-direction: column;
    }

    .btn-hero-primary,
    .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }

    .hero-cinematic__scroll {
        display: none;
    }

    .site-footer__inner {
        flex-direction: column;
        text-align: center;
        justify-content: center;
    }

    .site-footer__brand-wrap {
        justify-content: center;
    }

    /* Menú móvil sobre hero: barra + panel unificados al abrir */
    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) {
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-bottom-color: rgba(232, 229, 224, 0.9);
        box-shadow: var(--shadow-soft);
    }

    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .logo-main,
    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .logo-sub {
        color: var(--green-dark);
        text-shadow: none;
    }

    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .mobile-menu-btn span {
        background: var(--green-dark);
    }

    /* Panel desplegable: fondo claro sólido sobre el hero (arriba de la página) */
    .navbar.navbar--over-hero:not(.scrolled) .nav-menu.active {
        background: rgba(250, 249, 246, 0.98);
        border-bottom: 1px solid rgba(232, 229, 224, 0.9);
        box-shadow: 0 12px 28px rgba(45, 52, 28, 0.1);
    }

    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .nav-menu > li > a {
        color: var(--text-color);
        text-shadow: none;
    }

    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .nav-menu > li > a::after {
        background: var(--green-medium);
    }

    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .nav-menu > li > a:hover,
    .navbar.navbar--over-hero.nav-menu-open:not(.scrolled) .nav-menu > li > a.active {
        color: var(--green-dark);
    }

    .navbar.navbar--over-hero:not(.scrolled) .nav-menu.active .nav-menu-cta .nav-cta {
        color: #fff;
        background: var(--green-medium);
        border-color: var(--green-medium);
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .navbar.navbar--over-hero:not(.scrolled) .nav-menu.active .nav-menu-cta .nav-cta:hover {
        color: #fff;
        background: var(--green-dark);
        border-color: var(--green-dark);
    }

    .nav-menu.active {
        padding-bottom: 1.5rem;
    }

    .nav-menu-cta {
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--border-color);
    }

    .nav-menu-cta .nav-cta {
        display: flex;
        width: 100%;
        justify-content: center;
    }
}

/* Home: menos aire entre secciones */
body.page-home {
    --space-section: clamp(3.25rem, 7.5vw, 5.75rem);
}

body.page-home .section-header {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

body.page-home .services-cards-footer {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

body.page-home .home-masonry-wrap {
    margin-bottom: 2rem;
}

body.page-home .testimonials-dots {
    margin-top: clamp(1.5rem, 3vw, 2rem);
}

/* Páginas internas: nav siempre con fondo */
body:not(.page-home) .navbar {
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* ========================================
   Fase 2 — Home editorial
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition:
        opacity 0.9s var(--ease-premium),
        transform 0.9s var(--ease-premium);
}

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

.section-eyebrow {
    margin: 0 0 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--green-medium);
}

.section-header--left {
    text-align: left;
    max-width: 36rem;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-header--left h2 {
    margin-bottom: 0.75rem;
}

.section-header--left p {
    margin: 0;
}

.section-title-italic {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 600;
    font-style: normal;
    color: var(--green-dark);
    line-height: 1.15;
}

.section-title-italic em {
    font-style: italic;
    font-weight: 300;
}

.link-underline {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.link-underline:hover {
    color: var(--green-medium);
}

/* —— About 2 columnas —— */
.home-about {
    position: relative;
    padding: var(--space-section) 0;
    background: var(--white);
    overflow: hidden;
}

.home-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.home-about__media {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 5;
}

.home-about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-about__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--green-dark);
    margin: 0 0 1.5rem;
}

.home-about__title em {
    font-style: italic;
    font-weight: 300;
}

.home-about__body p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.home-about__link {
    display: inline-block;
    margin-top: 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-dark);
    border-bottom: 1px solid var(--green-medium);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.home-about__link:hover {
    color: var(--green-medium);
    border-color: var(--green-dark);
}

.home-about__decor {
    position: absolute;
    right: clamp(1rem, 4vw, 3rem);
    bottom: 10%;
    width: 80px;
    color: var(--green-medium);
    pointer-events: none;
    opacity: 0.6;
}

/* —— Experiencias 3 cards —— */
.home-services-cards {
    padding: var(--space-section) 0;
    background: var(--accent-color);
}

.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
}

.service-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 52, 28, 0.06);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}

.service-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.service-card__image {
    display: block;
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.service-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-premium);
}

.service-card:hover .service-card__image img {
    transform: scale(1.04);
}

.service-card__body {
    padding: clamp(1.25rem, 2.5vw, 1.75rem);
    text-align: center;
}

.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-bottom: 0.75rem;
    border-radius: 50%;
    background: rgba(107, 124, 63, 0.1);
    color: var(--green-medium);
    font-size: 0.95rem;
}

.service-card__body h3 {
    margin: 0 0 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--green-dark);
}

.service-card__body p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-color);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-medium);
    transition: gap 0.3s ease, color 0.3s ease;
}

.service-card__link:hover {
    gap: 0.6rem;
    color: var(--green-dark);
}

.services-cards-footer {
    text-align: center;
    margin: clamp(2rem, 4vw, 3rem) 0 0;
}

/* —— Portfolio masonry —— */
.home-masonry-section {
    padding: var(--space-section) 0;
    background: var(--accent-color);
}

.home-masonry-wrap {
    margin-bottom: 3rem;
}

.home-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: clamp(12px, 2vw, 18px);
    width: 100%;
}

.home-masonry__item {
    display: block;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 8px 28px rgba(45, 52, 28, 0.08);
}

.home-masonry__item--tall {
    grid-row: span 2;
}

.home-masonry__item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.9s var(--ease-premium);
}

.home-masonry__item--tall img {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.home-masonry__item:hover img {
    transform: scale(1.03);
}

.btn-outline--premium {
    padding: 1rem 2.25rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* —— Testimonios minimalistas —— */
.home-testimonials {
    padding: var(--space-section) 0;
    background: var(--accent-color);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: clamp(1.75rem, 3vw, 2.25rem);
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.08);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(45, 52, 28, 0.04);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.testimonial-card__mark {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    line-height: 1;
    color: var(--green-medium);
    opacity: 0.35;
    margin-bottom: 0.25rem;
}

.testimonial-card__quote {
    margin: 0;
    border: none;
    padding: 0;
    flex: 1;
}

.testimonial-card__quote p {
    margin: 0 0 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--green-dark);
    font-weight: 400;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    margin-top: auto;
}

.testimonial-card__author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(107, 124, 63, 0.12);
}

.testimonial-card__author cite {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    font-style: normal;
    color: var(--green-dark);
    letter-spacing: 0.04em;
}

.testimonial-card__author span {
    display: block;
    margin-top: 0.15rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: clamp(2rem, 4vw, 3rem);
}

.testimonials-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(107, 124, 63, 0.25);
}

.testimonials-dots span.is-active {
    background: var(--green-medium);
    transform: scale(1.15);
}

/* —— CTA full-bleed —— */
.home-cta-banner {
    position: relative;
    min-height: min(70vh, 560px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.home-cta-banner__bg {
    position: absolute;
    inset: 0;
}

.home-cta-banner__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.home-cta-banner__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(45, 52, 28, 0.35) 0%,
        rgba(85, 99, 48, 0.78) 55%,
        rgba(85, 99, 48, 0.88) 100%
    );
}

.home-cta-banner__content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: clamp(4rem, 10vw, 6rem) 1.5rem;
    color: #fff;
}

.home-cta-banner__content h2 {
    margin: 0 0 1rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5.5vw, 4rem);
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
}

.home-cta-banner__content h2 em {
    font-style: italic;
    font-weight: 300;
}

.home-cta-banner__content p {
    margin: 0 auto 2rem;
    max-width: 42ch;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.88);
}

.home-cta-banner__content > .btn-hero-primary {
    margin: 0 auto;
}

.home-cta-banner .page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

.home-cta-banner .page-cta-actions .btn-hero-primary,
.home-cta-banner .page-cta-actions .btn-hero-ghost {
    margin: 0;
}

.home-cta-banner .page-cta-actions .btn-hero-primary {
    gap: 0.5rem;
}

@media (min-width: 768px) {
    .home-masonry {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .home-about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .home-about__decor {
        display: none;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .home-about__body {
        text-align: center;
    }

    .home-about__link {
        display: inline-block;
    }
}

/* ========================================
   Páginas internas — premium
   ======================================== */
body.page-inner {
    --space-section: clamp(3.25rem, 7.5vw, 5.75rem);
}

body.page-inner .section-header {
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.page-section {
    padding: var(--space-section) 0;
}

.page-hero {
    margin-top: var(--nav-height);
    padding: clamp(3rem, 8vw, 4.5rem) 0;
    background: var(--accent-color);
    text-align: center;
}

.page-hero__inner {
    max-width: 40rem;
    margin: 0 auto;
}

.page-hero__title {
    margin: 0 0 0.75rem;
}

.page-hero__title.section-title-italic {
    font-size: clamp(2.65rem, 5.5vw, 3.85rem);
    line-height: 1.08;
}

.page-hero__lead {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.0625rem;
    font-weight: 300;
    line-height: 1.65;
    color: var(--secondary-color);
}

.page-inner .home-about {
    background: var(--white);
}

.page-approach {
    background: var(--accent-color);
}

.page-approach__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: center;
}

.page-approach__body p {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.page-approach__body .section-title-italic {
    margin-bottom: 1.5rem;
}

.page-approach__closing {
    margin: clamp(2rem, 4vw, 2.75rem) 0 0;
    padding: clamp(1.25rem, 2.5vw, 1.75rem) 0 0;
    border: none;
    border-top: 1px solid rgba(107, 124, 63, 0.22);
}

.page-approach__closing p {
    margin: 0;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.75rem, 3.5vw, 2.35rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--green-dark);
}

.page-approach__closing em {
    font-style: italic;
    font-weight: 600;
}

.page-approach__media {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 5;
}

.page-approach__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

@media (max-width: 992px) {
    .page-approach__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .page-approach__body {
        order: 1;
    }

    .page-approach__media {
        order: 0;
    }
}

@media (max-width: 768px) {
    .page-approach__body {
        text-align: center;
    }

    .page-cta-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }

    .page-cta-actions .btn-hero-primary,
    .page-cta-actions .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* —— Contacto —— */
.page-hero__inner--wide {
    max-width: 48rem;
}

.page-contact {
    background: var(--white);
}

.page-contact__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.page-contact__form .section-title-italic {
    margin-bottom: 1rem;
}

.page-contact__intro {
    margin: 0 0 1.5rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
    max-width: 52ch;
}

.page-contact__channels {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0 0 2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.page-contact__channels a,
.page-contact__channels span {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--green-dark);
    transition: color 0.3s ease;
}

.page-contact__channels a:hover {
    color: var(--green-medium);
}

.page-contact__channels i {
    width: 1.1rem;
    color: var(--green-medium);
    text-align: center;
}

.contact-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-form--premium {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form--premium .form-group {
    margin: 0;
}

.contact-form--premium input,
.contact-form--premium textarea,
.contact-form--premium select {
    padding: 1rem 1.15rem;
    border: 1px solid rgba(107, 124, 63, 0.15);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    background: var(--accent-color);
    transition:
        border-color 0.35s var(--ease-premium),
        background 0.35s var(--ease-premium),
        box-shadow 0.35s var(--ease-premium);
}

.contact-form--premium input:focus,
.contact-form--premium textarea:focus,
.contact-form--premium select:focus {
    outline: none;
    border-color: var(--green-medium);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(107, 124, 63, 0.12);
}

.contact-form--premium textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form__submit {
    align-self: flex-start;
    margin-top: 0.5rem;
    cursor: pointer;
    border: none;
}

.contact-form__message {
    padding: 1rem 1.15rem;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form__message.is-success {
    background: rgba(107, 124, 63, 0.12);
    color: var(--green-dark);
    border: 1px solid rgba(107, 124, 63, 0.25);
}

.contact-form__message.is-error {
    background: rgba(180, 60, 60, 0.08);
    color: #7a2e2e;
    border: 1px solid rgba(180, 60, 60, 0.2);
}

.page-contact__media {
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 5;
}

.page-contact__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .page-contact__grid {
        grid-template-columns: 1fr;
    }

    .page-contact__media {
        position: static;
        order: -1;
        max-width: 420px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .page-contact__intro {
        max-width: none;
    }

    .page-contact__form {
        text-align: center;
    }

    .page-contact__channels {
        align-items: center;
    }

    .contact-form__submit {
        align-self: center;
        width: 100%;
        justify-content: center;
    }
}

/* —— Información: valores, acuerdos, FAQ —— */
.page-pricing {
    background: var(--accent-color);
}

.page-pricing__header {
    max-width: 40rem;
    margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
    text-align: center;
}

.page-pricing__header .section-title-italic {
    margin-bottom: 0.75rem;
}

.page-pricing__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    align-items: stretch;
}

.pricing-card {
    display: flex;
    flex-direction: column;
    position: relative;
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.12);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(45, 52, 28, 0.06);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}

.pricing-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-4px);
}

.pricing-card--featured {
    border-color: var(--green-medium);
    box-shadow: var(--shadow-soft);
}

@media (min-width: 993px) {
    .pricing-card--featured {
        transform: translateY(-0.5rem);
    }

    .pricing-card--featured:hover {
        transform: translateY(-0.85rem);
    }
}

.pricing-card__media {
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.pricing-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-premium);
}

.pricing-card:hover .pricing-card__media img {
    transform: scale(1.04);
}

.pricing-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: clamp(1.35rem, 2.5vw, 1.75rem);
    text-align: center;
}

.pricing-card__badge {
    align-self: center;
    margin: -0.35rem 0 0.65rem;
    padding: 0.35rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #fff;
    background: var(--green-medium);
    border-radius: 100px;
    white-space: nowrap;
}

.pricing-card__name {
    margin: 0 0 0.35rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 600;
    color: var(--green-dark);
    line-height: 1.15;
}

.pricing-card__subtitle {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--secondary-color);
    font-style: italic;
}

.pricing-card__duration {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0 0 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--green-medium);
}

.pricing-card__duration i {
    font-size: 0.75rem;
}

.pricing-card__price {
    margin: 0 0 1.15rem;
    padding-bottom: 1.15rem;
    border-bottom: 1px solid var(--border-color);
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 2.65rem);
    font-weight: 600;
    color: var(--green-medium);
    line-height: 1;
}

.pricing-card--featured .pricing-card__price {
    border-bottom-color: rgba(107, 124, 63, 0.2);
}

.pricing-card__features {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
    flex: 1;
    text-align: left;
}

.pricing-card__features li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 0.7rem;
    font-size: 0.92rem;
    line-height: 1.55;
    color: var(--text-color);
}

.pricing-card__features li:last-child {
    margin-bottom: 0;
}

.pricing-card__features i {
    color: var(--green-medium);
    margin-top: 0.2rem;
    flex-shrink: 0;
    font-size: 0.75rem;
}

.pricing-card__cta {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: auto;
}

.page-pricing-includes {
    background: var(--white);
    text-align: center;
}

.page-pricing-includes__inner {
    max-width: 44rem;
    margin: 0 auto;
}

.page-pricing-includes__inner .section-title-italic {
    margin-bottom: 1.5rem;
}

.pricing-includes__list {
    list-style: none;
    margin: 0 0 1.5rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.pricing-includes__list li {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0.65rem;
    font-size: 1.02rem;
    line-height: 1.6;
    color: var(--text-color);
}

.pricing-includes__list i {
    margin-top: 0.25rem;
    color: var(--green-medium);
    flex-shrink: 0;
}

.page-pricing-includes__links {
    margin: 0;
    font-size: 0.95rem;
    color: var(--secondary-color);
}

.page-pricing-includes__links span {
    margin: 0 0.5rem;
    opacity: 0.5;
}

.page-inner .home-cta-banner__content h2 em {
    font-style: italic;
    font-weight: 300;
}

.page-info {
    background: var(--accent-color);
}

.page-info__layout {
    display: grid;
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: start;
}

.page-info__aside {
    position: sticky;
    top: calc(var(--nav-height) + 1.5rem);
}

.page-info__intro {
    margin: 0 0 1.75rem;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.page-info__aside .section-title-italic {
    margin-bottom: 1rem;
}

.page-info__media {
    overflow: hidden;
    border-radius: 4px;
    box-shadow: var(--shadow-soft);
    aspect-ratio: 4 / 5;
}

.page-info__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-info__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.info-card {
    padding: clamp(1.35rem, 2.5vw, 1.75rem);
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.12);
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(45, 52, 28, 0.05);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}

.info-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

.info-card--wide {
    grid-column: 1 / -1;
    max-width: calc(50% + 0.75rem);
    justify-self: center;
    width: 100%;
}

.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(107, 124, 63, 0.1);
    color: var(--green-medium);
    font-size: 1rem;
}

.info-card__title {
    margin: 0 0 0.85rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    color: var(--green-dark);
    line-height: 1.2;
}

.info-card p {
    margin: 0 0 0.75rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-color);
}

.info-card p:last-child {
    margin-bottom: 0;
}

.page-faq {
    background: var(--accent-color);
}

.page-faq__layout {
    display: flex;
    flex-direction: column;
    gap: clamp(2rem, 4vw, 3rem);
}

.page-faq__intro {
    max-width: 40rem;
}

.page-faq__intro .section-title-italic {
    margin-bottom: 0.75rem;
}

.page-faq__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-color);
}

.page-faq__columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1.5rem, 4vw, 2.5rem);
    align-items: start;
}

.page-faq__column {
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.faq-group__title {
    margin: 0 0 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--green-medium);
}

.faq-group__list {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.faq-card {
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.12);
    border-radius: 4px;
    box-shadow: 0 2px 16px rgba(45, 52, 28, 0.04);
    transition: border-color 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
}

.faq-card[open] {
    border-color: rgba(107, 124, 63, 0.28);
    box-shadow: var(--shadow-soft);
}

.faq-card__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.15rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--green-dark);
    cursor: pointer;
    list-style: none;
}

.faq-card__question::-webkit-details-marker {
    display: none;
}

.faq-card__question::marker {
    content: '';
}

.faq-card__icon {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: var(--green-medium);
    transition: transform 0.35s var(--ease-premium);
}

.faq-card[open] .faq-card__icon {
    transform: rotate(180deg);
}

.faq-card__answer {
    padding: 0 1.15rem 1.1rem;
}

.faq-card__answer p {
    margin: 0;
    padding-top: 0.15rem;
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--text-color);
}

.page-cta-strip {
    background: var(--accent-color);
    text-align: center;
}

.page-cta-strip__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.page-cta-strip__inner .section-title-italic {
    margin-bottom: 0.25rem;
}

.page-cta-strip__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

@media (max-width: 992px) {
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: min(100%, 380px);
        margin: 0 auto;
    }

    .pricing-card--featured {
        order: -1;
        transform: none;
    }

    .pricing-card--featured:hover {
        transform: translateY(-4px);
    }

    .page-info__layout {
        grid-template-columns: 1fr;
    }

    .page-info__aside {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem 2rem;
        align-items: center;
    }

    .page-info__media {
        max-width: 280px;
        margin-left: auto;
    }

    .page-faq__columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-info__aside {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .page-info__media {
        max-width: 320px;
        margin: 0 auto;
    }

    .page-info__grid {
        grid-template-columns: 1fr;
    }

    .info-card--wide {
        max-width: none;
    }

    .page-faq__intro {
        text-align: center;
        max-width: none;
        margin: 0 auto;
    }

    .page-pricing__header {
        text-align: center;
    }

    .home-cta-banner .page-cta-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 280px;
        margin: 0 auto;
    }

    .home-cta-banner .page-cta-actions .btn-hero-primary,
    .home-cta-banner .page-cta-actions .btn-hero-ghost {
        width: 100%;
        justify-content: center;
    }

    .page-cta-strip__actions {
        flex-direction: column;
        width: 100%;
    }

    .page-cta-strip__actions .btn-hero-primary {
        width: 100%;
        justify-content: center;
    }

    .service-spotlight__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-spotlight--reverse .service-spotlight__media,
    .service-spotlight--reverse .service-spotlight__body {
        order: unset;
    }

    .service-spotlight__body {
        padding: clamp(1.35rem, 4vw, 1.75rem);
    }

    .service-nav {
        top: var(--nav-height);
    }
}

/* —— Servicios (exterior, lifestyle) —— */
.page-services-intro {
    background: var(--white);
    text-align: center;
}

.page-services-intro--compact {
    padding: clamp(1.75rem, 4vw, 2.5rem) 0;
}

.page-services-intro__inner {
    max-width: 42rem;
    margin: 0 auto;
}

.page-services-intro__kicker {
    margin: 0 0 0.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2.4vw, 1.5rem);
    font-style: italic;
    font-weight: 300;
    line-height: 1.5;
    color: var(--green-dark);
}

.page-services-intro__inner .section-title-italic {
    margin-bottom: 0.5rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 500;
    line-height: 1.25;
}

.page-services-intro__lead {
    margin: 0;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-color);
}

.page-services--tight-top {
    padding-top: clamp(2rem, 4vw, 3rem);
}

.page-pricing-includes__inner .page-services-intro__lead {
    margin: 0 auto 1.25rem;
}

.service-nav {
    position: sticky;
    top: calc(var(--nav-height) + 0px);
    z-index: 20;
    padding: 0.85rem 0 1rem;
    background: rgba(250, 249, 246, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(107, 124, 63, 0.12);
}

.service-nav__inner {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.service-nav__label {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-medium);
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.service-nav__track {
    display: flex;
    flex-wrap: nowrap;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 124, 63, 0.4) transparent;
    -webkit-overflow-scrolling: touch;
}

.service-nav__link {
    flex: 0 0 auto;
    padding: 0.5rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--green-dark);
    text-decoration: none;
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.2);
    border-radius: 100px;
    transition: background 0.35s var(--ease-premium), color 0.35s var(--ease-premium), border-color 0.35s var(--ease-premium), box-shadow 0.35s var(--ease-premium);
    white-space: nowrap;
}

.service-nav__link:hover {
    border-color: var(--green-medium);
    box-shadow: 0 4px 16px rgba(45, 52, 28, 0.08);
}

.service-nav__link.is-active {
    background: var(--green-medium);
    color: #fff;
    border-color: var(--green-medium);
}

.page-services {
    background: var(--accent-color);
    padding-top: clamp(2rem, 4vw, 3rem);
}

.page-services__list {
    display: flex;
    flex-direction: column;
    gap: clamp(2.5rem, 5vw, 4rem);
}

.service-spotlight {
    scroll-margin-top: calc(var(--nav-height) + 5rem);
}

.service-spotlight__grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(2rem, 5vw, 3.5rem);
    align-items: center;
    background: var(--white);
    border: 1px solid rgba(107, 124, 63, 0.12);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(45, 52, 28, 0.07);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}

.service-spotlight:hover .service-spotlight__grid {
    box-shadow: var(--shadow-soft);
}

.service-spotlight--featured .service-spotlight__grid {
    border-color: rgba(107, 124, 63, 0.35);
}

.service-spotlight--reverse .service-spotlight__grid {
    direction: rtl;
}

.service-spotlight--reverse .service-spotlight__media,
.service-spotlight--reverse .service-spotlight__body {
    direction: ltr;
}

.service-spotlight__media {
    position: relative;
    aspect-ratio: 4 / 3;
    min-height: 280px;
    overflow: hidden;
}

.service-spotlight__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.9s var(--ease-premium);
}

.service-spotlight:hover .service-spotlight__media img {
    transform: scale(1.03);
}

.service-spotlight__index {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.service-spotlight__body {
    padding: clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2.25rem) clamp(1.5rem, 3vw, 2rem);
}

.service-spotlight__badge {
    display: inline-block;
    margin-bottom: 0.65rem;
    padding: 0.3rem 0.85rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #fff;
    background: var(--green-medium);
    border-radius: 100px;
}

.service-spotlight__body .section-eyebrow {
    margin-bottom: 0.35rem;
}

.service-spotlight__title {
    margin-bottom: 0.5rem;
}

.service-spotlight__kicker {
    margin: 0 0 1rem;
    font-size: 1rem;
    font-style: italic;
    line-height: 1.5;
    color: var(--secondary-color);
}

.service-spotlight__text {
    margin: 0 0 1.15rem;
    font-size: 1.02rem;
    line-height: 1.7;
    color: var(--text-color);
}

.service-spotlight__subtitle {
    margin: 0 0 0.65rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-medium);
}

.service-spotlight__subtitle:not(:first-of-type) {
    margin-top: 1rem;
}

.service-spotlight__list {
    list-style: none;
    margin: 0 0 1.35rem;
    padding: 0;
}

.service-spotlight__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.55rem;
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-color);
}

.service-spotlight__list li i {
    color: var(--green-medium);
    margin-top: 0.2rem;
    font-size: 0.72rem;
    flex-shrink: 0;
}

.service-spotlight__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.service-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding: 1rem 1.15rem;
    background: rgba(107, 124, 63, 0.08);
    border: 1px solid rgba(107, 124, 63, 0.18);
    border-radius: 4px;
}

.service-note__pct {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--green-medium);
    line-height: 1;
    flex-shrink: 0;
}

.service-note__text {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.service-note__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-dark);
}

.service-note__detail {
    font-size: 0.92rem;
    line-height: 1.45;
    color: var(--text-color);
}

/* Fotos impresas — alineación premium */
body.page-inner .fotos-page {
    font-size: 1rem;
}

body.page-inner .fotos-hero {
    display: none;
}

body.page-inner .fotos-section--cream {
    background: var(--accent-color);
}

body.page-inner .fotos-section--prints-first {
    background: var(--white);
    padding-top: clamp(2rem, 4vw, 3rem);
}

body.page-inner .fotos-section--prints-first .fotos-price-grid {
    margin-top: 0;
}

body.page-inner .fotos-section--olive {
    background: linear-gradient(165deg, var(--green-dark) 0%, #4a5630 100%);
}

body.page-inner .fotos-section--gold {
    background: var(--white);
}

body.page-inner .fotos-section-header__title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.45rem, 2.8vw, 2rem);
    font-weight: 600;
    line-height: 1.2;
}

body.page-inner .fotos-section-header__title em {
    font-style: italic;
    font-weight: 300;
}

body.page-inner .fotos-section-header {
    margin-bottom: clamp(1.75rem, 4vw, 2.25rem);
}

body.page-inner .fotos-price-card {
    border-radius: 4px;
    box-shadow: 0 4px 24px rgba(45, 52, 28, 0.06);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium);
}

body.page-inner .fotos-price-card:hover {
    box-shadow: var(--shadow-soft);
    transform: translateY(-3px);
}

body.page-inner .fotos-cta-band {
    display: none;
}

body.page-inner .fotos-section--fotolibro-bg .container {
    max-width: var(--container-max);
}

body.page-inner .fotos-fotolibro-split {
    width: 100%;
    min-height: min(480px, auto);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(107, 124, 63, 0.12);
    box-shadow: 0 8px 40px rgba(45, 52, 28, 0.07);
    background: var(--white);
}

body.page-inner .fotos-fotolibro-split__copy {
    padding: clamp(1.5rem, 3vw, 2.25rem);
}

body.page-inner .fotos-fotolibro-split__video {
    background: rgba(255, 255, 255, 0.35);
}

body.page-inner .fotos-fotolibro-split__btn.btn-hero-primary--brand {
    gap: 0.5rem;
}

body.page-inner .fotos-fotolibro-split__btn.btn-hero-primary--brand:hover {
    color: #fff;
    background: var(--green-dark);
}

@media (max-width: 992px) {
    .service-spotlight__grid {
        grid-template-columns: 1fr;
    }

    .service-spotlight--reverse .service-spotlight__grid {
        direction: ltr;
    }
}

/* —— Portfolio (página interna) —— */
.portfolio-filter button.service-nav__link {
    cursor: pointer;
    font: inherit;
    appearance: none;
}

.page-portfolio {
    background: var(--accent-color);
    padding-top: clamp(1rem, 2vw, 1.5rem);
    padding-bottom: var(--space-section);
    scroll-margin-top: calc(var(--nav-height) + 5.5rem);
}

.page-portfolio__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 2vw, 18px);
}

.page-portfolio__item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 8px 28px rgba(45, 52, 28, 0.08);
    transition: box-shadow 0.45s var(--ease-premium), transform 0.45s var(--ease-premium), opacity 0.35s var(--ease-premium);
}

.page-portfolio__item.is-filtered-out,
.page-portfolio__item.is-paginated-out {
    display: none;
}

.page-portfolio__item:hover {
    box-shadow: 0 14px 36px rgba(45, 52, 28, 0.12);
    transform: translateY(-2px);
}

.page-portfolio__link {
    display: block;
    text-decoration: none;
}

.page-portfolio__item img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
    vertical-align: middle;
    transition: transform 0.9s var(--ease-premium);
}

.page-portfolio__item:hover img {
    transform: scale(1.03);
}

.page-portfolio__actions {
    display: flex;
    justify-content: center;
    margin-top: clamp(2rem, 4vw, 2.75rem);
}

.page-portfolio__more[hidden] {
    display: none;
}

.page-portfolio__hint {
    margin: clamp(1.25rem, 2.5vw, 1.75rem) auto 0;
    max-width: 28rem;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(45, 52, 28, 0.55);
}

@media (min-width: 768px) {
    .page-portfolio__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* —— Portfolio por categoría (ej. Maternidad) —— */
.page-portfolio-category .page-section {
    padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.portfolio-cat-hero {
    position: relative;
    min-height: clamp(380px, 52vh, 520px);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.portfolio-cat-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.portfolio-cat-hero__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: contrast(1.08) saturate(1.05) brightness(0.92);
}

@media (min-width: 993px) {
    .page-portfolio-maternidad .portfolio-cat-hero:not([data-hero-position]) .portfolio-cat-hero__media img {
        object-position: 72% 58%;
    }
}

.portfolio-cat-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(28, 32, 18, 0.35) 0%, rgba(28, 32, 18, 0.1) 45%, rgba(28, 32, 18, 0.55) 100%),
        linear-gradient(90deg, rgba(28, 32, 18, 0.45) 0%, transparent 55%);
    z-index: 1;
}

.portfolio-cat-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: calc(var(--nav-height) + 2rem) var(--container-pad-x) clamp(2.25rem, 4vw, 3rem);
}

.portfolio-cat-hero__breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
    margin: 0 0 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.portfolio-cat-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    transition: color 0.35s var(--ease-premium);
}

.portfolio-cat-hero__breadcrumb a:hover {
    color: #fff;
}

.portfolio-cat-hero__breadcrumb span[aria-current] {
    color: rgba(255, 255, 255, 0.95);
}

.portfolio-cat-hero__breadcrumb span[aria-hidden] {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.55rem;
}

.portfolio-cat-hero__title {
    margin: 0 0 0.85rem;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.portfolio-cat-hero__divider {
    display: block;
    width: min(120px, 40%);
    margin: 0 0 1rem;
    color: rgba(255, 255, 255, 0.75);
}

.portfolio-cat-hero__divider svg {
    display: block;
    width: 100%;
    height: auto;
}

.portfolio-cat-hero__tagline {
    margin: 0;
    max-width: 36ch;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.15rem, 2.2vw, 1.45rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 16px rgba(0, 0, 0, 0.3);
}

.portfolio-cat-intro {
    background: var(--white);
}

.portfolio-cat-intro__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: stretch;
}

.portfolio-cat-intro__copy {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding-left: clamp(2.5rem, 5vw, 3.5rem);
    gap: clamp(1rem, 2vw, 1.5rem);
}

.portfolio-cat-intro__copy-body {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 0;
    padding: clamp(0.5rem, 1.5vw, 1rem) 0;
}

.portfolio-cat-intro__duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(10px, 1.5vw, 14px);
    flex-shrink: 0;
    margin-top: auto;
    width: 100%;
}

.portfolio-cat-intro__duo-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 6px 24px rgba(45, 52, 28, 0.07);
}

.portfolio-cat-intro__duo-photo img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.9s var(--ease-premium);
}

.portfolio-cat-intro__duo-photo:hover img {
    transform: scale(1.03);
}

.portfolio-cat-intro__media {
    display: flex;
    align-items: stretch;
    min-height: 0;
    height: 100%;
}

.portfolio-cat-intro__floral--side {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(40px, 5vw, 56px);
    opacity: 0.35;
    pointer-events: none;
}

.portfolio-cat-intro__floral--side img {
    display: block;
    width: 100%;
    height: auto;
}

.portfolio-cat-intro__eyebrow {
    margin: 0 0 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-medium);
}

.portfolio-cat-intro__divider {
    display: block;
    width: 80px;
    margin: 0 auto 1.25rem;
    color: rgba(107, 124, 63, 0.45);
}

.portfolio-cat-intro__divider svg {
    display: block;
    width: 100%;
}

.portfolio-cat-intro__text {
    margin: 0;
    max-width: 38ch;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.75;
    color: rgba(45, 52, 28, 0.78);
}

.portfolio-cat-intro__copy-body .portfolio-cat-intro__eyebrow,
.portfolio-cat-intro__copy-body .portfolio-cat-intro__text {
    width: 100%;
    max-width: 38ch;
}

.portfolio-cat-intro__photo {
    display: block;
    width: 100%;
    flex: 1;
    height: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 8px 32px rgba(45, 52, 28, 0.08);
}

.portfolio-cat-intro__photo img {
    width: 100%;
    height: 100%;
    min-height: clamp(380px, 52vw, 560px);
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.9s var(--ease-premium);
}

.portfolio-cat-intro__photo:hover img {
    transform: scale(1.03);
}

.portfolio-cat-gallery {
    background: var(--accent-color);
}

.portfolio-cat-gallery--split {
    padding-top: 0;
}

.portfolio-cat-gallery__row {
    display: grid;
    gap: clamp(10px, 1.5vw, 14px);
}

.portfolio-cat-gallery__row--three {
    grid-template-columns: repeat(3, 1fr);
}

.portfolio-cat-gallery__row--count-2 {
    grid-template-columns: repeat(2, 1fr);
}

.portfolio-cat-gallery__row--split {
    grid-template-columns: 1.65fr 1fr;
    align-items: stretch;
}

.portfolio-cat-gallery__item {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 6px 24px rgba(45, 52, 28, 0.07);
}

.portfolio-cat-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.9s var(--ease-premium);
}

.portfolio-cat-gallery__row--three .portfolio-cat-gallery__item img {
    aspect-ratio: 3 / 4;
}

.portfolio-cat-gallery__item--wide img {
    aspect-ratio: 16 / 10;
    min-height: 100%;
}

.portfolio-cat-gallery__item--tall img {
    aspect-ratio: 3 / 4;
    min-height: 100%;
}

.portfolio-cat-gallery__item:hover img {
    transform: scale(1.03);
}

.portfolio-cat-quote {
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    background: rgba(232, 228, 220, 0.65);
}

.portfolio-cat-quote__inner {
    margin: 0;
    text-align: center;
}

.portfolio-cat-quote__mark {
    display: block;
    width: 48px;
    margin: 0 auto 1rem;
    color: rgba(107, 124, 63, 0.4);
}

.portfolio-cat-quote__mark svg {
    display: block;
    width: 100%;
}

.portfolio-cat-quote__inner p {
    margin: 0 auto;
    max-width: 42ch;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-style: italic;
    font-weight: 400;
    line-height: 1.5;
    color: var(--green-dark);
}

.page-portfolio-category .home-cta-strip {
    padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

@media (max-width: 992px) {
    .portfolio-cat-intro__grid {
        grid-template-columns: 1fr;
    }

    .portfolio-cat-intro__copy {
        height: auto;
        min-height: 0;
        padding-left: 2.75rem;
    }

    .portfolio-cat-intro__copy-body {
        flex: 0 0 auto;
        padding: 0;
    }

    .portfolio-cat-intro__duo {
        margin-top: clamp(1.5rem, 3vw, 2rem);
    }

    .portfolio-cat-gallery__row--three {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-cat-gallery__row--split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .portfolio-cat-hero {
        min-height: clamp(340px, 48vh, 420px);
    }

    .portfolio-cat-hero__title {
        letter-spacing: 0.14em;
    }

    .portfolio-cat-intro__copy {
        padding-left: 0;
    }

    .portfolio-cat-intro__floral--side {
        display: none;
    }

    .portfolio-cat-intro__divider {
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-cat-intro__text {
        margin-left: auto;
        margin-right: auto;
    }

    .portfolio-cat-gallery__row--three {
        grid-template-columns: 1fr;
    }
}
