/* ==========================================================
   WHISPER MKT
   Fotografía profesional en Cali
   ========================================================== */

/* Google Fonts
   Big Shoulders Display = sustituto web de Druk
   Roboto = cuerpo de texto
*/
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@500;600;700;800;900&family=Roboto:wght@300;400;500;600;700&display=swap");


/* ==========================================================
   1. RESET
   ========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 82px;
}

body,
h1,
h2,
h3,
p,
figure,
ol {
    margin: 0;
}

img {
    max-width: 100%;
    display: block;
}

button,
input,
select,
textarea {
    font: inherit;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    border: 0;
    background: none;
    color: inherit;
}


/* ==========================================================
   2. VARIABLES
   ========================================================== */

:root {
    --red: #E4003A;
    --black: #000000;
    --dark: #363434;
    --gray: #CCCCCC;
    --off-white: #F2F2F2;
    --white: #FFFFFF;
    --ink: #121212;

    --max: 1360px;

    --gutter: clamp(1rem, 3vw, 2.25rem);

    --display:
        "Big Shoulders Display",
        "Arial Narrow",
        Impact,
        sans-serif;

    --body:
        "Roboto",
        Arial,
        Helvetica,
        sans-serif;

    --ease: cubic-bezier(.22, 1, .36, 1);
}


/* ==========================================================
   3. TYPOGRAPHY
   ========================================================== */

body {
    font-family: var(--body);
    background: var(--white);
    color: var(--ink);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
.section-title,
.services-heading {
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: .82;
    letter-spacing: -.015em;
}

.display-xl,
.display-lg,
.service-card h3,
.pillar-card h3,
.concept-card h3,
.detail-copy h3,
.final-cta h2 {
    font-family: var(--display);
    font-weight: 900;
    text-transform: uppercase;
    line-height: .88;
    letter-spacing: -.015em;
}

.display-xl {
    font-size: clamp(3.75rem, 7vw, 7.8rem);
}

.display-lg {
    font-size: clamp(2.9rem, 5vw, 5.75rem);
}

.eyebrow {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.eyebrow.red {
    color: var(--red);
}

p {
    font-size: clamp(.98rem, 1.05vw, 1.12rem);
}

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


/* ==========================================================
   4. LAYOUT
   ========================================================== */

.container {
    width: min(
        calc(100% - (var(--gutter) * 2)),
        var(--max)
    );
    margin-inline: auto;
}

.section {
    padding: clamp(4.5rem, 7vw, 7.5rem) 0;
}

.skip-link {
    position: fixed;
    top: .5rem;
    left: .5rem;
    z-index: 9999;
    background: var(--white);
    color: var(--black);
    padding: .75rem 1rem;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: none;
}


/* ==========================================================
   5. BUTTONS
   ========================================================== */

.btn {
    min-height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: .55rem;

    padding: .82rem 1.25rem;

    border: 1px solid transparent;

    text-transform: uppercase;

    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .025em;

    transition:
        transform .25s var(--ease),
        background .25s,
        color .25s,
        border-color .25s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--red);
    outline-offset: 3px;
}

.btn-red {
    background: var(--red);
    color: var(--white);
}

.btn-red:hover {
    background: #c90033;
}

.btn-outline {
    border-color: rgba(255, 255, 255, .72);
    color: var(--white);
    background: rgba(0, 0, 0, .18);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black);
}

.btn-outline-dark {
    border-color: #b9b9b9;
    color: var(--black);
    background: transparent;
}

.btn-outline-dark:hover {
    border-color: var(--black);
    background: var(--black);
    color: var(--white);
}

.btn-light {
    background: var(--white);
    color: var(--black);
}

.btn-dark {
    background: var(--black);
    color: var(--white);
}

.btn-full {
    width: 100%;
}

.text-link {
    display: inline-flex;
    gap: .45rem;

    margin-top: 1.25rem;

    color: var(--red);

    font-size: .78rem;
    font-weight: 700;

    text-transform: uppercase;

    border-bottom: 1px solid transparent;
}

.text-link:hover {
    border-color: var(--red);
}


/* ==========================================================
   6. HEADER
   ========================================================== */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;

    z-index: 1000;

    color: var(--white);

    transition:
        background .35s var(--ease),
        box-shadow .35s var(--ease),
        backdrop-filter .35s;
}

.site-header.is-scrolled {
    background: rgba(0, 0, 0, .9);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .18);

    backdrop-filter: blur(9px);
}

.header-inner {
    height: 78px;

    display: grid;

    grid-template-columns:
        auto
        1fr
        auto;

    align-items: center;

    gap: 2rem;
}

.brand img {
    width: clamp(118px, 9vw, 150px);
    height: auto;
}

