/* ===== MARKETING ESTRATÉGICO — Page-specific styles ===== */

/* ===== MK SECTION (Alternating content sections) ===== */
.mk-section {
    padding: clamp(80px, 12vw, 140px) 0;
    background: var(--white);
}

.mk-section--dark {
    background: var(--dark);
}

.mk-section__grid {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    gap: clamp(40px, 6vw, 100px);
    align-items: start;
}

.mk-section__label {
    position: sticky;
    top: calc(var(--nav-height) + 32px);
}

.mk-section__heading {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--dark);
    margin-top: 4px;
}

.mk-section__heading--light {
    color: var(--white);
}

.mk-section__text {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 20px;
}

.mk-section__text--light {
    color: var(--gray-400);
}

/* ===== MK FEATURES (icon + text rows) ===== */
.mk-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 36px;
}

.mk-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: border-color 0.3s;
}

.mk-feature:hover {
    border-color: var(--gray-400);
}

.mk-feature__icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    color: var(--dark);
}

.mk-feature__title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.mk-feature__desc {
    font-size: 0.85rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ===== CONSULTORÍA — Split Accordion ===== */
.mk-consult {
    padding: 80px 0;
    background: var(--dark);
}

.mk-consult__layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.mk-consult__intro {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin-top: 16px;
}

.mk-consult__duration {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 16px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.mk-consult__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mk-consult__item-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    cursor: pointer;
    transition: color 0.3s;
}

.mk-consult__item-head:hover {
    color: var(--accent);
}

.mk-consult__item-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mk-consult__item-num {
    font-size: 0.68rem;
    color: var(--accent);
    font-weight: 700;
}

.mk-consult__item-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
}

.mk-consult__item-toggle {
    font-size: 1.3rem;
    color: var(--accent);
    transition: transform 0.3s;
}

.mk-consult__item-body {
    padding: 0 0 18px 36px;
    display: none;
}

.mk-consult__item.open .mk-consult__item-body {
    display: block;
}

.mk-consult__item.open .mk-consult__item-toggle {
    transform: rotate(45deg);
}

.mk-consult__item-desc {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.6;
    margin-bottom: 10px;
}

.mk-consult__item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.mk-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
    .mk-consult__layout { grid-template-columns: 1fr; }
}

/* ===== NAV ACTIVE STATE ===== */
.nav__link.active {
    color: var(--white);
    font-weight: 400;
}

/* ===== GSAP INITIAL STATES — handled via gsap.set() in JS ===== */
.mk-timeline::before { transform: scaleY(0); transform-origin: top center; }
.mk-timeline.is-visible::before { transform: scaleY(1); transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .mk-section__grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .mk-section__label {
        position: static;
    }
}

@media (max-width: 768px) {
    .mk-features {
        gap: 16px;
    }

    .mk-feature {
        flex-direction: column;
        gap: 12px;
    }

    .mk-stages-preview {
        gap: 8px;
    }

    .mk-timeline {
        padding-left: 44px;
    }

    .mk-timeline::before {
        left: 17px;
    }

    .mk-stage__marker {
        left: -44px;
        width: 36px;
        height: 36px;
    }

    .mk-stage__number {
        font-size: 0.75rem;
    }

    .mk-stage__tags span {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
}

@media (max-width: 480px) {
    .mk-section .container,
    .mk-consult .container {
        max-width: 95%;
        padding: 0;
    }

    .mk-feature {
        padding: 20px 16px;
    }

    .mk-consult__item-body {
        padding: 0 0 18px 20px;
    }
}

/* ===== Hero alineado a la misma caja (1280) ===== */
.page-hero {
    padding-left: clamp(24px, 5vw, 60px);
    padding-right: clamp(24px, 5vw, 60px);
    background-color: var(--black);
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 40%, rgba(0,0,0,0) 70%),
        url("img/herosection/marketing.jpg");
    background-size: cover, cover;
    background-position: center, center right;
    background-repeat: no-repeat, no-repeat;
}
.page-hero > .container {
    padding: 0;
    max-width: var(--container);
}
@media (max-width: 768px) {
    .page-hero {
        background-image:
            linear-gradient(180deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.72) 100%),
            url("img/herosection/marketing.jpg");
        background-position: center, center;
    }
}

/* ===== FAQ overrides (mismo estilo que diseño gráfico) ===== */
.svc-faq {
    padding: 96px clamp(24px, 5vw, 60px) 120px;
}
.svc-faq > .container {
    max-width: var(--container);
    padding: 0;
}
.svc-faq__header {
    max-width: 760px;
    margin: 0 0 48px;
    text-align: left;
    padding: 0;
}
.svc-faq__header .section-num {
    font-size: 11px;
    letter-spacing: 0.25em;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 18px;
    display: block;
    text-transform: uppercase;
}
.svc-faq__header .section-title-lg {
    font-family: var(--font-main);
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--dark);
    margin: 0;
}
.svc-faq__shell {
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    max-width: none;
    margin: 0;
    padding: 0;
    align-items: start;
}
@media (min-width: 900px) {
    .svc-faq__shell {
        grid-template-columns: 1fr 2fr;
        gap: 48px;
    }
}
.svc-faq__tab {
    border-top: 1px solid var(--gray-200);
    border-bottom: 0;
    padding: 18px 0;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: color 0.2s;
}
.svc-faq__tab:last-child {
    border-bottom: 1px solid var(--gray-200);
}
.svc-faq__tab.is-active {
    color: var(--dark);
    font-weight: 700;
    padding-left: 0;
    border-bottom: 0;
}
.svc-faq__tab.is-active:last-child {
    border-bottom: 1px solid var(--gray-200);
}

