:root {
    --navy-deep: #0D1B2A;
    --navy: #1B263B;
    --navy-mid: #415A77;
    --navy-line: rgba(119, 141, 169, 0.28);
    --accent-dim: #4E637E;
    --accent: #778DA9;
    --accent-light: #90A5C1;
    --accent-bright: #BECADA;
    --cream: #F9FAFB;
    --paper: #FFFFFF;
    --ink: #14161C;
    --muted: #5B6472;
    --muted-on-dark: rgba(224, 225, 221, 0.76);
    --max: 1180px;
    --whatsapp-bg-color: #25D366;
    --cta: #8FB9B5;

    /* ---- depth system ---- */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 26px;
    --r-pill: 999px;

    --glow: 0 20px 50px -12px rgba(13, 27, 42, 0.45);
    --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.5) inset, 0 14px 34px -16px rgba(13, 27, 42, 0.28);
    --shadow-card-dark: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 40px -14px rgba(0, 0, 0, 0.55);
    --shadow-lift: 0 26px 60px -18px rgba(13, 27, 42, 0.55);
    --ease: cubic-bezier(.22, .8, .3, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
}

/* ---------- FILM GRAIN (site-wide tactile texture) ---------- */
.grain {
    position: fixed;
    inset: 0;
    z-index: 9990;
    pointer-events: none;
    opacity: 0.05;
    mix-blend-mode: overlay;
    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='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
    background-size: 180px 180px;
}

h1,
h2,
h3,
.display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin: 0;
}

em,
.accent-serif {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--accent-bright);
}

.eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--navy-mid);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.eyebrow::before {
    content: "";
    width: 16px;
    height: 1px;
    background: var(--navy-mid);
    display: inline-block;
}

.on-dark .eyebrow,
.cta .eyebrow {
    color: var(--accent-bright);
}

.on-dark .eyebrow::before,
.cta .eyebrow::before {
    background: var(--accent-bright);
}

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

a {
    color: inherit;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 32px;
}

section {
    position: relative;
}

/* ---------- ACCESSIBILITY: FOCUS STATES ---------- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
.svc-tab:focus-visible,
.need-card:focus-visible {
    outline: 2.5px solid var(--accent-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: 0;
    background: var(--navy-deep);
    color: var(--cream);
    padding: 12px 20px;
    z-index: 10000;
    border-radius: 0 0 8px 0;
}

.skip-link:focus {
    left: 0;
}

/* ---------- NAV ---------- */

header.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 64px;
    z-index: 1000;
    background: rgba(8, 18, 34, 0.78);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid rgba(119, 141, 169, 0.16);
    transition: background .3s ease;
}

.nav-inner {
    max-width: var(--max);
    height: 64px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.brand img {
    height: 34px;
    width: auto;
}

.brand-word {
    font-family: 'Space Grotesk';
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--cream);
    letter-spacing: 0.02em;
}

.brand-word b {
    color: var(--accent-bright);
}

nav.links {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav.links a {
    position: relative;
    color: var(--muted-on-dark);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    transition: color .2s ease;
    padding: 4px 0;
}

nav.links a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: -2px;
    height: 1.5px;
    background: var(--accent-bright);
    transition: right .28s var(--ease);
}

nav.links a:hover {
    color: var(--accent-bright);
}

nav.links a:hover::after {
    right: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: var(--r-pill);
    font-weight: 600;
    font-size: 0.86rem;
    text-decoration: none;
    font-family: 'Space Grotesk';
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s ease;
    cursor: pointer;
    border: none;
}

.btn-accent {
    background: linear-gradient(180deg, #FFFFFF, #F1F4F8);
    color: var(--navy-deep);
    font-weight: 700;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset, 0 12px 26px -6px rgba(0, 0, 0, 0.4);
}

.btn-accent:hover {
    background: linear-gradient(180deg, #FFFFFF, var(--accent-bright));
    transform: translateY(-2px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 16px 34px -8px rgba(0, 0, 0, 0.45);
}

.btn-ghost {
    background: rgba(224, 225, 221, 0.08);
    color: var(--cream);
    border: 1.5px solid rgba(224, 225, 221, 0.32);
    font-weight: 600;
}

.btn-whatsapp {
    background-color: var(--whatsapp-bg-color);
    color: #fff;
}

.btn-ghost:hover {
    border-color: var(--accent-bright);
    color: var(--accent-bright);
    background: rgba(224, 225, 221, 0.1);
    transform: translateY(-2px);
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: transform .2s ease;
}

.btn:hover svg {
    transform: scale(1.08);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--cream);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 6px;
}

.menu-toggle svg {
    width: 24px;
    height: 24px;
    display: block;
    transition: transform .2s ease;
}

.menu-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--navy-deep);
    border-bottom: 1px solid rgba(119, 141, 169, 0.22);
    border-radius: 0 0 var(--r-lg) var(--r-lg);
    padding: 8px 24px 24px;
    gap: 2px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
    z-index: 999;
    box-shadow: var(--shadow-lift);
}

