/* ═══════════════════════════════════════════════════
   EstarUP — Landing Page v2 Stylesheet
   Jorge Agudelo | Consultoría Digital
   Inspired by Sublime10 design system
   ═══════════════════════════════════════════════════ */

/* ── Fonts: Montserrat (headings) + Nunito Sans (body) ── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;900&family=Nunito+Sans:ital,opsz,wght@0,6..12,300;0,6..12,400;0,6..12,500;0,6..12,600;0,6..12,700;1,6..12,400&display=swap');

/* ── CSS Variables ── */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 7.2rem;
    /* Navbar height */
}

:root {
    --brand-red: #F22233;
    --brand-magenta: #F2059F;
    --brand-cyan: #05C7F2;
    --brand-yellow: #F2E205;
    --brand-gold: #F2CB05;

    --bg-dark: #0D0D0D;
    --bg-darker: #050505;
    --bg-card: #1E1E1E;
    --bg-card-hover: #2A2A2A;
    --bg-light: #F5F5F7;

    --text-white: #FFFFFF;
    --text-light: #FFFFF0;
    --text-muted: rgba(255, 255, 255, 0.50);
    --text-body: rgba(255, 255, 255, 0.65);

    --border-card: rgba(5, 199, 242, 0.12);
    --glow-cyan: rgba(5, 199, 242, 0.25);
    --glow-magenta: rgba(242, 5, 159, 0.20);
    --gradient-hero: radial-gradient(ellipse at 25% 60%, rgba(5, 199, 242, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 75% 20%, rgba(242, 5, 159, 0.08) 0%, transparent 50%);
    --gradient-cta: linear-gradient(90deg, #F2E205, #F2CB05);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45), 0 1px 2px rgba(5, 199, 242, 0.06);
    --shadow-cta: 0 8px 32px rgba(242, 203, 5, 0.25);

    --container-max: 1200px;
    --container-pad: 80px;
    --radius-card: 8px;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);

    /* Blobs */
    --blob-opacity: 0.20;
    --blob-opacity-light: 0.08;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 62.5%;
    /* 1rem = 10px */
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 1.6;
    background: #050505;
    /* Unified True Black */
    color: var(--text-body);
    overflow-x: hidden;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    word-wrap: break-word;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

ul,
ol {
    list-style: none;
}

/* ── Typography system ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-white);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.02rem;
}

h1 {
    font-size: 6.8rem;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: -0.15rem;
}

h2 {
    font-size: 4.6rem;
    line-height: 1.25;
    font-weight: 600;
    letter-spacing: -0.03rem;
    margin-bottom: 2rem;
}

h3 {
    font-size: 2.4rem;
    line-height: 1.4;
    font-weight: 600;
}

p {
    margin-bottom: 2rem;
}

/* Lead text — like Sublime10 */
.lead {
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 300;
    font-size: 2.2rem;
    line-height: 1.5;
    color: var(--text-muted);
}

/* ── Utility ── */
.container {
    width: 89%;
    max-width: var(--container-max);
    margin: 0 auto;
    position: relative;
    z-index: 5;
    /* Ensure content is above blobs */
}

.container.narrow {
    max-width: 1000px;
}

.container.bit-narrow {
    max-width: 1120px;
}

.container.wide {
    max-width: 1400px;
}

.eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-weight: 600;
    color: var(--brand-cyan);
    margin-bottom: 2rem;
    display: block;
}

.eyebrow-magenta {
    color: var(--brand-magenta);
}

.text-gradient {
    background: linear-gradient(90deg, #05C7F2, #F2059F);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--brand-cyan);
    color: #000;
    padding: 8px 16px;
    border-radius: 4px;
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 16px;
}

/* Section spacing — generous like Sublime10 */
section {
    padding: 7.2rem 0;
    position: relative;
    overflow: hidden;
    background: #050505;
}

#hero {
    padding-bottom: 2rem;
    /* Tighten for seamless flow */
}

/* Cleanup previous transition hacks */
#dolor {
    padding-top: 6rem;
    /* Tightened entry to merge colors */
    margin-top: 0;
}

/* Global Section Background (Blobs) */
.section-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
    transform: none !important;
    /* Fix: Disable background parallax to prevent black line gaps */
}

#hero .section-bg {
    inset: 0 0 -10rem 0;
    /* Bleed background into next section for fluid transition */
}

/* Subtle dots extension for flow */
.section-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 32px 32px;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: -1;
}

