/* ══════════════════════════════════════════════════════
   VÓRTICE LAB — Design System & Styles
   Versión 1.0 · 2026
   ══════════════════════════════════════════════════════ */

/* ──────────────────────────────────────
   0. CSS CUSTOM PROPERTIES (Design Tokens)
   ────────────────────────────────────── */
:root {
    /* Brand Colors */
    --color-navy:    #253964;
    --color-purple:  #544070;
    --color-coral:   #de6f5f;
    --color-blue:    #47759a;
    --color-gold:    #f3bf6b;

    /* Neutrals */
    --color-white:   #ffffff;
    --color-offwhite:#f8f8f6;
    --color-light:   #f1f0ed;
    --color-mid:     #8b8b8b;
    --color-dark:    #1a1a2e;
    --color-black:   #0d0d17;

    /* Typography */
    --font-primary:  'Nunito', sans-serif;
    --font-secondary:'Nunito Sans', sans-serif;

    /* Spacing scale */
    --sp-xs:   0.5rem;
    --sp-sm:   1rem;
    --sp-md:   1.5rem;
    --sp-lg:   2.5rem;
    --sp-xl:   4rem;
    --sp-2xl:  6rem;
    --sp-3xl:  8rem;

    /* Border radius */
    --radius-sm:  6px;
    --radius-md:  14px;
    --radius-lg:  24px;
    --radius-xl:  40px;
    --radius-full:9999px;

    /* Shadows */
    --shadow-sm:  0 2px 8px rgba(37,57,100,0.08);
    --shadow-md:  0 8px 32px rgba(37,57,100,0.12);
    --shadow-lg:  0 20px 60px rgba(37,57,100,0.18);
    --shadow-glow:0 0 40px rgba(71,117,154,0.35);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4,0,0.2,1);
    --ease-spring: cubic-bezier(0.34,1.56,0.64,1);

    /* Gradients */
    --gradient-brand: linear-gradient(135deg, var(--color-navy) 0%, var(--color-purple) 40%, var(--color-coral) 100%);
    --gradient-hero:  linear-gradient(160deg, #1a1a2e 0%, #253964 35%, #544070 65%, #de6f5f 100%);
    --gradient-card:  linear-gradient(145deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
}

/* ──────────────────────────────────────
   1. RESET & BASE
   ────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    color: var(--color-dark);
    background: var(--color-offwhite);
    overflow-x: hidden;
    line-height: 1.65;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ──────────────────────────────────────
   2. UTILITIES
   ────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.text-accent       { color: var(--color-coral); }
.text-accent-light { color: var(--color-gold); }

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-blue);
    margin-bottom: var(--sp-sm);
}
.section-label::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 2px;
    background: var(--color-blue);
    border-radius: 2px;
}
.section-label--light { color: var(--color-gold); }
.section-label--light::before { background: var(--color-gold); }

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--color-navy);
    margin-bottom: var(--sp-sm);
}
.section-title--light { color: var(--color-white); }

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-mid);
    max-width: 560px;
}
.section-subtitle--light { color: rgba(255,255,255,0.7); }

.section-header {
    text-align: center;
    margin-bottom: var(--sp-xl);
}
.section-header .section-subtitle { margin: 0 auto; }
.section-header--light .section-label,
.section-header--light .section-title { color: var(--color-white); }

/* ──────────────────────────────────────
   3. BUTTONS
   ────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-full);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.12);
    opacity: 0;
    transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn--primary {
    background: var(--color-coral);
    color: white;
    box-shadow: 0 4px 20px rgba(222,111,95,0.4);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(222,111,95,0.5);
}

.btn--ghost {
    border: 1.5px solid rgba(255,255,255,0.4);
    color: white;
    backdrop-filter: blur(8px);
}
.btn--ghost:hover {
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

.btn--whatsapp {
    background: #25d366;
    color: white;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
}
.btn--whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
}

.btn--lg {
    padding: 1rem 2.25rem;
    font-size: 1.05rem;
}

/* ──────────────────────────────────────
   4. NAVIGATION
   ────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.25rem 0;
    transition: all 0.4s var(--ease-smooth);
}
.nav--scrolled {
    background: rgba(13, 13, 23, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.2rem 0;
    box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}
.nav--light {
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-sm);
}
.nav--light .nav__link { color: var(--color-navy); }
.nav--light .nav__link:hover { color: var(--color-coral); }
.nav--light .nav__link--cta {
    background: var(--color-coral);
    color: white;
}
.nav--light .nav__toggle span { background: var(--color-navy); }

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.nav__logo { display: flex; align-items: center; }
.nav__logo-img {
    height: 160px;
    width: auto;
    object-fit: contain;
    object-position: left center;
    transition: opacity 0.3s, filter 0.3s, height 0.4s var(--ease-smooth);
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.25));
}
.nav--scrolled .nav__logo-img {
    height: 110px;
}
/* En nav con fondo claro (scrolled en secciones blancas), mantener legible */
.nav--light .nav__logo-img {
    filter: invert(1) sepia(1) saturate(3) hue-rotate(185deg) brightness(0.35);
}

.nav__links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav__link {
    padding: 0.5rem 1rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    border-radius: var(--radius-full);
    transition: all 0.25s var(--ease-smooth);
    letter-spacing: 0.01em;
}
.nav__link:hover { color: white; background: rgba(255,255,255,0.1); }
.nav__link--cta {
    background: var(--color-coral);
    color: white !important;
    padding: 0.5rem 1.25rem;
    box-shadow: 0 2px 12px rgba(222,111,95,0.4);
}
.nav__link--cta:hover {
    background: #cc5f50;
    transform: translateY(-1px);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}
.nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s var(--ease-smooth);
    transform-origin: center;
}
.nav__toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ──────────────────────────────────────
   5. HERO
   ────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero__gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 12s ease infinite;
}
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.35;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 180px var(--sp-md) 80px;
    width: 100%;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.9);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    padding: 0.45rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-md);
    animation: fadeSlideDown 0.8s var(--ease-smooth) both;
}
.hero__badge-dot {
    width: 7px;
    height: 7px;
    background: var(--color-gold);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
}

