/* ============================================================
   Luxgenyx Technologies — Premium Corporate Stylesheet
   SaaS / Technology Studio / Executive Dashboard aesthetic
   ============================================================ */

/* ---------- Custom Properties ---------- */
:root {
    --lux-navy:      #0B1B3D;
    --lux-navy-2:    #07102B;
    --lux-blue:      #0A67C2;
    --lux-blue-2:    #0D75D6;
    --lux-cyan:      #5BC0BE;
    --lux-cyan-2:    #48B2B0;
    --lux-violet:    #7EA8D6;
    --lux-soft:      #F5F9FF;
    --lux-soft-2:    #EAF4FF;
    --lux-card:      rgba(255, 255, 255, 0.86);
    --lux-card-hover:rgba(255, 255, 255, 0.94);
    --text-main:     #17324D;
    --text-muted:    #5F7895;
    --text-light:    #8A9BB0;
    --border:        #D7E5F5;
    --border-strong: #C5D6EA;
    --shadow-sm:     0 8px 28px rgba(11, 27, 61, 0.08);
    --shadow-md:     0 18px 46px rgba(11, 27, 61, 0.10);
    --shadow-lg:     0 26px 70px rgba(11, 27, 61, 0.14);
    --shadow-button: 0 18px 42px rgba(10, 103, 194, 0.28);
    --radius-sm:     12px;
    --radius-md:     18px;
    --radius-lg:     24px;
    --radius-xl:     32px;
    --nav-height:    80px;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(ellipse at 20% 10%, rgba(91, 192, 190, 0.10), transparent 40%),
        radial-gradient(ellipse at 90% 20%, rgba(126, 168, 214, 0.12), transparent 40%),
        linear-gradient(180deg, #FFFFFF 0%, #F5F9FF 50%, #EDF4FC 100%);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

.page { width: 100%; overflow: hidden; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 34px; }

/* ---------- Typography Helpers ---------- */
.kicker {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--lux-blue);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(30px, 3.6vw, 46px);
    line-height: 1.06;
    letter-spacing: -0.04em;
    color: var(--lux-navy);
    margin-bottom: 16px;
}

.section-lead {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 700px;
    line-height: 1.7;
}

.section-head {
    max-width: 800px;
    margin-bottom: 40px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    min-height: 54px;
    padding: 0 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-blue-2));
    color: #fff;
    box-shadow: var(--shadow-button);
}
.btn-primary:hover {
    box-shadow: 0 22px 52px rgba(10, 103, 194, 0.34);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid var(--border);
    color: var(--lux-navy);
}
.btn-secondary:hover {
    border-color: rgba(10, 103, 194, 0.30);
    background: #fff;
    box-shadow: var(--shadow-sm);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
}
.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.30);
}

.btn-medifile {
    background: linear-gradient(135deg, var(--lux-cyan-2), var(--lux-cyan));
    color: var(--lux-navy-2);
    font-weight: 800;
    box-shadow: 0 14px 32px rgba(91, 192, 190, 0.30);
}

/* ---------- Badge ---------- */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: var(--lux-soft-2);
    color: var(--lux-blue);
}
.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lux-cyan);
    box-shadow: 0 0 0 4px rgba(91, 192, 190, 0.18);
    flex: 0 0 auto;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.top-nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1120px, calc(100% - 28px));
    z-index: 100;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    box-shadow: 0 16px 50px rgba(11, 27, 61, 0.10);
    padding: 6px 18px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex: 0 0 240px;
    min-width: max-content;
}

.brand-logo {
    display: block;
    width: 100%;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-left: auto;
}
.nav-links a {
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--lux-blue);
    border-radius: 2px;
    transition: width 0.25s ease;
}
.nav-links a:hover { color: var(--lux-blue); }
.nav-links a:hover::after { width: 100%; }

.nav-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-blue-2));
    color: #fff !important;
    font-weight: 700;
    font-size: 12px;
    box-shadow: 0 10px 24px rgba(10, 103, 194, 0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.nav-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(10, 103, 194, 0.28); }
