/* ==========================================================
   Campañas específicas
========================================================== */

.hero__kicker{
    display:inline-flex;
    align-items:center;
    gap:11.2px;

    font-size:12.48px;
    font-weight:500;
    letter-spacing:1.4976px;
    text-transform:uppercase;
    color:#0f11158c;
}

.hero__kicker::before{
    content:"";
    width:28px;
    height:1px;
    background:#B0361D;
    opacity:.7;
}

.hero__folio{
    font-family:'Inter Tight', sans-serif;
    font-size:13.12px;
    font-weight:500;
    letter-spacing:1.8368px;
    color:#0f11158c;
}

.hero__tag.chero__tag{
    font-size:16.32px;
}

.hero__meta--case{
    display:grid;
    grid-template-columns:80% 20%;
    gap:35.2px 48px;
    align-items:end;

    padding-top:32px;
    margin-top:33.6px;

    border-top:1px solid rgba(15,17,21,.12);
}

.cmeta{
    display:flex;
    flex-direction:column;
    gap:9.6px;
    min-width:240px;
}

.cmeta__row{
    display:grid;
    grid-template-columns:118px 1fr;
    gap:16px;
    align-items:baseline;
}

.cmeta__k{
    font-size:10.88px;
    letter-spacing:1.7408px;
    text-transform:uppercase;
    color:#0f11158c;
}

.cmeta__v{
    font-size:14.88px;
    color:#0F1115;
    letter-spacing:-0.1488px;
    line-height:1.4;
}

.hero__meta--case .hbtn{
    justify-self:end;
}

/* ==========================================================
   CASE STATS
========================================================== */

.cstats-band{
    padding-top:clamp(38.4px, 3.6vw, 54.4px);
    padding-bottom:clamp(72px, 6.5vw, 112px);
}

.cstats{
    display:grid;
    grid-template-columns:repeat(3,1fr);

    border-top:1px solid rgba(15,17,21,.12);
}

.cstat{
    padding-top:2.1rem;
}

.cstat:not(:last-child){
    border-right:1px solid rgba(15,17,21,.12);
    padding-right:32px;
}

.cstat:not(:first-child){
    padding-left:32px;
}

.cstat__num{
    font-family:'Inter Tight', sans-serif;
    font-size:59.2px;
    font-weight:600;
    line-height:.9;
    letter-spacing:-2.072px;

    color:#0F1115;
}

.cstat__label{
    margin-top:12.8px;

    font-size:13.44px;
    letter-spacing:.5376px;

    color:#0F11158C;
}

.csec{
    padding:112px 40px;
    max-width:1680px;
    margin:0 auto;
    position:relative;
    z-index:2;
}

.csec .s-label{
    display:inline-flex;
    align-items:center;
    gap:8px;

    margin-bottom:21.6px;

    font-size:12.48px;
    font-weight:500;
    letter-spacing:1.248px;
    text-transform:uppercase;

    color:#0f11158c;
}

.csec .s-num{
    color:#B0361D;
}

.csection-title{
    max-width:760px;
    margin:0 0 22.4px;
    font-family:'Inter Tight', sans-serif;
    font-size:34.56px;
    font-weight:500;
    line-height:1.16;
    letter-spacing:-0.96768px;

    color:#0F1115;
}

.cbody{
    max-width:720px;

    font-size:16.128px;
    line-height:1.72;
    letter-spacing:-0.096768px;

    color:#0F1115;
}

.cbody p{
    margin:0;
}

/* ==========================================================
   CASE REEL
========================================================== */

.creel{
    display:grid;
    grid-template-columns:minmax(0,1fr) 322px;
    gap:96px;

    align-items:start;

    padding:112px 40px;

    max-width:1680px;
    margin:0 auto;
}

.creel__text{
    max-width:720px;
}

.creel__media{
    display:flex;
    justify-content:flex-end;
}

.creel__media img{
    width:322px;
    height:572.44px;

    display:block;

    object-fit:cover;

    border-radius:20px;
}

.levers__head .s-label{
    color:#F9F7F19E;
}

.levers__head .csection-title{
    color:#F9F7F1;
}