.mobile-menu.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.mobile-menu a {
    padding: 15px 4px;
    border-bottom: 1px solid rgba(119, 141, 169, 0.14);
    color: var(--cream);
    text-decoration: none;
    font-family: 'Space Grotesk';
    font-weight: 500;
    font-size: 0.98rem;
}

.mobile-menu a.btn {
    margin-top: 14px;
    border-bottom: none;
    justify-content: center;
}

.mobile-menu .btn-mobile-menu-contact {
    color: var(--navy-deep);
}

/* ---------- HERO ---------- */
.hero {
    background:
        radial-gradient(ellipse 620px 420px at 18% 8%, rgba(190, 202, 218, 0.14), transparent 62%),
        radial-gradient(ellipse 900px 560px at 82% 0%, rgba(119, 141, 169, 0.26), transparent 60%),
        radial-gradient(ellipse 700px 500px at 50% 100%, rgba(65, 90, 119, 0.22), transparent 65%),
        linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 62%, #16233A 100%);
    color: var(--cream);
    padding: 176px 0 96px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.18));
    pointer-events: none;
}

.hero-graphic {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.7;
    transition: transform .4s ease-out;
    will-change: transform;
}

.hero .wrap {
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero-kicker {
    display: inline-block;
    margin: 0 auto 26px;
    font-size: 1.02rem;
}

.hero-kicker em {
    color: var(--accent-bright);
}

.hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.6rem);
    line-height: 1.14;
    color: var(--cream);
    letter-spacing: -0.02em;
}

.hero .lede {
    max-width: 600px;
    margin: 26px auto 0;
    color: var(--muted-on-dark);
    font-size: 1.1rem;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-top: 42px;
    flex-wrap: wrap;
}

.hero-tags {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 56px;
}

.tag-pill {
    border: 1px solid rgba(190, 202, 218, 0.34);
    background: rgba(190, 202, 218, 0.05);
    backdrop-filter: blur(6px);
    color: var(--accent-bright);
    font-family: 'IBM Plex Mono';
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    text-transform: uppercase;
    transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.tag-pill:hover {
    border-color: var(--accent-bright);
    background: rgba(190, 202, 218, 0.14);
    transform: translateY(-2px);
}

/* hero load-in choreography */
.hero .reveal {
    transition-delay: calc(var(--d, 0) * 90ms);
}

/* ---------- TRUST STRIP / MARQUEE ---------- */
.trust {
    background: var(--navy-deep);
    border-top: 1px solid rgba(119, 141, 169, 0.16);
    border-bottom: 1px solid rgba(119, 141, 169, 0.16);
    overflow: hidden;
    position: relative;
}

.trust-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 22px 0;
}

.trust-label {
    flex-shrink: 0;
    margin-left: 32px;
    font-family: 'IBM Plex Mono';
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent-bright);
    opacity: 0.85;
}

.marquee {
    flex: 1;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 44px;
    animation: marqueeScroll 34s linear infinite;
}

.marquee-track span {
    font-family: 'Space Grotesk';
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--muted-on-dark);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 44px;
}

.marquee-track span::after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent-dim);
    display: inline-block;
    margin-left: 44px;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    from {
        transform: translateX(0);
    }

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

/* ---------- CONNECTOR SPINE (signature element) ---------- */
.spine {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 38px;
    width: 2px;
    background: rgba(119, 141, 169, 0.14);
    border-radius: 2px;
    z-index: 5;
    display: block;
}

.spine-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(var(--accent-bright), var(--navy-mid));
    border-radius: 2px;
    box-shadow: 0 0 16px rgba(190, 202, 218, 0.55);
    transition: height .1s linear;
}