.desktop-nav {
    justify-self: center;

    display: flex;

    gap: clamp(1.25rem, 2.6vw, 2.75rem);

    font-size: .95rem;
    font-weight: 600;
}

.desktop-nav a {
    position: relative;
    padding: .5rem 0;
}

.desktop-nav a::after {
    content: "";

    position: absolute;

    left: 0;
    right: 100%;
    bottom: 0;

    height: 2px;

    background: var(--red);

    transition: right .25s;
}

.desktop-nav a:hover::after {
    right: 0;
}

.header-quote {
    min-height: 40px;
    padding: .6rem 1.15rem;
}

.menu-toggle {
    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    cursor: pointer;
}

.menu-toggle span {
    display: block;

    width: 24px;
    height: 2px;

    background: currentColor;

    transition: .25s;
}

.mobile-menu {
    background: var(--black);

    border-top:
        1px solid rgba(255, 255, 255, .14);
}

.mobile-menu__inner {
    padding:
        1.3rem
        var(--gutter)
        1.7rem;

    display: grid;

    gap: 1rem;
}

.mobile-menu__inner > a:not(.btn) {
    font-family: var(--display);

    font-weight: 900;

    text-transform: uppercase;

    font-size: 2rem;

    line-height: 1;
}

body.menu-open {
    overflow: hidden;
}


/* ==========================================================
   7. HERO
   ========================================================== */

.hero {
    position: relative;

    min-height:
        clamp(680px, 72vh, 780px);

    display: flex;

    align-items: flex-end;

    background: var(--black);

    color: var(--white);

    overflow: hidden;
}

.hero-media {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center top;

    animation:
        heroScale
        1.25s
        var(--ease)
        forwards;
}

.hero-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .92) 0%,
            rgba(0, 0, 0, .72) 34%,
            rgba(0, 0, 0, .38) 66%,
            rgba(0, 0, 0, .28) 100%
        );
}

.hero-inner {
    position: relative;

    z-index: 2;

    padding-top: 11rem;
    padding-bottom: 5.5rem;

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 2rem;
}

.hero-copy {
    max-width: 710px;
}

.hero .eyebrow {
    margin-bottom: 1rem;
}

.hero h1 span {
    color: var(--red);
}

.hero-lead {
    max-width: 660px;

    margin-top: 1rem;

    color: #f1f1f1;
}

.hero-actions {
    display: flex;

    gap: .75rem;

    flex-wrap: wrap;

    margin-top: 1.65rem;
}

.hero-services {
    font-size: .68rem;

    text-transform: uppercase;

    font-weight: 700;

    letter-spacing: .035em;

    margin-top: 1.4rem;

    color: #ddd;
}

.hero-claim {
    font-family: var(--display);

    font-weight: 900;

    font-size:
        clamp(2rem, 4vw, 4rem);

    text-transform: uppercase;

    line-height: .83;

    text-align: right;

    transform: rotate(-10deg);

    opacity: .92;

    margin-bottom: 1rem;
}

.hero-animate {
    opacity: 0;

    transform:
        translateY(22px);

    animation:
        heroIn
        .7s
        var(--ease)
        forwards;
}

.hero-delay-1 {
    animation-delay: .12s;
}

.hero-delay-2 {
    animation-delay: .25s;
}

.hero-delay-3 {
    animation-delay: .4s;
}

.hero-delay-4 {
    animation-delay: .55s;
}

.hero-delay-5 {
    animation-delay: .68s;
}

@keyframes heroIn {

    to {
        opacity: 1;
        transform: none;
    }

}

@keyframes heroScale {

    from {
        transform: scale(1.03);
    }

    to {
        transform: scale(1);
    }

}


/* ==========================================================
   8. MARQUEE
   ========================================================== */

.marquee {
    overflow: hidden;

    background:
        var(--off-white);

    border-bottom:
        1px solid #ececec;

    padding:
        .8rem 0;
}

.marquee-track {
    display: flex;

    width: max-content;

    align-items: center;

    gap: 1rem;

    animation:
        marquee
        35s
        linear
        infinite;

    font-family:
        var(--display);

    font-weight: 900;

    font-size:
        clamp(2.1rem, 4vw, 4.25rem);

    line-height: 1;

    text-transform: uppercase;

    color: #d0d0d0;

    white-space: nowrap;
}

.marquee-track .accent {
    color: var(--red);
}

.marquee-track i {
    font-style: normal;
    color: #bdbdbd;
}

@keyframes marquee {

    to {
        transform:
            translateX(-50%);
    }

}


/* ==========================================================
   9. SERVICES
   ========================================================== */

.services {
    background:
        var(--off-white);
}