.nav-cta-btn::after { display: none !important; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
    min-height: 100vh;
    padding: 140px 0 80px;
    position: relative;
    display: flex;
    align-items: center;
}
.hero::before {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    right: -280px;
    top: -240px;
    background: radial-gradient(circle, rgba(91, 192, 190, 0.18) 0%, rgba(10, 103, 194, 0.08) 42%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    left: -260px;
    bottom: -200px;
    background: radial-gradient(circle, rgba(126, 168, 214, 0.14) 0%, rgba(91, 192, 190, 0.06) 40%, transparent 70%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.hero-copy { max-width: 620px; }

.hero-badge-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4.6vw, 58px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--lux-navy);
    margin-bottom: 22px;
}
.hero h1 .gradient-text {
    background: linear-gradient(110deg, var(--lux-blue), var(--lux-cyan), var(--lux-violet));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    font-size: 16px;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.hero-medifile-note {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.60);
    border: 1px solid var(--border);
}
.hero-medifile-note strong {
    color: var(--lux-navy);
    font-weight: 700;
}
.hero-medifile-note a {
    color: var(--lux-blue);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.hero-medifile-note a:hover { color: var(--lux-cyan); }

/* ---- Hero Visual / Executive Dashboard ---- */
.hero-visual {
    position: relative;
    min-height: 520px;
}

.dashboard-panel {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.80);
    border: 1px solid rgba(255, 255, 255, 0.80);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    padding: 20px;
}

.dashboard-inner {
    background: linear-gradient(180deg, #FFFFFF 0%, #F8FBFF 100%);
    border: 1px solid rgba(10, 103, 194, 0.10);
    border-radius: var(--radius-lg);
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dash-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(10, 103, 194, 0.07);
    gap: 12px;
}
.dash-header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}
.dash-header-left .dash-logo {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 900;
}
.dash-header-left strong {
    font-size: 13px;
    color: var(--lux-navy);
    font-weight: 700;
}
.dash-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dash-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #1F7A3D;
    background: rgba(31, 122, 61, 0.08);
    padding: 5px 10px;
    border-radius: 999px;
}
.dash-status i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1F7A3D;
    animation: pulse-dot 2s infinite;
}

.dash-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.dash-card {
    background: #F7FAFF;
    border: 1px solid rgba(10, 71, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 14px;
    transition: transform 0.2s ease;
}
.dash-card:hover { transform: translateY(-2px); }

.dash-card .dash-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    display: block;
    margin-bottom: 6px;
}
.dash-card .dash-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--lux-navy);
    line-height: 1.2;
}
.dash-card .dash-sub {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.dash-card.accent {
    background: linear-gradient(135deg, #07102B, #0B1B3D);
    color: #fff;
}
.dash-card.accent .dash-label { color: rgba(255, 255, 255, 0.55); }
.dash-card.accent .dash-value { color: #fff; }
.dash-card.accent .dash-sub { color: rgba(255, 255, 255, 0.60); }

.dash-progress {
    margin-top: 8px;
}
.dash-progress-bar {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
    margin-bottom: 4px;
}
.dash-progress-bar i {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--lux-cyan), var(--lux-blue));
}
.dash-progress span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.55);
}