.spine-node {
    position: fixed;
    left: 38px;
    width: 11px;
    height: 11px;
    margin-left: -5px;
    border-radius: 50%;
    background: var(--navy);
    border: 2px solid var(--navy-mid);
    z-index: 6;
    transition: background .3s ease, box-shadow .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.spine-node.lit {
    background: var(--accent-bright);
    border-color: var(--accent-bright);
    box-shadow: 0 0 0 5px rgba(190, 202, 218, 0.16), 0 0 18px rgba(190, 202, 218, 0.9);
    transform: scale(1.05);
}

@media (max-width: 980px) {

    .spine,
    .spine-node {
        display: none;
    }
}

/* ---------- GENERIC SECTION STYLES ---------- */
.section-pad {
    padding: 116px 0;
}

.section-head {
    max-width: 640px;
    margin-bottom: 56px;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    margin-top: 14px;
    letter-spacing: -0.015em;
}

.section-head p {
    color: var(--muted);
    margin-top: 16px;
    font-size: 1.02rem;
}

.on-dark .section-head p {
    color: var(--muted-on-dark);
}

/* ---------- ¿QUÉ NECESITA RESOLVER? ---------- */
.needs {
    background: var(--paper);
}

.needs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.need-card {
    position: relative;
    text-align: left;
    background: linear-gradient(160deg, var(--paper), #F3F5F8);
    border: 1px solid rgba(20, 22, 28, 0.08);
    border-radius: var(--r-md);
    padding: 26px 24px 22px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    gap: 22px;
    transition: border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}

.need-card:hover {
    border-color: var(--navy-mid);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

.need-q {
    font-family: 'Space Grotesk';
    font-weight: 600;
    font-size: 1.06rem;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.need-a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-family: 'IBM Plex Mono';
    font-size: 0.76rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--navy-mid);
}

.need-a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform .25s var(--ease);
}

.need-card:hover .need-a svg {
    transform: translateX(4px);
}

/* ---------- FILOSOFIA / MANIFESTO ---------- */
.manifesto {
    background: var(--paper);
}

.manifesto-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 64px;
    align-items: center;
}

.manifesto-quote {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 500;
    font-size: clamp(1.5rem, 2.7vw, 2rem);
    line-height: 1.4;
    color: var(--navy);
}

.manifesto-quote span {
    color: var(--navy-mid);
    background: linear-gradient(180deg, transparent 70%, rgba(119, 141, 169, 0.22) 70%);
}

.manifesto-side p {
    color: var(--muted);
    margin: 0 0 18px;
}

.manifesto-side strong {
    color: var(--ink);
    font-family: 'Space Grotesk';
    font-weight: 600;
}

/* ---------- MISION / VISION ---------- */
.mv {
    background:
        radial-gradient(ellipse 750px 460px at 8% -10%, rgba(190, 202, 218, 0.14), transparent 60%),
        radial-gradient(ellipse 620px 420px at 100% 100%, rgba(65, 90, 119, 0.28), transparent 60%),
        var(--navy-deep);
    color: var(--cream);
}

.mv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.mv-card {
    position: relative;
    background: linear-gradient(160deg, #212E45, var(--navy));
    border: 1px solid rgba(119, 141, 169, 0.22);
    border-radius: var(--r-lg);
    padding: 46px 42px;
    box-shadow: var(--shadow-card-dark);
    overflow: hidden;
    transition: transform .3s var(--ease), border-color .3s ease, box-shadow .3s ease;
}

.mv-card::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -30%;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(190, 202, 218, 0.18), transparent 70%);
    pointer-events: none;
}

.mv-card:hover {
    border-color: rgba(190, 202, 218, 0.45);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lift);
}

.mv-card .eyebrow {
    margin-bottom: 20px;
    display: inline-flex;
}

.mv-card h3 {
    font-size: 1.45rem;
    margin-bottom: 16px;
    color: var(--accent-bright);
    letter-spacing: -0.01em;
}

.mv-card p {
    color: var(--muted-on-dark);
    font-size: 1rem;
    position: relative;
}

/* ---------- WHY US ---------- */
.why {
    background: var(--cream);
}

.why-list {
    display: flex;
    flex-direction: column;
    position: relative;
}

.why-list::before {
    content: "";
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: 31px;
    width: 2px;
    background: linear-gradient(var(--navy-mid), rgba(65, 90, 119, 0.08));
}