/* ===== MARKETING DIGITAL (white · 2-col split) ===== */
.mk-w {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 60px);
    background: #fff;
    color: var(--dark);
    position: relative;
}
.mk-w__inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}
.mk-w__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.mk-w__eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 24px;
}
.mk-w__title {
    font-family: var(--font-display, 'Frutiger', 'Inter', sans-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -.03em;
    color: var(--dark);
    margin-bottom: 24px;
}
.mk-w__copy {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 18px;
}
.mk-w__copy:last-of-type {
    margin-bottom: 0;
}
.mk-w__features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}
.mk-w__feat {
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
}
.mk-w__feat:first-child {
    border-top: 0;
    padding-top: 0;
}
.mk-w__feat-h {
    font-family: var(--font-display, 'Frutiger', 'Inter', sans-serif);
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
    letter-spacing: -.005em;
}
.mk-w__feat-t {
    font-size: .88rem;
    line-height: 1.6;
    color: var(--gray-600);
}
.mk-w__brand {
    margin-top: 40px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.mk-w__brand img {
    max-height: 80px;
    width: auto;
    display: block;
}

/* ===== CONSULTORÍA (dark · cards 2x2) ===== */
.cs-d {
    padding: clamp(80px, 10vw, 140px) clamp(24px, 5vw, 60px);
    background: var(--dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.cs-d__ring {
    position: absolute;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cs-d__ring--1 {
    width: 900px;
    height: 900px;
    border: 1px solid rgba(255, 93, 60, 0.08);
}
.cs-d__ring--2 {
    width: 600px;
    height: 600px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.cs-d__inner {
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}
.cs-d__head {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 80px;
    margin-bottom: 64px;
    align-items: end;
}
.cs-d__eyebrow {
    font-size: 11px;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 24px;
}
.cs-d__title {
    font-family: var(--font-display, 'Frutiger', 'Inter', sans-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.cs-d__title.iri {
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='2.4' numOctaves='2' seed='9'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>"),
        linear-gradient(108deg, #ece4d6 0%, #e6dcc9 22%, #c4b0d2 42%, #d398b3 54%, #c4b0d2 66%, #e6dcc9 82%, #ece4d6 100%);
    background-blend-mode: overlay;
    background-size: 180px 180px, 100% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.cs-d__sub {
    font-size: .98rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}
.cs-d__duration {
    display: inline-block;
    margin-top: 14px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    font-size: .72rem;
    letter-spacing: .1em;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}
.cs-d__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    overflow: hidden;
}
.cs-d__card {
    background: var(--dark);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .25s;
}
.cs-d__card:hover {
    background: rgba(255, 255, 255, 0.04);
}
.cs-d__card-num {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -.02em;
}
.cs-d__card-h {
    font-family: var(--font-display, 'Frutiger', 'Inter', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -.01em;
}
.cs-d__card-t {
    font-size: .88rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 900px) {
    .mk-w__split { grid-template-columns: 1fr; gap: 32px; }
    .mk-w__brand { align-items: center; text-align: center; }
    .cs-d__head { grid-template-columns: 1fr; gap: 32px; align-items: start; }
    .cs-d__cards { grid-template-columns: 1fr; }
}

/* Bullets dentro de cards de Consultoría */
.cs-d__card-list {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.cs-d__card-list li {
    position: relative;
    padding-left: 18px;
    font-size: .85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.6);
}
.cs-d__card-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}
.cs-d__card {
    align-self: stretch;
}

/* ===== Consultoría · tabs horizontales (reemplaza cards 2x2) ===== */
.cs-d__ts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 48px;
}
.cs-d__ts-btn {
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 24px 16px;
    text-align: left;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    border-bottom: 2px solid transparent;
    transition: color .25s, border-color .25s;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: -1px;
}
.cs-d__ts-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    letter-spacing: -.02em;
}
.cs-d__ts-h {
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.35;
}
.cs-d__ts-btn:hover {
    color: #fff;
}
.cs-d__ts-btn.is-active {
    color: #fff;
    border-bottom-color: var(--accent);
}
.cs-d__panels {
    position: relative;
    min-height: 320px;
}
.cs-d__panel {
    display: none;
    animation: csPanelFade .35s ease;
}
.cs-d__panel.is-active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
@keyframes csPanelFade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.cs-d__panel-h {
    font-family: var(--font-display, 'Frutiger', 'Inter', sans-serif);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    letter-spacing: -.02em;
    margin-bottom: 20px;
}
.cs-d__panel-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}
.cs-d__panel-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.cs-d__panel-list li {
    position: relative;
    padding-left: 20px;
    font-size: .92rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.65);
}
.cs-d__panel-list li::before {
    content: "–";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent);
    font-weight: 700;
}
@media (max-width: 900px) {
    .cs-d__ts { grid-template-columns: repeat(2, 1fr); }
    .cs-d__panel.is-active { grid-template-columns: 1fr; gap: 24px; }
}
