/* ============================
   AFIANZA — Premium Design System
   ============================ */

:root {
    /* Core Colors */
    --navy-900: #0a0f1e;
    --navy-800: #111827;
    --navy-700: #1a2340;
    --navy-600: #1e2d52;
    --navy-500: #2a3a6a;
    --blue-600: #2563eb;
    --blue-500: #3b82f6;
    --blue-400: #60a5fa;
    --blue-300: #93c5fd;
    --indigo-500: #6366f1;
    --indigo-400: #818cf8;
    --cyan-400: #22d3ee;
    --emerald-500: #10b981;
    --emerald-400: #34d399;
    --amber-400: #fbbf24;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --text-dark: #0f172a;
    --text-body: #475569;
    --text-muted: #94a3b8;

    /* Gradients */
    --gradient-hero: linear-gradient(135deg, #0a0f1e 0%, #111827 30%, #1a2340 60%, #1e2d52 100%);
    --gradient-accent: linear-gradient(135deg, #2563eb 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-card: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    --gradient-glow: linear-gradient(135deg, #3b82f6, #8b5cf6, #3b82f6);

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1200px;
    --container-padding: 0 24px;

    /* Borders & Radius */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 100px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.14);
    --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);
    --shadow-card-hover: 0 20px 50px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(59, 130, 246, 0.1);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ============================
   PARTICLE CANVAS
   ============================ */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ============================
   BUTTONS
   ============================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.btn--primary {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.4);
}

.btn--primary:active {
    transform: translateY(-1px);
}

.btn--outline {
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
}

.btn--outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--navy-800);
    border-color: var(--white);
    font-weight: 700;
}

.btn--white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.btn--glow {
    animation: btnPulse 3s ease-in-out infinite;
}

@keyframes btnPulse {
    0%, 100% { box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(37, 99, 235, 0.5); }
}

.btn--white.btn--glow {
    animation: btnPulseWhite 3s ease-in-out infinite;
}

@keyframes btnPulseWhite {
    0%, 100% { box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2); }
    50% { box-shadow: 0 8px 30px rgba(255, 255, 255, 0.35); }
}

.btn--full {
    width: 100%;
    justify-content: center;
}

/* ============================
   NAVBAR
   ============================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 38px;
    width: auto;
    transition: all var(--transition-base);
    filter: brightness(0) invert(1);
}

.navbar.scrolled .nav-logo img {
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    color: rgba(255, 255, 255, 0.7);
}

.nav-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link--cta {
    background: var(--gradient-accent);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    padding: 10px 28px;
    margin-left: 8px;
    font-weight: 600;
}

.nav-link--cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.4);
    background: var(--gradient-accent) !important;
}

/* Mobile Nav Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   HERO
   ============================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 140px 0 100px;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(99, 102, 241, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 20% 80%, rgba(59, 130, 246, 0.06), transparent);
    pointer-events: none;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.06), rgba(99, 102, 241, 0.03));
    border: 1px solid rgba(59, 130, 246, 0.06);
}

.hero-shape--1 {
    width: 700px;
    height: 700px;
    top: -250px;
    right: -150px;
    animation: heroFloat 25s ease-in-out infinite;
}

.hero-shape--2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    left: -150px;
    animation: heroFloat 20s ease-in-out infinite reverse;
}

.hero-shape--3 {
    width: 300px;
    height: 300px;
    top: 40%;
    left: 55%;
    animation: heroFloat 15s ease-in-out infinite;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.hero-orb--1 {
    width: 400px;
    height: 400px;
    top: 10%;
    right: 10%;
    background: rgba(37, 99, 235, 0.12);
    animation: orbPulse 8s ease-in-out infinite;
}

.hero-orb--2 {
    width: 300px;
    height: 300px;
    bottom: 10%;
    left: 5%;
    background: rgba(99, 102, 241, 0.08);
    animation: orbPulse 12s ease-in-out infinite reverse;
}

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -40px) rotate(2deg); }
    50% { transform: translate(-20px, 30px) rotate(-1deg); }
    75% { transform: translate(25px, 15px) rotate(1deg); }
}

@keyframes orbPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

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

/* Hero Split Layout */
.hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.2rem);
    font-weight: 900;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #818cf8, #c084fc, #60a5fa);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 6s ease-in-out infinite;
}

.text-gradient-dark {
    background: linear-gradient(135deg, #2563eb, #6366f1, #2563eb);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Hero Form */
.hero-form-wrap {
    position: relative;
    width: 100%;
    max-width: 640px;
}

.hero-form {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.hero-form__title {
    font-size: 20px;
    font-weight: 800;
    color: var(--white);
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: -0.01em;
}

.hero-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
    align-items: end;
}

.hero-form .form-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    display: block;
    height: 18px;
    line-height: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-bottom: 8px;
}

.hero-form .form-input {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--white);
    font-size: 14px;
    padding: 13px 16px;
    height: 46px;
    width: 100%;
}

.hero-form .form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.hero-form .form-input:focus {
    border-color: var(--blue-400);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.hero-form .form-select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
    appearance: none;
    height: 46px;
}