.hero__title {
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: white;
    margin-bottom: var(--sp-md);
    animation: fadeSlideUp 0.9s 0.2s var(--ease-smooth) both;
}
.hero__title-accent {
    color: var(--color-gold);
    display: block;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin-bottom: var(--sp-lg);
    line-height: 1.7;
    animation: fadeSlideUp 0.9s 0.35s var(--ease-smooth) both;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--sp-xl);
    animation: fadeSlideUp 0.9s 0.5s var(--ease-smooth) both;
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 0;
    animation: fadeSlideUp 0.9s 0.65s var(--ease-smooth) both;
}
.hero__stat {
    display: flex;
    flex-direction: column;
    padding: 0 var(--sp-lg) 0 0;
}
.hero__stat:first-child { padding-left: 0; }
.hero__stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    letter-spacing: -0.02em;
    line-height: 1;
}
.hero__stat-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    margin-top: 2px;
}
.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    margin: 0 var(--sp-lg) 0 0;
}

.hero__scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.45);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: bounce 2.5s ease infinite;
    z-index: 1;
}
.hero__scroll-line {
    width: 1.5px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}
@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ──────────────────────────────────────
   6. ABOUT / QUÉ ES
   ────────────────────────────────────── */
.about {
    padding: var(--sp-3xl) 0;
    background: var(--color-white);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--sp-xl);
    align-items: center;
}