.services-intro {
    display: grid;

    grid-template-columns:
        minmax(280px, .8fr)
        minmax(320px, 1.2fr);

    gap:
        clamp(2rem, 5vw, 5rem);

    align-items: center;

    margin-bottom: 2rem;
}

.services-intro .section-copy {
    max-width: 100%;

    padding-bottom: .4rem;
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 8px;
}

.service-card {
    position: relative;

    min-height: 245px;

    padding: 1.25rem;

    color: var(--white);

    display: flex;

    flex-direction: column;

    justify-content: flex-end;

    overflow: hidden;

    background: #181818;

    isolation: isolate;
}

.service-card-bg {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    z-index: 0;

    display: block;

    transition:
        transform .5s var(--ease),
        filter .4s;
}

.service-card::after {
    content: "";

    position: absolute;

    inset: 0;

    z-index: 1;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(0, 0, 0, .03) 0%,
            rgba(0, 0, 0, .16) 45%,
            rgba(0, 0, 0, .90) 100%
        );

    transition:
        background .35s;
}

.service-card > :not(.service-card-bg) {
    position: relative;

    z-index: 2;
}

.service-card:hover .service-card-bg {
    transform:
        scale(1.045);
}

.service-card:hover::after {
    background:
        linear-gradient(
            180deg,
            rgba(228, 0, 58, .08) 0%,
            rgba(0, 0, 0, .18) 45%,
            rgba(0, 0, 0, .88) 100%
        );
}

.service-number {
    font-family:
        var(--display);

    font-size: 1.35rem;

    color: var(--red);

    font-weight: 900;
}

.service-card h3 {
    font-size:
        clamp(
            1.7rem,
            2.2vw,
            2.6rem
        );

    margin:
        .2rem 0 .45rem;
}

.service-card p {
    font-size: .9rem;

    max-width: 80%;

    color: #eee;
}

.service-card .arrow {
    position: absolute;

    right: 1.15rem;

    bottom: 1.15rem;

    font-size: 1.6rem;

    transition:
        transform .25s;
}

.service-card:hover .arrow {
    transform:
        translateX(6px);
}


/* ==========================================================
   10. PORTFOLIO
   ========================================================== */

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

.portfolio-head {
    display: grid;

    grid-template-columns:
        .72fr
        1.28fr;

    gap:
        clamp(2rem, 5vw, 5rem);

    align-items: end;

    margin-bottom: 1.4rem;
}

.portfolio-head > div:last-child {
    max-width: 760px;

    justify-self: end;
}

.filters {
    display: flex;

    gap: .25rem;

    flex-wrap: wrap;

    margin-top: 1.2rem;
}

.filter-btn {
    min-height: 34px;

    padding: .45rem .75rem;

    border:
        1px solid #ddd;

    font-size: .68rem;

    font-weight: 700;

    text-transform: uppercase;

    cursor: pointer;

    transition: .25s;
}

.filter-btn:hover,
.filter-btn.is-active {
    background:
        var(--red);

    border-color:
        var(--red);

    color:
        var(--white);
}


/* Masonry real respetando proporción original */

.portfolio-grid {
    columns: 3;

    column-gap: 6px;
}

.portfolio-item {
    position: relative;

    display: block;

    width: 100%;

    margin:
        0 0 6px;

    break-inside: avoid;

    overflow: hidden;

    cursor: pointer;

    transition:
        opacity .3s var(--ease),
        transform .3s var(--ease);
}

.portfolio-item img {
    display: block;

    width: 100%;

    height: auto;

    object-fit: initial;

    transition:
        transform .5s var(--ease);
}

.portfolio-item:hover img {
    transform:
        scale(1.025);
}

.portfolio-item.is-leaving {
    opacity: 0;

    transform:
        scale(.975);

    pointer-events: none;
}

.portfolio-item[hidden] {
    display: none !important;
}

.portfolio-more {
    text-align: right;

    margin-top: 1rem;
}


/* ==========================================================
   11. PILLARS
   ========================================================== */

.pillars {
    padding-top: 4rem;

    background:
        var(--off-white);
}

.pillar-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1.4rem;

    margin-top: 1rem;
}

.pillar-card {
    position: relative;

    min-height: 320px;

    overflow: hidden;

    color:
        var(--white);

    clip-path:
        polygon(
            0 4%,
            10% 1%,
            20% 4%,
            31% 1%,
            45% 4%,
            57% 1%,
            70% 4%,
            82% 1%,
            100% 4%,
            98% 96%,
            86% 99%,
            75% 96%,
            61% 99%,
            48% 96%,
            33% 99%,
            18% 96%,
            0 99%
        );
}

.pillar-card img {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    filter:
        saturate(.9)
        contrast(1.04);
}