.levers__lead{
    max-width:672px;
    font-size:18.4px;
    line-height:1.55;
    color:#F9F7F199;
}

.levers__grid{
    display:grid;
    gap:32px;
}

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

.levers__grid--4{
    grid-template-columns:repeat(4,1fr);
}

.levers__grid--5{
    grid-template-columns:repeat(5,1fr);
}

.lever{
    padding:28.8px 0 0;
    border-top:1px solid #F9F7F12E;
    transition:border-color .4s var(--ease);
}

.lever:hover{
    border-color:#B0361D;
}

.lever__n{
    display:block;
    margin-bottom:20px;

    font-family:'Inter Tight', sans-serif;
    font-size:12.8px;
    font-weight:600;

    color:#B0361D;
}

.lever p{
    margin:0;
    font-size:15.36px;
    line-height:1.55;
    color:#F9F7F1B8;
}

/* ==========================================================
   EL IMPACTO
========================================================== */

.impact{
    padding:112px 40px;
    max-width:1680px;
    margin:0 auto;
    position:relative;
    z-index:2;
}

.impact .s-label{
    color:#F9F7F19E;
}

.impact .csection-title{
    color:#F9F7F1;
}

.impact .cbody{
    color:#F9F7F1D1;
}

.impact__accent{
    color:#B0361D;
}

/* ==========================================================
   RESULTADOS
========================================================== */

.resultados{
    padding:112px 40px;
    max-width:1680px;
    margin:0 auto;
    position:relative;
    z-index:2;
}

.closing{
    max-width:800px;
    padding:1.6px 0 1.6px 38.4px;
    border-left:3px solid #B0361D;
}

.closing .s-label{
    margin-bottom:21.6px;
}
.closing .csection-title{
    margin:0 0 22.4px;
}

.closing .cbody{
    color:#0F1115;
}

body{
    background:#F9F7F1;
    transition:background-color 1.2s cubic-bezier(.22,1,.36,1);
}

.case-back{
    display: inline-flex;
    align-items: center;
    gap: 8px;

    font-size: 12.8px;
    font-weight: 500;
    letter-spacing: .512px;

    color: #0F11158C !important;
    text-decoration: none !important;

    margin-bottom: 30.4px;

    transition: color .25s ease, gap .25s ease;
}

.case-back span{
    text-decoration: none;
}

.case-back svg{
    width: 14px;
    height: 14px;
    stroke: currentColor;
    flex-shrink: 0;
}

.case-back:hover{
    color: #B0361D !important;
    gap: 12px;
    text-decoration: none !important;
}

.case-back:hover span{
    text-decoration: none;
}

.contact-divider__flamingo{
    box-shadow: none !important;
    filter: none !important;
    background: transparent !important;
}

.single-campana .post-navigation{
    display:flex;
    justify-content:center;
}

.single-campana .post-navigation .nav-links{
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    align-items:center;

    width:100%;
    max-width:1400px;
    padding:0 60px;
    box-sizing:border-box;
}

.single-campana .post-navigation .ast-post-nav{
    display:none !important;
}

.single-campana .post-navigation .nav-previous{
    justify-self:start;
}

.single-campana .post-navigation .nav-next{
    justify-self:end;
}

.single-campana .post-navigation .nav-previous a,
.single-campana .post-navigation .nav-next a{
    display:inline-flex;
    align-items:center;
    gap:10px;

    color:#0F11158C;
    text-decoration:none !important;

    font-size:15px;
    font-weight:500;
    letter-spacing:.512px;

    transition:color .25s ease, gap .25s ease;
}

.single-campana .post-navigation .nav-previous a:hover,
.single-campana .post-navigation .nav-next a:hover{
    color:#B0361D;
    gap:14px;
}

.single-campana .post-navigation .nav-next a{
    justify-content:flex-end;
}

.single-campana .post-navigation p{
    margin:0;
}

.single-campana .post-navigation svg{
    width:15px;
    height:15px;
    flex-shrink:0;
}

.single-campana .case-nav__all{
    justify-self:center;
    align-self:center;
    display:inline-flex;
    align-items:center;
    color:#0F11158C !important;
    text-decoration:none !important;
    font-size:12.8px;
    font-weight:500;
    letter-spacing:.512px;
    transition:none;
}