.hero-form .form-select option {
    background: var(--navy-800);
    color: var(--white);
}

.hero-form__group {
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.hero-form__note {
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 14px;
    font-weight: 500;
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to bottom, transparent, var(--blue-400));
    animation: scrollIndicator 2s ease-in-out infinite;
}

@keyframes scrollIndicator {
    0% { top: -50%; }
    100% { top: 100%; }
}

/* ============================
   FEATURE STRIP
   ============================ */
.feature-strip {
    background: var(--gray-50);
    padding: 36px 0;
    border-bottom: 1px solid var(--gray-200);
    position: relative;
    z-index: 1;
}

.feature-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-strip__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.feature-strip__item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(37, 99, 235, 0.15);
}

.feature-strip__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border-radius: var(--radius-sm);
    color: var(--blue-500);
    border: 1px solid rgba(37, 99, 235, 0.08);
    transition: all var(--transition-base);
}

.feature-strip__item:hover .feature-strip__icon {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
}

/* ============================
   SECTIONS
   ============================ */
.section {
    padding: var(--section-padding);
    position: relative;
    z-index: 1;
}

.section--light {
    background: var(--white);
}

.section--gray {
    background: var(--gray-50);
}

.section--dark {
    background: var(--gradient-hero);
    position: relative;
}

.section--dark::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 50%, rgba(37, 99, 235, 0.08), transparent),
        radial-gradient(ellipse 50% 30% at 80% 30%, rgba(99, 102, 241, 0.06), transparent);
    pointer-events: none;
}

.section--accent {
    background: linear-gradient(135deg, #0f1729 0%, #1a2340 40%, #1e2d52 100%);
    position: relative;
}

.section--accent::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 50% 20%, rgba(37, 99, 235, 0.1), transparent);
    pointer-events: none;
}

.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 80px;
}

.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue-600);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
    text-transform: uppercase;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.section-tag--light {
    background: rgba(255, 255, 255, 0.06);
    color: var(--blue-400);
    border-color: rgba(255, 255, 255, 0.08);
}

.section-title {
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.section-title--light {
    color: var(--white);
}

.section-desc {
    font-size: 17px;
    color: var(--text-muted);
    line-height: 1.8;
}

.section-desc--light {
    color: rgba(255, 255, 255, 0.5);
}

/* ============================
   SERVICES
   ============================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: all var(--transition-slow);
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
}

.service-card__glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card__glow {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.service-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-card);
    border-radius: var(--radius-md);
    color: var(--blue-500);
    margin-bottom: 28px;
    transition: all var(--transition-base);
    border: 1px solid rgba(37, 99, 235, 0.08);
}

.service-card:hover .service-card__icon {
    background: var(--gradient-accent);
    color: var(--white);
    transform: scale(1.05);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
}

.service-card__title {
    font-size: 21px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.service-card__desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.75;
}

/* ============================
   STEPS (Cómo Funciona)
   ============================ */
.steps-timeline {
    position: relative;
}

.steps-line {
    display: none;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
}

.step-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-slow);
    animation-delay: var(--delay, 0s);
    position: relative;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.step-card__connector {
    margin-bottom: 24px;
}

.step-card__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gradient-accent);
    box-shadow: 0 0 16px rgba(59, 130, 246, 0.4);
    position: relative;
}

.step-card__dot::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.2);
}

.step-card__number {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--blue-400), var(--indigo-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 20px;
    opacity: 0.6;
}

.step-card:hover .step-card__number {
    opacity: 1;
}

.step-card__title {
    font-size: 19px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
}

.step-card__desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
}

/* ============================
   PROFILES (Para Quién)
   ============================ */
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: start;
}

.profile-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 44px 36px;
    transition: all var(--transition-slow);
    position: relative;
    animation-delay: var(--delay, 0s);
}

.profile-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.profile-card--featured {
    border-color: transparent;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(99, 102, 241, 0.02));
    box-shadow: 0 0 0 2px var(--blue-500), var(--shadow-lg);
    transform: scale(1.04);
}

.profile-card--featured:hover {
    transform: scale(1.04) translateY(-8px);
    box-shadow: 0 0 0 2px var(--blue-500), var(--shadow-xl);
}

.profile-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    padding: 6px 22px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.profile-card__icon-wrap {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-50);
    border-radius: var(--radius-md);
    color: var(--navy-700);
    margin-bottom: 28px;
    transition: all var(--transition-base);
    border: 1px solid var(--gray-200);
}

.profile-card:hover .profile-card__icon-wrap {
    background: var(--gradient-card);
    color: var(--blue-600);
    border-color: rgba(37, 99, 235, 0.15);
}

.profile-card--featured .profile-card__icon-wrap {
    background: rgba(37, 99, 235, 0.08);
    color: var(--blue-600);
    border-color: rgba(37, 99, 235, 0.12);
}

.profile-card__title {
    font-size: 23px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.profile-card__list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 14px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.6;
}

.profile-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gradient-accent);
    opacity: 0.5;
}

.profile-card--featured .profile-card__list li::before {
    opacity: 1;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.3);
}

