/* =========================================================
   FixByte Solutions — Editorial Premium Stylesheet
   Cool light background · Brand Blue + Black accents · Bold type
   ========================================================= */

/* ---------- Tokens (Brand: Blue + Black) ---------- */
:root {
    /* Cool off-whites & surfaces */
    --cream: #EEF2F8;
    --cream-2: #E4EAF3;
    --cream-3: #D7E0EE;
    --paper: #FFFFFF;

    /* Inks */
    --ink: #0A0E16;
    --ink-2: #131927;
    --gray: #475065;       /* AAA contrast vs cream */
    --gray-2: #6B7693;     /* darkened for AA contrast on cream */
    --border: #D8DFEC;
    --border-strong: #B8C2D4;

    /* Brand blues */
    --navy: #0A1F3F;
    --navy-2: #102E63;
    --brand: #1B5993;       /* matches logo */
    --brand-2: #2D6FAF;     /* lighter brand */
    --accent: #2563EB;      /* vibrant electric blue (pop) */
    --accent-2: #4F8CF7;    /* lighter accent */
    --gold: #94A3B8;        /* slate gray for warnings */

    --container: 1280px;

    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-soft: cubic-bezier(0.65, 0, 0.35, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-expo: cubic-bezier(0.87, 0, 0.13, 1);

    --r-xs: 6px;
    --r-sm: 10px;
    --r: 16px;
    --r-lg: 22px;
    --r-xl: 28px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background: var(--cream);
    color: var(--ink);
    line-height: 1.55;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: default;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
    margin: 0;
    letter-spacing: -0.035em;
    font-weight: 600;
    color: var(--ink);
}
p { margin: 0; }

.serif { font-family: 'Instrument Serif', serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
em.serif { display: inline; }

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream-2); }
::-webkit-scrollbar-thumb { background: var(--ink); border: 2px solid var(--cream-2); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy); }
::selection { background: var(--accent); color: white; }

/* ---------- Utilities ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }

/* Visually hidden — for screen readers (a11y) */
.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-to-content link (a11y) */
.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 10000;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 999px;
    text-decoration: none;
    transition: top 0.3s var(--ease);
}
.skip-link:focus { top: 16px; outline: 3px solid var(--accent); outline-offset: 2px; }

/* Focus visible (a11y) — applies to keyboard navigation */
:focus { outline: none; }
:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
    border-radius: 4px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* ---------- Preloader ---------- */
.preloader {
    position: fixed; inset: 0;
    background: var(--cream);
    display: grid; place-items: center;
    z-index: 9999;
    transition: opacity 0.7s var(--ease-soft), visibility 0.7s var(--ease-soft);
}
.preloader.hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-iso { width: 80px; height: 80px; margin: 0 auto 16px; }
.loader-iso-img {
    width: 100%; height: 100%;
    object-fit: contain;
    animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse { 0%, 100% { transform: scale(1); opacity: 0.7; } 50% { transform: scale(1.08); opacity: 1; } }
.loader-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}
.loader-text::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 1px;
    width: 100%;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    animation: loaderBar 1.5s var(--ease-soft) forwards;
}
@keyframes loaderBar { to { transform: scaleX(1); } }

/* ---------- Custom Cursor ---------- */
.cursor-dot {
    position: fixed;
    width: 6px; height: 6px;
    background: var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.2s var(--ease);
    will-change: transform;
}
.cursor-ring {
    position: fixed;
    width: 40px; height: 40px;
    border: 1.5px solid var(--ink);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9997;
    transition: width 0.35s var(--ease-spring), height 0.35s var(--ease-spring),
                border-color 0.35s ease, background 0.35s ease, opacity 0.3s ease, mix-blend-mode 0.3s ease;
    will-change: transform;
    mix-blend-mode: difference;
}
.cursor-ring.hover {
    width: 70px; height: 70px;
    border-color: var(--accent);
    background: rgba(37, 99, 235, 0.12);
    mix-blend-mode: normal;
}
.cursor-ring.click { transform: translate(-50%, -50%) scale(0.7); background: rgba(37, 99, 235, 0.22); }
.cursor-dot.invert { background: var(--cream); }
@media (max-width: 768px), (pointer: coarse) {
    .cursor-dot, .cursor-ring { display: none; }
}

/* ---------- Top Marquee ---------- */
.top-marquee {
    position: relative;
    overflow: hidden;
    background: var(--ink);
    color: var(--cream);
    padding: 12px 0;
    z-index: 99;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.marquee-track {
    display: flex;
    align-items: center;
    gap: 32px;
    white-space: nowrap;
    width: max-content;
    animation: marqueeScroll 40s linear infinite;
}
.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}
.marquee-track span i { color: var(--accent); font-size: 0.7rem; }
.marquee-dot { color: var(--gray-2); }
@keyframes marqueeScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ---------- Navbar ---------- */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 18px 0;
    background: rgba(242, 237, 227, 0.85);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-bottom: 1px solid transparent;
    transition: padding 0.4s var(--ease), border-color 0.4s var(--ease);
}
.navbar.scrolled {
    padding: 12px 0;
    border-bottom-color: var(--border);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.4s var(--ease);
}
.logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    transition: transform 0.4s var(--ease-spring);
}
.logo:hover .logo-img { transform: rotate(-8deg); }
.logo-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
}
.logo-dot { color: var(--accent); }

.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: 0.92rem;
    color: var(--ink);
    font-weight: 500;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.4s var(--ease), background 0.4s var(--ease);
}
.nav-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    color: var(--gray-2);
    transition: color 0.4s var(--ease);
}
.nav-link:hover { color: var(--ink); background: var(--cream-3); }
.nav-link:hover .nav-num { color: var(--accent); }
.nav-link.active { background: var(--ink); color: var(--cream); }
.nav-link.active .nav-num { color: var(--accent-2); }

.btn-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: transform 0.4s var(--ease-spring), background 0.4s var(--ease), color 0.4s var(--ease);
}
.btn-nav i { font-size: 0.75rem; transition: transform 0.4s var(--ease-spring); }
.btn-nav:hover {
    background: var(--accent);
    color: white;
    transform: translateY(-2px);
}
.btn-nav:hover i { transform: rotate(45deg); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    padding: 8px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 28px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
    will-change: transform;
}
.btn i {
    transition: transform 0.4s var(--ease-spring);
}

/* Sliding label effect */
.btn-label {
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 1.4em;
    line-height: 1.4em;
}
.btn-label span {
    display: block;
    transition: transform 0.5s var(--ease-soft);
}
.btn:hover .btn-label span { transform: translateY(-100%); }

.btn-dark {
    background: var(--ink);
    color: var(--cream);
    box-shadow: 0 6px 20px rgba(10, 14, 22, 0.18);
}
.btn-dark:hover {
    background: var(--accent);
    color: white;
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.4);
}
.btn-dark:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}
.btn-dark:hover i { transform: translateX(4px) rotate(-10deg); }

.btn-outline {
    border-color: var(--ink);
    color: var(--ink);
    background: rgba(255, 255, 255, 0.4);
}
.btn-outline:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}
.btn-outline:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
}

.btn-block { width: 100%; justify-content: center; }

/* ---------- Reveal animations ---------- */
.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Section base ---------- */
.section {
    padding: 120px 0;
    position: relative;
}
.section-head {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 72px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border);
}
.section-head-left {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 8px;
}
.section-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--gray);
    letter-spacing: 0.05em;
}
.section-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--ink);
    padding: 5px 12px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-weight: 500;
}
.section-title {
    font-size: clamp(2.2rem, 4.5vw, 3.8rem);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 18px;
}
.section-lead {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 540px;
}

/* ---------- HERO ---------- */
.hero {
    padding: 70px 0 90px;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

/* Decorative background */
.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(to right, rgba(10, 14, 22, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 14, 22, 0.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 70% 40%, #000 30%, transparent 75%);
}
.hero-bg-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.45;
    will-change: transform;
}
.hero-bg-blob-1 {
    width: 520px; height: 520px;
    top: -120px; right: -80px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.4), rgba(37, 99, 235, 0) 70%);
    animation: blobFloat 14s ease-in-out infinite;
}
.hero-bg-blob-2 {
    width: 420px; height: 420px;
    bottom: -150px; left: -100px;
    background: radial-gradient(circle, rgba(27, 89, 147, 0.35), transparent 70%);
    animation: blobFloat 18s ease-in-out infinite reverse;
}
@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.1); }
}

/* Hero grid layout */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
    min-height: 560px;
}

.hero-content { max-width: 640px; }

.hero-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--gray);
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--ink);
    font-weight: 500;
}
.hero-tag .dot {
    width: 8px; height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 0 0 var(--accent);
    animation: dotPulse 2s ease-out infinite;
}
@keyframes dotPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.55); }
    70% { box-shadow: 0 0 0 12px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}
.hero-tag-meta {
    letter-spacing: 0.05em;
    color: var(--gray-2);
}

.hero-headline {
    font-size: clamp(2.4rem, 5.5vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
    font-weight: 600;
    margin-bottom: 28px;
    word-break: break-word;
    overflow-wrap: anywhere;
    color: var(--ink);
}
.hero-headline .line {
    display: block;
    overflow: hidden;
}
.hero-headline .line > span {
    display: inline-block;
}
.hero-headline em.serif {
    color: var(--accent);
    font-weight: 400;
}

/* Eslogan oficial */
.hero-slogan {
    font-family: 'Instrument Serif', serif;
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    font-style: italic;
    color: var(--ink-2);
    line-height: 1.4;
    margin-bottom: 28px;
    padding-left: 18px;
    border-left: 3px solid var(--accent);
}
.hero-slogan em.serif {
    color: var(--accent);
    font-style: italic;
}
.hero-slogan-mark {
    color: var(--accent);
    font-size: 1.2em;
    margin: 0 2px;
    opacity: 0.7;
}

.hero-lead {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--gray);
    max-width: 560px;
    margin-bottom: 36px;
}
.hero-lead .underline {
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    color: var(--ink);
    font-weight: 500;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

/* Trust microcopy */
.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px dashed var(--border);
}
.hero-trust-avatars {
    display: flex;
}
.hero-trust-avatars span {
    display: grid;
    place-items: center;
    width: 38px; height: 38px;
    background: var(--paper);
    border: 2px solid var(--cream);
    border-radius: 50%;
    color: var(--ink);
    font-size: 0.85rem;
    margin-left: -10px;
    box-shadow: 0 4px 10px rgba(10, 14, 22, 0.08);
}
.hero-trust-avatars span:first-child { margin-left: 0; background: var(--ink); color: var(--cream); }
.hero-trust-avatars span:nth-child(2) { background: var(--accent); color: white; }
.hero-trust p {
    font-size: 0.88rem;
    color: var(--gray);
    line-height: 1.4;
}
.hero-trust strong {
    display: block;
    color: var(--ink);
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
}

/* ---------- HERO VISUAL (right column) ---------- */
.hero-visual {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    max-width: 540px;
    justify-self: center;
}
.hero-visual-stage {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

/* Orbital rings */
.hero-orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(10, 14, 22, 0.1);
}
.hero-orbit-1 {
    width: 95%; height: 95%;
    border-color: rgba(37, 99, 235, 0.18);
    border-style: dashed;
    animation: orbitRotate 40s linear infinite;
}
.hero-orbit-2 {
    width: 70%; height: 70%;
    border-color: rgba(10, 14, 22, 0.12);
    animation: orbitRotate 30s linear infinite reverse;
}
.hero-orbit-3 {
    width: 45%; height: 45%;
    border-color: rgba(37, 99, 235, 0.25);
    border-width: 1.5px;
    animation: orbitRotate 18s linear infinite;
}
@keyframes orbitRotate { to { transform: rotate(360deg); } }

/* Center isologo */
.hero-iso-center {
    position: relative;
    z-index: 4;
    width: 38%; height: 38%;
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
    border-radius: 50%;
    display: grid;
    place-items: center;
    box-shadow:
        0 30px 60px -20px rgba(27, 89, 147, 0.45),
        0 0 0 8px rgba(255, 255, 255, 0.5),
        inset 0 -8px 20px rgba(0, 0, 0, 0.18);
    animation: isoFloat 6s ease-in-out infinite;
}
.hero-iso-center::before {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.25), transparent 70%);
    z-index: -1;
    animation: pulseGlow 3s ease-in-out infinite;
}
.hero-iso-center img {
    width: 70%; height: 70%;
    object-fit: contain;
    filter: brightness(0) invert(1);
}
@keyframes isoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}
@keyframes pulseGlow {
    0%, 100% { opacity: 0.8; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Sticker text orbiting */
.hero-sticker-text {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    animation: stickerRotate 22s linear infinite;
    z-index: 3;
}
@keyframes stickerRotate { to { transform: rotate(360deg); } }
.hero-sticker-text text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    fill: var(--ink);
}

/* Floating tech badges */
.hero-badge {
    position: absolute;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--ink);
    box-shadow: 0 12px 30px -8px rgba(10, 14, 22, 0.18);
    animation: badgeFloat 5s ease-in-out infinite;
}
.hero-badge i { color: var(--accent); font-size: 0.85rem; }
.hero-badge-1 { top: 8%;  left: 4%;  animation-delay: 0s;   }
.hero-badge-2 { top: 12%; right: 2%; animation-delay: 1.2s; }
.hero-badge-3 { bottom: 18%; left: 0;   animation-delay: 2.4s; }
.hero-badge-4 { bottom: 8%;  right: 6%; animation-delay: 3.6s; }
@keyframes badgeFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Stat chips */
.hero-chip {
    position: absolute;
    z-index: 5;
    padding: 14px 18px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 14px;
    box-shadow: 0 14px 30px -10px rgba(10, 14, 22, 0.4);
    animation: badgeFloat 6s ease-in-out infinite;
}
.hero-chip strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: white;
    line-height: 1;
    margin-bottom: 4px;
}
.hero-chip span {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-2);
}
.hero-chip-1 {
    top: 38%; left: -8%;
    animation-delay: 0.5s;
    transform: rotate(-4deg);
}
.hero-chip-2 {
    bottom: 32%; right: -6%;
    background: var(--accent);
    animation-delay: 2s;
    transform: rotate(3deg);
}
.hero-chip-2 strong { color: white; }
.hero-chip-2 span { color: rgba(255, 255, 255, 0.8); }

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}
.hero-stat {
    padding: 0 32px;
    border-right: 1px solid var(--border);
}
.hero-stat:first-child { padding-left: 0; }
.hero-stat:last-child { border-right: none; padding-right: 0; }
.hero-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.hero-stat-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray);
}
.hero-stat-iso {
    display: flex;
    align-items: center;
    gap: 14px;
}
.hero-stat-iso i {
    font-size: 2rem;
    color: var(--accent);
}
.hero-stat-iso strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    color: var(--ink);
}
.hero-stat-iso span {
    font-size: 0.78rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.scroll-cue {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--gray);
    padding: 0 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.scroll-cue i {
    display: inline-grid;
    place-items: center;
    width: 32px; height: 32px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    font-size: 0.7rem;
    color: var(--ink);
    animation: scrollCueFloat 2.5s var(--ease-soft) infinite;
}
@keyframes scrollCueFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- BENTO GRID (SERVICIOS) ---------- */
.section-services { background: var(--cream); }
.bento-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin-bottom: 60px;
}
.bento-card {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    cursor: pointer;
    transition:
        transform 0.5s var(--ease-spring),
        border-color 0.5s var(--ease),
        background 0.5s var(--ease),
        box-shadow 0.5s var(--ease);
    overflow: hidden;
    grid-column: span 2;
    min-height: 360px;
}
.bento-card:hover {
    transform: translateY(-6px);
    border-color: var(--ink);
    background: white;
    box-shadow: 14px 14px 0 var(--ink);
}
.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(37, 99, 235, 0.10), transparent 60%);
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
}
.bento-card:hover::before { opacity: 1; }

.bento-featured {
    grid-column: span 4;
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}
.bento-featured:hover { box-shadow: 14px 14px 0 var(--accent); background: var(--navy); }
.bento-featured .bento-title { color: var(--cream); }
.bento-featured .bento-ideal { color: rgba(255,255,255,0.7); }
.bento-featured .bento-list li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.12); }
.bento-featured .bento-list li::before { background: var(--accent-2); }
.bento-featured .bento-num { color: var(--accent-2); }
.bento-featured .bento-icon { background: rgba(255,255,255,0.08); color: var(--cream); border-color: rgba(255,255,255,0.15); }
.bento-featured .bento-link { color: var(--cream); }
.bento-featured .bento-foot i { color: var(--accent-2); }
.bento-featured .bento-pill {
    background: rgba(79, 140, 247, 0.18);
    color: var(--accent-2);
    border-color: rgba(79, 140, 247, 0.35);
}

.bento-accent {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.bento-accent:hover {
    background: var(--accent);
    border-color: var(--ink);
    box-shadow: 14px 14px 0 var(--ink);
}
.bento-accent .bento-title { color: white; }
.bento-accent .bento-ideal { color: rgba(255,255,255,0.9); }
.bento-accent .bento-list li { color: rgba(255,255,255,0.95); border-color: rgba(255,255,255,0.2); }
.bento-accent .bento-list li::before { background: white; }
.bento-accent .bento-num { color: rgba(255,255,255,0.55); }
.bento-accent .bento-icon { background: rgba(255,255,255,0.18); color: white; border-color: rgba(255,255,255,0.25); }
.bento-accent .bento-link { color: white; }
.bento-accent .bento-foot i { color: white; }
.bento-accent .bento-pill { background: rgba(255,255,255,0.2); color: white; border-color: rgba(255,255,255,0.3); }

.bento-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}
.bento-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-2);
    letter-spacing: 0.05em;
}
.bento-icon {
    width: 44px; height: 44px;
    background: var(--cream-2);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: grid; place-items: center;
    color: var(--ink);
    font-size: 1rem;
    transition: transform 0.5s var(--ease-spring);
}
.bento-card:hover .bento-icon { transform: rotate(-8deg) scale(1.08); }

.bento-mid { flex: 1; position: relative; z-index: 1; }
.bento-title {
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    line-height: 0.95;
    margin-bottom: 12px;
    letter-spacing: -0.03em;
}
.bento-ideal {
    font-size: 0.92rem;
    color: var(--gray);
    line-height: 1.5;
}

.bento-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 1;
}
.bento-list li {
    font-size: 0.88rem;
    color: var(--ink-2);
    padding: 8px 0;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 10px;
}
.bento-list li:last-child { padding-bottom: 0; }
.bento-list li::before {
    content: '';
    width: 5px; height: 5px;
    background: var(--ink);
    border-radius: 50%;
    flex-shrink: 0;
}

.bento-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--cream-2);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    color: var(--ink);
    text-transform: uppercase;
    width: fit-content;
    position: relative;
    z-index: 1;
}
.bento-pill i { font-size: 0.65rem; }

.bento-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    margin-top: 4px;
    position: relative;
    z-index: 1;
}
.bento-link {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.3s var(--ease);
}
.bento-foot i {
    font-size: 0.85rem;
    transition: transform 0.4s var(--ease-spring);
}
.bento-card:hover .bento-foot i { transform: translate(4px, -4px); color: var(--accent); }
.bento-card:hover .bento-link { color: var(--accent); }

.bento-featured .bento-featured-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    flex: 1;
    align-items: center;
}
.bento-ribbon {
    position: absolute;
    top: 24px; right: 28px;
    padding: 5px 12px;
    background: var(--accent);
    color: white;
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    z-index: 2;
}

/* Services CTA */
.services-cta {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 32px;
    align-items: center;
    padding: 40px 48px;
    background: var(--ink);
    color: var(--cream);
    border-radius: var(--r-xl);
}
.services-cta h3 {
    color: var(--cream);
    font-size: 1.6rem;
    margin-bottom: 6px;
}
.services-cta p {
    color: rgba(255,255,255,0.7);
}
.services-cta .btn-dark {
    background: var(--cream);
    color: var(--ink);
}
.services-cta .btn-dark:hover { background: var(--accent); color: white; }

/* ---------- STATS BAR ---------- */
.stats-bar {
    background: var(--ink);
    color: var(--cream);
    padding: 80px 0;
    overflow: hidden;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.stat-block {
    padding: 24px 32px;
    border-left: 1px solid rgba(255,255,255,0.12);
}
.stat-block:first-child { border-left: none; padding-left: 0; }
.stat-big {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1;
    color: var(--cream);
    font-weight: 600;
    letter-spacing: -0.04em;
    margin-bottom: 12px;
}
.stat-block p {
    color: rgba(255,255,255,0.65);
    font-size: 0.92rem;
    line-height: 1.4;
}

/* ---------- WHY US ---------- */
.section-why { background: var(--cream-2); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    overflow: hidden;
    background: var(--paper);
}
.why-card {
    padding: 40px 36px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--paper);
    transition: background 0.5s var(--ease), transform 0.4s var(--ease);
    position: relative;
}
.why-card:nth-child(3n) { border-right: none; }
.why-card:nth-last-child(-n+3) { border-bottom: none; }
.why-card:hover {
    background: var(--ink);
    color: var(--cream);
}
.why-card:hover h4 { color: var(--cream); }
.why-card:hover .why-num { color: var(--accent); }
.why-card:hover p { color: rgba(255,255,255,0.7); }
.why-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    transition: color 0.5s var(--ease);
}
.why-card h4 {
    font-size: 1.45rem;
    margin-bottom: 14px;
    color: var(--ink);
    letter-spacing: -0.025em;
    transition: color 0.5s var(--ease);
}
.why-card p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.55;
    transition: color 0.5s var(--ease);
}

/* ---------- ABOUT ---------- */
.section-about { background: var(--cream); }
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    margin-bottom: 100px;
}
.brand-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-xl);
    padding: 50px 40px;
    text-align: center;
    position: sticky;
    top: 100px;
    transition: transform 0.5s var(--ease);
}
.brand-card:hover { transform: translateY(-4px); }
.brand-card-img {
    max-width: 100%;
    max-height: 280px;
    width: auto;
    height: auto;
    margin: 0 auto 18px;
}
.brand-card-tag {
    font-family: 'Instrument Serif', serif;
    font-size: 1.3rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.3;
}
.brand-card-tag em {
    color: var(--brand);
    font-weight: 400;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.about-block {
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    transition: padding 0.4s var(--ease);
}
.about-block:last-child { border-bottom: none; }
.about-block-tag {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gray);
    margin-bottom: 14px;
    padding: 4px 10px;
    border: 1px solid var(--border);
    border-radius: 999px;
}
.about-block h3 {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 14px;
    color: var(--ink);
    letter-spacing: -0.03em;
    line-height: 1.05;
}
.about-block p {
    color: var(--ink-2);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 580px;
}
.about-block-accent .about-block-tag {
    background: var(--brand);
    color: white;
    border-color: var(--brand);
}
.about-block-accent h3 {
    color: var(--brand);
}

/* Values */
.values-section { margin-top: 60px; }
.values-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 40px;
    color: var(--ink);
    letter-spacing: -0.035em;
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.values-title .section-num { font-size: 0.85rem; }
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
.value {
    padding: 30px 28px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: background 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s var(--ease);
}
.value:hover {
    background: var(--ink);
    border-color: var(--ink);
    transform: translateY(-4px);
}
.value:hover h5 { color: var(--cream); }
.value:hover p { color: rgba(255,255,255,0.65); }
.value:hover span { color: var(--accent); }
.value span {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--gray-2);
    margin-bottom: 18px;
    letter-spacing: 0.05em;
    transition: color 0.4s var(--ease);
}
.value h5 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--ink);
    letter-spacing: -0.02em;
    transition: color 0.4s var(--ease);
}
.value p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: color 0.4s var(--ease);
}

/* ---------- OBJETIVOS ESPECÍFICOS ---------- */
.goals-section { margin-top: 60px; margin-bottom: 70px; }
.goals-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 14px;
    color: var(--ink);
    letter-spacing: -0.035em;
    display: flex;
    align-items: baseline;
    gap: 18px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.goals-title .section-num { font-size: 0.85rem; color: var(--gray-2); }
.goals-lead {
    color: var(--gray);
    font-size: 1.05rem;
    max-width: 640px;
    margin-bottom: 40px;
    line-height: 1.55;
}
.goals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0;
}
.goal-card {
    position: relative;
    padding: 32px 24px;
    background: var(--paper);
    border-right: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.4s var(--ease), transform 0.4s var(--ease);
    overflow: hidden;
}
.goal-card:first-child {
    border-left: 1px solid var(--border);
    border-top-left-radius: var(--r-lg);
    border-bottom-left-radius: var(--r-lg);
}
.goal-card:last-child {
    border-top-right-radius: var(--r-lg);
    border-bottom-right-radius: var(--r-lg);
}
.goal-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent) 0%, var(--brand) 100%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    z-index: 0;
}
.goal-card > * { position: relative; z-index: 1; }
.goal-card:hover { transform: translateY(-6px); }
.goal-card:hover::before { opacity: 1; }
.goal-card:hover .goal-tag,
.goal-card:hover h4,
.goal-card:hover p,
.goal-card:hover .goal-metric { color: white; }
.goal-card:hover .goal-tag { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.3); }

.goal-metric {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.6rem, 4vw, 3.4rem);
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
    letter-spacing: -0.04em;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    transition: color 0.4s var(--ease);
}
.goal-prefix {
    font-size: 0.55em;
    color: var(--accent);
    margin-right: 4px;
    font-weight: 500;
    margin-top: 0.25em;
}
.goal-suffix {
    font-size: 0.5em;
    margin-top: 0.25em;
    margin-left: 2px;
    font-weight: 400;
    color: var(--gray);
}
.goal-card:hover .goal-prefix,
.goal-card:hover .goal-suffix { color: rgba(255, 255, 255, 0.85); }
.goal-tag {
    display: inline-block;
    padding: 4px 12px;
    background: var(--cream-2);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
    margin-bottom: 14px;
    font-weight: 500;
    transition: all 0.4s var(--ease);
}
.goal-card h4 {
    font-size: 1.05rem;
    color: var(--ink);
    margin-bottom: 10px;
    line-height: 1.25;
    letter-spacing: -0.01em;
    transition: color 0.4s var(--ease);
}
.goal-card p {
    color: var(--gray);
    font-size: 0.85rem;
    line-height: 1.5;
    transition: color 0.4s var(--ease);
}

/* ---------- TEAM / ORGANIGRAMA ---------- */
.section-team { background: var(--cream-2); }

/* Wrapper */
.org-chart {
    position: relative;
    padding: 30px 0;
    overflow-x: auto;
}
.org-level { display: flex; justify-content: center; }

/* Nivel 1 - CEO */
.org-level-1 {
    margin-bottom: 0;
}

/* Nodos */
.org-node {
    position: relative;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 22px 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
    z-index: 2;
}
.org-node:hover {
    transform: translateY(-4px);
    border-color: var(--ink);
    box-shadow: 6px 6px 0 var(--ink);
}

/* Avatar */
.org-avatar {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 12px;
    background: var(--cream-2);
    color: var(--ink);
    display: grid; place-items: center;
    font-size: 1.1rem;
    border: 1px solid var(--border);
    transition: transform 0.5s var(--ease-spring), background 0.4s var(--ease), color 0.4s var(--ease);
}
.org-node:hover .org-avatar { transform: rotate(-8deg) scale(1.08); }

/* Info */
.org-info { flex: 1; min-width: 0; }
.org-role {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-2);
    display: block;
    margin-bottom: 4px;
}
.org-info h5 {
    font-size: 1.15rem;
    color: var(--ink);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.org-info h6 {
    font-size: 0.98rem;
    color: var(--ink);
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: -0.01em;
}
.org-info p {
    color: var(--gray);
    font-size: 0.82rem;
    line-height: 1.45;
}

/* CEO node (highlight) */
.org-node-ceo {
    background: var(--ink);
    border-color: var(--ink);
    padding: 28px 32px;
    min-width: 320px;
    box-shadow: 0 12px 40px -10px rgba(10, 14, 22, 0.4);
}
.org-node-ceo .org-avatar {
    width: 60px; height: 60px;
    background: var(--accent);
    color: white;
    border-color: transparent;
    font-size: 1.4rem;
}
.org-node-ceo .org-role { color: var(--gray-2); }
.org-node-ceo .org-info h5 { color: var(--cream); font-size: 1.6rem; }
.org-node-ceo .org-info p { color: rgba(255, 255, 255, 0.7); }
.org-node-ceo:hover {
    background: var(--navy);
    border-color: var(--accent);
    box-shadow: 8px 8px 0 var(--accent);
}

/* Trunk (líneas conectoras CEO → áreas) */
.org-trunk {
    position: relative;
    height: 56px;
    margin-bottom: 14px;
}
.org-trunk-vertical {
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 28px;
    background: var(--border-strong);
    transform: translateX(-50%);
}
.org-trunk-horizontal {
    position: absolute;
    left: 16.66%;
    right: 16.66%;
    top: 28px;
    height: 2px;
    background: var(--border-strong);
}
.org-trunk-drop {
    position: absolute;
    top: 28px;
    width: 2px;
    height: 28px;
    background: var(--border-strong);
}
.org-trunk-drop-1 { left: 16.66%; }
.org-trunk-drop-2 { left: 50%; transform: translateX(-50%); }
.org-trunk-drop-3 { right: 16.66%; }

/* Nivel 2: 3 áreas en grid */
.org-level-2 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.org-branch {
    display: flex;
    flex-direction: column;
}

/* Área (segundo nivel) */
.org-node-area {
    background: var(--paper);
    border: 2px solid var(--ink);
    margin-bottom: 0;
    box-shadow: 6px 6px 0 var(--ink);
}
.org-area-ops .org-avatar { background: var(--accent); color: white; border-color: transparent; }
.org-area-sales .org-avatar { background: var(--brand); color: white; border-color: transparent; }
.org-area-admin .org-avatar { background: var(--navy); color: white; border-color: transparent; }

/* Sub-trunk (línea entre área y sus hijos) */
.org-sub-trunk {
    position: relative;
    height: 32px;
}
.org-sub-trunk::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--border-strong);
    transform: translateX(-50%);
}

/* Children (3er nivel) */
.org-children {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}
.org-children::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border);
    transform: translateX(-50%);
    z-index: 0;
}
.org-node-child {
    padding: 16px 18px;
    background: var(--paper);
}
.org-node-child .org-avatar {
    width: 40px; height: 40px;
    font-size: 0.95rem;
}

/* Footer del organigrama */
.org-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 50px;
    padding: 28px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.org-footer-stat {
    text-align: center;
    border-right: 1px solid var(--border);
}
.org-footer-stat:last-child { border-right: none; }
.org-footer-stat strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
}
.org-footer-stat span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray);
}

/* ---------- CONTACTO ---------- */
.section-contact {
    background: var(--ink);
    color: var(--cream);
    padding: 120px 0 100px;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-side .section-num {
    color: var(--gray-2);
    margin-bottom: 32px;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.contact-headline {
    font-size: clamp(2.8rem, 7vw, 6rem);
    line-height: 0.95;
    color: var(--cream);
    margin-bottom: 32px;
    letter-spacing: -0.045em;
}
.contact-headline em.serif { color: var(--accent-2); }
.contact-lead {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 460px;
    margin-bottom: 48px;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.contact-info li {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 20px;
    align-items: center;
}
.contact-info span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    color: var(--gray-2);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}
.contact-info a, .contact-info strong {
    color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    font-weight: 500;
    transition: color 0.3s var(--ease);
}
.contact-info a:hover { color: var(--accent); }
.contact-social {
    display: flex;
    gap: 8px;
}
.contact-social a {
    width: 38px; height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--cream);
    font-size: 0.9rem;
    transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-spring);
}
.contact-social a:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-3px);
}

/* Contact form */
.contact-form {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-xl);
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    backdrop-filter: blur(8px);
}
.form-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-row label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gray-2);
    font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 14px 0;
    color: var(--cream);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s var(--ease);
    outline: none;
    resize: vertical;
}
.form-row select { appearance: none; background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3e%3cpath fill='%23F2EDE3' d='M1 1l5 5 5-5'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 8px center; padding-right: 28px; }
.form-row select option { background: var(--ink); color: var(--cream); }
.form-row input::placeholder,
.form-row textarea::placeholder {
    color: rgba(255,255,255,0.3);
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
    border-color: var(--accent);
}
.contact-form .btn-dark {
    background: var(--cream);
    color: var(--ink);
    margin-top: 8px;
}
.contact-form .btn-dark:hover { background: var(--accent); color: white; }
.form-status {
    text-align: center;
    font-size: 0.9rem;
    color: var(--accent);
    min-height: 20px;
    font-family: 'Space Grotesk', sans-serif;
}

/* ---------- BLOG / NOTICIAS ---------- */
.section-blog { background: var(--cream-2); }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 60px;
}
.blog-card {
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition:
        transform 0.5s var(--ease-spring),
        border-color 0.4s var(--ease),
        box-shadow 0.4s var(--ease);
    cursor: pointer;
    grid-column: span 1;
}
.blog-card:hover {
    transform: translateY(-6px);
    border-color: var(--ink);
    box-shadow: 12px 12px 0 var(--ink);
}
.blog-card-featured {
    grid-column: span 3;
    grid-row: span 1;
    flex-direction: row;
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
}
.blog-card-featured:hover { background: var(--navy); box-shadow: 12px 12px 0 var(--brand); }
.blog-card-featured .blog-cover { width: 45%; min-height: 320px; }
.blog-card-featured .blog-content { width: 55%; padding: 44px; gap: 20px; }
.blog-card-featured .blog-title { font-size: clamp(1.6rem, 2.5vw, 2.2rem); color: var(--cream); }
.blog-card-featured .blog-excerpt { color: rgba(255,255,255,0.75); font-size: 1rem; line-height: 1.6; }
.blog-card-featured .blog-meta span { color: rgba(255,255,255,0.6); }
.blog-card-featured .blog-link { color: var(--cream); }
.blog-card-featured .blog-link:hover { color: var(--accent-2); }

.blog-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    display: grid;
    place-items: center;
}
.blog-cover-1 {
    background: linear-gradient(135deg, var(--navy) 0%, var(--brand) 100%);
}
.blog-cover-2 {
    background: linear-gradient(135deg, #E8EFF7 0%, #BCC8DA 100%);
}
.blog-cover-3 {
    background: linear-gradient(135deg, var(--brand) 0%, var(--accent) 100%);
}
.blog-cover-4 {
    background: linear-gradient(135deg, #1F2937 0%, #4B5563 100%);
}
.blog-cover::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 30px 30px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.blog-cover-icon {
    position: relative;
    z-index: 1;
    width: 90px; height: 90px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    display: grid; place-items: center;
    color: white;
    font-size: 2rem;
    transition: transform 0.6s var(--ease-spring);
}
.blog-cover-2 .blog-cover-icon {
    background: rgba(10, 14, 22, 0.1);
    border-color: rgba(10, 14, 22, 0.2);
    color: var(--ink);
}
.blog-card:hover .blog-cover-icon { transform: rotate(-8deg) scale(1.1); }
.blog-category {
    position: absolute;
    top: 18px; left: 18px;
    z-index: 2;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--ink);
    border-radius: 999px;
    font-weight: 600;
    backdrop-filter: blur(6px);
}
.blog-cover-2 .blog-category { background: var(--ink); color: var(--cream); }

.blog-content {
    flex: 1;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.blog-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    color: var(--gray);
}
.blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-meta i { font-size: 0.72rem; }
.blog-title {
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--ink);
    letter-spacing: -0.025em;
    flex-grow: 1;
}
.blog-excerpt {
    color: var(--gray);
    font-size: 0.92rem;
    line-height: 1.55;
    /* clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--ink);
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    transition: color 0.3s var(--ease), gap 0.3s var(--ease);
}
.blog-card-featured .blog-link { border-top-color: rgba(255,255,255,0.15); }
.blog-link i { font-size: 0.8rem; transition: transform 0.4s var(--ease-spring); }
.blog-link:hover { color: var(--accent); gap: 12px; }
.blog-link:hover i { transform: translate(3px, -3px); }

/* Newsletter CTA */
.blog-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 40px 32px;
    background: var(--paper);
    border: 1px dashed var(--border-strong);
    border-radius: var(--r-xl);
    text-align: center;
}
.blog-cta p {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 500;
}
.blog-newsletter {
    display: flex;
    gap: 10px;
    width: 100%;
    max-width: 480px;
}
.blog-newsletter input {
    flex: 1;
    padding: 14px 18px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    outline: none;
    transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.blog-newsletter input::placeholder { color: var(--gray-2); }
.blog-newsletter input:focus { border-color: var(--ink); background: white; }
.blog-newsletter .btn { padding: 14px 22px; flex-shrink: 0; }

/* ---------- CONTACT MAP ---------- */
.contact-map {
    margin-top: 80px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r-xl);
    overflow: hidden;
    backdrop-filter: blur(8px);
}
.contact-map-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 36px;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.map-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-2);
    margin-bottom: 8px;
}
.contact-map-head h3 {
    color: var(--cream);
    font-size: clamp(1.4rem, 2.4vw, 1.9rem);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}
.map-sub {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 420px;
}
.btn-outline-light {
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--cream);
    padding: 12px 22px;
    border-radius: 999px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease-spring);
    text-decoration: none;
}
.btn-outline-light i { transition: transform 0.4s var(--ease-spring); }
.btn-outline-light:hover {
    background: var(--cream);
    color: var(--ink);
    border-color: var(--cream);
    transform: translateY(-2px);
}
.btn-outline-light:hover i { transform: translate(3px, -3px); }

.contact-map-frame {
    height: 380px;
    position: relative;
    background: var(--navy);
    overflow: hidden;
}
.contact-map-frame iframe {
    filter: grayscale(0.4) contrast(1.05);
    transition: filter 0.5s var(--ease);
    display: block;
}
.contact-map-frame:hover iframe { filter: grayscale(0) contrast(1); }

/* ---------- Footer Marquee ---------- */
.footer-marquee {
    background: var(--brand);
    background-image: linear-gradient(90deg, var(--navy) 0%, var(--brand) 50%, var(--navy-2) 100%);
    color: white;
    overflow: hidden;
    padding: 30px 0;
    border-top: 1px solid var(--brand);
    position: relative;
}
.footer-marquee::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 100%);
    pointer-events: none;
}
.marquee-track-big {
    animation: marqueeScroll 28s linear infinite;
    gap: 60px;
}
.marquee-track-big span {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 500;
    letter-spacing: -0.03em;
    text-transform: none;
    line-height: 1;
}
.marquee-track-big em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
}
.marquee-star { font-size: clamp(1.6rem, 4vw, 3rem); opacity: 0.8; }

/* ---------- FOOTER ---------- */
.footer {
    background: var(--cream);
    padding: 80px 0 30px;
    border-top: 1px solid var(--border);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}
.footer-brand p {
    color: var(--gray);
    margin-top: 18px;
    font-size: 0.92rem;
    max-width: 280px;
}
.footer-col h6 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--ink);
    margin-bottom: 18px;
}
.footer-col a {
    display: block;
    color: var(--gray);
    font-size: 0.92rem;
    padding: 6px 0;
    transition: color 0.3s var(--ease), padding-left 0.3s var(--ease);
}
.footer-col a:hover { color: var(--accent); padding-left: 6px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    font-size: 0.85rem;
    color: var(--gray);
    flex-wrap: wrap;
    gap: 10px;
}
.footer-iso { color: var(--gray-2); }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 50px; height: 50px;
    background: var(--ink);
    color: var(--cream);
    border: none;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
    z-index: 99;
    opacity: 0; visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease), transform 0.4s var(--ease-spring), background 0.4s var(--ease);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--accent); transform: translateY(-4px); }

/* ============================================================
   SERVICE MODAL — Modern, sophisticated, premium
   ============================================================ */
.modal-overlay {
    position: fixed; inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 14, 22, 0.6);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
    opacity: 0; visibility: hidden;
    transition: opacity 0.45s var(--ease), visibility 0.45s var(--ease);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: calc(100vh - 48px);
    overflow-y: auto;
    background: var(--paper);
    border-radius: var(--r-xl);
    box-shadow: 0 60px 140px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255,255,255,0.06);
    transform: translateY(40px) scale(0.96);
    opacity: 0;
    transition: transform 0.55s var(--ease-spring), opacity 0.55s var(--ease);
    overflow-x: hidden;
}
.modal-overlay.open .modal { transform: translateY(0) scale(1); opacity: 1; }
.modal::-webkit-scrollbar { width: 8px; }
.modal::-webkit-scrollbar-track { background: var(--cream); }
.modal::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }

.modal-close {
    position: absolute;
    top: 22px; right: 22px;
    width: 42px; height: 42px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: grid; place-items: center;
    color: var(--ink);
    z-index: 5;
    backdrop-filter: blur(8px);
    transition: background 0.3s var(--ease), transform 0.4s var(--ease-spring), color 0.3s ease, border-color 0.3s ease;
}
.modal-close:hover {
    background: var(--ink);
    color: var(--cream);
    border-color: var(--ink);
    transform: rotate(90deg) scale(1.05);
}

/* ----- HEADER ----- */
.modal-header {
    position: relative;
    background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 60%, var(--brand) 130%);
    color: var(--cream);
    padding: 56px 48px 48px;
    overflow: hidden;
    border-radius: var(--r-xl) var(--r-xl) 0 0;
}
.modal-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 100% 0%, rgba(79, 140, 247, 0.25), transparent 60%),
        radial-gradient(500px 250px at 0% 100%, rgba(37, 99, 235, 0.18), transparent 60%);
    pointer-events: none;
}
.modal-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    pointer-events: none;
}

.modal-number-bg {
    position: absolute;
    right: -20px;
    bottom: -60px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18rem;
    font-weight: 700;
    line-height: 0.85;
    color: rgba(255, 255, 255, 0.06);
    letter-spacing: -0.05em;
    pointer-events: none;
    user-select: none;
    z-index: 1;
    animation: modalNumIn 0.8s var(--ease-spring);
}
@keyframes modalNumIn {
    from { opacity: 0; transform: translate(40px, 40px); }
    to { opacity: 1; transform: translate(0, 0); }
}

.modal-header-inner {
    position: relative;
    z-index: 2;
}
.modal-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
}

.modal-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cream);
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    font-weight: 500;
    backdrop-filter: blur(8px);
    animation: modalFadeIn 0.6s var(--ease-out) 0.1s both;
}
.modal-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--accent-2);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-2);
}

.modal-icon {
    width: 64px; height: 64px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--cream);
    border-radius: 18px;
    display: grid; place-items: center;
    font-size: 1.5rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
    animation: modalIconPop 0.7s var(--ease-spring) 0.15s both;
}
@keyframes modalIconPop {
    from { opacity: 0; transform: scale(0.4) rotate(-25deg); }
    to { opacity: 1; transform: scale(1) rotate(0); }
}

.modal-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 600;
    line-height: 0.98;
    letter-spacing: -0.035em;
    color: var(--cream);
    margin-bottom: 24px;
    max-width: 540px;
    animation: modalFadeIn 0.7s var(--ease-out) 0.2s both;
}

.modal-ideal-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--r);
    margin-bottom: 14px;
    max-width: 100%;
    animation: modalFadeIn 0.7s var(--ease-out) 0.3s both;
}
.modal-ideal-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent-2);
    font-weight: 600;
    padding-right: 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}
.modal-ideal {
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.92rem;
    line-height: 1.45;
    margin: 0;
}

.modal-meta {
    display: none;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(79, 140, 247, 0.12);
    border: 1px dashed rgba(79, 140, 247, 0.4);
    border-radius: var(--r-sm);
    color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    margin-top: 4px;
    animation: modalFadeIn 0.7s var(--ease-out) 0.4s both;
}
.modal-meta.has-content { display: inline-flex; }
.modal-meta i { color: var(--accent-2); font-size: 0.8rem; }

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ----- BODY ----- */
.modal-body {
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 44px;
    background: var(--paper);
}

.modal-section {
    opacity: 0;
    transform: translateY(20px);
    animation: modalSec 0.6s var(--ease-out) forwards;
}
.modal-section:nth-child(1) { animation-delay: 0.45s; }
.modal-section:nth-child(2) { animation-delay: 0.55s; }
.modal-section:nth-child(3) { animation-delay: 0.65s; }
@keyframes modalSec { to { opacity: 1; transform: translateY(0); } }

.modal-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border);
}
.modal-section-title {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: var(--ink);
    font-weight: 600;
    letter-spacing: -0.01em;
}
.modal-section-bar {
    width: 6px; height: 22px;
    background: var(--ink);
    border-radius: 3px;
}
.modal-section-bar.accent { background: var(--accent); }
.modal-section-bar.muted { background: var(--gray-2); }
.modal-section-count {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    color: var(--gray);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 4px 10px;
    background: var(--cream);
    border-radius: 999px;
}

/* ----- "Qué incluye" — 2-column grid with numbered items ----- */
.modal-list-includes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.modal-list-includes li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--ink-2);
    font-size: 0.92rem;
    line-height: 1.45;
    position: relative;
    overflow: hidden;
    transition:
        transform 0.5s var(--ease-spring),
        border-color 0.4s var(--ease),
        background 0.4s var(--ease),
        box-shadow 0.4s var(--ease);
    opacity: 0;
    transform: translateY(10px);
    animation: itemIn 0.5s var(--ease-out) forwards;
    animation-delay: calc(0.5s + var(--i, 0) * 0.06s);
}
@keyframes itemIn { to { opacity: 1; transform: translateY(0); } }

.modal-list-includes li:hover {
    transform: translateY(-3px);
    border-color: var(--ink);
    background: var(--cream);
    box-shadow: 6px 6px 0 var(--ink);
}
.modal-list-includes li::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px;
    height: 100%;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s var(--ease);
}
.modal-list-includes li:hover::after { transform: scaleY(1); }

.modal-include-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--gray-2);
    flex-shrink: 0;
    padding-top: 1px;
    transition: color 0.4s var(--ease);
}
.modal-list-includes li:hover .modal-include-num { color: var(--accent); }
.modal-include-text {
    flex: 1;
}

/* ----- "Beneficios" — 3-column highlight cards ----- */
.modal-list-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.modal-list-benefits li {
    position: relative;
    padding: 24px 22px 22px;
    background: linear-gradient(160deg, var(--cream), var(--paper));
    border: 1px solid var(--border);
    border-radius: var(--r);
    color: var(--ink);
    font-size: 0.93rem;
    line-height: 1.45;
    text-align: left;
    overflow: hidden;
    transition:
        transform 0.5s var(--ease-spring),
        border-color 0.4s var(--ease),
        background 0.4s var(--ease),
        box-shadow 0.4s var(--ease);
    opacity: 0;
    transform: translateY(10px);
    animation: itemIn 0.5s var(--ease-out) forwards;
    animation-delay: calc(0.6s + var(--i, 0) * 0.08s);
}
.modal-list-benefits li::before {
    content: '';
    position: absolute;
    top: -40px; right: -40px;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.12), transparent 70%);
    border-radius: 50%;
    transition: transform 0.6s var(--ease);
}
.modal-list-benefits li:hover {
    transform: translateY(-4px);
    border-color: var(--brand);
    background: linear-gradient(160deg, #EFF4FB, var(--paper));
    box-shadow: 0 18px 40px rgba(27, 89, 147, 0.18);
}
.modal-list-benefits li:hover::before { transform: scale(1.5); }
.modal-benefit-icon {
    position: relative;
    width: 38px; height: 38px;
    background: var(--ink);
    color: var(--cream);
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 0.92rem;
    margin-bottom: 14px;
    z-index: 1;
    transition: background 0.4s var(--ease), transform 0.5s var(--ease-spring);
}
.modal-list-benefits li:hover .modal-benefit-icon {
    background: var(--accent);
    transform: rotate(-10deg) scale(1.1);
}
.modal-list-benefits li p {
    position: relative;
    z-index: 1;
    margin: 0;
    font-weight: 500;
}

/* ----- "Condiciones" — vertical list with subtle warning style ----- */
.modal-list-conditions {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.modal-list-conditions li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 18px;
    background: var(--cream);
    border-left: 3px solid var(--gray-2);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    color: var(--ink-2);
    font-size: 0.9rem;
    line-height: 1.5;
    transition: background 0.4s var(--ease), border-color 0.4s var(--ease), transform 0.4s var(--ease);
    opacity: 0;
    transform: translateX(-10px);
    animation: condIn 0.5s var(--ease-out) forwards;
    animation-delay: calc(0.7s + var(--i, 0) * 0.06s);
}
@keyframes condIn { to { opacity: 1; transform: translateX(0); } }
.modal-list-conditions li:hover {
    background: var(--cream-2);
    border-left-color: var(--ink);
    transform: translateX(4px);
}
.modal-list-conditions li i {
    color: var(--gray);
    margin-top: 2px;
    font-size: 0.95rem;
    flex-shrink: 0;
    transition: color 0.4s var(--ease);
}
.modal-list-conditions li:hover i { color: var(--ink); }

/* ----- FOOTER ----- */
.modal-footer {
    padding: 32px 48px 40px;
    background: var(--paper);
    border-top: 1px solid var(--border);
    border-radius: 0 0 var(--r-xl) var(--r-xl);
}
.modal-footer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    color: var(--gray);
    margin-top: 16px;
    text-align: center;
}
.modal-footer-note i { color: var(--brand); }