.section-bg>.blob-cyan,
.section-bg>.blob-magenta,
.section-bg .blob-yellow {
    content: '';
    position: absolute;
    width: 85rem;
    height: 85rem;
    border-radius: 50%;
    filter: blur(180px);
    opacity: var(--blob-opacity);
    z-index: 0;
    pointer-events: none;
    /* [FIX] Performance: CSS Hints for heavy animated backgrounds */
    will-change: transform;
    contain: layout style paint;
}

/* Define blobs as child elements instead of pseudo-elements for better control */
.section-bg>.blob-cyan {
    background: var(--brand-cyan);
    top: -20%;
    left: -10%;
    animation: moveBlob1 45s ease-in-out infinite alternate;
}

.section-bg>.blob-magenta {
    background: var(--brand-magenta);
    bottom: -20%;
    right: -10%;
    animation: moveBlob2 40s ease-in-out infinite alternate;
}

.section-bg .blob-yellow {
    background: var(--brand-yellow);
    top: 20%;
    right: -15%;
    width: 60rem;
    height: 60rem;
    animation: moveBlobYellow 50s ease-in-out infinite alternate;
}

@keyframes moveBlobYellow {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    50% {
        transform: translate(-15%, 15%) scale(1);
    }

    100% {
        transform: translate(-5%, -10%) scale(1.2);
    }
}

/* Light section variants */
#quien-soy .section-bg::before,
#quien-soy .section-bg::after,
#quien-soy .section-bg .blob-yellow,
#faq .section-bg::before,
#faq .section-bg::after,
#faq .section-bg .blob-yellow {
    opacity: var(--blob-opacity-light);
}

/* ── Reveal on scroll ── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    /* [FIX] Performance: Optimize transition and add hints */
    will-change: transform, opacity;
    transition: opacity 0.8s cubic-bezier(0.165, 0.84, 0.44, 1), transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    background: var(--gradient-cta);
    color: #000 !important;
    /* Force black text on yellow background */
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    border-radius: 0;
    padding: 1.6rem 3.6rem;
    min-height: 5.6rem;
    line-height: 1.3;
    text-align: center;
    box-shadow: var(--shadow-cta);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    /* [FIX] Performance: Optimize animated interactive elements */
    will-change: transform, box-shadow, filter;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(242, 203, 5, 0.45);
    filter: brightness(1.08);
    color: #000 !important;
}

.btn-primary-lg {
    font-size: 1.5rem;
    padding: 1.8rem 5.2rem;
    min-height: 6.4rem;
    line-height: 1.3;
    letter-spacing: 0.3rem;
    box-shadow: 0 12px 40px rgba(242, 203, 5, 0.25);
}

.btn-primary-lg:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 52px rgba(242, 203, 5, 0.50);
}

.btn-outlined {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 2px solid var(--brand-cyan);
    color: var(--brand-cyan);
    background: transparent;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    border-radius: 0;
    padding: 1.4rem 3rem;
    min-height: 5.4rem;
    line-height: 1.3;
    text-align: center;
    transition: var(--transition);
}

.btn-outlined:hover {
    background: var(--brand-cyan);
    color: #000;
    transform: translateY(-2px);
}

.btn-solid-cyan {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--brand-cyan);
    color: #000;
    font-family: 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    border-radius: 0;
    padding: 1.4rem 3rem;
    min-height: 5.4rem;
    line-height: 1.3;
    text-align: center;
    border: 2px solid var(--brand-cyan);
    transition: var(--transition);
}

.btn-solid-cyan:hover {
    background: transparent;
    color: var(--brand-cyan);
    transform: translateY(-2px);
}

/* [FIX] Accessibility: Enhanced focus indication for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--brand-cyan);
    outline-offset: 4px;
}

:focus:not(:focus-visible) {
    outline: none;
}

/* ══════════════════════════════════════
   NAVBAR
══════════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 100px; /* Aumentado de 72px para que quepa un logo grande */
    display: flex;
    align-items: center;
    transition: height 0.3s ease, background 0.3s ease;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: radial-gradient(circle at 70% 50%, rgba(242, 226, 5, 0.12), transparent 50%), rgba(5, 5, 5, 0.82);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    /* Keep blobs inside */
}



#navbar.scrolled::before,
#navbar.scrolled::after {
    content: '';
    position: absolute;
    width: 30rem;
    height: 30rem;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
}

#navbar.scrolled::before {
    background: var(--brand-cyan);
    top: -15rem;
    left: -10rem;
}

#navbar.scrolled::after {
    background: var(--brand-magenta);
    bottom: -15rem;
    right: -10rem;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 10.0rem; /* Tamaño GIGANTE para que no se pierda */
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.nav-logo:hover .logo-img {
    transform: scale(1.05); /* Sutil micro-animación premium */
}