.pillar-card::after {
    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(228, 0, 58, .42),
            rgba(0, 0, 0, .25) 45%,
            rgba(0, 0, 0, .86)
        );
}

.pillar-content {
    position: relative;

    z-index: 1;

    min-height: 320px;

    padding: 2rem;

    display: grid;

    grid-template-columns:
        1.2fr
        .8fr;

    align-content: center;

    gap: 1rem;
}

.pillar-content h3 {
    font-size:
        clamp(
            2rem,
            2vw,
            3.4rem
        );
}

.pillar-content p {
    font-size: .92rem;

    align-self: center;
}

.pillar-content a {
    position: absolute;

    right: 1.8rem;

    bottom: 1.8rem;

    font-size: 1.7rem;
}


/* ==========================================================
   12. DIFFERENTIATION
   ========================================================== */

.differentiation {
    background:
        var(--off-white);

    padding-top: 1.5rem;
}

.differentiation-grid {
    display: grid;

    grid-template-columns:
        .72fr
        1.28fr;

    gap:
        clamp(2rem, 5vw, 5rem);

    align-items: end;
}

.differentiation-grid > div:first-child p {
    max-width: 480px;

    margin-top: 1rem;
}

.concept-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 6px;
}

.concept-card {
    background:
        var(--black);

    color:
        var(--white);

    padding: 1.35rem;

    min-height: 200px;

    display: flex;

    flex-direction: column;

    justify-content: flex-end;
}

.concept-card span {
    font-family:
        var(--display);

    font-size: 2.15rem;

    color: var(--red);

    font-weight: 900;
}

.concept-card h3 {
    font-size: 1.7rem;

    color: var(--red);

    margin:
        .25rem 0 .5rem;
}

.concept-card p {
    font-size: .88rem;

    color: #ddd;
}


/* ==========================================================
   13. MANIFESTO
   ========================================================== */

.manifesto {
    position: relative;

    overflow: hidden;

    color:
        var(--white);

    padding:
        clamp(
            3.5rem,
            6vw,
            6rem
        ) 0;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, .94) 0%,
            rgba(0, 0, 0, .78) 36%,
            rgba(0, 0, 0, .56) 60%,
            rgba(64, 0, 15, .36) 100%
        ),
        url("../images/fotografia-cali-agencia-whisper.webp");

    background-size: cover;

    background-position: center;

    background-repeat: no-repeat;
}

.manifesto-grid {
    display: grid;

    grid-template-columns:
        1fr
        .8fr
        .9fr;

    gap: 2.5rem;

    align-items: center;
}

.manifesto-title h2 {
    font-family:
        var(--display);

    font-weight: 900;

    text-transform: uppercase;

    font-size:
        clamp(
            2.8rem,
            4.4vw,
            5.2rem
        );

    line-height: .86;
}

.manifesto-title strong {
    display: block;

    color: var(--red);

    font-size: 1.42em;
}

.manifesto-copy {
    color: #eee;

    max-width: 480px;
}

.manifesto-image {
    align-self: stretch;

    min-height: 260px;
}

.manifesto-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    mix-blend-mode: screen;
}


/* ==========================================================
   14. DETAILED SERVICES
   ========================================================== */

.service-details {
    background:
        var(--white);
}

.service-details >
.container >
.display-lg {
    margin-bottom: 3rem;
}

.detail-row {
    display: grid;

    grid-template-columns:
        1.08fr
        .92fr;

    gap:
        clamp(
            2rem,
            5vw,
            5.5rem
        );

    align-items: center;

    padding:
        clamp(
            2.8rem,
            5vw,
            5rem
        ) 0;

    border-top:
        1px solid #e5e5e5;
}

.detail-row.reverse .detail-image {
    order: 2;
}

.detail-row.reverse .detail-copy {
    order: 1;
}

.detail-image {
    height:
        clamp(
            330px,
            38vw,
            520px
        );

    overflow: hidden;

    background: #111;
}

.detail-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.detail-copy {
    max-width: 620px;
}

.detail-number {
    display: block;

    font-family:
        var(--display);

    color:
        var(--red);

    font-weight: 900;

    font-size:
        clamp(
            3rem,
            5vw,
            5rem
        );

    line-height: .8;

    margin-bottom: .9rem;
}

.detail-copy h3 {
    font-size:
        clamp(
            2.2rem,
            3.6vw,
            4rem
        );

    margin-bottom: 1rem;
}

.detail-copy p {
    margin-bottom: 1.25rem;
}

.tag-list {
    display: flex;

    flex-wrap: wrap;

    gap: .5rem;

    margin:
        0 0 1.4rem;
}

.tag-list span {
    border:
        1px solid #ccc;

    padding:
        .4rem .65rem;

    font-size: .72rem;

    text-transform: uppercase;

    font-weight: 700;
}


