:root {
    /* Palette */
    --clr-main: #4e7188;       /* Утренний туман (Основной) */
    --clr-accent: #2150B0;     /* Колесница (Акцент) */
    --clr-support: #D06020;    /* Сила (Поддержка) */
    --clr-light-ac: #9295aa;   /* Светлый акцент */
    --clr-contrast: #7d6759;   /* Контрастный */
    --clr-dark-base: #303436;  /* Тёмная база */
    --clr-text: #c9cdcf;       /* Трансформация базы (Текст) */
    
    --clr-white: #ffffff;
    
    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Glassmorphism settings */
    --glass-bg: rgba(201, 205, 207, 0.03);
    --glass-border: rgba(201, 205, 207, 0.1);
    --glass-glow: rgba(33, 80, 176, 0.15); /* Accent glow */
    
    /* Spacing */
    --container-max: 1200px;
    --section-y: 100px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-dark-base);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    perspective: 1200px;
    transform-style: preserve-3d;
}

/* Animated Background Blobs */
.glow-bg {
    position: fixed;
    width: 80vmax;
    height: 80vmax;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(208, 96, 32, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    pointer-events: none;
    animation: float 25s infinite alternate ease-in-out;
}

.glow-bg-1 {
    top: -20vh;
    left: -10vw;
    background: radial-gradient(circle, rgba(208, 96, 32, 0.2) 0%, transparent 60%);
    animation-duration: 30s;
}

.glow-bg-2 {
    bottom: -30vh;
    right: -10vw;
    background: radial-gradient(circle, rgba(176, 33, 33, 0.15) 0%, transparent 60%);
    animation-duration: 35s;
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(10vw, 5vh) scale(1.1);
    }
    66% {
        transform: translate(-5vw, 15vh) scale(0.9);
    }
    100% {
        transform: translate(5vw, -10vh) scale(1);
    }
}

/* Hero Section Overlay Light Leak */
.hero::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(208, 96, 32, 0.05), transparent 70%);
    transform: translate(-50%, -50%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--clr-white);
    line-height: 1.2;
}

h1 { font-size: 4rem; font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: 2.5rem; font-weight: 800; }
h3 { font-size: 1.5rem; font-weight: 600; }

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title span {
    color: var(--clr-main);
}

.highlight {
    background: linear-gradient(135deg, var(--clr-accent) 0%, var(--clr-main) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--clr-light-ac);
    margin-top: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

/* Layout */
.container {
    width: 90%;
    max-width: var(--container-max);
    margin: 0 auto;
    transform-style: preserve-3d;
}

.section {
    padding: var(--section-y) 0;
}

/* Header */
.header {
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--clr-white);
    letter-spacing: 2px;
}

.logo span {
    color: var(--clr-accent);
}

/* Navigation Menu */
.nav {
    display: flex;
    gap: 1.5rem;
}

.nav-link {
    color: var(--clr-text);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link:hover, .nav-link.active {
    color: var(--clr-white);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--clr-accent);
    transition: width 0.3s ease;
}

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

/* Article & SEO Content Styles */
.article-section {
    padding: 120px 0 60px;
}

.article-content {
    max-width: 800px;
    margin: 0 auto;
}

.article-content h1 {
    margin-bottom: 2rem;
    font-size: 3rem;
}

.article-content h2 {
    margin: 2.5rem 0 1.5rem;
    font-size: 2rem;
}

.article-content p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content ul, .article-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.article-content li {
    margin-bottom: 0.5rem;
}

.seo-block {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

@media screen and (max-width: 768px) {
    .nav {
        display: none; /* Simple mobile hide for now, can be improved with a burger menu */
    }
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    color: var(--clr-accent);
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--clr-text);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* FAQ Section (Accordion) */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--clr-white);
    font-size: 1.2rem;
    font-weight: 600;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--clr-text);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 200px;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    padding: 1.5rem;
    background: rgba(48, 52, 54, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 4px solid var(--clr-accent); /* side-panel */
    color: var(--clr-white);
    border-radius: 12px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Lead Magnet Block */
.lead-magnet {
    background: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    padding: 4rem;
    border-radius: 24px;
    text-align: center;
    margin: 6rem 0;
    position: relative;
    overflow: hidden;
}

.lead-magnet::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.lead-magnet h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-white);
}