.why-item {
    position: relative;
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 28px;
    padding: 26px 20px 26px 4px;
    border-radius: var(--r-md);
    transition: background .25s ease, transform .25s var(--ease);
}

.why-item:hover {
    background: var(--paper);
    box-shadow: var(--shadow-card);
    transform: translateX(4px);
}

.why-num {
    position: relative;
    z-index: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--navy-mid);
    color: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono';
    font-weight: 600;
    font-size: 0.85rem;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

.why-item:hover .why-num {
    background: linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
    color: var(--cream);
    box-shadow: 0 0 0 6px rgba(65, 90, 119, 0.12);
}

.why-item h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-family: 'Space Grotesk';
    font-weight: 600;
}

.why-item p {
    color: var(--muted);
    margin: 0;
    max-width: 640px;
}

/* =========================================================
   SERVICES — EDITORIAL ACCORDION LIST
   ========================================================= */

.services {
    background: var(--cream);
    border-top: 1px solid rgba(20, 22, 28, 0.06);
}


/* =========================================================
   INTRO
   ========================================================= */

.services-intro {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
    align-items: end;
    gap: 80px;
    margin-bottom: 56px;
}

.services-intro-copy {
    max-width: 760px;
}

.services-intro h2 {
    margin: 14px 0 0;
    max-width: 720px;
    font-size: clamp(2.6rem, 5vw, 4.7rem);
    line-height: .98;
    letter-spacing: -.045em;
    font-weight: 500;
    color: var(--ink);
}

.services-intro h2 span {
    display: block;
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    color: var(--navy-mid);
}

.services-intro-text {
    max-width: 440px;
    margin: 0;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.75;
}


/* =========================================================
   LIST SHELL
   ========================================================= */

.service-list {
    border-top: 1px solid rgba(20, 22, 28, .12);
}


/* =========================================================
   ROW HEADER
   ========================================================= */

.service-row {
    border-bottom: 1px solid rgba(20, 22, 28, .12);
}

.service-row-head {
    display: flex;
    align-items: center;
    gap: 24px;
    width: 100%;

    padding: 28px 4px;

    background: transparent;
    border: 0;
    cursor: pointer;
    text-align: left;

    font-family: 'Space Grotesk', sans-serif;

    transition: padding-left .3s var(--ease);
}

.service-row-head:hover {
    padding-left: 10px;
}

.service-row-index {
    flex-shrink: 0;
    width: 56px;

    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 500;
    font-size: 1.4rem;

    color: rgba(20, 22, 28, .28);

    transition: color .3s ease;
}

.service-row-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: rgba(65, 90, 119, .07);
    border: 1px solid rgba(65, 90, 119, .16);

    color: var(--navy-mid);

    transition: background .3s ease, border-color .3s ease, color .3s ease;
}

.service-row-icon svg {
    width: 19px;
    height: 19px;
}

.service-row-name {
    flex: 1;
    min-width: 0;

    font-size: clamp(1.15rem, 2vw, 1.55rem);
    font-weight: 500;
    letter-spacing: -.015em;
    color: var(--ink);

    transition: color .3s ease;
}

.service-row-chevron {
    flex-shrink: 0;
    width: 20px;
    height: 20px;

    color: rgba(20, 22, 28, .35);

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

.service-row.open .service-row-index {
    color: var(--accent);
}

.service-row.open .service-row-icon {
    background: var(--navy-mid);
    border-color: var(--navy-mid);
    color: var(--cream);
}

.service-row.open .service-row-chevron {
    transform: rotate(180deg);
    color: var(--navy-mid);
}


/* =========================================================
   ROW PANEL (collapsible)
   ========================================================= */

.service-row-panel {
    max-height: 0;
    overflow: hidden;

    transition: max-height .45s var(--ease);
}

.service-row-panel-inner {
    padding: 4px 4px 36px 80px;
}

.service-row-lead {
    margin: 0 0 26px;
    max-width: 640px;

    color: var(--muted);

    font-size: .98rem;
    line-height: 1.65;
}

.service-row-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    gap: 32px;

    padding-top: 22px;
    margin-bottom: 22px;

    border-top: 1px solid rgba(20, 22, 28, .1);
}