/* ==========================================================
   15. PROCESS
   ========================================================== */

.process {
    background:
        var(--black);

    color:
        var(--white);

    padding:
        clamp(
            4rem,
            6vw,
            6.5rem
        ) 0;
}

.process-grid {
    display: grid;

    grid-template-columns:
        .72fr
        .55fr
        1.73fr;

    gap: 2rem;

    align-items: center;
}

.process-intro p {
    max-width: 260px;

    margin-top: .9rem;

    color: #ccc;
}

.process-symbol img {
    width:
        min(100%, 210px);

    margin-inline: auto;
}

.process-steps {
    list-style: none;

    padding: 0;

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 1rem;
}

.process-steps li {
    position: relative;

    padding-top: 2.4rem;
}

.process-steps li:not(:last-child)::after {
    content: "";

    position: absolute;

    right: -.5rem;

    top: 1rem;

    width: 1rem;
    height: 1px;

    background: #777;
}

.process-steps span {
    position: absolute;

    top: 0;

    font-family:
        var(--display);

    font-size: 2rem;

    color:
        var(--red);

    font-weight: 900;
}

.process-steps p {
    font-size: 1rem;

    line-height: 1.3;
}


/* ==========================================================
   16. QUOTE
   ========================================================== */

.quote-section {
    background:
        var(--off-white);

    padding:
        clamp(
            4.5rem,
            7vw,
            7rem
        ) 0;
}

.quote-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        .75fr;

    gap:
        clamp(
            2.5rem,
            6vw,
            7rem
        );

    align-items: start;
}

.quote-info >
div:first-child >
p:last-child {
    max-width: 480px;

    margin-top: 1rem;
}

.quote-blocks {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 1.4rem;

    margin-top: 2.5rem;
}

.quote-block {
    border-top:
        2px solid var(--red);

    padding-top: 1rem;
}

.quote-block .line-icon {
    display: inline-flex;

    color:
        var(--red);

    font-size: 1.8rem;

    line-height: 1;
}

.quote-block h3 {
    font-size: .86rem;

    text-transform: uppercase;

    margin:
        .7rem 0 .35rem;
}

.quote-block p {
    font-size: .88rem;

    color: #555;
}

.lead-form {
    background:
        var(--white);

    padding: 1.4rem;

    box-shadow:
        0 18px 50px
        rgba(0, 0, 0, .08);
}

.form-row.two-cols {
    display: grid;

    grid-template-columns:
        1fr
        1fr;

    gap: .75rem;
}

.field {
    margin-bottom: .75rem;
}

.field label {
    display: block;

    font-size: .72rem;

    font-weight: 700;

    margin-bottom: .32rem;
}

.field input,
.field select,
.field textarea {
    width: 100%;

    border:
        1px solid #d6d6d6;

    background: #fff;

    color: #111;

    min-height: 44px;

    padding:
        .68rem .75rem;

    border-radius: 0;

    transition:
        border-color .2s,
        box-shadow .2s;
}

.field textarea {
    resize: vertical;

    min-height: 120px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color:
        var(--red);

    box-shadow:
        0 0 0 2px
        rgba(228, 0, 58, .08);

    outline: none;
}

.field [aria-invalid="true"] {
    border-color:
        var(--red);
}

.error {
    display: block;

    min-height: 1em;

    color: #b0002d;

    font-size: .68rem;

    margin-top: .25rem;
}

.form-status {
    font-size: .78rem;

    margin-top: .8rem;

    min-height: 1.2em;
}

.form-status.is-error {
    color: #a5002a;
}

.form-status.is-success {
    color: #13733b;
}


/* ==========================================================
   17. FAQ
   ========================================================== */

.faq {
    background:
        var(--white);
}

.faq-grid {
    display: grid;

    grid-template-columns:
        .65fr
        1.35fr;

    gap:
        clamp(
            2rem,
            6vw,
            7rem
        );

    align-items: start;
}

.faq-grid >
div:first-child >
p:last-child {
    max-width: 300px;

    margin-top: .85rem;
}

.accordion {
    border-top:
        1px solid #ddd;
}

.faq-item {
    border-bottom:
        1px solid #ddd;
}

.faq-item h3 {
    font-size: 1rem;
}

.faq-item button {
    width: 100%;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 1rem;

    text-align: left;

    padding:
        1rem 0;

    cursor: pointer;

    font-weight: 600;
}

.faq-item button b {
    font-size: 1.35rem;

    color:
        var(--red);

    font-weight: 400;

    transition:
        transform .25s;
}

.faq-item button[aria-expanded="true"] b {
    transform:
        rotate(45deg);
}

