:root {
    --color-bg: #f3f1eb;
    --color-surface: #f7f4ee;
    --color-surface-2: #ece8df;
    --color-surface-3: #e3ddd2;
    --color-text: #151412;
    --color-muted: #6a665f;
    --color-line: rgba(21, 20, 18, 0.08);
    --color-line-strong: rgba(21, 20, 18, 0.14);
    --color-accent: #161512;
    --color-accent-soft: #727066;
    --color-dark: #101010;

    --shadow-soft: 0 10px 24px rgba(0, 0, 0, 0.035);
    --shadow-medium: 0 16px 36px rgba(0, 0, 0, 0.06);
    --shadow-strong: 0 24px 54px rgba(0, 0, 0, 0.10);

    --container: 1280px;
    --container-narrow: 920px;

    --font-sans: "Inter", sans-serif;

    --radius-sm: 4px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 220ms ease;

    --hero-overlay: rgba(0, 0, 0, 0.48);
    --hero-overlay-strong: rgba(0, 0, 0, 0.66);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.78;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    font: inherit;
}

.site-wrapper {
    min-height: 100vh;
    overflow: clip;
}

.container {
    width: min(100% - 56px, var(--container));
    margin: 0 auto;
}

.narrow {
    width: min(100%, var(--container-narrow));
    margin: 0 auto;
}

.section {
    position: relative;
    padding: 124px 0;
    border-top: 1px solid var(--color-line);
}

.section-kicker,
.eyebrow {
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    text-transform: uppercase;
    color: var(--color-muted);
    margin-bottom: 18px;
}

.section-title {
    font-size: clamp(2.1rem, 3.8vw, 4rem);
    line-height: 1.02;
    font-weight: 400;
    letter-spacing: -0.055em;
    max-width: 920px;
    text-wrap: balance;
}

.section-text {
    font-size: 1rem;
    color: var(--color-muted);
    margin-top: 22px;
    max-width: 760px;
}

.section-heading {
    margin-bottom: 68px;
}

.section-heading-centered {
    text-align: center;
}

.section-heading-centered .section-title,
.section-heading-centered .section-text,
.section-heading-centered .section-kicker {
    margin-left: auto;
    margin-right: auto;
}

.section-heading-narrow {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 72px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(243, 241, 235, 0.82);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.site-header.scrolled {
    border-bottom-color: var(--color-line);
    background: rgba(243, 241, 235, 0.92);
}

.header-inner {
    min-height: 84px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand-extended {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-main {
    font-size: 1.08rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    font-weight: 500;
    white-space: nowrap;
}

.brand-separator {
    font-size: 1rem;
    color: var(--color-muted);
    opacity: 0.42;
}

.brand-tagline {
    display: flex;
    flex-direction: column;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--color-muted);
    line-height: 1.2;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.main-nav a {
    position: relative;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-muted);
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--color-text);
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 1px;
    background: var(--color-text);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav .nav-cta::after {
    width: 100%;
}

.main-nav .nav-cta {
    color: var(--color-text);
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    background: transparent;
    border: 0;
    cursor: pointer;
    position: relative;
}

.nav-toggle span {
    position: absolute;
    left: 10px;
    width: 24px;
    height: 1.5px;
    background: var(--color-text);
    transition: var(--transition);
}

.nav-toggle span:first-child {
    top: 17px;
}

.nav-toggle span:last-child {
    top: 25px;
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg);
    top: 21px;
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg);
    top: 21px;
}

.hero {
    position: relative;
    min-height: 88vh;
    padding-top: 120px;
    padding-bottom: 110px;
    overflow: hidden;
    border-top: 0;
}

.hero-with-background {
    background-image:
        linear-gradient(to right, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.42) 44%, rgba(0, 0, 0, 0.24) 100%),
        linear-gradient(to bottom, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.46) 100%),
        url('img/hero-office.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-shell {
    display: flex;
    align-items: flex-end;
    min-height: calc(88vh - 120px);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 24px 0;
}