.about__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about__isotipo-wrap {
    position: relative;
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about__isotipo {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: relative;
    z-index: 2;
    animation: spinSlow 20s linear infinite;
}
@keyframes spinSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.about__isotipo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid;
    animation: ringExpand 3s ease-out infinite;
}
.about__isotipo-ring--1 {
    width: 160px; height: 160px;
    border-color: rgba(71,117,154,0.35);
    animation-delay: 0s;
}
.about__isotipo-ring--2 {
    width: 210px; height: 210px;
    border-color: rgba(84,64,112,0.2);
    animation-delay: 1s;
}
.about__isotipo-ring--3 {
    width: 265px; height: 265px;
    border-color: rgba(222,111,95,0.12);
    animation-delay: 2s;
}
@keyframes ringExpand {
    0%   { transform: scale(0.95); opacity: 0.8; }
    50%  { transform: scale(1.02); opacity: 0.4; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.about__content { padding: var(--sp-sm) 0; }

.about__text {
    color: #555;
    font-size: 1.05rem;
    margin-bottom: var(--sp-sm);
    line-height: 1.8;
}
.about__text strong { color: var(--color-navy); font-weight: 700; }

.about__pillars {
    display: flex;
    flex-direction: column;
    gap: var(--sp-sm);
    margin-top: var(--sp-lg);
}

.pillar {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    padding: 1rem var(--sp-md);
    background: var(--color-offwhite);
    border-radius: var(--radius-md);
    border-left: 3px solid transparent;
    transition: all 0.3s var(--ease-smooth);
}
.pillar:hover {
    background: var(--color-light);
    transform: translateX(4px);
}
.pillar__icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.pillar strong { display: block; font-weight: 700; color: var(--color-navy); font-size: 0.95rem; }
.pillar p { font-size: 0.82rem; color: var(--color-mid); margin: 0; line-height: 1; }

/* ──────────────────────────────────────
   7. PAIN SECTION
   ────────────────────────────────────── */
.pain {
    padding: var(--sp-3xl) 0;
    background: var(--color-offwhite);
}

.pain__grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: var(--sp-lg);
    align-items: stretch;
}

.pain__col {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.3s;
}
.pain__col:hover { box-shadow: var(--shadow-md); }

.pain__col-header {
    display: flex;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-md);
    padding-bottom: var(--sp-md);
    border-bottom: 1px solid var(--color-light);
}
.pain__col-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.pain__col--problem .pain__col-icon {
    background: rgba(222,111,95,0.1);
    color: var(--color-coral);
}
.pain__col--solution .pain__col-icon {
    background: rgba(71,117,154,0.1);
    color: var(--color-blue);
}
.pain__col-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-navy);
}

.pain__list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}
.pain__item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}
.pain__item i {
    flex-shrink: 0;
    margin-top: 2px;
    font-size: 0.85rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pain__col--problem .pain__item i {
    color: var(--color-coral);
    background: rgba(222,111,95,0.12);
}
.pain__col--solution .pain__item i {
    color: var(--color-blue);
    background: rgba(71,117,154,0.12);
}

.pain__divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-sm);
    padding: 0 var(--sp-sm);
}
.pain__divider-line {
    flex: 1;
    width: 1.5px;
    background: linear-gradient(to bottom, transparent, var(--color-purple), transparent);
    min-height: 40px;
}
.pain__divider-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    box-shadow: var(--shadow-glow);
    animation: spinSlow 15s linear infinite;
}
.pain__divider-icon img { width: 100%; filter: invert(1); }

/* ──────────────────────────────────────
   8. SOLUTIONS
   ────────────────────────────────────── */
.solutions {
    padding: var(--sp-3xl) 0;
    background: var(--color-white);
}

.solutions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}

.solution-card {
    position: relative;
    background: var(--color-offwhite);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
    border: 1px solid rgba(0,0,0,0.04);
}
.solution-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--color-white);
}

.solution-card__accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
}

.solution-card--featured {
    background: var(--color-navy);
    color: white;
    border-color: transparent;
}
.solution-card--featured:hover { background: #1e3056; }
.solution-card--featured .solution-card__num,
.solution-card--featured .solution-card__title,
.solution-card--featured .solution-card__desc,
.solution-card--featured .solution-card__features li { color: white; }
.solution-card--featured .solution-card__features li { color: rgba(255,255,255,0.75); }
.solution-card--featured .solution-card__features li::before { background: var(--color-gold); }
.solution-card--featured .solution-card__icon { background: rgba(255,255,255,0.12); color: var(--color-gold); }

.solution-card__badge {
    display: inline-block;
    background: var(--color-gold);
    color: var(--color-navy);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    margin-bottom: var(--sp-sm);
}

.solution-card__num {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--color-mid);
    margin-bottom: var(--sp-sm);
}