.lead-magnet p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255,255,255,0.9);
}

@media screen and (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .lead-magnet {
        padding: 2rem;
    }
}


/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    gap: 8px;
}

.btn-primary {
    background-color: var(--clr-accent);
    color: var(--clr-white);
    border: 1px solid transparent;
    box-shadow: 0 4px 15px rgba(33, 80, 176, 0.3);
}

.btn-primary:hover {
    background-color: #1e479c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(33, 80, 176, 0.5);
}

.btn-secondary {
    background-color: transparent;
    color: var(--clr-text);
    border: 1px solid var(--glass-border);
}

.btn-secondary:hover {
    background-color: var(--glass-bg);
    border-color: var(--clr-light-ac);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--clr-accent);
    color: var(--clr-white);
    padding: 0.6rem 1.4rem;
}

.btn-outline:hover {
    background-color: var(--clr-accent);
}

.btn-large {
    font-size: 1.3rem;
    padding: 1.3rem 3.5rem;
    background-color: var(--clr-support); /* #D06020 */
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(208, 96, 32, 0.4);
    border: none;
    color: var(--clr-white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn-large:hover {
    background-color: #bd551d;
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 20px 40px rgba(208, 96, 32, 0.6);
}

.btn-large:hover::before {
    width: 400px;
    height: 400px;
}

/* Glassmorphism Card System with 3D edges */
.glass-card {
    background: rgba(201, 205, 207, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 5px solid var(--clr-accent); /* side-panel effect */
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.glass-card:hover {
    background: rgba(201, 205, 207, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
    border-left-color: var(--clr-white);
    transform: translateY(-10px);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.2),
        0 20px 50px rgba(0, 0, 0, 0.4),
        0 0 15px rgba(33, 80, 176, 0.3);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
}

.hero-visual::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
    background: linear-gradient(45deg, var(--clr-accent) 0%, var(--clr-contrast) 100%);
    filter: blur(60px);
    opacity: 0.1;
    z-index: -1;
    border-radius: 50%;
}

.hero-card {
    position: relative;
    z-index: 1;
}

.hero-card:nth-child(2) {
    transform: translateX(-30px);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

/* About / Features Section */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    color: var(--clr-main);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 1rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--clr-white);
}

/* Case Cards */
.case-card {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-header {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clr-support);
    letter-spacing: 1px;
}

.case-card p {
    font-style: italic;
    font-size: 1.05rem;
    color: var(--clr-text);
    border-left: 2px solid var(--clr-accent);
    padding-left: 1rem;
}

.case-card h3 {
    margin: 0;
    font-size: 1.4rem;
}

/* Booking Section */
.booking {
    text-align: center;
    position: relative;
}

.booking-card {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
    border-color: rgba(208, 96, 32, 0.2); /* Support glow logic */
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, rgba(33, 80, 176, 0.05) 0%, rgba(208, 96, 32, 0.05) 100%);
}

.booking-content h2 {
    margin-bottom: 1rem;
}

.booking-content p {
    color: var(--clr-light-ac);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.price-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(78, 113, 136, 0.1);
    color: var(--clr-main);
    border: 1px solid var(--clr-main);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.micro-text {
    font-size: 0.8rem;
    margin-top: 1rem !important;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

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

.logo-small {
    font-size: 1.2rem;
}

/* Animations Layer */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media screen and (max-width: 992px) {
    h1 { font-size: 3rem; }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        align-items: center;
    }
    
    .hero-card:nth-child(2) {
        transform: translateX(0);
    }
    
    .subtitle {
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (max-width: 768px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 2rem; }
    .hero-actions {
        flex-direction: column;
    }
    .booking-card {
        padding: 2rem 1rem;
    }
    .btn-large {
        width: 100%;
    }
}