.hero-content h1 {
    font-size: clamp(3.4rem, 6.5vw, 6.8rem);
    line-height: 0.92;
    font-weight: 400;
    letter-spacing: -0.07em;
    max-width: 900px;
    text-wrap: balance;
}

.hero-with-background .hero-content,
.hero-with-background .hero-content h1 {
    color: #ffffff;
}

.hero-with-background .hero-content h1 {
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.16);
}

.hero-with-background .hero-content h1 span {
    display: block;
    color: rgba(255, 255, 255, 0.76);
}

.hero-with-background .eyebrow {
    color: rgba(255, 255, 255, 0.68);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.14);
}

.hero-text {
    max-width: 620px;
    margin-top: 28px;
    font-size: 1rem;
    line-height: 1.85;
}

.hero-with-background .hero-text {
    color: rgba(255, 255, 255, 0.84);
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.14);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--color-line-strong);
    transition: var(--transition);
    font-size: 0.88rem;
    letter-spacing: 0.04em;
}

.btn-primary {
    background: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: #0f0f0f;
    border-color: #0f0f0f;
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--color-text);
    border-color: rgba(21, 20, 18, 0.12);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.025);
    border-color: rgba(21, 20, 18, 0.18);
    transform: translateY(-1px);
}

.hero-with-background .btn-primary {
    background: #ffffff;
    color: #111111;
    border-color: #ffffff;
}

.hero-with-background .btn-primary:hover {
    background: rgba(255, 255, 255, 0.94);
    border-color: rgba(255, 255, 255, 0.94);
}

.hero-with-background .btn-secondary {
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.04);
}

.hero-with-background .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.40);
}

.split-grid {
    display: flex;
    align-items: stretch;
    gap: 52px;
}

.consultor-grid {
    display: flex;
    align-items: stretch;
    gap: 56px;
}

.consultor-visual-block,
.consultor-content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.consultor-visual-block {
    flex: 0 0 38%;
}

.consultor-content-block {
    flex: 1;
}

.consultor-photo-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
}

.consultor-photo {
    position: relative;
    width: 100%;
    max-width: 410px;
    min-height: 600px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.consultor-photo:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 48px rgba(0, 0, 0, 0.10);
}

.consultor-photo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    filter: grayscale(30%) contrast(1.02);
    transform: scale(1.01);
}

.consultor-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.52) 0%,
        rgba(0, 0, 0, 0.16) 40%,
        rgba(0, 0, 0, 0.03) 100%
    );
    pointer-events: none;
}

.consultor-photo-caption {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 2;
    color: #ffffff;
}

.consultor-photo-caption h3 {
    margin: 0 0 6px 0;
    font-size: 1.22rem;
    line-height: 1.2;
    font-weight: 500;
}

.consultor-photo-caption p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.5;
    opacity: 0.9;
}

.consultor-actions {
    margin-top: 30px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.audience-item {
    padding: 28px 24px;
    border: 1px solid rgba(21, 20, 18, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.28);
    min-height: 110px;
    display: flex;
    align-items: flex-start;
    font-size: 0.98rem;
    line-height: 1.5;
    transition: var(--transition);
}

.audience-item:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 20, 18, 0.12);
    background: rgba(255, 255, 255, 0.42);
}

.manifesto-section {
    position: relative;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 128px 0;
}

.manifesto-bg {
    position: absolute;
    inset: -30px;
    background-image: url('img/acceso.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    will-change: transform;
    z-index: 0;
}

.manifesto-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.46);
    z-index: 1;
}