.info-label {
    display: block;

    margin-bottom: 10px;

    font-family: 'IBM Plex Mono', monospace;
    font-size: .63rem;
    letter-spacing: .12em;
    text-transform: uppercase;

    color: var(--navy-mid);
}

.service-row-grid p {
    margin: 0;

    color: var(--muted);

    font-size: .88rem;
    line-height: 1.6;
}


/* =========================================================
   TAGS
   ========================================================= */

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.service-tags span {
    display: inline-flex;
    align-items: center;

    padding: 7px 13px;

    border-radius: var(--r-pill);

    background: rgba(65, 90, 119, .09);

    color: var(--navy-mid);

    font-family: 'IBM Plex Mono', monospace;
    font-size: .68rem;
    letter-spacing: .02em;
    line-height: 1.2;

    transition: background .2s ease, transform .2s ease;
}

.service-tags span:hover {
    background: rgba(65, 90, 119, .16);
    transform: translateY(-2px);
}


/* =========================================================
   RESULT + CTA
   ========================================================= */

.service-row-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;

    padding-top: 20px;

    border-top: 1px solid rgba(20, 22, 28, .1);
}

.service-row-footer>div {
    max-width: 380px;
}

.service-row-footer strong {
    display: block;

    font-size: .96rem;
    line-height: 1.4;
    font-weight: 500;

    color: var(--ink);
}

.service-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    flex-shrink: 0;

    padding: 11px 18px;

    border: 0;
    border-radius: var(--r-pill);

    background: var(--navy-deep);
    color: var(--cream);

    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: .78rem;
    text-decoration: none;
    white-space: nowrap;

    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

.service-cta span {
    color: var(--accent-bright);
    font-size: .95rem;

    transition: transform .25s ease;
}

.service-cta:hover {
    background: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 10px 24px -10px rgba(13, 27, 42, .4);
}

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


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (max-width: 1050px) {

    .services-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .services-intro-text {
        max-width: 620px;
    }

    .service-row-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 760px) {

    .services-intro {
        margin-bottom: 34px;
    }

    .services-intro h2 {
        font-size: clamp(2.3rem, 11vw, 3.4rem);
    }

    .services-intro-text {
        font-size: .92rem;
    }

    .service-row-head {
        gap: 14px;
        padding: 20px 2px;
    }

    .service-row-head:hover {
        padding-left: 2px;
    }

    .service-row-index {
        width: 30px;
        font-size: 1.1rem;
    }

    .service-row-icon {
        width: 36px;
        height: 36px;
    }

    .service-row-icon svg {
        width: 16px;
        height: 16px;
    }

    .service-row-panel-inner {
        padding: 4px 2px 26px 46px;
    }

    .service-row-lead {
        font-size: .88rem;
        margin-bottom: 20px;
    }

    .service-row-grid {
        padding-top: 18px;
        margin-bottom: 18px;
    }

    .service-row-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .service-cta {
        justify-content: center;
    }

}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.service-row-head:focus-visible,
.service-cta:focus-visible {
    outline: 2px solid var(--navy-mid);
    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

    .service-row-head,
    .service-row-index,
    .service-row-icon,
    .service-row-name,
    .service-row-chevron,
    .service-row-panel,
    .service-tags span,
    .service-cta,
    .service-cta span {
        transition: none;
    }

}

/* ---------- SECTORES / AUDIENCE ---------- */
.sectors {
    background: var(--cream);
}

.audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.audience-card {
    background: linear-gradient(155deg, var(--paper), #F2F4F7);
    border: 1px solid rgba(20, 22, 28, 0.08);
    border-radius: var(--r-lg);
    padding: 34px 30px;
    box-shadow: var(--shadow-card);
    transition: transform .3s var(--ease), box-shadow .3s ease, border-color .3s ease;
}

.audience-card:hover {
    transform: translateY(-5px);
    border-color: var(--navy-mid);
    box-shadow: var(--shadow-lift);
}

.audience-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(160deg, var(--navy), var(--navy-deep));
    color: var(--accent-bright);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.audience-icon svg {
    width: 24px;
    height: 24px;
}

.audience-card h3 {
    font-size: 1.12rem;
    margin-bottom: 10px;
}

.audience-card p {
    color: var(--muted);
    font-size: 0.92rem;
    margin: 0 0 18px;
}

.audience-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.audience-tags span {
    font-family: 'IBM Plex Mono';
    font-size: 0.68rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: rgba(65, 90, 119, 0.08);
    color: var(--navy-mid);
}

/* ---------- PROCESS ---------- */
.process {
    background: var(--paper);
}

.proc-track {
    position: relative;
}

.proc-line {
    position: absolute;
    top: 26px;
    left: 26px;
    right: 26px;
    height: 2px;
    background: rgba(119, 141, 169, 0.24);
    border-radius: 2px;
    z-index: 0;
}

.proc-line-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--navy-mid), var(--accent-bright));
    border-radius: 2px;
    transition: width 1.4s var(--ease);
}