@media (max-width: 767px) {

    /* Encabezado horizontal */
    body.single-campana .hero__head {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    body.single-campana .hero__head-left {
        min-width: 0;
        margin-left: 0;
        margin-right: 0;
    }

    body.single-campana .hero__head-right {
        width: auto;
        text-align: right;
    }

    /* Título principal */
    body.single-campana .hero__claim {
        width: 100%;
        max-width: 100%;
        font-size: 45px;
        line-height: 1.05;
        letter-spacing: -0.04em;
        margin-bottom: 30px;
        overflow-wrap: break-word;
    }

    /* Información de la campaña en vertical */
    body.single-campana .hero__meta--case {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 24px;
    }

    body.single-campana .hero__meta--case > * {
        min-width: 0;
        max-width: 100%;
        grid-column: auto;
        grid-row: auto;
    }

    body.single-campana .hero__meta--case .hbtn {
        justify-self: start;
    }

    /* Estadísticas en una columna */
    body.single-campana .cstats {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
    }

    body.single-campana .cstats .cstat {
        min-width: 0;
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid rgba(15, 17, 21, 0.12);
    }

    body.single-campana .cstats .cstat:last-child {
        border-bottom: 0;
    }

    /* Texto y vídeo apilados */
    body.single-campana .creel {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding: 56px 20px;
        box-sizing: border-box;
    }

    body.single-campana .creel > * {
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
        max-width: 100%;
    }

    body.single-campana .creel__text {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    body.single-campana .creel .csection-title,
    body.single-campana .creel .cbody {
        width: 100%;
        max-width: none;
    }

    body.single-campana .creel__media {
        justify-content: center;
        width: 100%;
    }

    body.single-campana .creel .creel__video {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* Cinco tarjetas en una columna */
    body.single-campana .levers__grid.levers__grid--5 {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
        padding-left: 0;
        padding-right: 0;
    }

    body.single-campana .levers__grid--5 > * {
        min-width: 0;
        grid-column: auto;
        grid-row: auto;
    }

    /* Fondo negro de clientes a ancho completo */
    body.single-campana
    .clients__grid-wrapper.ff-clients-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background-color: #000000;
        box-shadow: 0 0 0 100vmax #000000;
        clip-path: inset(0 -100vmax);
        padding-top: 45px;
        padding-bottom: 45px;
    }
}

@media (max-width: 767px) {
    body.single-campana .cstats-band,
    body.single-campana .cstats-band .cstat {
        text-align: center;
    }

    body.single-campana .cstats-band .cstat > * {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 767px) {

    body.single-campana
    .clients__grid-wrapper.ff-clients-section .clients__grid {
        display: flex;
        gap: 0;
        width: 100%;
        min-width: 0;
        padding-left: 0;
        padding-right: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
        scrollbar-color: #b0361d #000000;
        box-sizing: border-box;
    }

    body.single-campana
    .clients__grid-wrapper.ff-clients-section .client__item {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        padding: 0 20px;
        box-sizing: border-box;
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }

    body.single-campana
    .clients__grid-wrapper.ff-clients-section .client__item img {
        display: block;
        width: 100%;
        max-width: 180px;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 767px) {
    body.single-campana .resultados,
    body.single-campana .impact,
    body.single-campana .csec {
        padding: 0;
    }
}

@media (max-width: 767px) {

    body.single-campana .hero__meta--case {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }

    /* Datos distribuidos horizontalmente */
    body.single-campana .hero__meta--case .cmeta {
        display: grid;
        grid-auto-flow: column;
        grid-auto-columns: minmax(0, 1fr);
        gap: 16px;
        width: 100%;
        min-width: 0;
    }

    /* Cada etiqueta encima de su valor */
    body.single-campana .hero__meta--case .cmeta__row {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        min-width: 0;
    }

    body.single-campana .hero__meta--case .cmeta__k,
    body.single-campana .hero__meta--case .cmeta__v {
        display: block;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    /* Botón debajo, a ancho completo */
    body.single-campana .hero__meta--case .hbtn--primary {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: none;
        box-sizing: border-box;
    }
}