:root {
    --ink: #141312;
    --paper: #f7f2eb;
    --warm-paper: #efe7dc;
    --muted: #514b45;
    --orange: #ff6029;
    --rust: #a33110;
    --line: #c4b8aa;
    --corner-radius: 3px;
    --bs-body-font-family: Arial, Helvetica, sans-serif;
    --bs-body-color: var(--ink);
    --bs-body-bg: var(--paper);
}

h1, h2, h3, .wordmark {
    font-weight: 900;
    letter-spacing: -.06em;
    line-height: .98;
}

h1 { font-size: clamp(3rem, 8vw, 7rem); }
h2 { font-size: clamp(2.5rem, 5.7vw, 5.3rem); margin: 0; }
h3 { font-size: clamp(1.45rem, 2.4vw, 2.25rem); margin: 0 0 .55rem; }
a { color: inherit; }
a:focus-visible, summary:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
.skip-link { position: absolute; z-index: 5; background: var(--paper); color: var(--ink); padding: .75rem; }

.site-header, .site-footer, .hero, .process {
    color: var(--paper);
    background: var(--ink);
}

.header-inner, .footer-inner, .contact-inner, .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.header-inner { min-height: 5.25rem; }
.wordmark { font-size: clamp(2.15rem, 3.5vw, 3.5rem); text-decoration: none; white-space: nowrap; }
.wordmark img { display: block; width: 4em; max-width: 100%; height: auto; }
.eyebrow { color: var(--orange); }
.wordmark:hover { color: var(--paper); }
.site-nav, .footer-inner nav { display: flex; flex-wrap: wrap; gap: .65rem clamp(1rem, 3vw, 2.75rem); }
.site-nav a, .site-footer a { text-decoration: none; }
.site-nav a:hover { text-decoration: underline; text-underline-offset: .3em; }
.site-nav a:is(
    [aria-current="page"],
    body:has(#servicios:target) a[href="./#servicios"]
) {
    box-shadow: 0 2px 0 var(--orange);
    text-decoration: none;
}
.site-footer a:hover { color: var(--orange); }
.site-footer nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--orange); }

.breadcrumb {
    --bs-breadcrumb-divider-color: #cfc4ba;
    --bs-breadcrumb-item-active-color: #c5bbb2;
}
.breadcrumb a { font-weight: 700; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }

.action {
    border-radius: var(--corner-radius);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .75em;
    min-height: 3rem;
    padding: .7rem 1.05rem;
    color: var(--ink);
    background: var(--orange);
    font-size: clamp(.97rem, 1.5vw, 1.17rem);
    font-weight: 800;
    text-decoration: none;
}
.action:hover { background: #ff8257; color: var(--ink); }
.action-dark { color: var(--paper); background: var(--ink); }
.action-dark:hover { color: var(--paper); background: #39312c; }

.hero { overflow: hidden; }
.hero-inner { display: grid; position: relative; isolation: isolate; }
.hero-copy { z-index: 1; padding-top: clamp(2rem, 5vw, 5rem); }
.eyebrow { font-weight: 800; letter-spacing: .075em; text-transform: uppercase; margin-bottom: 1rem; }
.hero-summary { font-size: clamp(1.15rem, 2vw, 1.5rem); line-height: 1.27; max-width: 29rem; margin: 1.25rem 0 1.5rem; }
.hero-visual { min-width: 0; }
.hero-visual img {
    display: block;
    width: 100%;
    height: auto;
    mask-image: linear-gradient(to bottom, transparent, black 12%);
}

.section-spacing { padding-block: clamp(3.25rem, 7vw, 6.25rem); }
.section-heading { align-items: end; margin-bottom: clamp(1.4rem, 3vw, 2.6rem); }
.text-link { color: var(--rust); font-weight: 800; text-underline-offset: .22em; }
.text-link:hover { color: var(--ink); }

.commercial h2 { max-width: 13ch; }
.commercial-summary {
    max-width: 42ch;
    margin: 1.25rem 0 .75rem;
    color: var(--muted);
    font-size: clamp(1.12rem, 2vw, 1.35rem);
    line-height: 1.4;
}
.commercial-outcomes { padding-inline-start: 1.25rem; margin: 1rem 0 1.5rem; }
.commercial-outcomes li + li { margin-top: .75rem; }
.commercial-outcomes li::marker { color: var(--rust); }
.commercial-visual { margin: 0; }
.commercial-visual img { display: block; width: 100%; height: auto; }
.commercial-visual figcaption {
    margin-top: .5rem;
    padding: clamp(1rem, 2.5vw, 1.5rem);
    border-radius: var(--corner-radius);
    color: var(--paper);
    background: radial-gradient(ellipse at 95% 115%, #542817 0%, transparent 65%), var(--ink);
}
.commercial-visual figcaption strong { display: block; font-size: 1.35rem; line-height: 1.15; }
.commercial-visual figcaption p { margin: .55rem 0 0; color: #e5dcd4; max-width: 51ch; }

.services { background: var(--warm-paper); }
.service p { color: var(--muted); margin: 0 0 .35rem; }
.service {
    border-radius: var(--corner-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 1.25rem 1.25rem .75rem;
    background-color: #f8e7da;
    border: 1px solid #d4b6a1;
    text-decoration: none;
}
.service:hover, .service:focus-visible {
    color: var(--ink);
    background-color: #f7dfce;
    border-color: var(--rust);
}
.service h3 { font-size: clamp(1.4rem, 2.1vw, 1.8rem); }
.service span { margin-top: auto; align-self: flex-end; color: var(--rust); font-size: 1.5rem; line-height: 1; }

.process h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); }
.process-list {
    display: grid;
    gap: 1.25rem;
    padding-left: 1.5rem;
    margin: .5rem 0 0;
}
.process-list li { padding-left: .5rem; }
.process-list li::marker { color: var(--orange); font-weight: 800; }
.process-list h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.process-list p { color: #e5dcd4; margin-bottom: 0; }

.studio-copy { max-width: 33ch; margin: 1.25rem 0 1rem; font-size: 1.2rem; color: var(--muted); }
.faq-title { font-size: clamp(1.8rem, 3.4vw, 3rem); margin-bottom: 1.25rem; }
.faq { border-top: 1px solid var(--line); }
.faq:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem .35rem;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; color: var(--rust); }
.faq[open] > summary .faq-icon { transform: rotate(180deg); }
.faq p { margin: 0 .35rem 1rem; max-width: 62ch; color: var(--muted); }
@media (prefers-reduced-motion: no-preference) {
    a {
        transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
    }

    .action span, .service span {
        transition: transform 180ms ease;
    }

    .action:focus-visible span, .service:focus-visible span {
        transform: translate(2px, -2px);
    }

    @media (hover: hover) {
        .action:hover span, .service:hover span {
            transform: translate(2px, -2px);
        }
    }

    .scroll-reveal-pending:not(:focus-within) {
        opacity: .3;
        transform: translateY(24px);
    }

    .scroll-revealed:not(:focus-within) {
        animation: scroll-reveal 720ms cubic-bezier(.25, .6, .35, 1);
    }

    .faq-icon { transition: transform 240ms ease; }

    @supports (interpolate-size: allow-keywords) and (transition-behavior: allow-discrete) {
        .faq { interpolate-size: allow-keywords; }

        .faq::details-content {
            block-size: 0;
            overflow: clip;
            opacity: 0;
            transition: block-size 260ms ease, opacity 200ms ease, content-visibility 260ms allow-discrete;
        }

        .faq[open]::details-content {
            block-size: auto;
            opacity: 1;
        }
    }
}

@keyframes scroll-reveal {
    from { opacity: .3; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.faq-actions { display: flex; justify-content: flex-end; margin-top: 1rem; }

.contact-band { background: var(--orange); padding-block: clamp(2.5rem, 5vw, 4.75rem); }
.contact-inner { flex-wrap: wrap; }
.footer-inner { flex-wrap: wrap; min-height: 7rem; padding-block: 1.25rem; }
.footer-inner .wordmark { font-size: 2.25rem; }
.footer-legal { color: #e5dcd4; font-size: .9rem; }
.footer-legal p { margin: 0; }
.footer-legal p + p { margin-top: .25rem; }
.footer-secondary { min-height: 0; padding-block: 1rem; border-top: 1px solid #514b45; }
.footer-inner .footer-social { gap: .5rem; }
.footer-social a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
}

@media (min-width: 768px) {
    .process-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 2.5rem;
    }
}

@media (min-width: 992px) {
    .hero-inner { align-items: center; min-height: clamp(33rem, 50vw, 43rem); }
    .hero-copy { padding-block: 3rem 4.75rem; width: 55%; }
    .hero h1 { font-size: clamp(4.25rem, 7.4vw, 7.25rem); }
    .hero-visual { position: absolute; z-index: -1; inset: 0 max(-5vw, -5rem) 0 41%; }
    .hero-visual img {
        height: 100%;
        object-fit: cover;
        object-position: 51% center;
        mask-image: linear-gradient(to right, transparent, black 28%, black 83%, transparent);
    }
}

@media (max-width: 575.98px) {
    .container { --bs-gutter-x: 2rem; }
    .header-inner { flex-wrap: wrap; gap: .5rem 1rem; padding-block: .8rem; }
    .header-inner .action { min-height: 2.75rem; }
    .site-nav { order: 1; flex-basis: 100%; gap: .25rem 1.3rem; }
    .site-nav a { padding-block: .4rem; }
    .section-heading { flex-wrap: wrap; }
}