.proc-line-fill.animate {
    width: 100%;
}

.proc-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.proc-step {
    display: flex;
    flex-direction: column;
}

.proc-dot {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--paper);
    border: 1.5px solid var(--navy-mid);
    color: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'IBM Plex Mono';
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 6px 16px -4px rgba(65, 90, 119, 0.25);
    transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s var(--ease);
}

.proc-step:hover .proc-dot {
    background: linear-gradient(160deg, var(--navy-mid), var(--navy-deep));
    color: var(--cream);
    transform: translateY(-3px);
}

.proc-step h3 {
    font-size: 1rem;
    font-family: 'Space Grotesk';
    font-weight: 600;
    margin-bottom: 8px;
}

.proc-step p {
    font-size: 0.88rem;
    color: var(--muted);
    margin: 0;
}

/* ---------- NOSOTROS wrapper ---------- */
.nosotros {
    display: block;
}

/* ---------- VALUES ---------- */
.values {
    background:
        radial-gradient(ellipse 820px 480px at 50% -10%, rgba(190, 202, 218, 0.12), transparent 55%),
        radial-gradient(ellipse 500px 400px at 100% 90%, rgba(65, 90, 119, 0.22), transparent 60%),
        var(--navy-deep);
    color: var(--cream);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.value-card {
    background: linear-gradient(160deg, rgba(190, 202, 218, 0.06), rgba(190, 202, 218, 0.01));
    border: 1px solid rgba(119, 141, 169, 0.2);
    border-radius: var(--r-md);
    padding: 30px 26px;
    transition: background .25s ease, border-color .25s ease, transform .25s var(--ease), box-shadow .25s ease;
}

.value-card:hover {
    background: linear-gradient(160deg, rgba(190, 202, 218, 0.12), rgba(190, 202, 218, 0.02));
    border-color: rgba(190, 202, 218, 0.45);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-dark);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(190, 202, 218, 0.1);
    color: var(--accent-bright);
    margin-bottom: 18px;
}

.value-icon svg {
    width: 20px;
    height: 20px;
}

.value-card h3 {
    font-size: 1.05rem;
    color: var(--accent-bright);
    margin-bottom: 10px;
    font-family: 'Space Grotesk';
    font-weight: 600;
}

.value-card p {
    font-size: 0.9rem;
    color: var(--muted-on-dark);
    margin: 0;
}

/* ---------- FOUNDER ---------- */
.founder {
    background: var(--cream);
}

.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
}

.founder-mark {
    position: relative;
    aspect-ratio: 1;
    background:
        radial-gradient(ellipse 320px 320px at 50% 25%, rgba(190, 202, 218, 0.2), transparent 65%),
        linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 34px;
    box-shadow: var(--glow);
    overflow: hidden;
}

.founder-mark::before {
    content: "\201C";
    position: absolute;
    top: 10px;
    left: 26px;
    font-family: 'Fraunces';
    font-style: italic;
    font-size: 7rem;
    line-height: 1;
    color: rgba(190, 202, 218, 0.16);
}

.founder-mark::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(190, 202, 218, 0.18);
    border-radius: calc(var(--r-lg) - 6px);
    pointer-events: none;
}

.founder-mark img {
    position: relative;
    z-index: 1;
}

.founder-quote {
    font-family: 'Fraunces';
    font-style: italic;
    font-weight: 400;
    font-size: clamp(1.2rem, 2vw, 1.4rem);
    line-height: 1.6;
    color: var(--navy);
}

.founder-name {
    margin-top: 24px;
    font-family: 'Space Grotesk';
    font-weight: 600;
    color: var(--ink);
}

.founder-role {
    color: var(--navy-mid);
    font-size: 0.85rem;
    font-family: 'IBM Plex Mono';
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.founder-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 24px;
}