/* ============================
   ADVANTAGES
   ============================ */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantages-grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

.advantage-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    padding: 32px 20px;
    transition: all var(--transition-slow);
    animation-delay: var(--delay, 0s);
    backdrop-filter: blur(8px);
}

.advantage-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.advantage-item__icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59, 130, 246, 0.1);
    border-radius: var(--radius-sm);
    color: var(--blue-400);
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all var(--transition-base);
}

.advantage-item:hover .advantage-item__icon {
    background: var(--gradient-accent);
    color: var(--white);
    border-color: transparent;
}

.advantage-item__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--white);
}

/* ============================
   TESTIMONIALS
   ============================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 40px 36px;
    transition: all var(--transition-slow);
    animation-delay: var(--delay, 0s);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 28px;
    font-size: 72px;
    font-weight: 900;
    color: rgba(37, 99, 235, 0.06);
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: transparent;
}

.testimonial-card__stars {
    color: var(--amber-400);
    font-size: 16px;
    letter-spacing: 3px;
    margin-bottom: 20px;
}

.testimonial-card__text {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 28px;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.testimonial-card__author strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
}

.testimonial-card__author span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================
   FAQ
   ============================ */
.faq-container {
    max-width: 780px;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    margin-bottom: 12px;
    overflow: hidden;
    transition: all var(--transition-base);
    background: var(--white);
}

.faq-item:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: var(--shadow-sm);
}

.faq-item.active {
    border-color: var(--blue-500);
    box-shadow: 0 0 0 1px var(--blue-500), var(--shadow-md);
}

.faq-item__question {
    width: 100%;
    padding: 22px 28px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    text-align: left;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.faq-item__question:hover {
    color: var(--blue-600);
}

.faq-item__chevron {
    flex-shrink: 0;
    color: var(--text-muted);
    transition: transform var(--transition-base), color var(--transition-base);
}

.faq-item.active .faq-item__chevron {
    transform: rotate(180deg);
    color: var(--blue-500);
}

.faq-item__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition-slow);
    padding: 0 28px;
}

.faq-item.active .faq-item__answer {
    max-height: 200px;
    padding: 0 28px 24px;
}

.faq-item__answer p {
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.8;
}

/* ============================
   CONTACT FORM
   ============================ */
.contact-wrapper--centered {
    max-width: 680px;
    margin: 0 auto;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-md);
    transition: box-shadow var(--transition-base);
}

.contact-form:hover {
    box-shadow: var(--shadow-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.form-input {
    padding: 14px 18px;
    font-family: var(--font-family);
    font-size: 15px;
    color: var(--text-dark);
    background: var(--gray-50);
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    outline: none;
}

.form-input::placeholder {
    color: var(--gray-400);
}

.form-input:focus {
    border-color: var(--blue-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.08);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group:last-of-type {
    margin-bottom: 28px;
}

/* ============================
   FOOTER
   ============================ */
.footer {
    background: var(--navy-900);
    padding: 80px 0 0;
    position: relative;
    z-index: 1;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
    height: 36px;
    filter: brightness(0) invert(1);
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.75;
    max-width: 320px;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social__link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
    transition: all var(--transition-base);
}

.footer-social__link:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links__title {
    font-size: 13px;
    font-weight: 800;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
}

.footer-links ul li a:hover {
    color: var(--blue-400);
    transform: translateX(4px);
}

.footer-bottom {
    padding: 28px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.2);
    font-weight: 500;
}

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: var(--delay, 0s);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================
   RESPONSIVE
   ============================ */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-form-wrap {
        max-width: 100%;
    }

    .hero-form {
        padding: 32px;
    }

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

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

    .advantages-grid,
    .advantages-grid--5 {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .profile-card--featured {
        transform: scale(1);
    }

    .profile-card--featured:hover {
        transform: translateY(-8px);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--navy-900);
        flex-direction: column;
        padding: 100px 36px 36px;
        gap: 4px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(255, 255, 255, 0.06);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: rgba(255, 255, 255, 0.7) !important;
        padding: 14px 20px;
        font-size: 16px;
        border-radius: var(--radius-sm);
    }

    .nav-link:hover {
        background: rgba(255, 255, 255, 0.06) !important;
        color: var(--white) !important;
    }

    .nav-link--cta {
        margin-top: 16px;
        text-align: center;
        justify-content: center;
    }


    .feature-strip__grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-form__row {
        grid-template-columns: 1fr;
    }

    .hero-form {
        padding: 28px 24px;
    }

    .services-grid,
    .profiles-grid,
    .testimonials-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-brand {
        grid-column: auto;
    }

    .section-header {
        margin-bottom: 56px;
    }

    .hero-scroll-indicator {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .feature-strip__grid {
        grid-template-columns: 1fr;
    }

    .advantages-grid,
    .advantages-grid--5 {
        grid-template-columns: 1fr;
    }

    .service-card,
    .step-card,
    .profile-card,
    .testimonial-card {
        padding: 32px 28px;
    }

    .contact-form {
        padding: 28px 24px;
    }
}