.faq-panel {
    overflow: hidden;

    max-height: 0;

    padding:
        0 2.4rem 0 0;

    color: #555;

    opacity: 0;

    transition:
        max-height .32s var(--ease),
        opacity .24s var(--ease),
        padding .32s var(--ease);
}

.faq-panel.is-open {
    opacity: 1;

    padding-bottom: 1rem;
}

.faq-panel p {
    font-size: .9rem;
}


/* ==========================================================
   18. FINAL CTA
   ========================================================== */

.final-cta {
    position: relative;

    overflow: hidden;

    background:
        var(--red);

    color:
        var(--white);

    min-height: 470px;

    display: flex;

    align-items: center;
}

.final-cta__image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.final-cta__overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            90deg,
            var(--red) 0%,
            rgba(228, 0, 58, .98) 42%,
            rgba(228, 0, 58, .72) 62%,
            rgba(0, 0, 0, .25) 100%
        );
}

.final-cta__inner {
    position: relative;

    z-index: 1;

    padding:
        3.5rem 0;

    max-width:
        var(--max);
}

.final-logo {
    width: 115px;

    height: auto;

    margin-bottom: 1.35rem;
}

.final-cta h2 {
    font-size:
        clamp(
            3.4rem,
            6vw,
            6.5rem
        );

    max-width: 760px;
}

.final-cta p {
    max-width: 590px;

    margin-top: 1rem;
}

.final-actions {
    display: flex;

    gap: .8rem;

    flex-wrap: wrap;

    margin-top: 1.5rem;
}

.final-claim {
    position: absolute;

    right: 1rem;

    bottom: 1.3rem;

    font-family:
        var(--display);

    font-weight: 900;

    font-size:
        clamp(
            1.8rem,
            3vw,
            3.2rem
        );

    text-transform: uppercase;

    transform:
        rotate(-8deg);

    max-width: 240px;

    text-align: center;

    line-height: .9;
}


/* ==========================================================
   19. FOOTER
   ========================================================== */

.site-footer {
    background:
        var(--black);

    color:
        var(--white);

    padding:
        3.25rem 0 0;
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.35fr
        1fr;

    gap:
        clamp(
            2rem,
            4vw,
            5rem
        );

    padding-bottom: 3rem;
}

.footer-logo {
    width: 120px;

    height: auto;

    margin-bottom: 1rem;
}

.footer-grid h2 {
    font-family:
        var(--display);

    font-weight: 900;

    font-size: 1.2rem;

    text-transform: uppercase;

    margin-bottom: .8rem;

    text-align: right;
}

.footer-grid p.copy {
    text-align: right;
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    display: block;

    color: #cfcfcf;

    font-size: .88rem;

    margin:
        .28rem 0;
}

.footer-grid a:hover {
    color:
        var(--red);
}

.footer-grid [aria-disabled="true"] {
    cursor: default;
}

.footer-ticker {
    overflow: hidden;

    border-top:
        1px solid #222;

    padding:
        .72rem 0;
}

.footer-ticker div {
    font-family:
        var(--display);

    font-weight: 900;

    text-transform: uppercase;

    white-space: nowrap;

    color: #777;

    font-size: .78rem;

    letter-spacing: .06em;

    animation:
        marquee
        40s
        linear
        infinite;
}


/* ==========================================================
   20. WHATSAPP
   ========================================================== */

.floating-whatsapp {
    position: fixed;

    right: 24px;

    bottom: 24px;

    z-index: 900;

    width: 58px;

    height: 58px;

    border-radius: 50%;

    display: grid;

    place-items: center;

    background:
        var(--red);

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, .28);

    transition:
        transform .25s,
        background .25s;
}

.floating-whatsapp:hover {
    transform:
        translateY(-3px)
        scale(1.03);

    background: #c90033;
}

.floating-whatsapp svg {
    width: 29px;

    height: 29px;

    fill:
        var(--white);
}


/* ==========================================================
   21. LIGHTBOX
   ========================================================== */

.lightbox {
    position: fixed;

    inset: 0;

    z-index: 2000;

    background:
        rgba(0, 0, 0, .94);

    display: grid;

    place-items: center;

    padding: 4rem;
}

.lightbox[hidden] {
    display: none;
}

.lightbox figure {
    max-width:
        min(1200px, 86vw);

    max-height: 82vh;

    display: grid;

    gap: .7rem;

    color: #fff;
}

.lightbox figure img {
    max-height: 76vh;

    width: auto;

    max-width: 100%;

    margin: auto;

    object-fit: contain;
}

.lightbox figcaption {
    text-align: center;

    font-size: .78rem;

    color: #ccc;
}

.lightbox-close,
.lightbox-nav {
    position: absolute;

    color: #fff;

    cursor: pointer;

    width: 48px;

    height: 48px;

    font-size: 2.2rem;

    line-height: 1;
}