.nav-logo span {
    color: var(--brand-cyan);
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--text-muted);
    position: relative;
    padding-bottom: 4px;
    transition: var(--transition);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--brand-cyan);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta-btn {
    background: var(--brand-yellow);
    border: 2px solid var(--brand-yellow);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    border-radius: 0;
    padding: 1rem 2.4rem;
    transition: var(--transition);
    cursor: pointer;
}

.nav-cta-btn:hover {
    background: var(--brand-yellow);
    color: #000;
    opacity: 0.9;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--text-white);
    border-radius: 0;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    /* Full screen */
    width: 100%;
    z-index: 1100;
    /* Below navbar (1200) */
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 6rem 2.4rem;
    gap: 3.2rem;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

.mobile-menu a:not(.mobile-menu-cta) {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-white);
    transition: var(--transition);
    text-align: center;
}

.mobile-menu a:not(.mobile-menu-cta):hover {
    color: var(--brand-yellow);
}

.mobile-menu-cta:hover {
    color: #000 !important;
}

.mobile-menu-cta {
    margin-top: 4rem;
    width: 100%;
    max-width: 32rem;
    line-height: normal;
    padding: 2rem !important;
    font-size: 1.3rem !important;
    letter-spacing: 0.15rem !important;
}

/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: #050505;
    /* Unified True Black */
    padding: 15rem 0 4rem; /* Aumentado para dar aire al nuevo navbar gigante */
    overflow: hidden;
}

/* Use the unified section-bg for hero too */
.hero-bg {
    z-index: 0;
    background: #050505;
    overflow: hidden;
}

.hero-bg::before,
.hero-bg::after {
    content: '';
    position: absolute;
    width: 80rem;
    height: 80rem;
    border-radius: 50%;
    filter: blur(150px);
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.hero-bg::before {
    background: var(--brand-cyan);
    top: -20%;
    left: -10%;
    animation: moveBlob1 30s ease-in-out infinite alternate;
}

.hero-bg::after {
    background: var(--brand-magenta);
    bottom: -20%;
    right: -10%;
    animation: moveBlob2 25s ease-in-out infinite alternate;
}

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

    50% {
        transform: translate(15%, 10%) scale(1.1);
    }

    100% {
        transform: translate(5%, 20%) scale(1);
    }
}

@keyframes moveBlob2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }

    50% {
        transform: translate(-10%, -15%) scale(1);
    }

    100% {
        transform: translate(-5%, -5%) scale(1.2);
    }
}

/* [FIX] Performance: Optimize hero background animations */
.hero-bg::before,
.hero-bg::after {
    will-change: transform;
    contain: layout style paint;
}

.hero-dots {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 3.2rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 199, 242, 0.08);
    border: 1px solid rgba(5, 199, 242, 0.3);
    border-radius: 0;
    padding: 0.5rem 1.2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--brand-cyan);
    margin-bottom: 1.2rem;
    animation: fadeSlideRight 0.6s ease-out both;
}

@keyframes fadeSlideRight {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-white);
    margin-bottom: 0;
    letter-spacing: -0.05rem;
}

.hero-h1 .cyan {
    color: var(--brand-cyan);
}

.hero-divider {
    width: 0;
    height: 3px;
    background: var(--brand-cyan);
    margin: 0.8rem 0;
    border-radius: 0;
    animation: lineGrow 0.6s ease-out 0.3s forwards;
}

@keyframes lineGrow {
    to {
        width: 72px;
    }
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.02rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.hero-services {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.hero-services li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-white);
}

.hero-services li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-cyan);
    flex-shrink: 0;
}

.hero-for {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    margin-bottom: 1.6rem;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
}

.hero-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--text-muted);
    transition: var(--transition);
}

.hero-wa-link:hover {
    color: var(--text-white);
}

.hero-wa-link svg {
    color: #25D366;
}

/* Hero Right — Photo */
.hero-photo-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-photo-container {
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    max-width: 50rem;
    margin: 0;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-photo-container img {
    width: 100%;
    height: auto;
    aspect-ratio: 500 / 560;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-photo-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(60, 59, 59, 0.5));
    pointer-events: none;
}

.hero-photo-border {
    display: none;
}

/* Hero Stats Row — New dynamic position */
.hero-stats-row {
    width: 100%;
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 10;
    animation: revealSlow 1s ease-out 0.8s both;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.hero-stat-val {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text-white);
    letter-spacing: -0.05rem;
}

.hero-stat-val.cyan {
    color: var(--brand-cyan);
}

.hero-stat-val.gold {
    color: var(--brand-gold);
}

.hero-stat-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    color: var(--text-muted);
}

@keyframes revealSlow {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Remove old floating cards */
.hero-float-card {
    display: none;
}

@keyframes floatCard {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-10px);
    }
}