.founder-tags span {
    font-family: 'IBM Plex Mono';
    font-size: 0.7rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: rgba(65, 90, 119, 0.08);
    color: var(--navy-mid);
    border: 1px solid rgba(65, 90, 119, 0.16);
}

.founder-cta {
    margin-top: 28px;
    color: var(--navy-deep);
    border-color: rgba(20, 22, 28, 0.18);
}

.founder-cta:hover {
    color: var(--navy-deep);
    border-color: var(--navy-mid);
    background: rgba(65, 90, 119, 0.06);
}

/* ---------- CTA DE BAJA FRICCIÓN (starter) ---------- */
.starter {
    background: var(--paper);
    padding: 90px 0;
}

.starter-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.starter-inner h2 {
    margin-top: 14px;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.starter-inner p {
    color: var(--muted);
    margin: 16px 0 34px;
}

/* ---------- CTA / CONTACT ---------- */
.cta {
    background:
        radial-gradient(ellipse 750px 420px at 50% -20%, rgba(190, 202, 218, 0.24), transparent 60%),
        radial-gradient(ellipse 500px 400px at 90% 100%, rgba(190, 202, 218, 0.14), transparent 55%),
        linear-gradient(125deg, var(--navy-deep), var(--navy-mid));
    color: var(--cream);
}

.cta-grid {
    display: grid;
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
    text-align: center;
    gap: 64px;
    align-items: start;
}

.cta-intro .hero-ctas {
    justify-content: center !important;
}

.cta-intro .contact-details {
    text-align: left;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
}

.cta-intro .cta-illo {
    margin-left: auto;
    margin-right: auto;
}

.cta-intro h2 {
    font-size: clamp(1.8rem, 3.2vw, 2.4rem);
    letter-spacing: -0.015em;
}

.cta-intro p {
    color: var(--muted-on-dark);
    max-width: 460px;
    margin: 18px 0 0;
}

/* ---------- CONTACT DETAILS LIST ---------- */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 16px;

    margin: 38px 0 0;
    padding: 22px 0 0;

    list-style: none;

    border-top: 1px solid rgba(190, 202, 218, 0.16);
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;

    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: rgba(190, 202, 218, 0.08);
    border: 1px solid rgba(190, 202, 218, 0.18);

    color: var(--accent-bright);
}

.contact-detail-icon svg {
    width: 17px;
    height: 17px;
}

.contact-details li>div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contact-detail-label {
    font-family: 'IBM Plex Mono';
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(190, 202, 218, 0.55);
}

.contact-details a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    transition: color .2s ease;
}

.contact-details a:hover {
    color: var(--accent-bright);
}

.contact-details span:not(.contact-detail-label) {
    color: var(--cream);
    font-weight: 500;
}

.cta-illo {
    display: block;
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-top: 30px;
    opacity: .8;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--navy-deep);
    color: var(--muted-on-dark);
    padding: 52px 0 30px;
    border-top: 1px solid rgba(119, 141, 169, 0.15);
}

.foot-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.foot-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.foot-brand img {
    height: 26px;
}

footer .fine {
    font-size: 0.8rem;
    margin-top: 30px;
    text-align: center;
    color: rgba(224, 225, 221, 0.4);
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px) scale(.975);
    filter: blur(6px);
    transition:
        opacity .8s cubic-bezier(.16, .8, .24, 1),
        transform .8s cubic-bezier(.16, .8, .24, 1),
        filter .8s cubic-bezier(.16, .8, .24, 1);
}

