/* ==========================================================================
   SMIRNOV CONSULTING — Editorial Luxury Dark Theme
   Typography: Literata (serif headlines) + IBM Plex Sans (body)
   Aesthetic: Refined minimalism with depth and texture
   ========================================================================== */

/* Local Fonts */
@import url('assets/fonts/fonts.css');

/* ==========================================================================
   Design Tokens
   ========================================================================== */
:root {
    /* Colors — deep blacks with warm undertones */
    --bg-deep: #050505;
    --bg-primary: #0a0a0a;
    --bg-elevated: #111111;
    --bg-surface: #161616;
    
    /* Text hierarchy */
    --text-primary: #f5f5f3;
    --text-secondary: #a8a8a6;
    --text-muted: #6a6a68;
    --text-accent: #d4af37; /* warm gold accent */
    
    /* Borders & Lines */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);
    --border-accent: rgba(212, 175, 55, 0.3);
    
    /* Typography */
    --font-display: 'Literata', 'Georgia', serif;
    --font-body: 'IBM Plex Sans', -apple-system, sans-serif;
    
    /* Spacing scale */
    --space-xs: 8px;
    --space-sm: 16px;
    --space-md: 24px;
    --space-lg: 48px;
    --space-xl: 80px;
    --space-2xl: 120px;
    
    /* Timing */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --duration-fast: 0.2s;
    --duration-normal: 0.4s;
    --duration-slow: 0.8s;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.015;
    pointer-events: none;
    z-index: 9999;
}

::selection {
    background: var(--text-accent);
    color: var(--bg-deep);
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p {
    max-width: 65ch;
}

/* ==========================================================================
   Layout
   ========================================================================== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, var(--bg-deep) 0%, transparent 100%);
    padding: var(--space-md) 0;
    transition: background var(--duration-normal) var(--ease-out-quart);
}

.header.scrolled {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

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

.logo-link {
    display: block;
    height: 44px;
    opacity: 0;
    animation: fadeSlideIn 0.8s var(--ease-out-expo) 0.2s forwards;
}

.logo {
    height: 100%;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
    text-decoration: none;
    position: relative;
    padding: var(--space-xs) 0;
    opacity: 0;
    animation: fadeSlideIn 0.6s var(--ease-out-expo) forwards;
    transition: color var(--duration-fast) ease;
}

.nav-link:nth-child(1) { animation-delay: 0.3s; }
.nav-link:nth-child(2) { animation-delay: 0.4s; }
.nav-link:nth-child(3) { animation-delay: 0.5s; }
.nav-link:nth-child(4) { animation-delay: 0.6s; }

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-accent);
    transition: width var(--duration-normal) var(--ease-out-expo);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ==========================================================================
   Hero Slider
   ========================================================================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    background: var(--bg-deep);
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s var(--ease-out-quart);
}

.slide.active {
    opacity: 1;
}

.slide-content {
    position: relative;
    height: 100%;
}

.slide-image {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.slide-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(5, 5, 5, 0.3);
    z-index: 2;
}

.slide-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-deep) 0%, transparent 40%);
    z-index: 2;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.85;
}

.slide-text {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: right;
    padding: var(--space-2xl) var(--space-lg);
    left: auto;
    right: 0;
    max-width: 700px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeSlideUp 1s var(--ease-out-expo) 0.5s forwards;
}

.slide.active .hero-title {
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out-expo) 0.3s forwards;
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-accent);
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out-expo) 0.7s forwards;
}

.slide.active .hero-subtitle {
    opacity: 0;
    animation: fadeSlideUp 1s var(--ease-out-expo) 0.5s forwards;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: var(--space-xl);
    right: var(--space-lg);
    display: flex;
    gap: var(--space-sm);
    z-index: 20;
}

.slider-btn {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.slider-btn:hover {
    background: var(--text-primary);
    color: var(--bg-deep);
    border-color: var(--text-primary);
}

.slider-dots {
    position: absolute;
    bottom: var(--space-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 20;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-medium);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out-expo);
}

.dot.active {
    width: 32px;
    border-radius: 4px;
    background: var(--text-accent);
}

/* Hero Static (subpages) */
.hero-static .slide-text {
    align-items: flex-end;
    text-align: right;
}

/* Hero with color photo (contacts) */
.hero-color .slide-image img {
    filter: none;
    opacity: 1;
}

.hero-color .slide-image::before {
    background: rgba(5, 5, 5, 0.15);
}

.hero-color .slide-text {
    align-items: flex-end;
    text-align: right;
    left: auto;
    right: 0;
    max-width: 700px;
}

/* ==========================================================================
   Sections
   ========================================================================== */
.section {
    padding: var(--space-2xl) 0;
    position: relative;
}

.section-alt {
    background: var(--bg-elevated);
}

.section-hero {
    padding: var(--space-2xl) 0 var(--space-xl);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.section-title {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
    position: relative;
    display: inline-block;
    text-align: center;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 1px;
    background: var(--text-accent);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-top: var(--space-md);
    text-align: center;
    width: 100%;
}

.section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lead-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.lead-text-large {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    line-height: 1.8;
    color: var(--text-secondary);
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 400;
    margin-bottom: var(--space-md);
}

/* ==========================================================================
   Strengths Grid
   ========================================================================== */
.strengths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.strength-item {
    padding: var(--space-lg);
    border: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    position: relative;
    overflow: hidden;
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.strength-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--text-accent);
    transition: height var(--duration-normal) var(--ease-out-expo);
}

.strength-item:hover {
    border-color: var(--border-medium);
    transform: translateY(-4px);
}

.strength-item:hover::before {
    height: 100%;
}

.strength-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.strength-text {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ==========================================================================
   Stages / Timeline
   ========================================================================== */
.stages-list {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.stages-list::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--border-medium), transparent);
}