/* Mobile badges row */
.hero-badges-row {
    display: none;
}

/* ══════════════════════════════════════
   PAIN POINTS
══════════════════════════════════════ */
#dolor {
    background: var(--bg-darker);
    text-align: center;
}

#dolor .eyebrow {
    text-align: center;
}

#dolor h2 {
    max-width: 76rem;
    margin: 0 auto 4rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pain-grid-row2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    max-width: calc(66.66% + 2rem);
    margin: 2rem auto 0;
    gap: 2rem;
}

.pain-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 3.2rem 2.4rem;
    text-align: center;
    transition: var(--transition);
}

.pain-card:hover {
    border-color: var(--brand-magenta);
    transform: translateY(-6px);
    box-shadow: 0 8px 28px var(--glow-magenta);
}

.pain-card-icon {
    color: var(--brand-magenta);
    margin: 0 auto 1.6rem;
}

.pain-card p {
    font-size: 1.7rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 0;
}

/* ══════════════════════════════════════
   VALUE PROPOSITION
══════════════════════════════════════ */
#propuesta {
    background: var(--bg-dark);
    padding-bottom: 0;
}

.propuesta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8rem;
    align-items: center;
    margin-bottom: 10rem;
    /* Increased spacing to separate from logo-strip */
}

#propuesta h2 {
    margin-bottom: 2.4rem;
}

.propuesta-intro {
    font-weight: 300;
    font-size: 2.1rem;
    line-height: 1.625;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.benefit-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.benefit-list li {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    font-size: 1.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.benefit-list li svg {
    color: var(--brand-cyan);
    flex-shrink: 0;
    margin-top: 3px;
}

/* Strategic infographic image */
.propuesta-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.propuesta-img {
    width: 100%;
    height: auto;
    border-radius: 1.2rem;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition);
}

.propuesta-img:hover {
    transform: translateY(-5px);
    box-shadow: 0 32px 64px rgba(5, 199, 242, 0.15);
}

/* Diamond styles removed as they are no longer used */

/* Logo strip */
.logo-strip {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3.2rem 0;
}

.logo-strip p {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.logo-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(100%) opacity(0.6);
    transition: var(--transition);
    height: 4.8rem;
}

.logo-item:hover {
    filter: grayscale(0%) opacity(1);
    transform: translateY(-2px);
}

.logo-item img {
    height: 100%;
    width: auto;
    max-width: 14rem;
    object-fit: contain;
}

.logo-text-placeholder {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ══════════════════════════════════════
   QUIÉN ES JORGE (LIGHT SECTION)
══════════════════════════════════════ */
#quien-soy {
    background: var(--bg-light);
}

#quien-soy .eyebrow {
    color: var(--brand-cyan);
}

.jorge-grid {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 7rem;
    align-items: center;
}

.jorge-photo-wrap {
    position: relative;
}

.jorge-photo-container {
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    transition: var(--transition);
}

.jorge-photo-container img {
    width: 100%;
    height: 56rem;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.jorge-quote-card {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    background: rgba(29, 29, 31, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 1.6rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.jorge-quote-card p {
    font-style: italic;
    font-size: 1.5rem;
    color: rgba(255, 255, 240, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.jorge-quote-card span {
    display: block;
    margin-top: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--brand-cyan);
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.jorge-content h2 {
    color: #1D1D1F;
    margin-bottom: 1rem;
}

.jorge-subheadline {
    font-size: 1.8rem;
    color: #6E6E73;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.jorge-creds {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    margin-bottom: 3.2rem;
}

.jorge-creds li {
    display: flex;
    align-items: flex-start;
    gap: 1.4rem;
    font-size: 1.6rem;
    font-weight: 400;
    color: #3C3B3B;
    line-height: 1.6;
}

.jorge-creds li svg {
    color: var(--brand-cyan);
    flex-shrink: 0;
    margin-top: 3px;
}

.jorge-signature-wrap {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
}

.jorge-signature-img {
    height: 18rem;
    width: auto;
    object-fit: contain;
    filter: brightness(0);
    opacity: 0.9;
}

/* ══════════════════════════════════════
   PROCESO
══════════════════════════════════════ */
#proceso {
    background: var(--bg-darker);
}

#proceso .eyebrow,
#proceso h2 {
    text-align: center;
}

#proceso h2 {
    margin-bottom: 1.2rem;
}

.proceso-subtitle {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-muted);
    margin-bottom: 4rem;
    line-height: 1.6;
}

.proceso-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.4rem;
}

.proceso-connector {
    position: absolute;
    top: 50%;
    left: 5%;
    right: 5%;
    height: 1px;
    background: rgba(5, 199, 242, 0.2);
    z-index: 0;
    transform: translateY(-20px);
}

