/* Font Face Declarations */
@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-ExtraLight.woff2') format('woff2');
    font-weight: 200;
    font-style: normal;
    font-display: optional;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-ExtraBold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
    font-display: optional;
}
@font-face {
    font-family: 'FixelDisplay';
    src: url('../fonts/FixelDisplay-Font/FixelDisplay-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: optional;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Ensure no white background leaks */
html, body {
    background-color: #000000 !important;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
    background-color: #000000;
}

body {
    font-family: 'FixelDisplay', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Scroll margin for sections to prevent content hiding behind fixed header */
section {
    scroll-margin-top: 78px;
}

/* Prevent background scroll when mobile menu is open */
.no-scroll {
    overflow: hidden;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Unified container for header and main content */
/* All containers use the same padding for consistent alignment */

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn--primary {
    background: linear-gradient(135deg, #e4a8a8 0%, #e28f94 100%);
    color: #000000;
    font-weight: 600;
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 168, 168, 0.4);
}

.btn--secondary {
    background: transparent;
    color: #e4a8a8;
    border: 2px solid #e4a8a8;
    font-weight: 600;
}

.btn--secondary:hover {
    background: #e4a8a8;
    color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 168, 168, 0.4);
}

/* Ensure hero links with .btn look like buttons */
.hero__buttons a.btn {
    text-decoration: none;
    display: inline-block;
}

/* Override bootstrap .btn inside hero */
.hero__buttons .btn {
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
    line-height: 1.2 !important;
}

.hero__buttons .btn--primary {
    background: linear-gradient(135deg, #e4a8a8 0%, #e28f94 100%) !important;
    color: #000000 !important;
    border-color: transparent !important;
}

.hero__buttons .btn--secondary {
    background: transparent !important;
    color: #e4a8a8 !important;
    border: 2px solid #e4a8a8 !important;
}

.hero__buttons .btn--secondary:hover {
    background: #e4a8a8 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(228, 168, 168, 0.4);
}

/* Header */
.header {
    background: #000000;
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(228, 168, 168, 0.1);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible;
    margin: 0;
    padding: 0;
    height: 64px;
}

.header__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    gap: 1rem;
    flex-wrap: nowrap;
    min-height: 64px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    min-width: 120px;
}

.logo img {
    display: block;
    height: clamp(35px, 6vw, 60px);
    width: auto;
    min-height: 35px;
    max-height: 60px;
    object-fit: contain;
}

.logo h1 {
    color: #e4a8a8;
    margin: 0;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Navigation */
.nav {
    flex: 1;
    min-width: 0;
}

/* Ensure navigation doesn't overflow on desktop */
/* All buttons must be visible without scrolling */
@media (min-width: 992px) {
    #site-nav {
        overflow: hidden; /* Prevent scrolling, buttons must fit */
    }
    
    .nav {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
    }
    
    .nav__list {
        width: 100%;
        justify-content: flex-start;
    }
}

/* Calculate navigation start position for content alignment
   This will be calculated dynamically via JavaScript based on actual nav position
   Default fallback: 20px (container padding)
*/
:root {
    --header-padding: 20px;
    --nav-start-offset: 20px; /* Will be updated by JavaScript */
}

/* Apply navigation alignment to main content sections */
/* Exclude hero section as it should be full width */
.main > section:not(.hero) > .container,
.main > div:not(.hero) > .container {
    padding-left: var(--header-padding);
    padding-right: var(--header-padding);
}

/* Reset for mobile/tablet where menu layout is different */
@media (max-width: 991px) {
    .main > section:not(.hero) > .container,
    .main > div:not(.hero) > .container {
        padding-left: var(--header-padding);
        padding-right: var(--header-padding);
    }
}

.nav__list {
    display: flex;
    list-style: none;
    gap: clamp(0.5rem, 1.5vw, 1.5rem); /* Responsive gap */
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav__item {
    white-space: nowrap;
    flex-shrink: 1; /* Allow items to shrink if needed */
    flex-grow: 0;
    display: block; /* Ensure items are visible */
    visibility: visible;
    opacity: 1;
    min-width: 0; /* Allow text truncation if absolutely necessary */
}

.nav__link {
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: clamp(0.75rem, 1.2vw, 0.95rem); /* Responsive font size */
    transition: color 0.3s ease;
    white-space: nowrap;
    display: block;
    padding: 0.25rem clamp(0, 0.3vw, 0.5rem); /* Responsive horizontal padding */
}

.nav__link:hover {
    color: #e4a8a8;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
}

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

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

.mobile-menu-toggle--open span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Large Desktop - оптимизация для больших экранов */
@media (min-width: 1600px) {
    .nav__list {
        gap: 2rem;
    }
    
    .nav__link {
        font-size: 1rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Large Desktop - средний размер */
@media (max-width: 1599px) and (min-width: 1400px) {
    .nav__list {
        gap: clamp(1.2rem, 1.8vw, 1.8rem);
    }
    
    .nav__link {
        font-size: clamp(0.9rem, 1vw, 0.95rem);
        padding: 0.25rem 0.4rem;
    }
}

/* Desktop - стандартный */
@media (max-width: 1399px) and (min-width: 1200px) {
    .nav__list {
        gap: clamp(1rem, 1.3vw, 1.3rem);
    }
    
    .nav__link {
        font-size: clamp(0.85rem, 0.95vw, 0.9rem);
        padding: 0.25rem 0.35rem;
    }
}

/* Desktop - компактный */
@media (max-width: 1199px) and (min-width: 1100px) {
    .nav__list {
        gap: clamp(0.8rem, 1.1vw, 1.1rem);
    }
    
    .nav__link {
        font-size: clamp(0.8rem, 0.9vw, 0.85rem);
        padding: 0.25rem 0.3rem;
    }
}

/* Tablet Navigation - более агрессивное уменьшение */
@media (max-width: 1099px) and (min-width: 992px) {
    .nav__list {
        gap: clamp(0.5rem, 0.9vw, 0.9rem);
    }
    
    .nav__link {
        font-size: clamp(0.75rem, 0.85vw, 0.8rem);
        padding: 0.2rem 0.25rem;
    }
    
    .logo img {
        height: clamp(32px, 5vw, 50px);
    }
}

/* Small Tablet - скрываем навигацию, показываем гамбургер */
@media (max-width: 991px) and (min-width: 769px) {
    .logo {
        min-width: 110px;
    }
    
    .logo img {
        height: clamp(32px, 5vw, 48px);
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }
    
    .nav {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        height: calc(100svh - 64px);
        min-height: calc(100vh - 64px);
        overflow-y: auto;
        background: #1e1e1e;
        box-shadow: none;
        transform: translateY(-12px);
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        border-top: 0;
        z-index: 999;
        flex: none;
    }
    
    .nav--open {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-top: 1px solid #2d2d2d;
    }
    
    .nav__list {
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #2d2d2d;
        white-space: normal;
        font-size: 0.95rem;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    section {
        scroll-margin-top: 55px;
    }
    
    .header__content {
        padding: 0 16px;
        flex-wrap: nowrap;
        min-height: 64px;
    }
    
    .logo {
        min-width: 100px;
        flex-shrink: 0;
    }
    
    .logo img {
        height: clamp(30px, 6vw, 45px);
        min-height: 30px;
        max-height: 45px;
    }
    
    .nav {
        position: fixed;
        top: 64px; /* approximate header height */
        left: 0;
        right: 0;
        height: calc(100svh - 64px);
        min-height: calc(100vh - 64px);
        overflow-y: auto;
        background: #1e1e1e;
        box-shadow: none;
        transform: translateY(-12px);
        display: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
        border-top: 0;
        z-index: 999; /* under header (1000), above content */
        flex: none;
    }
    
    .nav--open {
        display: block;
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        border-top: 1px solid #2d2d2d;
    }
    
    .nav__list {
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        flex-wrap: nowrap;
        align-items: stretch;
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #2d2d2d;
        white-space: normal;
        font-size: 1rem;
    }
    
    .mobile-menu-toggle {
        display: flex;
        order: 3;
        margin-left: auto;
    }
}

/* Main Content */
.main {
    width: 100%;
    overflow-x: hidden;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
    background-color: #000000;
}

.hero__video-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero__video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: 2;
}

.hero__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 3;
    width: 85vw;
    max-width: 85vw;
    padding: 1.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.38);
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.hero__title {
    font-size: 4rem;
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 900;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: 2px;
}

.hero__subtitle {
    font-size: 1.8rem;
    color: #e4a8a8;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero__description {
    font-size: 1.4rem;
    color: #e6e6e6;
    margin-bottom: 1rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.hero__tagline {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero__content h1,
.hero__content p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.hero__buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__video-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 3;
}

.hero__prev-btn,
.hero__next-btn {
    background: rgba(228, 168, 168, 0.8);
    border: none;
    color: #000000;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero__prev-btn:hover,
.hero__next-btn:hover {
    background: #e4a8a8;
    transform: scale(1.1);
}

.hero__video-indicators {
    display: flex;
    gap: 1rem;
}

.hero__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero__indicator.active {
    background: #e4a8a8;
    transform: scale(1.2);
}

/* Section Styles */
.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section__description {
    color: #e6e6e6;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: clamp(1.5rem, 4vw, 2rem) 0 clamp(3rem, 6vw, 4rem) 0;
    background: #1e1e1e;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.about__content {
    max-width: min(1100px, 95%);
    margin: 0 auto;
    position: relative;
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2rem);
    width: 100%;
    box-sizing: border-box;
}

.about__wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: stretch;
    position: relative;
    border-radius: clamp(8px, 1.5vw, 12px);
    overflow: hidden;
    padding: 0 0 clamp(1rem, 2vw, 1.5rem) 0;
    width: 100%;
    box-sizing: border-box;
}

.about__text {
    text-align: left;
    position: relative;
    z-index: 2;
    padding: 0 clamp(1rem, 2vw, 1.25rem) clamp(1rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.25rem);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.about__image {
    display: flex;
    align-items: stretch;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: clamp(8px, 1.5vw, 12px);
    margin: 0 auto;
    box-sizing: border-box;
    /* Предотвращение выхода за границы */
    min-width: 0;
    flex-shrink: 1;
    height: 100%;
    min-height: 100%;
}

.about__image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: clamp(8px, 1.5vw, 12px);
    /* Адаптивное изображение - заполняет весь блок */
    box-sizing: border-box;
}

.about__intro {
    font-size: clamp(1rem, 2.5vw, 1.05rem);
    color: #e6e6e6;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
    line-height: clamp(1.6, 2vw, 1.7);
    position: relative;
    z-index: 2;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about__intro strong {
    color: #e4a8a8;
    font-weight: 700;
}

.about__problem {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #ffffff;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-weight: 600;
    position: relative;
    z-index: 2;
    overflow-wrap: break-word;
}

.about__problems {
    margin: clamp(1rem, 2.5vw, 1.5rem) 0;
    padding: clamp(1rem, 2.5vw, 1.25rem);
    background: rgba(45, 45, 45, 0.95);
    border-radius: clamp(8px, 1.5vw, 12px);
    border-left: clamp(3px, 0.5vw, 4px) solid #e4a8a8;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.problem__item {
    color: #e6e6e6;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: clamp(1.5, 2vw, 1.6);
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about__solution-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(1rem, 3vw, 2rem);
    align-items: flex-start;
    margin: clamp(1.5rem, 3vw, 2rem) 0;
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about__solution-text {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
}

.about__solution {
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    color: #e6e6e6;
    margin: 0;
    line-height: clamp(1.7, 2.5vw, 1.8);
    position: relative;
    z-index: 2;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about__solution strong {
    color: #e4a8a8;
    font-weight: 700;
}

.about__solution-image {
    flex-shrink: 0;
    width: 280px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
}

.about__solution-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    border-radius: 12px;
    display: block;
}

.about__mission {
    margin: clamp(2rem, 4vw, 3rem) 0;
    padding: clamp(1.5rem, 3vw, 2rem);
    background: rgba(30, 30, 30, 0.95);
    border-radius: clamp(8px, 1.5vw, 12px);
    border: clamp(1px, 0.3vw, 2px) solid #e4a8a8;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about__mission-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3vw, 2rem);
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.about__mission-text {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.about__mission-text h3 {
    color: #e4a8a8;
    margin-bottom: clamp(0.75rem, 2vw, 1rem);
    font-weight: 700;
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    overflow-wrap: break-word;
}

.about__mission-text p {
    color: #e6e6e6;
    font-size: clamp(1rem, 2.5vw, 1.1rem);
    line-height: clamp(1.7, 2.5vw, 1.8);
    margin: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.about__mission-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: clamp(6px, 1.2vw, 8px);
    box-sizing: border-box;
    /* Предотвращение выхода за границы */
    min-width: 0;
    flex-shrink: 1;
}

.about__mission-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: clamp(6px, 1.2vw, 8px);
    display: block;
    box-sizing: border-box;
    /* Адаптивное изображение - не ломает макет */
    aspect-ratio: 16/9;
}

.cat-philosophy .about__mission-image {
    background-color: #DFDCDD;
}

/* Адаптивные стили для кнопок табов */
@media (max-width: 991px) {
    .tabs__nav {
        gap: 0.75rem;
    }
    
    .tab__button {
        font-size: 0.95rem;
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 768px) {
    .tabs__nav {
        gap: 0.5rem;
    }
    
    .tab__button {
        font-size: 0.85rem;
        padding: 0.9rem 0.8rem;
    }
}

@media (max-width: 600px) {
    .tabs__nav {
        gap: 0.4rem;
    }
    
    .tab__button {
        font-size: 0.75rem;
        padding: 0.8rem 0.6rem;
        line-height: 1.3;
    }
}

/* Адаптивные стили для секции About */
/* Мобильные устройства (до 480px) */
@media (max-width: 480px) {
    .about__content {
        padding: clamp(1rem, 4vw, 1.5rem) clamp(0.75rem, 3vw, 1rem);
    }
    
    .about__wrapper {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
        align-items: stretch;
    }
    
    .about__text {
        padding: 0 clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2vw, 1.25rem) clamp(0.75rem, 2vw, 1rem);
        height: 100%;
    }
    
    .about__image {
        max-width: 100%;
        margin: 0 auto;
        height: 100%;
        min-height: 100%;
    }
    
    .about__image img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
    }
    
    .about__mission-image {
        order: -1;
        max-height: 250px;
    }
}

/* Мобильные устройства (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
    .about__content {
        padding: clamp(1.5rem, 4vw, 2rem) clamp(1rem, 3vw, 1.5rem);
    }
    
    .about__wrapper {
        grid-template-columns: 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
        align-items: stretch;
    }
    
    .about__text {
        padding: 0 clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 2vw, 1.5rem) clamp(1rem, 2vw, 1.25rem);
        height: 100%;
    }
    
    .about__image {
        max-width: min(420px, 100%);
        margin: 0 auto;
        height: 100%;
        min-height: 100%;
    }
    
    .about__image img {
        height: 100%;
        object-fit: cover;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr;
    }
    
    .about__mission-image {
        order: -1;
        max-height: 300px;
    }
}

/* Планшеты (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    .about__content {
        padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    }
    
    .about__wrapper {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: clamp(2rem, 3vw, 2.5rem);
        padding-bottom: clamp(2rem, 3vw, 3rem);
        align-items: stretch;
    }
    
    .about__text {
        padding: 0 clamp(1.25rem, 2vw, 1.5rem) clamp(1.5rem, 2vw, 2rem) 0;
        min-width: 0;
        height: 100%;
    }
    
    .about__image {
        max-width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 100%;
    }
    
    .about__image img {
        max-width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    
    .about__mission-image {
        max-height: 400px;
    }
}

/* Планшеты (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .about__content {
        padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
        max-width: min(1000px, 95%);
    }
    
    .about__wrapper {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
        gap: clamp(2rem, 3vw, 2.5rem);
        padding-bottom: clamp(2rem, 3vw, 3rem);
        align-items: stretch;
    }
    
    .about__text {
        padding: 0 clamp(1.25rem, 2vw, 1.5rem) clamp(1.5rem, 2vw, 2rem) 0;
        min-width: 0;
        height: 100%;
    }
    
    .about__image {
        max-width: 100%;
        min-width: 0;
        height: 100%;
        min-height: 100%;
    }
    
    .about__image img {
        height: 100%;
        object-fit: cover;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
}

/* Десктоп (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .about__content {
        padding: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
        max-width: min(1100px, 95%);
    }
    
    .about__wrapper {
        grid-template-columns: 1.15fr 0.85fr;
        gap: clamp(2.5rem, 4vw, 3rem);
        align-items: stretch;
    }
    
    .about__text {
        padding: 0 clamp(1.5rem, 2.5vw, 2rem) clamp(1.5rem, 2.5vw, 2rem) 0;
        min-width: 0;
        height: 100%;
    }
    
    .about__image {
        max-width: min(450px, 100%);
        min-width: 0;
        height: 100%;
        min-height: 100%;
    }
    
    .about__image img {
        height: 100%;
        object-fit: cover;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
}

/* Большие десктопы (1400px и выше) */
@media (min-width: 1400px) {
    .about__content {
        padding: clamp(2.5rem, 4vw, 3rem) clamp(2rem, 3vw, 2.5rem);
        max-width: min(1200px, 95%);
    }
    
    .about__wrapper {
        grid-template-columns: 1.2fr 0.8fr;
        gap: clamp(3rem, 4vw, 3.5rem);
        align-items: stretch;
    }
    
    .about__text {
        padding: 0 clamp(2rem, 3vw, 2.5rem) clamp(2rem, 3vw, 2.5rem) 0;
        min-width: 0;
        height: 100%;
    }
    
    .about__image {
        max-width: min(480px, 100%);
        min-width: 0;
        height: 100%;
        min-height: 100%;
    }
    
    .about__image img {
        height: 100%;
        object-fit: cover;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr 1fr;
        gap: clamp(2rem, 3vw, 2.5rem);
    }
}

@media (max-width: 991px) {
    .alina {
        padding: 1.75rem 0;
    }
    
    .alina .section__header {
        margin-bottom: 1.5rem;
    }
    
    .alina .section__title {
        font-size: 1.65rem;
    }
    
    .alina__content {
        padding: 0 15px;
    }
    
    .alina__main {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.75rem;
    }
    
    .alina__photo {
        max-width: 100%;
        margin: 0 auto;
        aspect-ratio: 4/5;
        max-width: 400px;
    }
    
    .alina__photo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .alina__intro {
        padding: 1.5rem;
    }
    
    .alina__intro-text {
        font-size: 1rem;
        line-height: 1.75;
        text-align: center;
    }
    
    .alina__achievements {
        margin: 1.5rem 0;
    }
    
    .alina__achievements .achievement__item {
        padding: 1.5rem;
    }
    
    .alina__achievements .achievement__item h4 {
        font-size: 1.2rem;
    }
    
    .alina__achievements .achievement__item ul {
        font-size: 0.95rem;
    }
    
    .alina__podcast {
        padding: 1.75rem;
        margin-top: 1.5rem;
    }
    
    .alina__podcast h3 {
        font-size: 1.4rem;
    }
    
    .alina__podcast p {
        font-size: 1rem;
    }
}

@media (min-width: 992px) and (max-width: 1169px) {
    .about__wrapper {
        gap: 2.5rem;
    }
    
    .about__solution-wrapper {
        width: 100%;
    }
}

/* Адаптивные стили для секции Місія */
@media (max-width: 767px) {
    .about__mission {
        padding: clamp(1rem, 3vw, 1.5rem);
        margin: clamp(1.5rem, 3vw, 2rem) 0;
    }
    
    .about__mission-content {
        grid-template-columns: 1fr;
        gap: clamp(1rem, 3vw, 1.5rem);
    }
    
    .about__mission-image {
        order: -1;
        max-height: clamp(250px, 40vw, 300px);
    }
    
    .about__mission-image img {
        max-height: 100%;
        object-fit: cover;
    }
    
    .about__mission-text h3 {
        font-size: clamp(1.15rem, 3vw, 1.3rem);
    }
    
    .about__mission-text p {
        font-size: clamp(0.95rem, 2.5vw, 1rem);
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .about__mission-content {
        grid-template-columns: 1fr;
        gap: clamp(1.25rem, 3vw, 1.5rem);
    }
    
    .about__mission-image {
        order: -1;
        max-height: clamp(350px, 50vw, 400px);
    }
    
    .about__mission-image img {
        max-height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .about__mission-content {
        grid-template-columns: 1fr 1fr;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
    
    .about__mission-text h3 {
        font-size: clamp(1.35rem, 2.5vw, 1.4rem);
    }
    
    .about__mission-text p {
        font-size: clamp(1rem, 2.5vw, 1.05rem);
    }
    
    .about__mission-image {
        max-height: 450px;
    }
}

.about__cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
    padding: 0 2rem 2rem;
}

.about__features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    background: #2d2d2d;
    transition: transform 0.3s ease;
    border: 1px solid #3a3a3a;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: #e4a8a8;
}

.feature__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h4 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: #e6e6e6;
    margin: 0;
}

/* Courses Section */
.courses .section__header {
    text-align: center;
}

#courses > div > div.section__header {
    line-height: 1.2;
}

#courses > div > div.section__header > * {
    margin-bottom: 0.3rem;
}

#courses > div > div.section__header > *:last-child {
    margin-bottom: 0;
}

.courses .section__description {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    max-width: 100%;
    text-align: center;
}

.courses .section__title {
    color: #e6e6e6;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 0;
    margin-top: 0.5rem;
    text-align: center;
}

.courses .section__subtitle {
    text-align: center;
}

.courses__video {
    margin: 0;
    padding: 4rem 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    background: #000000;
}

.courses__video .container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video__container {
    position: relative;
    width: 100%;
    max-width: 900px;
    padding-bottom: 56.25%; /* 16:9 соотношение */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

.video__container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
}

.courses {
    padding: 2rem 0 0 0;
    background: #000000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.section__subtitle {
    color: #e4a8a8;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 1rem;
}

.courses__tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs__nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 3rem;
    gap: 1rem;
    width: 100%;
}

.tab__button {
    background: #1e1e1e;
    border: 2px solid #2d2d2d;
    color: #e6e6e6;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.tab__button:hover {
    border-color: #e4a8a8;
    color: #e4a8a8;
}

.tab__button.active {
    background: #e4a8a8;
    color: #000000;
    border-color: #e4a8a8;
}

.tabs__content {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 3rem;
    border: 1px solid #2d2d2d;
}

.tab__panel {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.tab__panel.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.4s ease forwards;
}

.tab__panel.fade-out {
    opacity: 0;
    visibility: hidden;
    animation: fadeOut 0.3s ease forwards;
}

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

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

.course__info h3 {
    color: #e4a8a8;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.course__description {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.course__for {
    background: #2d2d2d;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
    color: #e6e6e6;
    font-size: 1.1rem;
    border-left: 4px solid #e4a8a8;
}

.course__for strong {
    color: #e4a8a8;
    font-weight: 700;
}

.course__cta {
    text-align: center;
    margin-top: 2rem;
}

/* Services Section */
.services {
    padding: 2rem 0 4rem 0;
    background: #000000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.service {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #2d2d2d;
}

.service:hover {
    transform: translateY(-5px);
    border-color: #e4a8a8;
}

.service h3 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service p {
    color: #e6e6e6;
    margin: 0;
}

/* Portfolio Section */
.portfolio {
    padding: 2rem 0 4rem 0;
    background: #1e1e1e;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio__item {
    background: #2d2d2d;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    border: 1px solid #3a3a3a;
}

.portfolio__item:hover {
    transform: translateY(-5px);
    border-color: #e4a8a8;
}

.portfolio__img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio__content {
    padding: 1.5rem;
}

.portfolio__content h3 {
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.portfolio__content p {
    color: #e6e6e6;
    margin: 0;
}

/* Pricing Section */
.pricing {
    padding: 2rem 0 4rem 0;
    background: #1e1e1e;
    width: 100%;
    max-width: 100%;
    overflow-x: visible;
    position: relative;
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* When pricing uses Owl Carousel, disable grid layout */
.pricing__grid.owl-carousel {
    display: block;
    padding-left: 50px;
    padding-right: 50px;
}

/* Ensure hovered cards are not clipped inside Owl viewport */
.pricing__grid .owl-stage-outer {
    overflow: visible;
    position: relative;
}

/* Make all carousel items the same height */
.pricing__grid.owl-carousel .owl-item {
    display: flex;
    align-items: stretch;
    height: auto;
}

.pricing__grid.owl-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

/* Owl nav styles for pricing carousel */
.pricing__grid .owl-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    padding: 0 20px;
}

.pricing__grid .owl-nav button {
    background: rgba(30, 30, 30, 0.9) !important;
    color: #e4a8a8 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0;
    vertical-align: middle;
    pointer-events: auto;
    border: 2px solid rgba(228, 168, 168, 0.3);
}

.pricing__grid .owl-nav .owl-prev {
    position: relative;
    left: -20px;
}

.pricing__grid .owl-nav .owl-next {
    position: relative;
    right: -20px;
}

.pricing__grid .owl-nav button:hover {
    color: #e28f94 !important;
    background: rgba(228, 168, 168, 0.2) !important;
    border-color: #e4a8a8;
    box-shadow: 0 4px 15px rgba(228, 168, 168, 0.4);
}

.pricing__grid .owl-nav .carousel-nav-icon,
.pricing__grid .owl-nav i,
.pricing__grid .owl-nav button span {
    color: inherit;
    font-size: 32px;
    line-height: 1;
    font-family: 'FixelDisplay', sans-serif;
    font-weight: 700;
    display: inline-block;
    vertical-align: middle;
}

.pricing__grid .owl-dots {
    display: none; /* we use nav arrows only */
}

.pricing__card {
    background: #2d2d2d;
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid #3a3a3a;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    flex: 1;
}

.pricing__card:hover {
    border-color: #e4a8a8;
    transform: none; /* no lift on hover */
}

.pricing__header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #3a3a3a;
}

.pricing__title {
    color: #e4a8a8;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.pricing__price {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing__duration {
    color: #e6e6e6;
    font-size: 1.1rem;
}

.pricing__features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature__item {
    color: #e6e6e6;
    font-size: 1rem;
    margin-bottom: 0.8rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.feature__item::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #e4a8a8;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
    display: inline-block;
}

/* Ensure pink dots for second card (Level 2) */
.pricing__card:nth-child(2) .feature__item::before,
.pricing__grid .owl-item:nth-child(2) .feature__item::before {
    content: "";
    width: 8px;
    height: 8px;
    background: #e4a8a8 !important;
    border-radius: 50%;
    margin-right: 0.75rem;
    margin-top: 0.4rem;
    flex-shrink: 0;
    display: inline-block;
}

.pricing__cta {
    text-align: center;
    margin-top: auto;
}

.pricing__special {
    margin-top: 3rem;
    text-align: center;
}

.special__offer {
    background: linear-gradient(135deg, #e4a8a8 0%, #e28f94 100%);
    color: #000000;
    padding: 3rem;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
}

.special__offer h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.special__offer p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.special__offer .btn {
    background: #2d2d2d;
    color: #ffffff;
    border: 2px solid #2d2d2d;
    font-weight: 600;
    padding: 14px 32px;
    font-size: 1.1rem;
}

.special__offer .btn:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Адаптивные стили для pricing на мобильных устройствах */
@media (max-width: 768px) {
    .pricing__grid.owl-carousel {
        padding-left: 40px;
        padding-right: 40px;
    }
    
    .pricing__grid .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .pricing__grid .owl-nav .carousel-nav-icon,
    .pricing__grid .owl-nav i,
    .pricing__grid .owl-nav button span {
        font-size: 24px;
    }
    
    .pricing__grid .owl-nav .owl-prev {
        left: -10px;
    }
    
    .pricing__grid .owl-nav .owl-next {
        right: -10px;
    }
}

@media (max-width: 576px) {
    .pricing__grid.owl-carousel {
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .pricing__grid .owl-nav button {
        width: 35px;
        height: 35px;
    }
    
    .pricing__grid .owl-nav .carousel-nav-icon,
    .pricing__grid .owl-nav i,
    .pricing__grid .owl-nav button span {
        font-size: 20px;
    }
    
    .pricing__grid .owl-nav .owl-prev {
        left: -5px;
    }
    
    .pricing__grid .owl-nav .owl-next {
        right: -5px;
    }
}

@media (max-width: 480px) {
    .pricing__grid.owl-carousel {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Contact Section */
.contact {
    padding: 2rem 0 4rem 0;
    background: #e28f94;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: stretch; /* Make both blocks same height */
}

.contact__info {
    display: flex;
    flex-direction: column;
    padding: 2rem 0;
    box-sizing: border-box;
}

.contact__info h3 {
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.contact__item {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contact__item:last-child {
    margin-bottom: 0;
}

.contact__item strong {
    color: #000000;
    font-weight: 600;
}

.contact__item span {
    color: #1e1e1e;
}

/* Form Styles */
.contact__form {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
}

.contact__form-title {
    color: #000000;
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 1.5rem;
}

.form__group {
    margin-bottom: 1.5rem;
}

.form__group:last-of-type {
    margin-bottom: 2rem;
}

.contact__form .btn {
    margin-top: auto; /* Push button to bottom */
    width: 100%;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: #ffffff;
    color: #000000;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: #e4a8a8;
}

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

/* Contact Modal */
.contact-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    overflow-y: auto;
}

.contact-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 10001;
}

.contact-modal__content {
    position: relative;
    background: #1e1e1e;
    border-radius: 16px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 10002;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border: 1px solid #2d2d2d;
    animation: modalFadeIn 0.3s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.contact-modal__close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: #e6e6e6;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 10003;
}

.contact-modal__close:hover {
    background: #2d2d2d;
    color: #e4a8a8;
    transform: rotate(90deg);
}

.contact-modal__header {
    margin-bottom: 2rem;
    text-align: center;
}

.contact-modal__title {
    color: #e4a8a8;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-modal__subtitle {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-modal__form {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
}

.contact-modal__form .form__input,
.contact-modal__form .form__textarea {
    background: #1e1e1e;
    border-color: #3a3a3a;
    color: #e6e6e6;
}

.contact-modal__form .form__input:focus,
.contact-modal__form .form__textarea:focus {
    border-color: #e4a8a8;
    background: #1e1e1e;
}

.contact-modal__form .form__input::placeholder,
.contact-modal__form .form__textarea::placeholder {
    color: #888;
}

@media (max-width: 768px) {
    .contact-modal__content {
        padding: 2rem 1.5rem;
        width: 95%;
        max-height: 95vh;
    }
    
    .contact-modal__title {
        font-size: 1.5rem;
    }
    
    .contact-modal__close {
        top: 1rem;
        right: 1rem;
        font-size: 2rem;
    }
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 3rem 0 1rem;
    border-top: 1px solid #1e1e1e;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer__section h3 {
    color: #e4a8a8;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer__section p {
    color: #e6e6e6;
    margin-bottom: 0.5rem;
}

.footer__section ul {
    list-style: none;
}

.footer__section ul li {
    margin-bottom: 0.5rem;
}

.footer__section ul li a {
    color: #e6e6e6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer__section ul li a:hover {
    color: #e4a8a8;
}

.footer__bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #1e1e1e;
}

.footer__bottom p {
    color: #e6e6e6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
    }
    
    .container {
        padding: 0 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav {
        display: block;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero__title {
        font-size: 2.5rem;
    }

    .hero__buttons {
        justify-content: center;
    }

    /* .about__content стили для мобильных уже определены выше */
    
    .courses__video {
        margin: 0;
    }
    
    .video__container {
        max-width: 100%;
        padding-bottom: 56.25%;
    }
    
    .tabs__nav {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .tab__button {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
        word-break: break-word;
        hyphens: auto;
    }
    
    .alina {
        padding: 1.5rem 0;
    }
    
    .alina .section__header {
        margin-bottom: 1.25rem;
    }
    
    .alina .section__title {
        font-size: 1.5rem;
    }
    
    .alina__content {
        padding: 0 15px;
    }
    
    .alina__main {
        gap: 1.25rem;
        margin-bottom: 1.5rem;
    }
    
    .alina__photo {
        aspect-ratio: 4/5;
        max-width: 100%;
    }
    
    .alina__intro {
        padding: 1.25rem;
    }
    
    .alina__intro-text {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: center;
    }
    
    .alina__achievements {
        margin: 1.25rem 0;
    }
    
    .alina__achievements .achievement__grid {
        gap: 1.25rem;
    }
    
    .alina__achievements .achievement__item {
        padding: 1.25rem;
    }
    
    .alina__achievements .achievement__item h4 {
        font-size: 1.15rem;
        margin-bottom: 0.75rem;
    }
    
    .alina__achievements .achievement__item ul {
        font-size: 0.95rem;
    }
    
    .alina__podcast {
        padding: 1.5rem;
        margin-top: 1.25rem;
    }
    
    .alina__podcast h3 {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .alina__podcast p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .alina {
        padding: 1.25rem 0;
    }
    
    .alina .section__header {
        margin-bottom: 1rem;
    }
    
    .alina .section__title {
        font-size: 1.35rem;
    }
    
    .alina__content {
        padding: 0 10px;
    }
    
    .alina__main {
        gap: 1rem;
        margin-bottom: 1.25rem;
    }
    
    .alina__photo {
        aspect-ratio: 4/5;
        max-width: 100%;
    }
    
    .alina__intro {
        padding: 1.25rem;
    }
    
    .alina__intro-text {
        font-size: 0.9rem;
        line-height: 1.65;
        text-align: center;
    }
    
    .alina__achievements {
        margin: 1rem 0;
    }
    
    .alina__achievements .achievement__grid {
        gap: 1rem;
    }
    
    .alina__achievements .achievement__item {
        padding: 1rem;
    }
    
    .alina__achievements .achievement__item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .alina__achievements .achievement__item ul {
        font-size: 0.9rem;
    }
    
    .alina__podcast {
        padding: 1.25rem 1rem;
        margin-top: 1rem;
    }
    
    .alina__podcast h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
    }
    
    .alina__podcast p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero__title {
        font-size: 2rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero__content {
        padding: 1.1rem 1rem;
    }

    .section__title {
        font-size: 1.8rem;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.4rem; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.hero__content,
.hero__image {
    animation: fadeInUp 0.8s ease-out;
}

.hero__image {
    animation-delay: 0.2s;
}

/* Animation classes */
.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.feature.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.service {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.service.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.portfolio__item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.portfolio__item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Header scroll effect */
.header--scrolled {
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 2px 30px rgba(228, 168, 168, 0.2);
}

/* Alina Page Styles */
.alina {
    padding: 2.5rem 0;
    background: #000000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.alina__content {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Desktop layout: text overlay on photo, photo on right */
.alina__main {
    position: relative;
    margin-bottom: 2.5rem;
    min-height: 700px;
    height: auto;
    border-radius: 16px;
    overflow: hidden;
}

.alina__title {
    position: absolute;
    top: 0;
    left: 0;
    right: auto;
    transform: translateY(-100%);
    z-index: 3;
    padding: 0 clamp(0.75rem, 2vw, 2rem) clamp(1.5rem, 2.5vw, 2rem) clamp(0.75rem, 2vw, 2rem);
    font-size: clamp(1.5rem, 5vw, 3.5rem);
    font-family: 'FixelDisplay', sans-serif;
    color: #e4a8a8;
    margin: 0;
    font-weight: 700;
    letter-spacing: clamp(-0.3px, 0.1vw, -0.5px);
    line-height: 1.2;
    text-align: left;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    opacity: 0;
    will-change: transform, opacity;
    width: auto;
    max-width: 60%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
}

.alina__title.animate {
    transform: translateY(0);
    opacity: 1;
}

.alina__text-block {
    position: absolute;
    top: auto;
    left: 0;
    bottom: auto;
    z-index: 2;
    padding: clamp(0.5rem, 1.5vw, 1rem) clamp(0.75rem, 2vw, 1.5rem);
    margin: 0;
    margin-top: clamp(3rem, 8vw, 6rem);
    width: 60%;
    max-width: 60%;
    height: calc(100% - clamp(3rem, 8vw, 6rem));
    text-align: left;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.6) 50%, rgba(0, 0, 0, 0.4) 80%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.8s ease-out 0.3s, opacity 0.8s ease-out 0.3s;
    opacity: 0;
    will-change: transform, opacity;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.alina__text-block.animate {
    transform: translateX(0);
    opacity: 1;
}

.alina__subtitle {
    font-size: clamp(0.9rem, 2.2vw, 1.1rem);
    font-family: 'FixelDisplay', sans-serif;
    color: #ffffff;
    line-height: clamp(1.65, 2.3vw, 1.75);
    margin: 0;
    margin-bottom: clamp(0.75rem, 1.5vw, 1rem);
    padding: 0;
    font-weight: 400;
    text-align: left;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    flex-shrink: 0;
}

.alina__text-block > *:first-child {
    margin-top: 0;
    padding-top: 0;
}

.alina__text-block > *:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Блок с объединенной информацией (timeline + experience) */
.alina__info {
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
    padding: clamp(1rem, 3vw, 2rem);
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: clamp(1.5rem, 3vw, 2rem);
}

.alina__timeline,
.alina__experience {
    margin-top: clamp(1rem, 2.5vw, 1.5rem);
    color: #ffffff;
    font-family: 'FixelDisplay', sans-serif;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding: 0;
}

.alina__timeline {
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 0;
}

.alina__timeline p {
    margin: 0;
    font-size: clamp(0.85rem, 2vw, 0.95rem);
    line-height: clamp(1.55, 2.2vw, 1.65);
    color: #ffffff;
    padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.5rem, 1.5vw, 1rem);
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    flex: 1;
    display: flex;
    align-items: center;
}

.alina__timeline p strong {
    color: #e4a8a8;
    font-weight: 600;
}

.alina__experience p {
    margin: 0.75rem 0;
    font-size: 1rem;
    line-height: 1.7;
    color: #ffffff;
}

.alina__experience p strong {
    color: #e4a8a8;
    font-weight: 600;
}

.alina__experience ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    list-style: none;
}

.alina__experience ul li {
    margin: 0.5rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #ffffff;
    position: relative;
    padding-left: 1.5rem;
}

.alina__experience ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #e4a8a8;
    font-weight: bold;
}

/* Large screens (1400px+) */
@media (min-width: 1400px) {
    .alina__subtitle {
        font-size: 1.25rem;
        line-height: 1.9;
    }
    
    .alina__text-block {
        width: 60%;
        max-width: 60%;
        padding: clamp(1rem, 2vw, 1.5rem) clamp(1.25rem, 2.5vw, 1.5rem);
        margin-top: 7rem;
        height: calc(100% - 7rem);
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__title {
        max-width: 55%;
    }
    
    .alina__timeline {
        margin-top: clamp(1.5rem, 2.5vw, 1.75rem);
        padding: clamp(1rem, 2vw, 1.25rem) 0;
    }
    
    .alina__timeline p {
        margin: clamp(0.75rem, 1.5vw, 0.875rem) 0;
        font-size: clamp(1rem, 2.5vw, 1.05rem);
        line-height: clamp(1.6, 2vw, 1.65);
        padding: 0 clamp(1rem, 1.5vw, 1.25rem);
    }
    
    .alina__info {
        padding: clamp(2rem, 3vw, 2.5rem);
        margin: clamp(2rem, 3vw, 2.5rem) 0;
        gap: clamp(2rem, 3vw, 2.5rem);
    }
}

/* Small tablets and large phones (481px - 768px) */
@media (max-width: 768px) and (min-width: 481px) {
    .alina__subtitle {
        font-size: clamp(0.875rem, 2.5vw, 1rem);
        line-height: clamp(1.55, 2.5vw, 1.7);
        padding: 0;
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .alina__text-block {
        width: 70%;
        max-width: 70%;
        padding: clamp(0.625rem, 1.75vw, 0.875rem) clamp(0.75rem, 2vw, 1rem);
        margin-top: clamp(4rem, 7vw, 5rem);
        height: calc(100% - clamp(4rem, 7vw, 5rem));
    }
    
    .alina__title {
        font-size: clamp(1.5rem, 4.5vw, 2rem);
        padding: 0 clamp(0.625rem, 1.75vw, 1rem) clamp(1.25rem, 2.5vw, 1.5rem) clamp(0.625rem, 1.75vw, 1rem);
        max-width: 70%;
        line-height: 1.15;
        letter-spacing: -0.25px;
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__timeline {
        margin: 0;
        padding: 0;
    }
    
    .alina__timeline p {
        margin: 0;
        font-size: clamp(0.8rem, 2.2vw, 0.9rem);
        line-height: clamp(1.45, 2.2vw, 1.55);
        padding: clamp(0.4rem, 1vw, 0.55rem) clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .alina__info {
        padding: clamp(1rem, 2.5vw, 1.5rem);
        margin: clamp(1.5rem, 3vw, 2rem) 0;
        gap: clamp(1.25rem, 2.5vw, 1.5rem);
    }
}

/* Small phones (up to 480px) */
@media (max-width: 480px) {
    .alina__subtitle {
        font-size: clamp(0.8rem, 2.5vw, 0.9rem);
        line-height: clamp(1.5, 2.5vw, 1.6);
        padding: 0;
        margin-bottom: clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .alina__text-block {
        width: 95%;
        max-width: 95%;
        padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.5rem, 1.5vw, 0.75rem);
        margin-top: clamp(3rem, 8vw, 4rem);
        height: calc(100% - clamp(3rem, 8vw, 4rem));
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__title {
        font-size: clamp(1.25rem, 4vw, 1.5rem);
        padding: 0 clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 2vw, 1.25rem) clamp(0.5rem, 1.5vw, 0.75rem);
        max-width: 95%;
        line-height: 1.1;
        letter-spacing: -0.2px;
    }
    
    .alina__timeline {
        margin: 0;
        padding: 0;
    }
    
    .alina__timeline p {
        margin: 0;
        font-size: clamp(0.7rem, 2vw, 0.8rem);
        line-height: clamp(1.4, 2.2vw, 1.5);
        padding: clamp(0.3rem, 0.9vw, 0.5rem) clamp(0.25rem, 0.75vw, 0.5rem);
    }
    
    .alina__info {
        padding: clamp(0.75rem, 2vw, 1rem);
        margin: clamp(1.5rem, 3vw, 2rem) 0;
        gap: clamp(1rem, 2.5vw, 1.5rem);
    }
}

/* Планшеты (769px - 991px) */
@media (max-width: 991px) and (min-width: 769px) {
    .alina__title {
        font-size: clamp(2.5rem, 4vw, 3rem);
        padding: 0 clamp(1.25rem, 2vw, 1.5rem) clamp(2rem, 3vw, 2.5rem) clamp(1.25rem, 2vw, 1.5rem);
        max-width: 60%;
    }
    
    .alina__subtitle {
        font-size: clamp(1.1rem, 2.5vw, 1.2rem);
        line-height: clamp(1.75, 2.5vw, 1.85);
    }
    
    .alina__text-block {
        padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 2.5vw, 1.5rem);
        width: 60%;
        max-width: 60%;
        margin-top: 6rem;
        height: calc(100% - 6rem);
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__timeline {
        margin: 0;
        padding: 0;
    }
    
    .alina__timeline p {
        margin: 0;
        font-size: clamp(0.9rem, 2.3vw, 0.98rem);
        line-height: clamp(1.55, 2.2vw, 1.65);
        padding: clamp(0.5rem, 1.2vw, 0.65rem) clamp(0.875rem, 1.75vw, 1.125rem);
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__info {
        padding: clamp(1.5rem, 3vw, 2rem);
        margin: clamp(2rem, 3vw, 2.5rem) 0;
        gap: clamp(1.5rem, 3vw, 2rem);
    }
}

/* Планшеты (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .alina__text-block {
        padding: clamp(0.875rem, 2vw, 1rem) clamp(1.125rem, 2.5vw, 1.5rem);
        width: 60%;
        max-width: 60%;
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__timeline {
        margin-top: clamp(1.25rem, 2.5vw, 1.5rem);
        padding: clamp(0.875rem, 1.5vw, 1rem) 0;
    }
    
    .alina__timeline p {
        margin: clamp(0.625rem, 1.5vw, 0.75rem) 0;
        font-size: clamp(0.975rem, 2.5vw, 1rem);
        line-height: clamp(1.55, 2vw, 1.6);
        padding: 0 clamp(0.875rem, 1.5vw, 1rem);
    }
}

/* Десктоп (1200px - 1399px) */
@media (min-width: 1200px) and (max-width: 1399px) {
    .alina__text-block {
        padding: clamp(1rem, 2vw, 1.25rem) clamp(1.25rem, 2.5vw, 1.5rem);
        width: 60%;
        max-width: 60%;
    }
    
    .alina__photo {
        width: 40%;
    }
    
    .alina__timeline {
        margin-top: clamp(1.375rem, 2.5vw, 1.5rem);
        padding: clamp(0.875rem, 1.5vw, 1rem) 0;
    }
    
    .alina__timeline p {
        margin: clamp(0.625rem, 1.5vw, 0.75rem) 0;
        font-size: clamp(0.975rem, 2.5vw, 1rem);
        line-height: clamp(1.55, 2vw, 1.6);
        padding: 0 clamp(1rem, 1.5vw, 1.125rem);
    }
}

.alina__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.alina__buttons .btn--primary {
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
}

.alina__buttons .btn--primary:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    color: #ffffff;
}

.alina__buttons .btn--secondary {
    background: transparent;
    color: #e4a8a8;
    border: 2px solid #e4a8a8;
}

.alina__buttons .btn--secondary:hover {
    background: rgba(228, 168, 168, 0.1);
    border-color: #e4a8a8;
    color: #e4a8a8;
}

/* Удалено - заменено на новые медиа-запросы выше */

.alina__photo {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    min-height: 700px;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    background: transparent;
    box-shadow: none;
    z-index: 1;
}

.alina__photo::before {
    display: none;
}

.alina__photo:hover {
    transform: none;
    box-shadow: none;
}

.alina__photo img {
    width: 100%;
    height: 100%;
    min-height: 700px;
    display: block;
    border-radius: 0 16px 16px 0;
    object-fit: cover;
}

.alina__photo:hover img {
    transform: none;
}


.timeline__title,
.education__title,
.achievements__title,
.international__title,
.podcast__title {
    color: #e4a8a8;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.timeline__items {
    margin-bottom: 3rem;
}

.timeline__item {
    display: flex;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 12px;
    border-left: 4px solid #e4a8a8;
    flex-wrap: wrap;
}

.timeline__year {
    font-weight: 700;
    color: #e4a8a8;
    min-width: 200px;
    font-size: 1.1rem;
}

.timeline__content {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.education__items {
    margin-bottom: 3rem;
}

.education__item {
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 12px;
    margin-bottom: 1rem;
    color: #e6e6e6;
    font-size: 1.1rem;
    border-left: 4px solid #e4a8a8;
}

.education__item strong {
    color: #e4a8a8;
    font-weight: 700;
}

.achievements__list,
.international__list {
    margin-bottom: 3rem;
}

.achievement__item,
.international__item {
    display: flex;
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 12px;
    margin-bottom: 1rem;
    border-left: 4px solid #e4a8a8;
}

.achievement__place,
.international__place {
    font-weight: 700;
    color: #e4a8a8;
    min-width: 120px;
    font-size: 1.1rem;
}

.achievement__cert {
    font-weight: 700;
    color: #e4a8a8;
    min-width: 200px;
    font-size: 1.1rem;
}

.achievement__event,
.international__event {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.6;
}

.podcast,
.alina__podcast {
    text-align: center;
    padding: 2rem;
    background: #1e1e1e;
    border-radius: 12px;
    border: 2px solid #e4a8a8;
}

.podcast__description {
    font-size: 1.2rem;
    color: #e6e6e6;
    margin-bottom: 2rem;
}

.podcast__cta {
    margin-top: 2rem;
}

.alina__podcast {
    margin: 2rem auto 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #1e1e1e 0%, #252525 100%);
    border-radius: 16px;
    border: 2px solid #e4a8a8;
    text-align: center;
    box-shadow: 0 4px 20px rgba(228, 168, 168, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.8s ease-out;
    position: relative;
    overflow: hidden;
    max-width: 800px;
    opacity: 0;
}

.alina__podcast.animate {
    opacity: 1;
}

.alina__podcast::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #e4a8a8, transparent);
    opacity: 0.5;
}

.alina__podcast:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(228, 168, 168, 0.25);
    border-color: #e4a8a8;
}

.alina__podcast h3 {
    color: #e4a8a8;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.alina__podcast h3::before {
    content: '🎙️';
    font-size: 1.5rem;
}

.alina__podcast p {
    color: #e6e6e6;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.alina__podcast .podcast__cta {
    margin-top: 0;
}

/* Breed Faculty Styles */
.breed-faculty {
    padding: 2rem 0 4rem 0;
    background: #000000;
}

#breed-faculty > div > div.section__header {
    line-height: 1.2;
}

#breed-faculty > div > div.section__header > * {
    margin-bottom: 0.3rem;
}

#breed-faculty > div > div.section__header > *:last-child {
    margin-bottom: 0;
}

#breed-faculty > div > div.faculty__intro {
    line-height: 1.3;
}

#breed-faculty > div > div.faculty__intro > * {
    margin-bottom: 0.5rem;
}

#breed-faculty > div > div.faculty__intro > *:last-child {
    margin-bottom: 0;
}

.faculty__intro {
    max-width: 1000px;
    margin: 0 auto 4rem;
    text-align: center;
}

.faculty__subtitle {
    color: #e4a8a8;
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
}

.faculty__text {
    color: #e6e6e6;
    font-size: 1.2rem;
    line-height: 1.8;
}

.faculty__text p {
    margin-bottom: 1.5rem;
}

.faculty__highlight {
    color: #e4a8a8;
    font-weight: 600;
    font-size: 1.3rem;
    margin-top: 2rem;
}

.modules__tabs {
    max-width: 1200px;
    margin: 0 auto;
}

/* Readability for long module texts */
.modules__tabs .module__info {
    color: #e6e6e6;
    font-size: 1.05rem;
    line-height: 1.85;
}

.modules__tabs .module__info h4 {
    color: #e4a8a8;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.modules__tabs .module__info h5 {
    color: #e4a8a8;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 1.25rem 0 0.75rem;
}

.modules__tabs .module__info p {
    margin-bottom: 0.9rem;
}

.modules__tabs .module__info ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.modules__tabs .module__info li {
    margin-bottom: 0.5rem;
}

@media (max-width: 768px) {
    .modules__tabs .module__info {
        font-size: 1rem;
        line-height: 1.8;
    }
    .modules__tabs .module__info h4 {
        font-size: 1.4rem;
    }
    .modules__tabs .module__info h5 {
        font-size: 1.1rem;
    }
    .tabs__content {
        padding: 2rem;
    }
    
    .cat-philosophy__list {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    .cat-philosophy__list li {
        font-size: 1rem;
        line-height: 1.6;
    }
}

.module__header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e4a8a8;
}

.module__title {
    color: #e4a8a8;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.module__instructor {
    color: #e6e6e6;
    font-size: 1.1rem;
    margin: 0;
}

.module__instructor strong {
    color: #e4a8a8;
    font-weight: 700;
}

.module__description {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 8px;
    border-left: 4px solid #e4a8a8;
}

.module__idea {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 0;
}

.module__idea strong {
    color: #e4a8a8;
    font-weight: 700;
}

.module__program h4 {
    color: #e4a8a8;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.program__items {
    margin-bottom: 2rem;
}

.program__item {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #1e1e1e;
    border-radius: 8px;
    border-left: 4px solid #e4a8a8;
}

.program__item h5 {
    color: #e4a8a8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.program__item ul {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.5rem;
}

.program__item li {
    margin-bottom: 0.5rem;
}

.module__for {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.module__for h4 {
    color: #e4a8a8;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.module__for ul {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.5rem;
}

.module__for li {
    margin-bottom: 0.5rem;
}

.module__special {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 8px;
    border: 2px solid #e4a8a8;
    margin-top: 2rem;
}

.module__special h4 {
    color: #e4a8a8;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.module__special p {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.module__special strong {
    color: #e4a8a8;
    font-weight: 700;
}

/* Additional Sections Styles */
.alina__achievements {
    margin: 2rem auto;
    max-width: 1000px;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

.alina__achievements.animate {
    transform: translateY(0);
    opacity: 1;
}

.alina__achievements-tabs {
    max-width: 100%;
    margin: 0 auto;
}

.alina__achievements-tabs .tabs__nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
    margin-bottom: 2rem;
    gap: 1rem;
    width: 100%;
}

.alina__achievements-tabs .tab__button {
    background: #1e1e1e;
    border: 2px solid #2d2d2d;
    color: #e6e6e6;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    min-width: 0;
    text-align: center;
    white-space: normal;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.4;
}

.alina__achievements-tabs .tab__button:hover {
    border-color: #e4a8a8;
    color: #e4a8a8;
}

.alina__achievements-tabs .tab__button.active {
    background: #e4a8a8;
    color: #000000;
    border-color: #e4a8a8;
}

.alina__achievements-tabs .tabs__content {
    background: #1e1e1e;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #2d2d2d;
}

.alina__achievements-tabs .tab__panel {
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.alina__achievements-tabs .tab__panel.active {
    display: block;
    opacity: 1;
    visibility: visible;
    animation: fadeIn 0.4s ease forwards;
}

.alina__achievements .achievement__item {
    padding: 0;
    background: transparent;
    border-radius: 0;
    border-left: none;
    box-shadow: none;
    transition: none;
    display: flex;
    flex-direction: column;
}

.alina__achievements .achievement__item:hover {
    transform: none;
    box-shadow: none;
}

/* Accordion styles */
.achievement__accordion-item {
    overflow: hidden;
}

.achievement__accordion-header {
    color: #e4a8a8;
    font-size: 1.3rem;
    margin: 0 0 0 0;
    padding: 0;
    font-weight: 700;
    letter-spacing: -0.3px;
    cursor: pointer;
    user-select: none;
    position: relative;
    padding-right: 2rem;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    width: 100%;
}

.achievement__accordion-header::before {
    content: '🏆';
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.achievement__accordion-header::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease, color 0.3s ease;
    color: #e4a8a8;
}

.achievement__accordion-item.active .achievement__accordion-header::after {
    transform: translateY(-50%) rotate(45deg);
}

.achievement__accordion-header:hover {
    color: #e28f94;
}

.achievement__accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.achievement__accordion-item.active .achievement__accordion-content {
    max-height: 1000px;
    padding-top: 1.25rem;
}

.alina__achievements .achievement__item ul {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.75;
    margin: 0;
    padding-left: 0;
    list-style: none;
    text-align: left;
    width: 100%;
}

.alina__achievements .achievement__item li {
    margin-bottom: 0.75rem;
    padding-left: 1.5rem;
    padding-right: 0;
    position: relative;
    transition: color 0.2s ease;
    text-align: left;
    display: block;
}

.alina__achievements .achievement__item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #e4a8a8;
    font-weight: 700;
    font-size: 1rem;
}

.alina__achievements .achievement__item li:hover {
    color: #ffffff;
}


@media (max-width: 991px) {
    .alina {
        padding: 2rem 0;
    }
    
    .alina__content {
        padding: 0 15px;
    }
    
    .alina__main {
        min-height: 600px;
    }
    
    .alina__title {
        font-size: 2.5rem;
        padding: 0 1.5rem 2rem 1.5rem;
    }
    
    .alina__text-block {
        padding: 0;
        max-width: 70%;
    }
    
    .alina__subtitle {
        font-size: 1.1rem;
        line-height: 1.75;
    }
    
    .alina__photo {
        width: 50%;
        min-height: 600px;
    }
    
    .alina__photo img {
        min-height: 600px;
    }
    
    .alina__achievements {
        margin: 1.5rem 0;
    }
    
    .alina__achievements-tabs .tabs__nav {
        gap: 0.75rem;
    }
    
    .alina__achievements-tabs .tab__button {
        font-size: 0.95rem;
        padding: 0.9rem 1.2rem;
    }
    
    .alina__achievements-tabs .tabs__content {
        padding: 1.5rem;
    }
    
    .alina__podcast {
        padding: 2rem;
        margin-top: 1.5rem;
    }
    
    .alina__podcast h3 {
        font-size: 1.5rem;
    }
    
    .alina__podcast p {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .achievement__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .achievement__item h4 {
        font-size: 1.2rem;
    }
    
    .achievement__item ul {
        font-size: 0.95rem;
    }
    
    .timeline__item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .timeline__year {
        min-width: auto;
        margin-bottom: 0.5rem;
    }
    
    .timeline__content {
        min-width: auto;
    }
    
    /* Alina section mobile styles - same layout as desktop */
    .alina__main {
        min-height: 500px;
    }
    
    .alina__title {
        font-size: 2rem;
        padding: 0 1rem 1.5rem 1rem;
    }
    
    .alina__text-block {
        padding: 0;
        max-width: 75%;
    }
    
    .alina__subtitle {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .alina__photo {
        width: 55%;
        min-height: 500px;
        border-radius: 0 16px 16px 0;
    }
    
    .alina__photo img {
        min-height: 500px;
        border-radius: 0 16px 16px 0;
    }
    
    .alina__achievements {
        margin: 1.25rem 0;
    }
    
    .alina__achievements-tabs .tabs__nav {
        gap: 0.5rem;
    }
    
    .alina__achievements-tabs .tab__button {
        font-size: 0.85rem;
        padding: 0.9rem 0.8rem;
    }
    
    .alina__achievements-tabs .tabs__content {
        padding: 1.25rem;
    }
    
    .alina__achievements .achievement__item ul {
        font-size: 0.95rem;
    }
    
    .alina__podcast {
        padding: 1.5rem;
        margin-top: 1.25rem;
    }
    
    .alina__podcast h3 {
        font-size: 1.4rem;
        margin-bottom: 0.75rem;
    }
    
    .alina__podcast p {
        font-size: 0.95rem;
        margin-bottom: 1.25rem;
    }
    
    .podcast__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .achievement__grid {
        gap: 1rem;
        margin: 1rem 0;
    }
    
    .achievement__item {
        padding: 1rem;
    }
    
    .achievement__item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .achievement__item ul {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
    
    .timeline__item {
        padding: 1rem;
    }
    
    .timeline__year {
        font-size: 1rem;
    }
    
    .timeline__content {
        font-size: 1rem;
    }
    
    .alina__achievements {
        margin: 1rem 0;
    }
    
    .alina__achievements-tabs .tabs__nav {
        gap: 0.4rem;
    }
    
    .alina__achievements-tabs .tab__button {
        font-size: 0.75rem;
        padding: 0.8rem 0.6rem;
        line-height: 1.3;
    }
    
    .alina__achievements-tabs .tabs__content {
        padding: 1rem;
    }
    
    .alina__achievements .achievement__item ul {
        font-size: 0.9rem;
        padding-left: 1.25rem;
    }
    
    .alina__podcast {
        padding: 1.25rem 1rem;
        margin-top: 1rem;
    }
    
    .alina__podcast h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .alina__podcast p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .podcast__title {
        font-size: 1.3rem;
    }
}

.achievement__item h4 {
    color: #e4a8a8;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.achievement__item ul {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.5rem;
}

.achievement__item li {
    margin-bottom: 0.5rem;
}

.modules__preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.module__preview {
    background: #2d2d2d;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #e4a8a8;
    transition: transform 0.3s ease;
}

.module__preview:hover {
    transform: translateY(-5px);
}

.module__preview h4 {
    color: #e4a8a8;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.module__preview p {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.faculty__cta {
    text-align: center;
    margin-top: 3rem;
}

/* Programs Section */
.programs {
    padding: 2rem 0 4rem 0;
    background: #000000;
}

.programs .section__header {
    text-align: center;
}

.programs .section__description {
    margin: 0 auto;
    text-align: center;
}

.programs .section__subtitle {
    margin: 0 auto;
    text-align: center;
}

.programs__tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.program__structure {
    margin-top: 2rem;
}

.program__phase {
    background: #1e1e1e;
    padding: 5px;
    padding-bottom: 10px;
    padding-left: 20px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #e4a8a8;
}

.program__phase h4 {
    color: #e4a8a8;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.program__phase p {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2px;
}

.program__phase ul {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 1.5rem;
}

.program__phase li {
    margin-bottom: 0.5rem;
}

.program__cta {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
}

.program__info h3 {
    color: #e4a8a8;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

/* Team Section */
.team {
    padding: 2rem 0 4rem 0;
    background: #1e1e1e;
}

.team__carousel {
    margin-top: 3rem;
    position: relative; /* for absolute nav positioning */
    padding-top: 0; /* centered nav, no top offset */
    padding-left: 50px; /* space for left nav button */
    padding-right: 50px; /* space for right nav button */
}

/* Increase carousel item size by 20% */
.team__carousel .owl-item {
    min-width: 0;
}

.team__carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.team__member {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1rem;
    pointer-events: auto;
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.member__photo {
    width: calc(100% - 2rem); /* Full width minus padding of parent (1rem each side = 2rem total) */
    max-width: calc(100% - 2rem); /* Ensure it doesn't exceed container */
    min-width: 150px; /* Minimum size */
    aspect-ratio: 1 / 1; /* Ensure perfect circle */
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #3a3a3a;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 1;
    display: block;
    margin: 0 auto; /* Center the photo */
    box-sizing: border-box; /* Include border in width calculation */
}

.member__photo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 50%, #000000 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.team__member:hover .member__photo {
    border-color: #e4a8a8;
}

.member__photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.member__name {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    color: #e4a8a8;
    font-size: 0.9rem;
    font-weight: 400;
    text-align: center;
    margin: 0;
    padding: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9), -1px -1px 2px rgba(0, 0, 0, 0.9);
    z-index: 3;
    width: 90%;
    box-sizing: border-box;
    white-space: nowrap;
    line-height: 1.3;
    letter-spacing: 0.05em;
}

.member__first-name {
    top: 75%;
    transform: translate(-50%, -50%);
}

.member__last-name {
    top: 83%;
    transform: translate(-50%, -50%);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    animation: fadeIn 0.3s ease;
}

.modal__content {
    position: relative;
    background-color: #2d2d2d;
    margin: 5% auto;
    padding: 0;
    width: 90%;
    max-width: 1200px;
    border-radius: 16px;
    overflow: hidden;
    animation: slideIn 0.3s ease;
    display: flex;
    min-height: 70vh;
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #e4a8a8;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
}

.modal__close:hover {
    color: #e28f94;
    transform: scale(1.1);
}

.modal__photo {
    flex: 0 0 40%;
    background: #1e1e1e;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal__photo img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 16px;
    object-fit: cover;
}

.modal__info {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal__info h3 {
    color: #e4a8a8;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.modal__role {
    color: #e6e6e6;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    background: #3a3a3a;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    display: inline-block;
    width: fit-content;
}

.modal__description {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.modal__details {
    color: #b3b3b3;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    font-style: italic;
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Owl Carousel Custom Styles */
.team__carousel .owl-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5; /* above slides */
    pointer-events: none; /* allow clicks only on buttons */
}

.team__carousel .owl-nav button {
    background: rgba(30, 30, 30, 0.8) !important;
    color: #e4a8a8 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0; /* hide default button text sizing */
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    pointer-events: auto; /* re-enable clicks on buttons */
    padding: 0;
    border: 2px solid rgba(228, 168, 168, 0.3);
}

.team__carousel .owl-nav button:hover {
    background: rgba(228, 168, 168, 0.2) !important;
    border-color: #e4a8a8;
    box-shadow: 0 4px 15px rgba(228, 168, 168, 0.4);
}


/* ensure icons are pink arrows without backgrounds */
.team__carousel .owl-nav .carousel-nav-icon,
.team__carousel .owl-nav i {
    color: inherit;
    font-size: 36px;
    line-height: 1;
    font-family: 'FixelDisplay', sans-serif;
    font-weight: 700;
    display: inline-block;
}

/* precise placement for left/right buttons */
.team__carousel .owl-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0; /* inside padding area */
    width: 50px;
    z-index: 20;
}

.team__carousel .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0; /* inside padding area */
    width: 50px;
    z-index: 20;
}

/* Tablet adjustments */
@media (max-width: 992px) and (min-width: 769px) {
    .member__photo {
        width: calc(100% - 2rem); /* Full width minus padding */
        max-width: calc(100% - 2rem);
        min-width: 160px;
    }
}

/* mobile adjustments for top nav */
@media (max-width: 768px) {
    .team__carousel { 
        padding-top: 0;
        padding-left: 40px;
        padding-right: 40px;
    }
    .team__carousel .owl-nav button { width: auto; height: auto; }
    .team__carousel .owl-nav .carousel-nav-icon,
    .team__carousel .owl-nav i { font-size: 28px; }
    .team__carousel .owl-prev {
        left: -10px;
    }
    .team__carousel .owl-next {
        right: -10px;
    }
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .member__photo {
        width: calc(100% - 2rem); /* Full width minus padding */
        max-width: calc(100% - 2rem);
        min-width: 140px;
    }
    
    .member__name {
        font-size: 1rem;
    }
    
    .modal__content {
        width: 95%;
        margin: 10% auto;
        flex-direction: column;
    }
    
    .modal__photo {
        flex: none;
        padding: 1rem;
    }
    
    .modal__photo img {
        max-width: 200px;
    }
    
    .modal__info {
        padding: 2rem;
    }
    
    .modal__info h3 {
        font-size: 1.8rem;
    }
    
    .modal__role {
        font-size: 1rem;
        padding: 0.6rem 1.2rem;
    }
    
    .modal__description {
        font-size: 1rem;
    }
    
    .modal__details {
        font-size: 0.9rem;
    }
    
    .modal__close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
}

/* FAQ Section */
.faq {
    padding: 2rem 0 4rem 0;
    background: #000000;
}

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

.faq__item {
    background: #1e1e1e;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #2d2d2d;
}

.faq__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq__question:hover {
    background: #2d2d2d;
}

.faq__icon {
    font-size: 1.5rem;
    color: #e4a8a8;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item.active .faq__icon {
    transform: rotate(45deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.7s ease-in-out 0.1s,
                transform 0.7s ease-in-out 0.1s;
}

.faq__item.active .faq__answer {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
}

.faq__answer p,
.faq__answer ul {
    padding: 0 1.5rem 1.5rem;
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.faq__answer ul {
    padding-left: 3rem;
}

.faq__answer li {
    margin-bottom: 0.5rem;
}

/* Testimonials Section */
.testimonials {
    padding: 2rem 0 4rem 0;
    background: #1e1e1e;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.testimonials__accordion {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.testimonial__item {
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid #3a3a3a;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.testimonial__item.active {
    border-color: #e4a8a8;
}

.testimonial__header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: background-color 0.3s ease;
}

.testimonial__header:hover {
    background-color: #353535;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.testimonial__avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid #e4a8a8;
}

.testimonial__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.testimonial__info {
    flex-shrink: 0;
}

.testimonial__name {
    color: #e4a8a8;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.testimonial__role {
    color: #b3b3b3;
    font-size: 0.9rem;
}

.testimonial__preview {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.testimonial__preview-text {
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.testimonial__toggle-icon {
    color: #e4a8a8;
    font-size: 1.2rem;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.testimonial__item.active .testimonial__toggle-icon {
    transform: rotate(180deg);
}

.testimonial__content {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.7s ease-in-out 0.1s,
                transform 0.7s ease-in-out 0.1s,
                padding 0.4s ease;
    padding: 0 1.5rem;
}

.testimonial__item.active .testimonial__content {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.testimonial__text {
    color: #e6e6e6;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    font-style: italic;
    padding-top: 1rem;
    border-top: 1px solid #3a3a3a;
}

@media (max-width: 768px) {
    .testimonials__accordion {
        gap: 0.75rem;
    }
    
    .testimonial__header {
        padding: 1.25rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .testimonial__preview {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .testimonial__preview-text {
        font-size: 0.95rem;
    }
    
    .testimonial__content {
        padding: 0 1.25rem;
    }
    
    .testimonial__item.active .testimonial__content {
        padding: 0 1.25rem 1.25rem 1.25rem;
    }
    
    .testimonial__text {
        font-size: 1rem;
    }
}

/* Partners Section */
.partners {
    padding: 2rem 0 4rem 0;
    background: #000000;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.partners .section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners .section__title {
    color: #ffffff;
}

.partners .section__description {
    color: #e6e6e6;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.partners__content {
    max-width: 1200px;
    margin: 0 auto;
}

.partners__card {
    background: #2d2d2d;
    padding: 2.5rem;
    border-radius: 12px;
    border-left: 4px solid #e4a8a8;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 3rem;
}

.partners__card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
}

.partners__text {
    text-align: left;
}

.partners__text p {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.partners__text p:last-of-type {
    margin-bottom: 0;
}

.partners__text ul {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.8;
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.partners__text li {
    margin-bottom: 0.5rem;
}

.partners__text li:last-child {
    margin-bottom: 0;
}

.partners__logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.partner__logo {
    background: #1e1e1e;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    color: #e6e6e6;
    font-size: 1rem;
    border: 2px solid #2d2d2d;
    transition: all 0.3s ease;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.partner__logo picture {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner__logo picture img {
    max-width: 100%;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.partner__logo:hover {
    border-color: #e4a8a8;
    color: #e4a8a8;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(228, 168, 168, 0.2);
}

.partner__logo:hover picture img {
    filter: brightness(1.1);
}

/* Адаптивные стили для логотипов партнеров */
@media (max-width: 991px) {
    .partners__logos {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1.5rem;
    }
    
    .partner__logo {
        padding: 1.25rem;
        min-height: 100px;
    }
    
    .partner__logo picture img {
        max-height: 90px;
    }
}

@media (max-width: 768px) {
    .partners__logos {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.25rem;
    }
    
    .partners__card {
        padding: 1.75rem;
    }
    
    .partner__logo {
        padding: 1rem;
        min-height: 90px;
    }
    
    .partner__logo picture img {
        max-height: 80px;
    }
}

@media (max-width: 480px) {
    .partners__logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .partners__card {
        padding: 1.5rem;
    }
    
    .partner__logo {
        padding: 0.75rem;
        min-height: 80px;
    }
    
    .partner__logo picture img {
        max-height: 70px;
    }
}

/* Community Section */
.community {
    padding: 2rem 0 4rem 0;
    background: #000000;
}

.community .section__header > p:nth-child(2) {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.community__wrapper {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 60px;
}

@media (max-width: 768px) {
    .community__wrapper {
        padding: 0 50px;
    }
}

@media (max-width: 576px) {
    .community__wrapper {
        padding: 0 40px;
    }
}

@media (max-width: 480px) {
    .community__wrapper {
        padding: 0 30px;
    }
}

.community__photos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    padding: 2rem 0;
}

/* When community uses Owl Carousel, disable flex layout */
.community__photos.owl-carousel {
    display: block;
    flex-wrap: nowrap;
    gap: 0;
}

.community__photo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community__photos.owl-carousel .owl-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px; /* Add horizontal padding for spacing between photos */
    box-sizing: border-box;
}

.community__photos.owl-carousel .community__photo-item {
    width: 100%;
    padding: 0;
}

.community__photo-item img {
    width: 281px;
    height: 281px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 3px solid #3a3a3a;
    display: block;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.community__photo-item img:hover {
    border-color: #e4a8a8;
    box-shadow: 0 4px 15px rgba(228, 168, 168, 0.5);
}

/* Owl Carousel navigation styles for community */
.community__photos .owl-nav {
    position: absolute;
    top: 50%;
    left: -50px;
    right: -50px;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
    z-index: 10;
    padding: 0;
    width: calc(100% + 100px);
}

.community__photos .owl-nav button {
    background: rgba(30, 30, 30, 0.9) !important;
    color: #e4a8a8 !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 0;
    pointer-events: auto;
    border: 2px solid rgba(228, 168, 168, 0.3);
    position: relative;
}

.community__photos .owl-nav .owl-prev {
    left: 0;
}

.community__photos .owl-nav .owl-next {
    right: 0;
}

.community__photos .owl-nav button:hover {
    background: rgba(228, 168, 168, 0.2) !important;
    border-color: #e4a8a8;
    box-shadow: 0 4px 15px rgba(228, 168, 168, 0.4);
    color: #e28f94 !important;
}

.community__photos .owl-nav .carousel-nav-icon,
.community__photos .owl-nav i,
.community__photos .owl-nav button span {
    color: inherit;
    font-size: 32px;
    line-height: 1;
    font-family: 'FixelDisplay', sans-serif;
    font-weight: 700;
    display: inline-block;
}

.community__photos .owl-dots {
    display: none;
}

.community__photos .owl-stage-outer {
    position: relative;
    overflow: visible;
    padding: 0;
}

/* Community Modal Styles */
.community-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    animation: fadeIn 0.3s ease;
    overflow: auto;
}

.community-modal__close {
    position: fixed;
    top: 30px;
    left: 30px;
    color: #e4a8a8;
    font-size: 60px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
    line-height: 1;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    border: 2px solid #e4a8a8;
}

.community-modal__close:hover {
    color: #ffffff;
    background: #e4a8a8;
    transform: scale(1.1) rotate(90deg);
}

.community-modal__img {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
    margin-top: 5vh;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(228, 168, 168, 0.3);
    animation: slideIn 0.4s ease;
}

.community__button {
    text-align: center;
    margin-top: 2rem;
}

.community__button .btn {
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #e4a8a8 0%, #e28f94 100%);
    color: #000000;
    border: 2px solid #e4a8a8;
    border-radius: 50px;
    transition: all 0.3s ease;
    display: inline-block;
}

.community__button .btn:hover {
    background: #000000;
    color: #e4a8a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(228, 168, 168, 0.5);
}

/* Адаптивные стили для комьюнити */
/* Большие планшеты и маленькие десктопы */
@media (max-width: 1200px) {
    .community__photos:not(.owl-carousel) {
        gap: 1.5rem;
    }
    
    .community__photo-item img {
        width: 259px;
        height: 259px;
        aspect-ratio: 1 / 1;
    }
}

/* Планшеты */
@media (max-width: 992px) {
    .community__photos:not(.owl-carousel) {
        gap: 1.5rem;
    }
    
    .community__photo-item img {
        width: 230px;
        height: 230px;
        aspect-ratio: 1 / 1;
    }
}

/* Средние планшеты и большие мобильные */
@media (max-width: 768px) {
    .community__photos:not(.owl-carousel) {
        gap: 1.2rem;
        padding: 1.5rem 0;
    }
    
    .community__photo-item img {
        width: 202px;
        height: 202px;
        aspect-ratio: 1 / 1;
        border-width: 2px;
    }
    
    .community__button .btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .community-modal__img {
        width: 92%;
        max-width: 900px;
    }
    
    .community__photos .owl-stage-outer {
        padding: 0;
    }
    
    .community__photos .owl-nav {
        left: -40px;
        right: -40px;
        width: calc(100% + 80px);
    }
    
    .community__photos .owl-nav button {
        width: 40px;
        height: 40px;
    }
    
    .community__photos .owl-nav .carousel-nav-icon,
    .community__photos .owl-nav i,
    .community__photos .owl-nav button span {
        font-size: 24px;
    }
}

/* Мобильные устройства */
@media (max-width: 576px) {
    .community__photos:not(.owl-carousel) {
        gap: 1rem;
        padding: 1rem 0;
    }
    
    .community__photo-item img {
        width: 173px;
        height: 173px;
        aspect-ratio: 1 / 1;
        border-width: 2px;
    }
    
    .community__button .btn {
        padding: 0.8rem 1.8rem;
        font-size: 0.9rem;
    }
    
    .community__photos .owl-stage-outer {
        padding: 0;
    }
    
    .community__photos .owl-nav {
        left: -30px;
        right: -30px;
        width: calc(100% + 60px);
        padding: 0 10px;
    }
    
    .community__photos .owl-nav button {
        width: 35px;
        height: 35px;
    }
    
    .community__photos .owl-nav .carousel-nav-icon,
    .community__photos .owl-nav i,
    .community__photos .owl-nav button span {
        font-size: 20px;
    }
}

/* Маленькие мобильные устройства */
@media (max-width: 480px) {
    .community__photos:not(.owl-carousel) {
        gap: 0.8rem;
        padding: 1rem 0;
    }
    
    .community__photo-item img {
        width: 144px;
        height: 144px;
        aspect-ratio: 1 / 1;
        border-width: 2px;
    }
    
    .community__button .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
    
    .community-modal__close {
        top: 15px;
        left: 15px;
        font-size: 35px;
        width: 45px;
        height: 45px;
    }
    
    .community-modal__img {
        width: 95%;
        margin-top: 8vh;
    }
}

/* Очень маленькие мобильные устройства */
@media (max-width: 360px) {
    .community__photos:not(.owl-carousel) {
        gap: 0.6rem;
        padding: 0.8rem 0;
    }
    
    .community__photo-item img {
        width: 122px;
        height: 122px;
        aspect-ratio: 1 / 1;
        border-width: 2px;
    }
    
    .community__button .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.8rem;
    }
}

/* Business Section */
/* Cat Philosophy Section */
.cat-philosophy {
    padding: 2rem 0 0 0;
    background: #1e1e1e;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.cat-philosophy .section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.cat-philosophy .section__description {
    color: #e6e6e6;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cat-philosophy__content {
    max-width: 1000px;
    margin: 0 auto;
}

.cat-philosophy__card {
    background: #1e1e1e;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #e4a8a8;
}

.cat-philosophy__wrapper {
    display: flex;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.cat-philosophy__left {
    flex: 1;
    min-width: 0;
}

.cat-philosophy__right {
    width: 500px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-philosophy__image {
    width: 500px;
    height: auto;
    display: block;
    border-radius: 8px;
    border: 0px solid #e4a8a8;
    padding: 0px;
    background: #1e1e1e;
    box-sizing: border-box;
    overflow: hidden;
}

.cat-philosophy__image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 3px;
    display: block;
}

.cat-philosophy__header {
    text-align: left;
    margin-bottom: 2rem;
}

.cat-philosophy__subtitle {
    color: #e4a8a8;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-align: left;
    line-height: 1.4;
    letter-spacing: 0.01em;
}

.cat-philosophy__list {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 0.015em;
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.cat-philosophy__list li {
    color: #e6e6e6;
    font-size: 1.1rem;
    line-height: 1.6;
    letter-spacing: 0.015em;
    margin-bottom: 0.6rem;
    padding-left: 0;
    position: relative;
}

.cat-philosophy__list li:last-child {
    margin-bottom: 0;
}

.cat-philosophy__list li.cat-philosophy__last-item {
    padding-left: 1.5em;
}

/* Десктоп (990px и больше) - горизонтальное отображение */
@media (min-width: 990px) {
    .cat-philosophy__wrapper {
        display: flex;
        flex-direction: row;
        gap: 2rem;
        align-items: center;
    }
    
    .cat-philosophy__left {
        flex: 1;
        min-width: 0;
    }
    
    .cat-philosophy__right {
        width: 500px;
        flex-shrink: 0;
    }
    
    .cat-philosophy__image {
        width: 500px;
        height: auto;
    }
    
    .cat-philosophy .about__mission-image {
        background-color: #DFDCDD;
    }
}

/* Мобильное (меньше 990px) - вертикальное отображение */
@media (max-width: 989px) {
    .cat-philosophy__card {
        padding: 1.5rem;
    }
    
    .cat-philosophy__wrapper {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
    }
    
    .cat-philosophy__left {
        width: 100%;
        order: 1;
    }
    
    .cat-philosophy__right {
        width: 100%;
        order: 2;
        margin: 0 auto;
    }
    
    .cat-philosophy__image {
        width: 100%;
        height: auto;
        max-height: 360px;
        margin: 0 auto;
    }
    
    .cat-philosophy__image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }
    
    .cat-philosophy__header {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .cat-philosophy__subtitle {
        font-size: 1.25rem;
        text-align: center;
    }
    
    .cat-philosophy .about__mission-image {
        max-height: 360px;
        height: auto;
        background-color: #DFDCDD;
    }
    
    .cat-philosophy .about__mission-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 360px;
    }
}

.business {
    padding: 2rem 0 4rem 0;
    background: #1e1e1e;
}

.business__text {
    max-width: 100%;
}

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

.business__item {
    background: #2d2d2d;
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    border: 1px solid #3a3a3a;
    transition: border-color 0.3s ease;
}

.business__item.active {
    border-color: #e4a8a8;
}

.business__question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.5rem;
    text-align: left;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.business__question:hover {
    background: #353535;
}

.business__icon {
    font-size: 1.5rem;
    color: #e4a8a8;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-left: 1rem;
}

.business__item.active .business__icon {
    transform: rotate(45deg);
}

.business__answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.8s cubic-bezier(0.4, 0, 0.2, 1), 
                opacity 0.7s ease-in-out 0.1s,
                transform 0.7s ease-in-out 0.1s;
}

.business__item.active .business__answer {
    max-height: 1000px;
    opacity: 1;
    transform: translateY(0);
}

.business__answer p,
.business__answer ul {
    padding: 0 1.5rem 1.5rem;
    color: #e6e6e6;
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

.business__answer ul {
    padding-left: 3rem;
}

.business__answer li {
    margin-bottom: 0.5rem;
}

.business__cta {
    text-align: center;
    margin-top: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }


