/* ============================================
   БОРО — Регистрация медицинских изделий
   Brand colors from logo:
   - Primary Blue: #2E3192
   - Medical Green: #3D6B1F
   ============================================ */

:root {
    /* Brand Colors */
    --primary: #2E3192;
    --primary-light: #3d41b5;
    --primary-dark: #1e2168;
    --primary-ghost: rgba(46, 49, 146, 0.08);
    
    --accent: #3D6B1F;
    --accent-light: #4a8526;
    --accent-ghost: rgba(61, 107, 31, 0.08);
    
    /* Gradient */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    --gradient-mixed: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    
    /* Text */
    --text: #0f172a;
    --text-light: #334155;
    --text-muted: #64748b;
    --text-inverse: #f8fafc;
    
    /* Backgrounds */
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-warm: #f1f5f9;
    --bg-dark: #0f172a;
    
    /* Borders & Shadows */
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 8px 32px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 16px 56px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 40px rgba(46, 49, 146, 0.15);
    
    /* Shape */
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
    
    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    /* Transitions */
    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s 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;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    background: var(--primary);
    color: #fff;
    padding: 12px 24px;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top 0.3s;
}
.skip-link:focus { top: 0; }

/* ============================================
   Typography
   ============================================ */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    background: var(--primary-ghost);
    padding: 8px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(1.9rem, 4.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 560px;
    line-height: 1.65;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header .section-desc { margin: 0 auto; }

.gradient-text {
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font);
    font-size: 0.92rem;
    font-weight: 600;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-bounce);
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 16px rgba(46, 49, 146, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(46, 49, 146, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(46, 49, 146, 0.2);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.btn-white:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.btn-sm { padding: 9px 20px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; }

/* ============================================
   Header
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(1.8);
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    transition: var(--transition);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo-img {
    height: 42px;
    width: auto;
    transition: var(--transition);
}

.logo:hover .logo-img { transform: scale(1.03); }

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

.nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-light);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2.5px;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover { color: var(--primary); }
.nav-link:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 8px;
    transition: var(--transition);
}

.menu-toggle:hover { background: var(--bg-warm); }

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(165deg, #f0f4ff 0%, #fff 40%, #f0fdf4 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: blobFloat 8s ease-in-out infinite;
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: rgba(46, 49, 146, 0.12);
    top: -10%;
    right: -5%;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: rgba(61, 107, 31, 0.1);
    bottom: 10%;
    left: -5%;
    animation-delay: -2s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(46, 49, 146, 0.08);
    top: 40%;
    right: 20%;
    animation-delay: -4s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(46, 49, 146, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(46, 49, 146, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 70%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-badge { margin-bottom: 24px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(46, 49, 146, 0.08);
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgba(46, 49, 146, 0.12);
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--text);
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 24px;
}

.trust-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.trust-number {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.trust-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.4;
}

.trust-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Hero Cards */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
    max-width: 380px;
}

.hero-card {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    border-radius: var(--radius);
    padding: 24px 28px;
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow: var(--shadow-md);
    transition: var(--transition-bounce);
    overflow: hidden;
}

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

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(40px);
    transition: var(--transition);
}

.card-primary .card-glow { background: var(--primary); }
.card-secondary .card-glow { background: var(--accent); }
.card-tertiary .card-glow { background: var(--primary-light); }

.hero-card:hover .card-glow { opacity: 0.2; }

.card-primary { border-left: 3px solid var(--primary); }
.card-secondary { border-left: 3px solid var(--accent); }
.card-tertiary { border-left: 3px solid var(--primary-light); }

.card-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-ghost);
    color: var(--primary);
    border-radius: var(--radius-sm);
    margin-bottom: 14px;
}

.card-secondary .card-icon-wrap { 
    background: var(--accent-ghost); 
    color: var(--accent); 
}

.hero-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text);
}

.hero-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.card-arrow {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--primary);
    opacity: 0;
    transition: var(--transition);
}

.hero-card:hover .card-arrow {
    opacity: 1;
    right: 16px;
}

.hero-floating-badge {
    position: absolute;
    bottom: -10px;
    right: 20px;
    background: var(--gradient-mixed);
    color: #fff;
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(46, 49, 146, 0.3);
    animation: floatBadge 3s ease-in-out infinite;
}

@keyframes floatBadge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.pulse {
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

.hero-scroll-hint {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 24px;
    height: 38px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    opacity: 0.5;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--text-muted);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.3; }
}

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
}

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

.service-card {
    position: relative;
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition-bounce);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.service-card:hover {
    background: #fff;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: transparent;
}

.service-border {
    position: absolute;
    inset: 0;
    border-radius: var(--radius);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-card:hover .service-border {
    opacity: 1;
    background: linear-gradient(135deg, rgba(46, 49, 146, 0.08) 0%, rgba(61, 107, 31, 0.06) 100%);
}

.service-card.featured {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
}

.service-card.featured .service-icon-wrap {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

.service-card.featured h3,
.service-card.featured p,
.service-card.featured .service-link { color: #fff; }

.service-card.featured:hover {
    box-shadow: 0 16px 48px rgba(46, 49, 146, 0.35);
}

.service-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255,255,255,0.2);
    padding: 5px 12px;
    border-radius: 100px;
}

.service-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: var(--primary-ghost);
    color: var(--primary);
    border-radius: 14px;
    margin-bottom: 20px;
    transition: var(--transition);
}

.service-card:hover .service-icon-wrap {
    transform: scale(1.08);
}

.service-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 16px;
}

.service-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 8px;
}

/* ============================================
   Advantages Section
   ============================================ */
.advantages {
    padding: 120px 0;
    background: var(--bg-warm);
    position: relative;
    overflow: hidden;
}

.advantages-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.blob-adv {
    width: 600px;
    height: 600px;
    background: rgba(46, 49, 146, 0.05);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(100px);
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.advantages-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.advantage-item {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.advantage-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
    border-color: var(--primary-ghost);
}

.advantage-icon-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    font-size: 0.8rem;
}

.advantage-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.advantage-text p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.55;
}

/* Stats Card */
.advantages-visual {
    display: flex;
    justify-content: center;
}

.stats-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 340px;
}

.stat-row {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--border-light);
}

.stat {
    text-align: left;
}

.stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-unit {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-light);
    margin-left: 4px;
}

.stat-label {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.stat-highlight {
    display: flex;
    justify-content: center;
}

.highlight-ring {
    position: relative;
    width: 140px;
    height: 140px;
}

.highlight-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: var(--border-light);
    stroke-width: 6;
}

.ring-fill {
    fill: none;
    stroke: url(#ringGradient);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 264;
    stroke-dashoffset: 264;
    transition: stroke-dashoffset 2s ease-out;
}

.highlight-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.highlight-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.highlight-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* SVG Gradient Definition */
.ring-defs {
    position: absolute;
    width: 0;
    height: 0;
}

/* ============================================
   Process Section
   ============================================ */
.process {
    padding: 120px 0;
    background: var(--bg);
    position: relative;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 32px;
    left: calc(16.66% - 2px);
    right: calc(16.66% - 2px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    opacity: 0.15;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
}

.step-marker {
    position: relative;
    margin-bottom: 20px;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: 50%;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary);
    transition: var(--transition-bounce);
    position: relative;
}

.process-step:hover .step-num {
    background: var(--gradient-primary);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(46, 49, 146, 0.25);
    transform: scale(1.08);
}

.step-content {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 28px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.process-step:hover .step-content {
    background: #fff;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.step-content h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.65;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
}

.blob-cta {
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: blur(80px);
}

.cta-box {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 640px;
    margin: 0 auto;
}

.cta-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: floatBadge 3s ease-in-out infinite;
}

.cta-box .btn-white {
    color: var(--primary) !important;
}

.cta-box .btn-white svg {
    stroke: var(--primary) !important;
}

.cta-box h2 {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 800;
    margin-bottom: 14px;
    letter-spacing: -0.02em;
}

.cta-box p {
    font-size: 1.1rem;
    opacity: 0.85;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: 120px 0;
    background: var(--bg-warm);
    position: relative;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 64px;
    align-items: start;
}

.contact-info .section-desc { margin-bottom: 40px; }

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: #fff;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.contact-item:hover {
    box-shadow: var(--shadow);
    transform: translateX(4px);
    border-color: var(--primary-ghost);
}

.contact-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-ghost);
    color: var(--primary);
    border-radius: 10px;
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.contact-item a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
}

.contact-item a:hover { text-decoration: underline; }

/* Contact Form */
.contact-form-wrapper {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.form-header {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.form-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.form-header p {
    font-size: 0.88rem;
    color: var(--text-muted);
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg-alt);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(46, 49, 146, 0.08);
    background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox */
.checkbox-group { margin-bottom: 20px; }

.checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.5;
}

.checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkmark {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--border);
    border-radius: 5px;
    margin-top: 1px;
    transition: var(--transition);
    position: relative;
}

.checkbox input:checked + .checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox input:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text { font-size: 0.82rem; }

.form-note {
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 16px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--bg-dark);
    color: #94a3b8;
    padding: 72px 0 28px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 56px;
}

.footer-brand .logo {
    display: inline-block;
    margin-bottom: 18px;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #e2e8f0;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.88rem;
    color: #94a3b8;
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(4px);
}

.footer-contact p {
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.footer-contact a {
    color: #cbd5e1;
    transition: var(--transition);
}

.footer-contact a:hover { color: #fff; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 0.82rem;
    color: #64748b;
}

.footer-policy {
    transition: var(--transition);
}

.footer-policy:hover { color: #fff; }

/* ============================================
   Scroll Animations
   ============================================ */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animated {
    opacity: 1;
    transform: translateY(0);
}

[data-delay="100"] { transition-delay: 0.1s; }
[data-delay="200"] { transition-delay: 0.2s; }
[data-delay="300"] { transition-delay: 0.3s; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-visual { order: -1; }
    .hero-card-stack { max-width: 500px; margin: 0 auto; }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 76px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 40px 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: var(--transition);
        align-items: center;
    }
    
    .nav.active {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .nav-link { font-size: 1.15rem; }
    
    .menu-toggle { display: flex; }
    
    .hero { padding: 120px 0 60px; min-height: auto; }
    .hero-cta { flex-direction: column; }
    .hero-trust { flex-direction: column; align-items: flex-start; }
    .trust-divider { display: none; }
    
    .services-grid { grid-template-columns: 1fr; }
    .process-timeline { grid-template-columns: 1fr; }
    
    .form-row { grid-template-columns: 1fr; }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 1.9rem; }
    .contact-form-wrapper { padding: 24px; }
    .stats-card { padding: 24px; }
    .section-title { font-size: 1.7rem; }
    .btn-lg { padding: 14px 24px; }
}

/* ============================================
   Accessibility & Reduced Motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    [data-animate] {
        opacity: 1;
        transform: none;
    }
}

*:focus-visible {
    outline: 2.5px solid var(--primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Ring SVG inline styles */
.ring-fill { 
    stroke-dashoffset: 52.8;
}