.step-card {
    position: relative;
    z-index: 1;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 3rem 2rem;
    transition: var(--transition);
    overflow: hidden;
}

.step-card:hover {
    border-color: var(--brand-cyan);
    transform: translateY(-6px);
    box-shadow: 0 12px 36px var(--glow-cyan);
}

.step-number {
    position: absolute;
    top: 1.6rem;
    right: 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(5, 199, 242, 0.08);
    line-height: 1;
    user-select: none;
}

.step-icon {
    color: var(--brand-cyan);
    margin-bottom: 2.4rem;
}

.step-card h3 {
    font-size: 2.1rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.6rem;
}

.step-card p {
    font-size: 1.5rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.step-quote {
    font-family: 'Nunito Sans', sans-serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--brand-magenta);
}

/* ══════════════════════════════════════
   SERVICIOS
══════════════════════════════════════ */
#servicios {
    background: var(--bg-dark);
}

#servicios .eyebrow,
#servicios h2 {
    text-align: center;
}

#servicios h2 {
    margin-bottom: 7rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.4rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    padding: 3.6rem 2.8rem;
    position: relative;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--brand-cyan);
    box-shadow: 0 16px 48px var(--glow-cyan);
}

.service-card-featured {
    border: 2px solid var(--brand-cyan);
}

.service-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--brand-cyan);
    color: #000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
    border-radius: 0;
    padding: 0.8rem 2rem;
    white-space: nowrap;
}

.service-icon {
    color: var(--brand-cyan);
    margin-bottom: 1.6rem;
}

.service-card h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.2rem;
    line-height: 1.3;
}

.service-card>p {
    font-size: 1.6rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.service-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.8rem;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.4rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.service-list li::before {
    content: '·';
    color: var(--brand-cyan);
    font-size: 2.4rem;
    line-height: 1;
    flex-shrink: 0;
}

.service-card .btn-outlined,
.service-card .btn-solid-cyan {
    margin-top: auto;
}

/* ══════════════════════════════════════
   RESULTADOS
══════════════════════════════════════ */
#resultados {
    background: var(--bg-darker);
}

#resultados .eyebrow,
#resultados h2 {
    text-align: center;
}

#resultados h2 {
    margin-bottom: 4.8rem;
}

.metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 4.8rem;
}

.metric-block {
    text-align: center;
    padding: 3rem 4rem;
    position: relative;
}

.metric-block:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-50%);
}

.metric-num {
    font-family: 'Montserrat', sans-serif;
    font-size: 7.2rem;
    font-weight: 700;
    color: var(--brand-gold);
    line-height: 1;
    display: block;
    letter-spacing: -0.2rem;
}

.metric-label {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-top: 1.2rem;
}

.testimonials-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 2.4rem;
    padding-bottom: 4rem;
    margin-top: 6rem;

    /* Full bleed trick to make carousel extend seamlessly across full width */
    margin-left: calc(var(--container-pad) * -1);
    margin-right: calc(var(--container-pad) * -1);
    padding-left: var(--container-pad);
    padding-right: var(--container-pad);
    scroll-padding-left: var(--container-pad);

    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.testimonials-carousel::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.testimonial-card {
    scroll-snap-align: center;
    flex: 0 0 calc(100% - 2.4rem);
    max-width: 50rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* Minimalist border */
    border-radius: 12px;
    /* Smooth elegant curves */
    padding: 3.6rem 3.2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.04);
}

.testimonial-stars {
    font-size: 1.8rem;
    color: var(--brand-gold);
    margin-bottom: 2.4rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-family: 'Playfair Display', serif;
    /* Elegant cursive typography */
    font-style: italic;
    font-size: 2.1rem;
    font-weight: 500;
    color: var(--text-white);
    line-height: 1.5;
    margin-bottom: 3.2rem;
    position: relative;
    z-index: 1;
}

.testimonial-footer {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    /* Premium separation line */
    padding-top: 2.4rem;
}

.testimonial-avatar {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-cyan), var(--brand-magenta));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: #000;
    flex-shrink: 0;
}

.testimonial-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    color: var(--text-white);
    margin-bottom: 0.4rem;
    display: block;
}

.testimonial-role {
    font-size: 1.3rem;
    color: var(--text-muted);
}

/* ══════════════════════════════════════
   FAQ (LIGHT SECTION)
══════════════════════════════════════ */
#faq {
    background: var(--bg-light);
}

#faq .eyebrow {
    color: var(--brand-cyan);
    text-align: center;
    display: block;
}

#faq h2 {
    color: #1D1D1F;
    text-align: center;
    margin-bottom: 7rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 6rem;
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
    padding: 2.4rem 0;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #1D1D1F;
    transition: var(--transition);
}

.faq-question:hover {
    color: #000;
}

.faq-icon {
    color: var(--brand-cyan);
    font-size: 2.4rem;
    font-weight: 300;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    opacity: 1;
}

.faq-answer p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.6rem;
    color: #6E6E73;
    line-height: 1.6;
    padding-bottom: 2rem;
    margin-bottom: 0;
}

/* ══════════════════════════════════════
   CTA FINAL
══════════════════════════════════════ */
#diagnostico {
    position: relative;
    background: var(--bg-dark);
    overflow: hidden;
}

.diagnostico-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    animation: heroGradientShift 18s ease-in-out infinite alternate;
}

.diagnostico-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 72rem;
    margin: 0 auto;
}

#diagnostico .eyebrow {
    text-align: center;
}

#diagnostico h2 {
    font-size: 4.8rem;
    margin-bottom: 1.6rem;
    line-height: 1.2;
}

.diagnostico-sub {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-muted);
    max-width: 56rem;
    margin: 0 auto 3.6rem;
    line-height: 1.6;
}

.scarcity-pill {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(242, 5, 159, 0.08);
    border: 1px solid rgba(242, 5, 159, 0.4);
    border-radius: 0;
    padding: 1rem 2rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.scarcity-pill span {
    color: var(--brand-magenta);
    font-size: 1.6rem;
}

.progress-wrap {
    max-width: 32rem;
    margin: 0 auto 3.2rem;
}

.progress-track {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 0;
    height: 6px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: var(--brand-magenta);
    border-radius: 0;
    width: 0;
    transition: width 1.5s ease-out;
}

.progress-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--text-muted);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
}

.trust-micro {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-top: 2.4rem;
}

.trust-micro span {
    margin: 0 1.2rem;
}

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
footer {
    background: radial-gradient(circle at top center, rgba(5, 199, 242, 0.02), #050505 60%);
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding: 6.4rem 0 3.2rem;
    /* Reduced from 8rem */
    position: relative;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.logo-img-footer {
    height: 12.0rem; /* Tamaño masivo para el footer */
    width: auto;
    opacity: 1;
    display: inline-block;
}

.footer-tagline {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 32rem;
}

.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    color: var(--text-white);
    margin-bottom: 2.8rem;
    display: inline-block;
    position: relative;
    padding-bottom: 0.8rem;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 24px;
    height: 2px;
    background: linear-gradient(90deg, var(--brand-cyan), var(--brand-magenta));
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
}

.footer-links a {
    font-size: 1.5rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-links a svg {
    flex-shrink: 0;
}

.footer-bottom {
    margin-top: 6.4rem;
    /* Reduced from 8rem */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 3.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-copy {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-legal {
    display: flex;
    gap: 3rem;
}

.footer-legal a {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.3);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--cyan);
}

.footer-divider {
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin: 2rem 0;
}

/* Hover sutil por marca para redes sociales en lista */
.footer-links a[aria-label="Instagram"]:hover {
    color: #E4405F !important;
}

.footer-links a[aria-label="Facebook"]:hover {
    color: #1877F2 !important;
}

.footer-links a[aria-label="TikTok"]:hover {
    color: #fff !important;
}

.footer-links a[aria-label="LinkedIn"]:hover {
    color: #0A66C2 !important;
}

.footer-links a[aria-label="WhatsApp"]:hover {
    color: #25D366 !important;
}

/* ══════════════════════════════════════
   RESPONSIVE — DESKTOP ONLY (≥1024px)
   Targeted fixes without affecting tablet/mobile
══════════════════════════════════════ */
@media only screen and (min-width: 1024px) {

    /* FIX 1: Hero H1 text size + breathing room from navbar */
    .hero-h1 {
        font-size: 3.4rem;
        line-height: 1.15;
    }

    #hero {
        padding-top: 8.4rem;
        /* Reduced from 10rem for better harmony */
    }

    /* Refine button height for desktop harmony */
    .hero-cta-group .btn-primary-lg {
        padding: 1.4rem 4.8rem;
        min-height: 5.6rem;
        font-size: 1.4rem;
    }

    .hero-photo-container img {
        aspect-ratio: 500 / 600;
    }

    /* FIX 2: Credentials list right margin */
    .jorge-creds {
        padding-right: 3rem;
    }

    /* FIX 3: Faster reveal for section 2 elements */
    #dolor .reveal {
        transition: opacity 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
            transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    }
}