.stage-item {
    display: flex;
    gap: var(--space-lg);
    padding: var(--space-lg) 0;
    position: relative;
}

.stage-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1;
    min-width: 80px;
    position: relative;
}

.stage-number::after {
    content: '';
    position: absolute;
    right: -24px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-accent);
}

.stage-content {
    flex: 1;
    padding-top: 8px;
}

.stage-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.stage-text {
    color: var(--text-secondary);
}

/* ==========================================================================
   About Page
   ========================================================================== */
.about-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-xl);
    align-items: start;
}

.about-image {
    position: sticky;
    top: 120px;
}

.about-photo {
    width: 100%;
    filter: grayscale(100%);
    border: 1px solid var(--border-subtle);
}

.about-intro {
    padding-top: var(--space-lg);
}

/* Experience */
.experience-list {
    max-width: 900px;
    margin: 0 auto;
}

.experience-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg) 0;
    border-bottom: 1px solid var(--border-subtle);
}

.experience-item:last-child {
    border-bottom: none;
}

.experience-marker {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-accent);
    margin-top: 10px;
    flex-shrink: 0;
}

.experience-content {
    flex: 1;
}

.experience-title {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin-bottom: var(--space-xs);
}

.experience-text {
    color: var(--text-secondary);
}

/* Education */
.education-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.education-item {
    padding: var(--space-lg);
    border-top: 1px solid var(--text-accent);
    background: var(--bg-surface);
}

.education-degree {
    font-family: var(--font-display);
    font-size: 1.375rem;
    margin-bottom: var(--space-xs);
}

.education-institution {
    color: var(--text-secondary);
    margin-bottom: 4px;
}

.education-years {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.education-additional {
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-subtle);
}

.education-section-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
}

.education-list-additional .education-degree {
    font-size: 1.125rem;
}

.education-list-additional .education-institution {
    font-size: 0.875rem;
}

.education-text {
    color: var(--text-secondary);
}

/* ==========================================================================
   Services Page
   ========================================================================== */
.service-header {
    text-align: center;
    margin-bottom: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.service-title {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
    text-align: center;
}

.service-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    text-align: center;
    width: 100%;
}

.service-blocks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.service-block {
    padding: var(--space-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-normal) var(--ease-out-quart);
}

.service-block:hover {
    border-color: var(--text-accent);
    transform: translateY(-4px);
}

.service-block-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
}

.service-list {
    list-style: none;
}

.service-list li {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--text-secondary);
    padding-left: var(--space-md);
    position: relative;
}

.service-list li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: var(--text-muted);
}

.service-cta {
    max-width: 600px;
    margin: 0 auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   Contacts Page
   ========================================================================== */
.contacts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.contact-card {
    padding: var(--space-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: border-color var(--duration-fast) ease;
}

.contact-card:hover {
    border-color: var(--text-accent);
}

.contact-card-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.contact-card-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.contact-card-label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.contact-link {
    color: var(--text-primary);
    text-decoration: none;
    transition: color var(--duration-fast) ease;
}

.contact-link:hover {
    color: var(--text-accent);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.section-cta {
    background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-deep) 100%);
}

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

.cta-title {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.cta-subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* ==========================================================================
   Forms
   ========================================================================== */
.contact-form {
    text-align: left;
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: all var(--duration-fast) ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--text-accent);
    background: var(--bg-elevated);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all var(--duration-fast) ease;
}

.btn-primary {
    width: 100%;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--text-primary);
}

.btn-primary:hover {
    background: var(--text-primary);
    color: var(--bg-deep);
}

.form-message {
    margin-top: var(--space-md);
    padding: var(--space-sm);
    text-align: center;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--text-accent);
    color: var(--text-accent);
}

.form-message.error {
    display: block;
    background: rgba(255, 100, 100, 0.1);
    border: 1px solid #ff6464;
    color: #ff6464;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    padding: var(--space-lg) 0;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Scroll reveal classes (add via JS) */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

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

/* ==========================================================================
   Mobile Menu Toggle
   ========================================================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: none;
    border: 1px solid var(--border-medium);
    cursor: pointer;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 3px 0;
    background: var(--text-primary);
    transition: all 0.3s var(--ease-out-expo);
    transform-origin: center;
}

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

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

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

/* ==========================================================================
   Responsive — Tablet (1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .slide-text {
        padding: var(--space-xl) var(--space-md);
    }
    
    .strengths-grid {
        grid-template-columns: 1fr;
    }
    
    .service-blocks {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .education-list {
        grid-template-columns: 1fr;
    }
    
    .about-header {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        position: static;
        max-width: 400px;
    }
    
    .hero-color .slide-text {
        max-width: 100%;
        padding: var(--space-xl) var(--space-md);
    }
}

/* ==========================================================================
   Responsive — Mobile (768px)
   ========================================================================== */
@media (max-width: 768px) {
    :root {
        --space-lg: 32px;
        --space-xl: 56px;
        --space-2xl: 80px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav {
        flex-direction: row;
        flex-wrap: wrap;
        position: relative;
    }

    .nav-list {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        padding: var(--space-md) 0;
        background: rgba(5, 5, 5, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }

    .nav-list.open {
        display: flex;
    }

    .nav-list li {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9375rem;
        opacity: 1;
        animation: none;
    }

    .nav-link::after {
        display: none;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--text-accent);
    }
    
    .hero {
        min-height: 500px;
        height: 70vh;
    }

    .hero-static {
        min-height: 400px;
        height: 50vh;
    }

    .slide-image img {
        object-position: left top;
    }

    .slide-text {
        padding: var(--space-lg) var(--space-md);
        padding-top: 100px;
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(1.75rem, 7vw, 2.5rem);
        margin-bottom: var(--space-sm);
    }

    .hero-subtitle {
        font-size: 0.75rem;
        letter-spacing: 0.15em;
    }

    .slide-text {
        left: 0;
        right: 0;
        max-width: 100%;
    }
    
    .slider-controls {
        right: var(--space-md);
        bottom: var(--space-lg);
    }
    
    .slider-btn {
        width: 44px;
        height: 44px;
        font-size: 1.25rem;
    }

    .slider-dots {
        bottom: var(--space-lg);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .section-subtitle {
        font-size: 1rem;
    }

    .lead-text {
        font-size: 1.0625rem;
    }

    .service-blocks {
        grid-template-columns: 1fr;
    }

    .service-block {
        padding: var(--space-md);
    }

    .service-cta {
        padding-top: var(--space-lg);
    }
    
    .stages-list::before {
        display: none;
    }
    
    .stage-item {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md) 0;
    }

    .stage-number {
        font-size: 2rem;
        min-width: auto;
    }
    
    .stage-number::after {
        display: none;
    }

    .stage-title {
        font-size: 1.25rem;
    }
    
    .contacts-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        padding: var(--space-md);
    }

    .experience-item {
        padding: var(--space-md) 0;
    }

    .experience-title {
        font-size: 1.125rem;
    }

    .education-item {
        padding: var(--space-md);
    }

    .education-degree {
        font-size: 1.125rem;
    }

    .strength-item {
        padding: var(--space-md);
    }

    .strength-title {
        font-size: 1.25rem;
    }

    .cta-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }

    .footer {
        padding: var(--space-md) 0;
    }

    .footer-text {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Responsive — Small phones (480px)
   ========================================================================== */
@media (max-width: 480px) {
    :root {
        --space-lg: 24px;
        --space-xl: 40px;
        --space-2xl: 56px;
    }

    .logo-link {
        height: 32px;
    }

    .hero {
        min-height: 420px;
        height: 60vh;
    }

    .hero-static {
        min-height: 320px;
        height: 45vh;
    }

    .slide-text {
        padding: var(--space-md) var(--space-sm);
        padding-top: 80px;
    }

    .hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2rem);
    }

    .hero-subtitle {
        font-size: 0.6875rem;
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .slider-controls {
        right: var(--space-sm);
        bottom: var(--space-md);
    }

    .slider-btn {
        width: 40px;
        height: 40px;
    }

    .contact-card-value {
        font-size: 1rem;
    }

    .service-block-title {
        font-size: 1.0625rem;
    }

    .service-list li {
        font-size: 0.875rem;
        line-height: 1.7;
    }

    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.8125rem;
    }

    .form-input,
    .form-textarea {
        padding: 12px var(--space-sm);
        font-size: 0.9375rem;
    }
}