body.modal-open { overflow: hidden; }

@media (max-width: 720px) {
    .modal-header { padding: 40px 28px 32px; }
    .modal-number-bg { font-size: 12rem; right: -10px; bottom: -40px; }
    .modal-icon { width: 52px; height: 52px; font-size: 1.2rem; }
    .modal-body { padding: 32px 24px; gap: 32px; }
    .modal-footer { padding: 24px 24px 32px; }
    .modal-list-includes { grid-template-columns: 1fr; }
    .modal-list-benefits { grid-template-columns: 1fr; }
    .modal-list-benefits li { padding: 20px; }
    .modal-section-head { flex-wrap: wrap; gap: 8px; }
    .modal-ideal-box { flex-direction: column; align-items: flex-start; gap: 8px; }
    .modal-ideal-label { border-right: none; padding-right: 0; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,0.12); }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .bento-card { grid-column: span 3; }
    .bento-featured { grid-column: span 6; }
    .bento-featured .bento-featured-grid { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 900px) {
    .section-head { grid-template-columns: 1fr; gap: 24px; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .why-card:nth-child(3n) { border-right: 1px solid var(--border); }
    .why-card:nth-child(2n) { border-right: none; }
    .why-card:nth-last-child(-n+3) { border-bottom: 1px solid var(--border); }
    .why-card:nth-last-child(-n+2) { border-bottom: none; }

    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-block { border-left: none; padding: 12px 0; }
    .stat-block:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.12); padding-right: 24px; }
    .stat-block:nth-child(even) { padding-left: 24px; }

    .hero-grid { grid-template-columns: 1fr; gap: 50px; min-height: auto; }
    .hero-content { max-width: 100%; }
    .hero-visual { max-width: 420px; margin: 0 auto; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .hero-stat { padding: 16px; border-right: none; border-left: 1px solid var(--border); }
    .hero-stat:first-child { padding-left: 16px; border-left: none; }
    .hero-chip-1 { left: -2%; }
    .hero-chip-2 { right: -2%; }

    .about-layout { grid-template-columns: 1fr; gap: 40px; }
    .brand-card { position: static; }

    .values-grid { grid-template-columns: repeat(2, 1fr); }

    /* Goals: 5 → grid de 2 cols + última centrada full */
    .goals-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .goal-card {
        border: 1px solid var(--border) !important;
        border-radius: var(--r-lg) !important;
    }

    /* Organigrama → 1 columna en tablet */
    .org-level-2 { grid-template-columns: 1fr; gap: 36px; }
    .org-trunk { display: none; }
    .org-node-ceo { width: 100%; min-width: auto; margin-bottom: 24px; }
    .org-node-area { position: relative; }
    .org-node-area::before {
        content: '';
        position: absolute;
        left: 50%;
        top: -24px;
        width: 2px;
        height: 24px;
        background: var(--border-strong);
    }

    .contact-layout { grid-template-columns: 1fr; gap: 50px; }

    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-card-featured { grid-column: span 2; flex-direction: column; }
    .blog-card-featured .blog-cover { width: 100%; min-height: 240px; }
    .blog-card-featured .blog-content { width: 100%; padding: 32px; }

    .contact-map-head { padding: 22px 24px; flex-direction: column; align-items: flex-start; }
    .contact-map-frame { height: 320px; }

    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }

    .nav-menu {
        position: fixed;
        top: 70px; left: 16px; right: 16px;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: var(--paper);
        border: 1px solid var(--border);
        border-radius: var(--r-lg);
        gap: 4px;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        transition: opacity 0.3s var(--ease), visibility 0.3s var(--ease), transform 0.3s var(--ease);
        box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    }
    .nav-menu.open { opacity: 1; visibility: visible; transform: translateY(0); }
    .nav-menu .nav-link {
        padding: 14px 18px;
        border-bottom: 1px solid var(--border);
        justify-content: flex-start;
        font-size: 1rem;
    }
    .nav-menu .nav-link:last-child { border-bottom: none; }
    .nav-toggle { display: flex; }
    .btn-nav { display: none; }
    body.menu-open { overflow: hidden; }
}
@media (max-width: 560px) {
    .container { padding: 0 20px; }
    .section { padding: 80px 0; }
    .bento-card, .bento-featured { grid-column: span 6; }
    .why-grid { grid-template-columns: 1fr; }
    .why-card { border-right: none !important; border-bottom: 1px solid var(--border) !important; }
    .why-card:last-child { border-bottom: none !important; }
    .stats-grid { grid-template-columns: 1fr; }
    .stat-block { border: none !important; padding: 16px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.12) !important; }
    .values-grid { grid-template-columns: 1fr; }
    .goals-grid { grid-template-columns: 1fr; }
    .org-footer { grid-template-columns: 1fr; }
    .org-footer-stat { border-right: none; border-bottom: 1px solid var(--border); padding: 18px 0; }
    .org-footer-stat:last-child { border-bottom: none; }
    .org-node-ceo { padding: 22px 20px; flex-direction: column; align-items: flex-start; }
    .org-node-ceo .org-info h5 { font-size: 1.3rem; }
    .hero-stats { grid-template-columns: 1fr; }
    .hero-stat { border: none; padding: 14px 0; border-bottom: 1px solid var(--border); }
    .hero-stat:last-child { border-bottom: none; }
    .hero-visual { max-width: 320px; }
    .hero-badge { padding: 8px 12px; font-size: 0.7rem; }
    .hero-badge span { display: none; }
    .hero-chip { padding: 10px 12px; }
    .hero-chip strong { font-size: 0.9rem; }
    .hero-chip span { font-size: 0.6rem; }
    .hero-chip-1 { left: -4%; }
    .hero-chip-2 { right: -4%; }
    .hero-trust { flex-wrap: wrap; }
    .hero-slogan { font-size: 1.15rem; padding-left: 14px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    .contact-form { padding: 28px; }
    .modal-header, .modal-body, .modal-footer { padding-left: 24px; padding-right: 24px; }
    .services-cta { grid-template-columns: 1fr; padding: 32px 28px; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-card-featured { grid-column: span 1; }
    .blog-newsletter { flex-direction: column; }
    .blog-newsletter .btn { width: 100%; justify-content: center; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
    .marquee-track { animation: none; }
}