/* ══════════════════════════════════════
   RESPONSIVE — TABLET (768–1023px)
══════════════════════════════════════ */
@media only screen and (max-width: 1023px) {
    :root {
        --container-pad: 40px;
    }

    .container {
        width: 100%;
        padding: 0 var(--container-pad);
    }

    section {
        padding: 10rem 0;
    }

    h1 {
        font-size: 5.2rem;
    }

    h2 {
        font-size: 3.8rem;
    }

    .nav-links {
        display: none;
    }

    .nav-cta-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 2200;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .hero-text {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-text p,
    .hero-subtitle,
    .hero-for {
        text-align: center;
    }

    .hero-services {
        align-items: center;
    }

    .hero-divider {
        margin: 0.8rem auto;
    }

    .hero-cta-group {
        justify-content: center;
        align-items: center;
    }

    .hero-h1 {
        font-size: 4.4rem;
    }

    .hero-photo-container img {
        height: 42rem;
    }

    .hero-float-1,
    .hero-float-2 {
        position: static;
        animation: none;
        margin: 1.2rem 0;
    }

    .hero-photo-wrap {
        display: flex;
        flex-direction: column;
    }

    .propuesta-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
    }

    .propuesta-grid .propuesta-info {
        order: 1;
    }

    .propuesta-grid .propuesta-image {
        order: 0;
    }

    .logo-track {
        gap: 3rem;
    }

    .logo-item {
        height: 3.6rem;
    }

    .logo-text-placeholder {
        font-size: 1.2rem;
    }

    .jorge-grid {
        grid-template-columns: 1fr;
        gap: 5rem;
        text-align: center;
    }

    .jorge-creds {
        align-items: center;
        text-align: left;
    }

    .jorge-photo-container {
        max-width: 38rem;
        margin: 0 auto;
    }

    .jorge-photo-container img {
        height: 48rem;
    }

    .jorge-quote-card {
        left: 0;
        right: 0;
        text-align: left;
    }

    .jorge-signature-wrap {
        justify-content: center;
    }

    .jorge-signature-img {
        height: 14rem;
    }

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

    .proceso-connector {
        display: none;
    }

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

    .services-grid .service-card:nth-child(3) {
        grid-column: span 2;
        max-width: 48rem;
        margin: 0 auto;
    }

    .propuesta-image {
        max-width: 48rem;
        margin: 0 auto;
        overflow: hidden;
    }

    .propuesta-img {
        max-width: 100%;
        object-fit: contain;
    }

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

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

    .pain-grid .pain-card:last-child {
        grid-column: span 2;
        max-width: 48rem;
        margin: 0 auto;
    }

    .pain-grid-row2 {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
        margin-top: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 5rem;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        margin-top: 6rem;
        padding-top: 3rem;
    }

    .footer-legal {
        justify-content: center;
    }

    .footer-links {
        align-items: center;
    }
}