.manifesto-content {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manifesto-section .section-kicker,
.manifesto-section .section-title,
.manifesto-section .section-text {
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

.manifesto-section .section-title {
    max-width: 900px;
}

.metodologia-grid {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.metodologia-intro {
    flex: 0 0 40%;
}

.timeline {
    flex: 1;
    display: grid;
    gap: 22px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 20px;
    align-items: start;
    padding: 0 0 22px 0;
    border-bottom: 1px solid var(--color-line);
}

.timeline-index {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid var(--color-line-strong);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--color-muted);
}

.timeline-content h3 {
    font-size: 1.34rem;
    line-height: 1.14;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--color-muted);
    max-width: 720px;
}

.servicios-metodologia-grid {
    display: flex;
    gap: 64px;
    align-items: flex-start;
    margin-top: 56px;
}

.servicios-metodologia-section .metodologia-intro {
    max-width: 800px;
    margin: 0 auto 40px auto;
    text-align: center;
}

.services-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.timeline {
    flex: 0 0 380px;
}

.service-card {
    position: relative;
    padding: 34px 30px 30px;
    border: 1px solid rgba(21, 20, 18, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.38);
    min-height: 300px;
    transition: var(--transition);
    box-shadow: none;
}

.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 20px;
    width: 40px;
    height: 5px;
    background: rgba(21, 20, 18, 0.55);
    opacity: 0.65;
}

.service-card:hover {
    transform: translateY(-4px);
    border-color: rgba(21, 20, 18, 0.12);
    background: rgba(255, 255, 255, 0.56);
    box-shadow: none;
}

.service-number {
    display: inline-block;
    font-size: 0.72rem;
    letter-spacing: 0.24em;
    color: var(--color-muted);
    margin-bottom: 24px;
    margin-top: 4px;
}

.service-card h3 {
    font-size: 1.34rem;
    line-height: 1.16;
    font-weight: 400;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    max-width: 300px;
}

.service-card p {
    color: var(--color-muted);
    font-size: 0.96rem;
}

/* PRODUCTO - OPCIÓN 3 */
.product-section {
    position: relative;
    overflow: hidden;
    padding: 140px 0;
    color: var(--color-text);
}

.product-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 80px 80px;
    opacity: 0.22;
    pointer-events: none;
}

.product-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
    gap: 72px;
    align-items: start;
}

.product-intro {
    position: relative;
    max-width: 760px;
    padding-right: 36px;
}

.product-intro::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    width: 1px;
    height: calc(100% - 16px);
    background: var(--color-line-strong);
}
}

.product-section .section-kicker {
    color: var(--color-muted);
    margin-bottom: 18px;
}

.product-section .section-title {
    color: var(--color-text);
    max-width: 760px;
    font-size: clamp(2.5rem, 4.6vw, 4.8rem);
    line-height: 0.98;
}

.product-feature-list {
    margin-top: 42px;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-line);
}

.product-feature-line {
    padding: 18px 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-line);
}

.product-panel {
    position: relative;
}