.reveal.in {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* staggered reveal for grid children */
.needs-grid.in .need-card,
.audience-grid.in .audience-card,
.values-grid.in .value-card {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.needs-grid .need-card,
.audience-grid .audience-card,
.values-grid .value-card {
    opacity: 0;
    transform: translateY(18px);
    filter: blur(5px);
    transition: opacity .65s cubic-bezier(.16, .8, .24, 1),
        transform .65s cubic-bezier(.16, .8, .24, 1),
        filter .65s cubic-bezier(.16, .8, .24, 1);
}

.needs-grid .need-card:nth-child(1),
.audience-grid .audience-card:nth-child(1),
.values-grid .value-card:nth-child(1) {
    transition-delay: .05s;
}

.needs-grid .need-card:nth-child(2),
.audience-grid .audience-card:nth-child(2),
.values-grid .value-card:nth-child(2) {
    transition-delay: .12s;
}

.needs-grid .need-card:nth-child(3),
.audience-grid .audience-card:nth-child(3),
.values-grid .value-card:nth-child(3) {
    transition-delay: .19s;
}

.needs-grid .need-card:nth-child(4),
.audience-grid .audience-card:nth-child(4),
.values-grid .value-card:nth-child(4) {
    transition-delay: .26s;
}

.needs-grid .need-card:nth-child(5) {
    transition-delay: .33s;
}

.needs-grid .need-card:nth-child(6) {
    transition-delay: .4s;
}

.audience-grid .audience-card:nth-child(5) {
    transition-delay: .33s;
}

/* ---------- CARD TILT / SPOTLIGHT (JS-driven) ---------- */
.tilt {
    position: relative;
    will-change: transform;
    transition: transform .4s cubic-bezier(.16, .8, .24, 1), box-shadow .35s ease, border-color .35s ease;
}

.tilt::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(20, 22, 28, .06), transparent 55%);
    transition: opacity .35s ease;
}

.tilt.tilt-dark::after {
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .14), transparent 55%);
}

.tilt:hover::after {
    opacity: 1;
}

@media (hover: none) {
    .tilt::after {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tilt {
        transition: box-shadow .2s ease, border-color .2s ease;
    }
}

/* ---------- AMBIENT BACKGROUND BLOBS (dark sections) ---------- */
.services,
.mv,
.values,
.cta {
    overflow: hidden;
}

.services>.wrap,
.mv>.wrap,
.values>.wrap,
.cta>.wrap {
    position: relative;
    z-index: 1;
}

.services::before,
.mv::before,
.values::before,
.cta::before {
    content: "";
    position: absolute;
    inset: -25%;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 25% 30%, rgba(190, 202, 218, .16), transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(119, 141, 169, .14), transparent 55%);
    filter: blur(10px);
    animation: driftBlob 22s ease-in-out infinite alternate;
}

@keyframes driftBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(4%, -3%) scale(1.06);
    }
}

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

    .services::before,
    .mv::before,
    .values::before,
    .cta::before {
        animation: none;
    }
}

/* ---------- BUTTON SHIMMER ---------- */
.btn-accent {
    position: relative;
    overflow: hidden;
}

.btn-accent::before {
    content: "";
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(115deg, transparent, rgba(255, 255, 255, .35), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
    pointer-events: none;
}

.btn-accent:hover::before {
    left: 130%;
}

@media (prefers-reduced-motion: reduce) {
    .btn-accent::before {
        display: none;
    }
}

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: linear-gradient(160deg, #2FE377, var(--whatsapp-bg-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cream);
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, .3), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
    transition: all .3s var(--ease);
    z-index: 9999;
}

.whatsapp-float:hover {
    transform: scale(1.08) translateY(-2px);
    box-shadow: 0 16px 34px rgba(37, 211, 102, .45), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.whatsapp-float svg {
    width: 34px;
    height: 34px;
    fill: none;
    stroke: #fff;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 20px;
        bottom: 20px;
    }

    .whatsapp-float svg {
        width: 30px;
        height: 30px;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 980px) {

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        width: 40px;
        padding: 0;
    }

    .mobile-menu {
        display: flex;
    }

    header.nav {
        min-height: 60px;
    }

    .btn-main-contact {
        display: none;
    }

    .nav-inner {
        height: 60px;
        padding: 0 20px;
    }

    .brand-word {
        display: none;
    }

    nav.links {
        display: none;
    }

    .manifesto-grid,
    .founder-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

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

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

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

    .cta-grid {
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .proc-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 36px;
    }

    .proc-line {
        display: none;
    }

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

@media (max-width: 600px) {
    .wrap {
        padding: 0 20px;
    }

    .section-pad {
        padding: 76px 0;
    }

    .hero {
        padding: 144px 0 76px;
    }

    .why-item {
        grid-template-columns: 40px 1fr;
        gap: 16px;
    }

    .founder-mark {
        max-width: 220px;
        margin: 0 auto;
    }

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

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

    .trust-label {
        margin-left: 20px;
    }

    .contact-details {
        margin-top: 30px;
        gap: 14px;
    }

    .cta-illo {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }

    html {
        scroll-behavior: auto;
    }

    .grain {
        display: none;
    }

    .marquee-track {
        animation: none !important;
    }
}