.dash-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dash-chip {
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    background: var(--lux-soft-2);
    color: var(--lux-blue);
}
.dash-chip.cyan { background: rgba(91, 192, 190, 0.12); color: #3A8A88; }
.dash-chip.navy { background: rgba(11, 27, 61, 0.08); color: var(--lux-navy); }
.dash-chip.violet { background: rgba(126, 168, 214, 0.15); color: #5879A6; }

/* Floating orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    animation: float 5.5s ease-in-out infinite;
    pointer-events: none;
}
.orb.o1 { width: 64px; height: 64px; right: 10px; top: 10px; background: linear-gradient(135deg, var(--lux-cyan), transparent); opacity: 0.60; }
.orb.o2 { width: 36px; height: 36px; left: 10px; bottom: 90px; background: linear-gradient(135deg, var(--lux-violet), var(--lux-soft-2)); animation-delay: 0.7s; }
.orb.o3 { width: 48px; height: 48px; right: 80px; bottom: 30px; background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan)); animation-delay: 1.2s; opacity: 0.55; }

/* ============================================================
   SECTIONS — Common
   ============================================================ */
section {
    padding: 90px 0;
    position: relative;
    scroll-margin-top: 100px;
}

.section-bg-alt {
    background:
        radial-gradient(ellipse at 30% 20%, rgba(91, 192, 190, 0.06), transparent 40%),
        radial-gradient(ellipse at 80% 80%, rgba(126, 168, 214, 0.08), transparent 40%);
}

.section-bg-dark {
    background:
        radial-gradient(circle at 80% 10%, rgba(53, 200, 255, 0.10), transparent 34%),
        linear-gradient(135deg, #07102B 0%, #0B1B3D 50%, #060E20 100%);
    color: #fff;
}
.section-bg-dark .section-title { color: #fff; }
.section-bg-dark .section-lead { color: rgba(255, 255, 255, 0.70); }
.section-bg-dark .kicker { color: var(--lux-cyan); }

/* ============================================================
   SECTION — Intro / Qué es Luxgenyx
   ============================================================ */
.intro-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 20px;
}

.intro-card {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}
.intro-card strong {
    display: block;
    color: var(--lux-navy);
    font-size: 18px;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.intro-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
}

.intro-card.lead {
    background: linear-gradient(135deg, #07102B, #0E2450);
    border-color: rgba(53, 200, 255, 0.12);
}
.intro-card.lead strong { color: #fff; }
.intro-card.lead p { color: rgba(255, 255, 255, 0.72); }
.intro-card.lead .kicker { color: var(--lux-cyan); }

/* ============================================================
   SECTION — Services (6 cards)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--lux-blue), var(--lux-cyan));
    opacity: 0;
    transition: opacity 0.25s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--lux-soft-2), #FFFFFF);
    border: 1px solid var(--border);
    color: var(--lux-blue);
    flex: 0 0 auto;
}

.service-card h3 {
    color: var(--lux-navy);
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
}
.service-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ============================================================
   SECTION — Data Management
   ============================================================ */
.data-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 36px;
    align-items: center;
}

.data-visual {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.data-block-list {
    display: grid;
    gap: 14px;
}
.data-block {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #F7FAFF;
    border: 1px solid rgba(10, 71, 255, 0.07);
    border-radius: var(--radius-sm);
    transition: transform 0.2s ease;
}
.data-block:hover { transform: translateX(4px); }
.data-block i {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    font-size: 16px;
    background: var(--lux-soft-2);
    color: var(--lux-blue);
    flex: 0 0 auto;
    font-style: normal;
}
.data-block strong {
    color: var(--lux-navy);
    font-size: 14px;
}
.data-block span {
    color: var(--text-muted);
    font-size: 12px;
}

/* ============================================================
   SECTION — Business Intelligence
   ============================================================ */
.bi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bi-card {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.bi-card .bi-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 20px;
    background: linear-gradient(135deg, var(--lux-soft-2), #FFFFFF);
    border: 1px solid var(--border);
    color: var(--lux-blue);
    margin-bottom: 16px;
}
.bi-card h3 {
    color: var(--lux-navy);
    font-size: 17px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.bi-card p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
}

.bi-card.accent {
    background: linear-gradient(135deg, #07102B, #0E2450);
    border-color: rgba(53, 200, 255, 0.10);
}
.bi-card.accent h3 { color: #fff; }
.bi-card.accent p { color: rgba(255, 255, 255, 0.70); }
.bi-card.accent .bi-icon {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--lux-cyan);
}

/* ============================================================
   SECTION — Software a la Medida
   ============================================================ */
.software-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.software-card {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.software-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.software-card .sw-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 24px;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--lux-soft-2), #FFFFFF);
    border: 1px solid var(--border);
    color: var(--lux-blue);
}
.software-card h3 {
    color: var(--lux-navy);
    font-size: 16px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.software-card p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.6;
}

/* ============================================================
   SECTION — Subscription Model
   ============================================================ */
.subscription-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 44px;
    align-items: center;
}

.subscription-benefits {
    display: grid;
    gap: 14px;
}
.sub-benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: transform 0.2s ease;
}
.sub-benefit:hover { transform: translateX(4px); }
.sub-benefit .check {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    background: rgba(91, 192, 190, 0.12);
    color: #3A8A88;
    flex: 0 0 auto;
    font-weight: 900;
}
.sub-benefit strong {
    display: block;
    color: var(--lux-navy);
    font-size: 14px;
    margin-bottom: 2px;
}
.sub-benefit span {
    color: var(--text-muted);
    font-size: 13px;
}

.subscription-visual {
    background: linear-gradient(135deg, #07102B, #0E2450);
    border-radius: var(--radius-xl);
    padding: 32px;
    color: #fff;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.subscription-visual .sub-large {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 14px;
    color: #fff;
}
.subscription-visual .sub-large span { color: var(--lux-cyan); }
.subscription-visual p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.7;
}

/* ============================================================
   SECTION — Method / Workflow (5 steps)
   ============================================================ */
.method-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.method-step {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 18px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.25s ease;
    position: relative;
}
.method-step:hover { transform: translateY(-5px); }
.method-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: var(--lux-cyan);
    font-weight: 700;
}

.method-step .step-num {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 900;
    margin: 0 auto 14px;
    background: linear-gradient(135deg, var(--lux-blue), var(--lux-cyan));
    color: #fff;
    box-shadow: 0 10px 24px rgba(10, 103, 194, 0.20);
}
.method-step h3 {
    color: var(--lux-navy);
    font-size: 15px;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
.method-step p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.6;
}

/* ============================================================
   SECTION — Medifile / Producto Propio
   ============================================================ */
.medifile-wrapper {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
}

.medifile-copy .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 999px;
    padding: 9px 14px;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.80);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.medifile-copy .product-badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lux-cyan);
    box-shadow: 0 0 0 5px rgba(91, 192, 190, 0.16);
}