.product-content {
    padding: 36px 34px;
    border: 1px solid var(--color-line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(8px);
}

.product-content .section-text {
    color: var(--color-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin-top: 0;
    max-width: none;
}

.product-content .section-text + .section-text {
    margin-top: 24px;
}

.cta-section {
    padding-top: 100px;
    padding-bottom: 120px;
    background-color: #171716;
}

.cta-box {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 28px;
    padding: 50px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 38px;
    align-items: center;
    background: var(--color-surface);
    box-shadow: 0 18px 40px rgba(0,0,0,0.06);
}

.cta-copy h2 {
    font-size: clamp(2rem, 3.6vw, 3.2rem);
    line-height: 1.04;
    font-weight: 400;
    letter-spacing: -0.05em;
    margin-bottom: 16px;
}

.cta-copy p {
    color: var(--color-muted);
    max-width: 720px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: flex-start;
}

.site-footer {
    padding: 34px 0 42px;
    border-top: 1px solid rgba(255,255,255,0.06);
    background-color: #101010;
    color: white;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 24px;
}

.footer-brand {
    font-size: 0.86rem;
    letter-spacing: 0.30em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.footer-text,
.footer-info p,
.footer-info a {
    color: rgba(255,255,255,0.76);
    font-size: 0.9rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.statement-section {
    border-top: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
}

.statement-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.statement-image {
    position: relative;
}

.statement-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    filter: grayscale(16%) contrast(1.03);
}

.statement-content {
    max-width: 640px;
}

.minimal-list {
    list-style: none;
    margin-top: 32px;
    border-top: 1px solid var(--color-line);
}

.minimal-list li {
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
    color: var(--color-text);
}

@media (max-width: 1100px) {
    .hero,
    .hero-shell {
        min-height: auto;
    }

    .hero {
        padding-top: 96px;
        padding-bottom: 96px;
    }

    .consultor-grid {
        flex-direction: column;
        gap: 32px;
    }

    .consultor-visual-block {
        order: 1;
        flex: unset;
    }

    .consultor-content-block {
        order: 2;
        flex: unset;
    }

    .consultor-photo {
        max-width: 420px;
        height: 520px;
        min-height: 520px;
        margin: 0 auto;
    }

    .audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .statement-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .statement-image {
        order: -1;
    }

    .cta-box {
        grid-template-columns: 1fr;
    }

    .product-layout {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .product-intro {
        padding-right: 0;
    }

    .product-intro::after {
        display: none;
    }

    .product-panel {
        max-width: 760px;
    }
}

@media (max-width: 991.98px) {
    .metodologia-grid,
    .servicios-metodologia-grid {
        flex-direction: column;
        gap: 36px;
    }

    .timeline,
    .metodologia-intro {
        flex: unset;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .section {
        padding: 86px 0;
    }

    .services-grid,
    .audience-grid {
        grid-template-columns: 1fr;
    }

    .main-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        background: rgba(243, 241, 235, 0.98);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--color-line);
        padding: 18px 24px 24px;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .main-nav.open {
        display: flex;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero-content h1 {
        font-size: clamp(2.9rem, 12vw, 4.8rem);
        line-height: 0.96;
    }

    .timeline-item {
        grid-template-columns: 56px 1fr;
        gap: 18px;
    }

    .cta-box {
        padding: 34px 24px;
    }

    .footer-grid {
        flex-direction: column;
        align-items: flex-start;
    }

    .product-section {
        padding: 100px 0;
    }

    .product-section .section-title {
        font-size: clamp(2.2rem, 9vw, 3.5rem);
        line-height: 1.02;
    }

    .product-feature-list {
        margin-top: 30px;
    }

    .product-feature-line {
        padding: 16px 0;
        font-size: 0.96rem;
    }

    .product-content {
        padding: 28px 24px;
        border-radius: 18px;
    }

    .product-content .section-text {
        font-size: 0.96rem;
        line-height: 1.82;
    }
}

@media (max-width: 768px) {
    .manifesto-section {
        min-height: 440px;
    }

    .manifesto-bg {
        inset: -20px;
        transform: scale(1.03);
    }
}

@media (max-width: 575.98px) {
    .consultor-grid {
        gap: 24px;
    }

    .consultor-photo {
        max-width: 100%;
        height: 420px;
        min-height: 420px;
        border-radius: 16px;
    }

    .consultor-photo-caption {
        left: 18px;
        right: 18px;
        bottom: 18px;
    }

    .consultor-photo-caption h3 {
        font-size: 1.1rem;
    }

    .consultor-photo-caption p {
        font-size: 0.88rem;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 32px, var(--container));
    }

    .header-inner {
        min-height: 78px;
    }

    .brand-main {
        font-size: 0.96rem;
        letter-spacing: 0.20em;
    }

    .brand-separator,
    .brand-tagline {
        display: none;
    }

    .hero {
        padding-top: 88px;
        padding-bottom: 96px;
    }

    .hero-text,
    .section-text,
    .service-card p,
    .timeline-content p,
    .cta-copy p {
        font-size: 0.96rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .service-card {
        min-height: auto;
        padding: 30px 24px 26px;
    }

    .service-card::before {
        left: 24px;
    }

    .audience-item {
        min-height: auto;
    }

    .product-section {
        padding: 88px 0;
    }

    .product-layout {
        gap: 30px;
    }

    .product-feature-line {
        font-size: 0.94rem;
    }

    .product-content {
        padding: 24px 20px;
    }
}