.solution-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(37,57,100,0.08);
    color: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: var(--sp-sm);
    transition: all 0.3s var(--ease-smooth);
}
.solution-card:hover .solution-card__icon { transform: scale(1.1) rotate(-5deg); }

.solution-card__title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.solution-card__desc {
    font-size: 0.92rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: var(--sp-md);
}

.solution-card__features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: var(--sp-md);
}
.solution-card__features li {
    font-size: 0.85rem;
    color: #555;
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}
.solution-card__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-blue);
}

.solution-card__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-coral);
    background: rgba(222,111,95,0.1);
    padding: 0.35rem 0.85rem;
    border-radius: var(--radius-full);
}

/* ──────────────────────────────────────
   9. METHOD
   ────────────────────────────────────── */
.method {
    position: relative;
    padding: var(--sp-3xl) 0;
    overflow: hidden;
}
.method__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.method__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.method__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(13,13,23,0.72);
}
.method .container { position: relative; z-index: 1; }

.method__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr) auto repeat(3, 1fr) auto repeat(2, 1fr) auto 1fr;
    align-items: center;
    gap: var(--sp-sm);
}
/* Simplified grid for 4 steps + 3 connectors */
.method__steps {
    display: flex;
    align-items: stretch;
    gap: 0;
}

.method__step {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg) var(--sp-md);
    transition: all 0.3s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.method__step::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}
.method__step:hover {
    background: rgba(255,255,255,0.14);
    transform: translateY(-4px);
}
.method__step:hover::before { transform: scaleX(1); }

.method__step-num {
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255,255,255,0.12);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.04em;
}
.method__step-content h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}
.method__step-content p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.65;
}

.method__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.25);
    font-size: 1rem;
    padding: 0 0.75rem;
    flex-shrink: 0;
}

/* ──────────────────────────────────────
   10. RESULTS
   ────────────────────────────────────── */
.results {
    padding: var(--sp-3xl) 0;
    background: var(--color-offwhite);
}

.results__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--sp-md);
}

.result-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--sp-lg);
    transition: all 0.35s var(--ease-smooth);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.result-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-smooth);
}
.result-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.result-card:hover::after { transform: scaleX(1); }

.result-card__icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--color-navy), var(--color-purple));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: var(--sp-sm);
    transition: transform 0.3s var(--ease-spring);
}
.result-card:hover .result-card__icon { transform: scale(1.1) rotate(-8deg); }

.result-card h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 0.5rem;
}
.result-card p {
    font-size: 0.88rem;
    color: #666;
    line-height: 1.65;
}

/* ──────────────────────────────────────
   11. CTA SECTION
   ────────────────────────────────────── */
.cta-section {
    position: relative;
    padding: var(--sp-3xl) 0;
    overflow: hidden;
}
.cta-section__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cta-section__gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: gradientShift 10s ease infinite;
}

.cta-section .container {
    position: relative;
    z-index: 1;
}

.cta-section__content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-section__deco {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--sp-md);
    filter: invert(1);
    opacity: 0.7;
    animation: spinSlow 18s linear infinite;
}

.cta-section__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: var(--sp-sm);
}

.cta-section__subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: var(--sp-lg);
    line-height: 1.7;
}

.cta-section__actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: var(--sp-lg);
}

.cta-section__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 500;
}
.cta-section__social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: all 0.25s var(--ease-smooth);
}
.cta-section__social a:hover {
    background: rgba(255,255,255,0.25);
    color: white;
    transform: translateY(-2px);
}

/* ──────────────────────────────────────
   12. FOOTER
   ────────────────────────────────────── */
.footer {
    background: var(--color-black);
    padding: var(--sp-xl) 0 var(--sp-lg);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-xl);
    margin-bottom: var(--sp-lg);
}

.footer__logo {
    height: 160px;
    width: auto;
    margin-bottom: var(--sp-sm);
    /* Logo blanco nativo — se ve perfecto sobre footer negro */
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.3));
}