.lightbox-close {
    top: 18px;

    right: 18px;
}

.lightbox-prev {
    left: 18px;

    top: 50%;

    transform:
        translateY(-50%);
}

.lightbox-next {
    right: 18px;

    top: 50%;

    transform:
        translateY(-50%);
}


/* ==========================================================
   22. SCROLL ANIMATIONS
   ========================================================== */

.fade-up,
.fade-in,
.fade-left,
.fade-right,
.reveal-image {
    opacity: 0;

    transition:
        opacity .75s var(--ease),
        transform .75s var(--ease);
}

.fade-up {
    transform:
        translateY(24px);
}

.fade-left {
    transform:
        translateX(-26px);
}

.fade-right {
    transform:
        translateX(26px);
}

.reveal-image {
    transform:
        translateY(18px)
        scale(.985);
}

.fade-up.is-visible,
.fade-in.is-visible,
.fade-left.is-visible,
.fade-right.is-visible,
.reveal-image.is-visible {
    opacity: 1;

    transform: none;
}


/* ==========================================================
   23. RESPONSIVE
   ========================================================== */


/* ----------------------------------------------------------
   <= 1100px
   ---------------------------------------------------------- */

@media (max-width: 1100px) {

    .desktop-nav {
        gap: 1.2rem;
    }

    .header-inner {
        gap: 1rem;
    }

    .header-quote {
        display: none;
    }

    .process-grid {
        grid-template-columns:
            .65fr
            .4fr
            1.95fr;
    }

    .process-steps {
        gap: .65rem;
    }

    .quote-grid {
        grid-template-columns:
            1.15fr
            .85fr;
    }

}


/* ----------------------------------------------------------
   <= 900px
   ---------------------------------------------------------- */

