/* ============================================
   BASE STYLES - Базовые стили
   Переменные, сброс, типографика
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Colors */
    --color-primary: #1C2472;
    --color-primary-dark: #313EC3;
    --color-accent-orange: #CB542D;
    --color-accent-blue: #2E57CB;
    --color-accent-teal: #00687A;
    --color-accent-purple: #443E9E;
    --color-accent-gold: #998158;
    --color-accent-teal-light: #167585;
    --color-accent-teal-dark: #00687A;
    --color-accent-teal-dark-light: #00687A0D;

    --color-white: #FFFFFF;
    --color-black: #202020;
    --color-bg-light: #F8F7F3;
    --color-bg-white: #FFFFFF;
    --color-bg-cream: #FDFCFA;
    --color-bg-button-hover: #E3E2DE;
    --color-bg-white-light: rgba(255, 255, 255, 0.15);

    --color-text-dark: #000;
    --color-text: #202020;
    --color-text-hover: #20202074;
    --color-text-muted: rgba(32, 32, 32, 0.8);
    --color-text-light: rgba(32, 32, 32, 0.5);
    --color-text-white: #FFFFFF;
    --color-text-white-muted: #A8A8A8;
    --color-text-white-light: rgba(255, 255, 255, 0.7);

    --color-border: #D2D2D2;
    --color-border-light: rgba(32, 32, 32, 0.2);
    --color-border-white: rgba(255, 255, 255, 0.2);
;
    /* Typography */
    --font-heading: 'Forum', Georgia, serif;
    --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-secondary: '', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 40px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 20px;
    --content-max-width: 1920px;
    --content-padding-inline: clamp(15px, 2.5vw, 40px);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

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

main .container-fluid {
    max-width: var(--content-max-width);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--content-padding-inline) !important;
    padding-right: var(--content-padding-inline) !important;
}

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

a:hover {
    color: var(--color-primary);
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1rem;
}

.section-title {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--color-text);
    margin-bottom: 20px;
}

.section-title-left {
    font-size: clamp(36px, 5vw, 52px);
    color: var(--color-text);
    margin-bottom: 20px;
    line-height: 0.9;
}

.section-subtitle {
    font-family: var(--font-body);
    font-size: 18px;
    line-height: 1.3;
    color: var(--color-text-muted);
    letter-spacing: -0.02em;
    max-width: 825px;
    margin: 0 auto;
}

/* ============================================
   SECTION STYLES
   ============================================ */
section {
    padding: var(--section-padding);
}

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

.section-teal {
    background-color: var(--color-accent-teal-dark-light);
}
.section-header {
    margin-bottom: 60px;
}

.section-action {
    margin-top: 40px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-white {
    color: var(--color-white) !important;
}

.text-white-muted {
    color: var(--color-text-white-muted) !important;
}

.text-white-80 {
    color: var(--color-text-white-muted) !important;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    body {
        min-width: auto !important;
    }
    :root {
        --section-padding: 50px 0;
    }

    .section-header {
        text-align: left !important;
        margin-bottom: 30px;
    }

    .section-subtitle {
        margin: 0;
        font-size: 15px;
        line-height: 1.4;
    }

    .section-title {
        font-size: 28px;
        line-height: 1;
    }

    .section-title-left {
        font-size: 28px;
    }

    section {
        padding: 50px 0;
    }

    .section-header {
        margin-bottom: 25px;
    }
    .reviews-section{
        overflow-x: hidden !important;
    }
}

@media (max-width: 576px) {
    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .section-title {
        font-size: 24px;
    }

    .section-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 374px) {
    .container-fluid {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .section-title {
        font-size: 28px;
    }
}