.footer__tagline {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin-bottom: var(--sp-sm);
}

.footer__copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.3);
}

.footer__links h4,
.footer__contact h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: var(--sp-sm);
}

.footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer__links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}
.footer__links a:hover { color: var(--color-gold); }

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: var(--sp-sm);
    transition: color 0.2s;
}
.footer__contact-item:hover { color: var(--color-gold); }

.footer__social {
    display: flex;
    gap: 0.6rem;
}
.footer__social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    transition: all 0.25s;
}
.footer__social a:hover {
    background: var(--color-coral);
    border-color: var(--color-coral);
    color: white;
    transform: translateY(-2px);
}

/* ──────────────────────────────────────
   13. ANIMATIONS
   ────────────────────────────────────── */
@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--ease-smooth), transform 0.7s var(--ease-smooth);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ──────────────────────────────────────
   14. BACK TO TOP BUTTON
   ────────────────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: white;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37,57,100,0.35);
    cursor: pointer;
    border: none;
    /* Oculto por defecto */
    opacity: 0;
    transform: translateY(20px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.35s var(--ease-smooth),
                transform 0.35s var(--ease-spring),
                box-shadow 0.25s;
}
.back-to-top.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.back-to-top:hover {
    transform: translateY(-4px) scale(1.08);
    box-shadow: 0 12px 32px rgba(37,57,100,0.45);
}
.back-to-top:active {
    transform: scale(0.95);
}
/* Pulso animado de fondo */
.back-to-top::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--gradient-brand);
    animation: bttPulse 2.5s ease-out infinite;
    z-index: -1;
}
@keyframes bttPulse {
    0%   { transform: scale(1);   opacity: 0.6; }
    70%  { transform: scale(1.55); opacity: 0; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* ──────────────────────────────────────
   15. RESPONSIVE
   ────────────────────────────────────── */
@media (max-width: 1024px) {
    .solutions__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
    .results__grid   { grid-template-columns: repeat(2, 1fr); }
    .footer__grid    { grid-template-columns: 1fr 1fr; gap: var(--sp-lg); }
    .pain__grid      { grid-template-columns: 1fr; }
    .pain__divider   { flex-direction: row; padding: 0; min-height: 0; }
    .pain__divider-line { flex: 1; height: 1.5px; width: auto; min-height: 0; background: linear-gradient(to right, transparent, var(--color-purple), transparent); }
    .about__grid     { grid-template-columns: 1fr; }
    .about__visual   { order: -1; }
}

@media (max-width: 768px) {
    :root {
        --sp-3xl: 5rem;
        --sp-xl: 3rem;
    }

    .nav__links {
        position: fixed;
        top: 0; left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(13,13,23,0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-smooth);
        z-index: 999;
    }
    .nav__links.open { transform: translateX(0); }
    .nav__link { font-size: 1.2rem; padding: 1rem 2rem; }
    .nav__link--cta { margin-top: 0.5rem; }
    .nav__toggle { display: flex; z-index: 1001; position: relative; }

    .hero__actions { gap: 0.75rem; }
    .hero__stats { gap: 0; }
    .hero__stat-num { font-size: 1.5rem; }
    .hero__stat { padding: 0 var(--sp-md) 0 0; }
    .hero__stat-divider { margin-right: var(--sp-md); }

    .method__steps { flex-direction: column; }
    .method__connector { transform: rotate(90deg); padding: 0; }

    .results__grid { grid-template-columns: 1fr; }
    .footer__grid  { grid-template-columns: 1fr; gap: var(--sp-md); }
    .cta-section__actions { flex-direction: column; align-items: center; }

    .about__isotipo-wrap { width: 200px; height: 200px; }
    .about__isotipo { width: 90px; height: 90px; }
    .about__isotipo-ring--3 { width: 195px; height: 195px; }
}

@media (max-width: 480px) {
    .hero__stats { flex-wrap: wrap; gap: var(--sp-sm); }
    .hero__stat-divider { display: none; }
    .hero__stat { padding: 0; }
}