/* ══════════════════════════════════════
   RESPONSIVE — MOBILE (< 768px)
══════════════════════════════════════ */
@media only screen and (max-width: 767px) {
    .container {
        width: 100%;
        padding: 0 2.4rem;
    }

    body {
        font-size: 1.6rem;
    }

    section {
        padding: 8rem 0;
        /* Consistent breathing room */
        text-align: center;
        /* Default to center for mobile focus */
    }

    h1 {
        font-size: 3.4rem;
        line-height: 1.1;
        letter-spacing: -0.05rem;
    }

    h2 {
        font-size: 2.8rem;
        line-height: 1.2;
    }

    h3 {
        font-size: 2.2rem;
    }

    .eyebrow {
        font-size: 1.4rem;
        justify-content: center;
        margin-bottom: 2.4rem;
    }

    /* ── Mobile Navbar ── */
    #navbar {
        height: 6rem;
    }

    .nav-logo {
        font-size: 2.2rem;
    }

    .logo-img {
        height: 4.5rem; /* Escalar logo para que quepa en navbar mobile de 6rem */
    }

    .logo-img-footer {
        height: 6rem; /* Footer puede ser más grande */
    }

    .nav-links {
        display: none;
    }

    .nav-cta-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        position: relative;
        z-index: 2200;
        /* Above everything */
    }

    /* ── Mobile Hero ── */
    #hero {
        padding: 8rem 0 2rem;
        /* Reduced bottom padding to merge sections */
        min-height: auto;
        text-align: center;
    }

    .hero-text {
        align-items: center;
    }

    /* Standardized transitions - No more black gaps */
    #dolor {
        padding-top: 6rem;
        /* Tightened entry */
        margin-top: 0;
    }

    .section-bg {
        inset: 0;
        transform: none !important;
        /* Disable parallax on mobile backgrounds to avoid gaps */
    }

    #hero .section-bg {
        inset: 0 0 -10rem 0;
        /* Bleed background into next section */
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 2.4rem;
    }

    .hero-badge {
        font-size: 0.9rem;
        padding: 0.8rem 1.4rem;
        margin: 0 auto 2rem;
        justify-content: center;
    }

    .hero-h1 {
        font-size: 3.4rem;
        margin-bottom: 2rem;
    }

    .hero-divider {
        margin: 1.6rem auto;
    }

    .hero-services {
        align-items: center;
        max-width: 32rem;
        margin: 0 auto 2.4rem;
        text-align: left;
        /* Keep bullets left-aligned but centered as a block */
    }

    .hero-services li {
        font-size: 1.5rem;
    }

    .hero-cta-group {
        align-items: center;
        width: 100%;
    }

    .btn-primary {
        width: 100%;
        max-width: 38rem;
        font-size: 1.1rem;
    }

    .hero-stats-row {
        gap: 3.2rem;
        flex-direction: row;
        margin: 4.8rem auto 0;
        padding-top: 3.2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        justify-content: center;
        max-width: 90%;
    }

    .hero-stat-val {
        font-size: 2.6rem;
    }

    .hero-stat-label {
        font-size: 1rem;
    }

    .hero-photo-wrap {
        order: -1;
        /* Photo on top */
        margin: 0 auto 1.2rem;
        width: 14rem;
        height: 14rem;
    }

    .hero-photo-container {
        border-radius: 50%;
        /* Circular personal brand */
        overflow: hidden;
        border: 4px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 0 40px rgba(5, 199, 242, 0.2);
        width: 14rem;
        height: 14rem;
        margin: 0 auto;
    }

    .hero-photo-container img {
        height: 100%;
        width: 100%;
        object-fit: cover;
    }

    .hero-photo-wrap {
        margin-top: 0;
    }

    /* ── Sections Content ── */
    .pain-grid,
    .pain-grid-row2 {
        grid-template-columns: 1fr;
        max-width: 100%;
        gap: 1.6rem;
    }

    .pain-grid .pain-card:last-child,
    .services-grid .service-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
    }

    .benefit-list {
        align-items: flex-start;
        text-align: left;
    }

    .propuesta-grid {
        margin-bottom: 6rem;
    }

    .propuesta-image {
        padding: 0 1rem;
    }

    .logo-track {
        gap: 2rem 2.4rem;
    }

    .logo-item {
        height: 2.8rem;
    }

    .logo-item img {
        max-width: 10rem;
    }

    .logo-text-placeholder {
        font-size: 1rem;
        white-space: normal;
    }

    .jorge-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .jorge-creds {
        text-align: left;
    }

    .jorge-photo-container {
        max-width: 36rem;
        margin: 0 auto;
    }

    .jorge-photo-container img {
        height: 34rem;
    }

    .jorge-quote-card {
        position: static;
        margin-top: 2rem;
        text-align: left;
    }

    .jorge-signature-wrap {
        margin-top: 2rem;
    }

    .jorge-signature-img {
        height: 12rem;
    }

    .proceso-track {
        grid-template-columns: 1fr;
    }

    .step-card {
        padding: 3rem 2.4rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 3.2rem;
    }

    .services-grid .service-card:nth-child(3) {
        grid-column: auto;
        max-width: 100%;
    }

    .service-card {
        padding: 4rem 2.4rem;
        width: 100%;
    }

    .metrics-row {
        grid-template-columns: 1fr;
        gap: 2.4rem;
    }

    .metric-block:not(:last-child)::after {
        display: none;
    }

    .metric-num {
        font-size: 5.8rem;
    }

    #diagnostico h2 {
        font-size: 2.8rem;
    }

    .btn-primary-lg {
        width: 100%;
        max-width: 38rem;
        padding: 0 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4.8rem;
    }

    .footer-grid>* {
        width: 100%;
    }

    .nav-logo {
        flex-grow: 0;
    }
    
    .logo-img {
        height: 7.0rem; /* Grande incluso en móvil */
    }

    .footer-logo {
        justify-content: center;
        display: flex;
    }
    
    .logo-img-footer {
        height: 8.0rem;
    }

    .footer-tagline {
        max-width: 28rem;
        margin: 1rem auto 0;
    }

    .footer-links {
        align-items: center;
    }
}

/* ══════════════════════════════════════
   3D CARD EFFECT (desktop pointer:fine)
══════════════════════════════════════ */
@media (hover: hover) and (pointer: fine) {
    .service-card {
        transition: var(--transition);
    }

    .service-card:hover {
        transform: perspective(1000px) rotateX(2deg) rotateY(4deg) translateY(-8px);
    }
}