.medifile-copy h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(32px, 4vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    margin-bottom: 18px;
    color: #fff;
}
.medifile-copy h2 span { color: var(--lux-cyan); }
.medifile-copy > p {
    color: rgba(255, 255, 255, 0.70);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 10px;
}
.medifile-copy .medifile-points {
    display: grid;
    gap: 12px;
    margin: 20px 0 30px;
}
.medifile-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.75);
    font-size: 14px;
}
.medifile-point .check-dot {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: rgba(91, 192, 190, 0.14);
    color: var(--lux-cyan);
    flex: 0 0 auto;
    font-weight: 900;
    font-size: 12px;
}
.medifile-point b { color: #fff; }

.medifile-panel {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: var(--radius-xl);
    padding: 20px;
    box-shadow: 0 26px 80px rgba(0, 0, 0, 0.20);
}

.medifile-card {
    background: #fff;
    color: var(--text-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.medifile-card-header {
    padding: 24px 24px 20px;
    background:
        radial-gradient(circle at 80% 10%, rgba(91, 192, 190, 0.15), transparent 40%),
        linear-gradient(135deg, #F3F8FE, #FFFFFF);
    border-bottom: 1px solid var(--border);
}
.medifile-card-header .mf-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}
.medifile-card-header .mf-logo-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.medifile-card-header .mf-logo {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(180deg, #F3F8FE 0%, #FFFFFF 100%);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    overflow: hidden;
}
.medifile-card-header .mf-logo img {
    width: 30px;
    height: 30px;
    object-fit: contain;
}
.medifile-card-header .mf-logo-row strong {
    display: block;
    color: var(--lux-navy);
    font-size: 20px;
    letter-spacing: -0.03em;
}
.medifile-card-header .mf-logo-row span {
    display: block;
    color: var(--text-light);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.mf-plan-pill {
    background: var(--lux-navy);
    color: var(--lux-soft-2);
    padding: 6px 11px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
    flex: 0 0 auto;
}
.medifile-card-header h3 {
    font-size: 24px;
    line-height: 1.05;
    color: var(--lux-navy);
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}
.medifile-card-header p {
    color: var(--text-muted);
    font-size: 14px;
}

.medifile-card-body {
    padding: 20px 24px 24px;
}

.mf-modules {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.mf-module {
    background: #F7FAFF;
    border: 1px solid rgba(10, 71, 255, 0.07);
    border-radius: var(--radius-sm);
    padding: 14px 12px;
    text-align: center;
    transition: transform 0.2s ease, background 0.2s ease;
}
.mf-module:hover { transform: translateY(-3px); background: var(--lux-soft-2); }
.mf-module .mf-mod-icon {
    font-size: 20px;
    margin-bottom: 6px;
}
.mf-module strong {
    display: block;
    color: var(--lux-navy);
    font-size: 12px;
    font-weight: 700;
}
.mf-module span {
    display: block;
    color: var(--text-light);
    font-size: 10px;
    margin-top: 2px;
}

.mf-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

/* ============================================================
   SECTION — FAQ
   ============================================================ */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.faq-item {
    background: var(--lux-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease;
}
.faq-item:hover { transform: translateY(-2px); }

.faq-item .faq-q {
    font-size: 16px;
    font-weight: 700;
    color: var(--lux-navy);
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}
.faq-item .faq-q i {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--lux-soft-2);
    color: var(--lux-blue);
    font-size: 12px;
    font-weight: 900;
    flex: 0 0 auto;
    font-style: normal;
}
.faq-item .faq-a {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    padding-left: 34px;
}

/* ============================================================
   SECTION — CTA Final
   ============================================================ */
.cta-final {
    padding: 100px 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(53, 200, 255, 0.12), transparent 34%),
        radial-gradient(circle at 80% 10%, rgba(126, 168, 214, 0.10), transparent 30%),
        linear-gradient(135deg, #07102B, #0B1B3D);
    color: #fff;
    text-align: center;
}
.cta-final h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(34px, 4.6vw, 60px);
    line-height: 1.02;
    letter-spacing: -0.045em;
    max-width: 860px;
    margin: 0 auto 20px;
}
.cta-final p {
    max-width: 680px;
    margin: 0 auto 36px;
    color: rgba(255, 255, 255, 0.70);
    font-size: 16px;
    line-height: 1.7;
}
.cta-final .cta-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: #060E20;
    color: rgba(255, 255, 255, 0.55);
    padding: 32px 0;
    font-size: 13px;
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links a:hover { color: #fff; }

/* ============================================================
   MOBILE CTA (sticky bottom)
   ============================================================ */
.mobile-cta {
    display: none;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-copy > *,
.dashboard-panel,
.orb {
    animation: fadeUp 0.75s ease both;
}
.hero-copy .hero-badge-row { animation-delay: 0.08s; }
.hero-copy h1 { animation-delay: 0.14s; }
.hero-copy .hero-sub { animation-delay: 0.22s; }
.hero-copy .hero-actions { animation-delay: 0.30s; }
.hero-copy .hero-medifile-note { animation-delay: 0.38s; }
.dashboard-panel { animation-delay: 0.20s; }
.orb.o1 { animation-delay: 0.10s; }
.orb.o2 { animation-delay: 0.50s; }
.orb.o3 { animation-delay: 0.80s; }

/* ============================================================
   RESPONSIVE — Tablet
   ============================================================ */
@media (max-width: 1024px) {
    .hero-grid,
    .medifile-wrapper,
    .data-grid,
    .subscription-layout {
        grid-template-columns: 1fr;
    }
    .hero-visual { min-height: 460px; }
    .method-grid { grid-template-columns: repeat(3, 1fr); }
    .method-step:nth-child(4)::after,
    .method-step:nth-child(5)::after { display: none; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .intro-grid,
    .bi-grid,
    .software-grid,
    .faq-grid { grid-template-columns: 1fr 1fr; }
    .intro-card.lead { grid-column: 1 / -1; }
    .mf-modules { grid-template-columns: repeat(2, 1fr); }
    .method-step:not(:last-child)::after { display: none; }
}

/* ============================================================
   RESPONSIVE — Mobile
   ============================================================ */
@media (max-width: 680px) {
    .container { padding: 0 18px; }
    .top-nav {
        top: 8px;
        border-radius: 20px;
        width: calc(100% - 16px);
        padding: 6px 14px;
    }
    .brand-link { flex: 0 0 170px; }
    .brand-logo { height: 48px; }

    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero h1 { font-size: 34px; }
    .hero-sub { font-size: 15px; }
    .hero-actions .btn { width: 100%; }
    .hero-visual { min-height: 400px; }
    .dashboard-panel { padding: 12px; border-radius: var(--radius-lg); }
    .dash-row { grid-template-columns: 1fr; }
    .orb.o2, .orb.o3 { display: none; }

    section { padding: 60px 0; }
    .intro-grid,
    .services-grid,
    .bi-grid,
    .software-grid,
    .data-grid,
    .subscription-layout,
    .faq-grid,
    .mf-modules { grid-template-columns: 1fr; }

    .method-grid { grid-template-columns: 1fr 1fr; gap: 12px; }

    .medifile-wrapper { gap: 28px; }
    .medifile-card-header { padding: 18px; }
    .medifile-card-header h3 { font-size: 20px; }
    .medifile-card-body { padding: 14px 18px 18px; }
    .mf-actions { flex-direction: column; }
    .mf-actions .btn { width: 100%; }

    .faq-item .faq-a { padding-left: 0; }
    .faq-item .faq-q { flex-direction: column; }

    .cta-final { padding: 60px 0; }

    body { padding-bottom: 90px; }

    .mobile-cta {
        display: flex;
        position: fixed;
        left: 12px;
        right: 12px;
        bottom: 12px;
        z-index: 90;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 12px 16px;
        border-radius: 22px;
        background: rgba(7, 16, 43, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.30);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    .mobile-cta strong {
        display: block;
        color: #fff;
        font-size: 13px;
        line-height: 1.2;
    }
    .mobile-cta span {
        display: block;
        color: rgba(255, 255, 255, 0.60);
        font-size: 11px;
    }
    .mobile-cta .btn {
        width: auto;
        min-height: 44px;
        padding: 0 18px;
        font-size: 13px;
        white-space: nowrap;
    }
}