@media (max-width: 900px) {

    .header-inner {
        grid-template-columns:
            auto
            1fr;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;

        justify-self: end;
    }

    .site-header .brand {
        justify-self: start;
    }


    /* HERO */

    .hero {
        min-height: 690px;
    }

    .hero-inner {
        padding-top: 8rem;
    }

    .hero-claim {
        font-size: 2.4rem;

        opacity: .7;
    }


    /* ONE COLUMN SECTIONS */

    .services-intro,
    .portfolio-head,
    .differentiation-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-head >
    div:last-child {
        justify-self: start;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    /* PORTFOLIO */

    .portfolio-grid {
        columns: 2;

        column-gap: 6px;
    }


    /* PILLARS */

    .pillar-grid {
        grid-template-columns:
            1fr;
    }

    .pillar-card,
    .pillar-content {
        min-height: 300px;
    }


    /* CONCEPTS */

    .concept-grid {
        grid-template-columns:
            repeat(3, 1fr);
    }


    /* MANIFESTO */

    .manifesto-grid {
        grid-template-columns:
            1fr
            1fr;
    }

    .manifesto-image {
        display: none;
    }


    /* DETAIL SERVICES */

    .detail-row,
    .detail-row.reverse {
        grid-template-columns: 1fr;
    }

    .detail-row.reverse .detail-image,
    .detail-row.reverse .detail-copy {
        order: initial;
    }

    .detail-image {
        height: 420px;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns:
            .9fr
            .4fr;

        align-items: start;
    }

    .process-steps {
        grid-column:
            1 / -1;

        margin-top: 1.5rem;
    }


    /* QUOTE */

    .quote-grid {
        grid-template-columns: 1fr;
    }

    .quote-blocks {
        grid-template-columns:
            repeat(3, 1fr);
    }


    /* FINAL CTA */

    .final-cta__image {
        inset:
            0 0 0 35%;

        width: 65%;
    }

    .final-cta__overlay {
        background:
            linear-gradient(
                90deg,
                var(--red) 0%,
                rgba(228, 0, 58, .97) 54%,
                rgba(228, 0, 58, .55) 78%,
                rgba(0, 0, 0, .28) 100%
            );
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ----------------------------------------------------------
   <= 640px
   ---------------------------------------------------------- */

@media (max-width: 640px) {

    html {
        scroll-padding-top: 68px;
    }


    /* HEADER */

    .header-inner {
        height: 66px;
    }

    .brand img {
        width: 112px;
    }


    /* HERO */

    .hero {
        min-height: 700px;

        align-items: flex-end;
    }

    .hero-media {
        object-position:
            58% center;
    }

    .hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(0, 0, 0, .9),
                rgba(0, 0, 0, .55) 65%,
                rgba(0, 0, 0, .32)
            );
    }

    .hero-inner {
        padding-top: 7.5rem;

        padding-bottom: 2rem;
    }

    .hero-copy {
        max-width: 100%;
    }

    .hero-claim {
        display: none;
    }

    .hero-actions {
        display: grid;

        grid-template-columns: 1fr;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-services {
        font-size: .6rem;

        line-height: 1.5;
    }


    /* TYPOGRAPHY */

    .display-xl {
        font-size:
            clamp(
                3.7rem,
                17vw,
                5.2rem
            );

        line-height: .82;
    }

    .display-lg {
        font-size:
            clamp(
                2.8rem,
                13vw,
                4.25rem
            );

        line-height: .84;
    }


    /* GENERAL */

    .section {
        padding:
            4.2rem 0;
    }


    /* SERVICES */

    .service-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        min-height: 285px;
    }


    /* PORTFOLIO
       Mantenemos 2 columnas
       y respetamos proporciones.
    */

    .portfolio-grid {
        columns: 2;

        column-gap: 4px;
    }

    .portfolio-item {
        margin-bottom: 4px;
    }

    .portfolio-more {
        text-align: left;
    }


    /* PILLARS */

    .pillar-content {
        grid-template-columns:
            1fr
            1fr;

        padding: 1.5rem;
    }

    .pillar-content h3 {
        font-size: 2.4rem;
    }


    /* CONCEPTS */

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .concept-card {
        min-height: 155px;
    }


    /* MANIFESTO */

    .manifesto {
        background-position:
            60% center;
    }

    .manifesto-grid {
        grid-template-columns: 1fr;
    }

    .manifesto-copy {
        grid-column: auto;
    }


    /* DETAIL SERVICES */

    .detail-image {
        height: 310px;
    }

    .detail-copy h3 {
        font-size: 2.65rem;
    }

    .tag-list {
        gap: .35rem;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;
    }

    .process-symbol {
        display: none;
    }

    .process-steps {
        grid-column: auto;

        grid-template-columns: 1fr;

        margin-top: 1rem;

        gap: .25rem;
    }

    .process-steps li {
        padding:
            1rem 0 1rem 3.3rem;

        border-top:
            1px solid #222;
    }

    .process-steps li:not(:last-child)::after {
        display: none;
    }

    .process-steps span {
        top: .6rem;

        left: 0;
    }


    /* QUOTE */

    .quote-blocks {
        grid-template-columns: 1fr;
    }

    .form-row.two-cols {
        grid-template-columns: 1fr;
    }


    /* FAQ */

    .faq-grid {
        gap: 2rem;
    }

    .faq-panel {
        padding-right: .5rem;
    }


    /* FINAL CTA */

    .final-cta {
        min-height: 540px;
    }

    .final-cta__image {
        inset: 0;

        width: 100%;
        height: 100%;

        opacity: .48;
    }

    .final-cta__overlay {
        background:
            linear-gradient(
                90deg,
                rgba(228, 0, 58, .97),
                rgba(228, 0, 58, .86) 70%,
                rgba(60, 0, 15, .58)
            );
    }

    .final-cta__inner {
        padding:
            3.5rem 0 5rem;
    }

    .final-claim {
        font-size: 1.7rem;

        right: 1rem;

        bottom: 1rem;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 1.5rem;
    }

    .footer-grid > div {
        border-top:
            1px solid #1f1f1f;

        padding-top: 1rem;
    }

    .footer-grid > div:first-child {
        border-top: 0;

        padding-top: 0;
    }

    .footer-grid h2,
    .footer-grid p.copy {
        text-align: left;
    }


    /* WHATSAPP */

    .floating-whatsapp {
        right: 16px;

        bottom: 18px;

        width: 54px;

        height: 54px;
    }


    /* LIGHTBOX */

    .lightbox {
        padding:
            3.5rem 1rem;
    }

    .lightbox-prev {
        left: 4px;
    }

    .lightbox-next {
        right: 4px;
    }

}


/* ----------------------------------------------------------
   <= 390px
   ---------------------------------------------------------- */

@media (max-width: 390px) {

    .hero {
        min-height: 680px;
    }

    .hero-lead {
        font-size: .94rem;
    }

    .btn {
        padding-inline: 1rem;
    }


    /* Portafolio en una sola columna
       para pantallas muy pequeñas */

    .portfolio-grid {
        columns: 1;
    }


    .pillar-content {
        grid-template-columns: 1fr;
    }

    .pillar-content p {
        margin-top: .3rem;
    }

}


/* ==========================================================
   24. REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration:
            .001ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .001ms !important;

        scroll-behavior:
            auto !important;
    }

    .fade-up,
    .fade-in,
    .fade-left,
    .fade-right,
    .reveal-image,
    .hero-animate {
        opacity:
            1 !important;

        transform:
            none !important;
    }

}