/* Variables */
:root {
    --red: #A01830;
    --red-dark: #8B1428;
    --dark: #1E2530;
    --dark-mid: #2D3440;
    --dark-light: #374151;
    --white: #FFFFFF;
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #3D4550;
    --text-light: #B0B8C4;
    --font: 'Inter', sans-serif;
    /* Единая ширина контентной колонки для всех секций */
    --page-max: 1440px;
    /* Боковое поле, которое добирается на экранах шире --page-max */
    --gutter: calc((100% - min(100%, var(--page-max))) / 2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    color: var(--dark);
    background: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.preloader-logo {
    width: 300px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1); }
}

.preloader-bar {
    width: 200px;
    height: 3px;
    background: var(--dark-light);
    border-radius: 2px;
    overflow: hidden;
}

.preloader-progress {
    height: 100%;
    width: 0%;
    background: var(--red);
    border-radius: 2px;
    transition: width 0.3s ease;
}


/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-svg {
    height: 65px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-svg {
    transform: scale(1.05);
}

/* Logo text white on transparent header */
.logo-title,
.logo-subtitle {
    fill: #FFFFFF;
    transition: fill 0.4s ease;
}

/* Logo text dark on scrolled header */
.header.scrolled .logo-title,
.header.scrolled .logo-subtitle {
    fill: #4b4b4a;
}

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

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.3s ease;
}

.header.scrolled .nav-link {
    color: var(--gray-700);
}

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

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

.nav-link:hover {
    color: var(--red);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-cta {
    background: var(--red);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-cta:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(160, 24, 48, 0.4);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn--primary {
    background: var(--red);
    color: var(--white);
}

.btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.5s ease;
}

.btn--primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160, 24, 48, 0.4);
}

.btn--primary:hover::before {
    left: 100%;
}

.btn--outline {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn--outline:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn--outline-dark {
    border: 2px solid var(--red);
    color: var(--red);
    background: transparent;
}

.btn--outline-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--red);
    transition: width 0.35s ease;
    z-index: -1;
}

.btn--outline-dark:hover {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160, 24, 48, 0.3);
}

.btn--outline-dark:hover::before {
    width: 100%;
}

.btn--outline-dark .arrow {
    transition: transform 0.3s ease;
}

.btn--outline-dark:hover .arrow {
    transform: translateX(4px);
}

.btn--white {
    background: var(--white);
    color: var(--red);
}

.btn--white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn--outline-white {
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.btn--outline-white:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Section common */
/* Unified label row: line + text */
.section-label-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-label-line {
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-label-line--center {
    margin: 0 auto;
}

.section-label-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red);
}

.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red);
    text-transform: uppercase;
}

.section-label--light {
    color: rgba(255, 255, 255, 0.4);
}

.section-label-line--light {
    background: rgba(255, 255, 255, 0.4);
}

.section-label-text--light {
    color: rgba(255, 255, 255, 0.4);
}

.section-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark);
}

.section-title--light {
    color: var(--white);
}

/* Hero section */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 80px;
    padding-left: var(--gutter);
    padding-right: var(--gutter);
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1E2530EE 0%, #1E2530CC 30%, #1E253099 55%, #1E253055 100%);
    z-index: 1;
}

.hero-plus {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 3;
    opacity: 0.25;
    animation: plusPulse 3s ease-in-out infinite;
}

.hero-plus::before,
.hero-plus::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
}

.hero-plus::before {
    top: 5px;
    left: 0;
    width: 12px;
    height: 1px;
}

.hero-plus::after {
    top: 0;
    left: 5px;
    width: 1px;
    height: 12px;
}

.hero-cross {
    position: absolute;
    width: 12px;
    height: 12px;
    z-index: 3;
    opacity: 0.1;
    animation: plusPulse 4s ease-in-out infinite 1s;
}

.hero-cross::before,
.hero-cross::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
}

.hero-cross::before {
    top: 5px;
    left: 0;
    width: 12px;
    height: 1px;
}

.hero-cross::after {
    top: 0;
    left: 5px;
    width: 1px;
    height: 12px;
}

@keyframes plusPulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.4; }
}

.hero-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 28px;
    max-width: 800px;
    margin-left: 40px;
}

.hero-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    max-width: 750px;
}

.hero-title .word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-right: 0.3em;
}

.hero-title .word.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-services {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.53);
    letter-spacing: 2px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 28px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 1s, transform 0.6s ease 1s;
}

.hero-buttons.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn--hero-primary {
    background: var(--red);
    color: var(--white);
    border: 2px solid var(--red);
    padding: 11px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn--hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn--hero-primary:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160, 24, 48, 0.4);
}

.btn--hero-primary:hover::before {
    left: 100%;
}

.btn--hero-outline {
    background: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.27);
    padding: 11px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    position: relative;
    overflow: hidden;
}

.btn--hero-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: rgba(255, 255, 255, 0.08);
    transition: width 0.35s ease;
    z-index: -1;
}

.btn--hero-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
    transform: translateY(-2px);
}

.btn--hero-outline:hover::before {
    width: 100%;
}

/* About section */
.about {
    position: relative;
    height: 696px;
    overflow: hidden;
    background: var(--white);
}

.about-bg {
    position: absolute;
    inset: 0;
    background: #FAFAFA;
}

.about-content {
    position: absolute;
    left: calc(var(--gutter) + 40px);
    top: 90px;
    width: 540px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 2;
}

.about-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-label__line {
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.about-label__text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red);
}

.about-title {
    font-size: 32px;
    font-weight: 800;
    line-height: 1.2;
    color: #2D3440;
    max-width: 500px;
}

.about-desc {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gray-600);
    max-width: 500px;
}

.about-btn {
    align-self: flex-start;
}

.about-photo {
    position: absolute;
    right: calc(var(--gutter) + 60px);
    top: 70px;
    width: 680px;
    height: 580px;
    z-index: 1;
}

.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.09), 0 4px 16px rgba(0, 0, 0, 0.06);
}

.about-photo__border {
    position: absolute;
    top: -8px;
    left: -8px;
    width: calc(100% + 16px);
    height: calc(100% + 16px);
    border: 1px solid rgba(160, 24, 48, 0.08);
    border-radius: 4px;
    pointer-events: none;
}

.about-dots {
    position: absolute;
    bottom: 36px;
    left: 620px;
    width: 80px;
    height: 30px;
    z-index: 3;
    opacity: 0.12;
    background-image: radial-gradient(circle, var(--red) 1.5px, transparent 1.5px);
    background-size: 12px 12px;
}

/* Geography section */
.geography {
    position: relative;
    background: linear-gradient(180deg, #1A2230 0%, #2D3440 35%, #2D3440 70%, #232B38 100%);
    overflow: hidden;
}

.geo-accent {
    height: 4px;
    background: linear-gradient(90deg, transparent 0%, #A01830 15%, #FF3050 50%, #A01830 85%, transparent 100%);
    box-shadow: 0 4px 20px rgba(160, 24, 48, 0.4);
}

.geo-columns {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 30px 0 0 40px;
}

.geo-left {
    flex: 0 0 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.geo-header-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.geography .section-label--light {
    letter-spacing: 2px;
}

.geo-desc {
    font-size: 13px;
    line-height: 1.6;
    color: #B0B8C4;
    max-width: 400px;
}

.geo-stats {
    display: flex;
    gap: 40px;
}

.geo-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.geo-stat__top {
    display: flex;
    align-items: baseline;
}

.geo-stat__number {
    font-size: 40px;
    font-weight: 900;
    color: #FF3050;
    line-height: 1;
}

.geo-stat__plus {
    font-size: 40px;
    font-weight: 900;
    color: #FF3050;
    line-height: 1;
}

.geo-stat__label {
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

/* Map */
.geo-map-wrapper {
    flex: 1;
    min-width: 0;
    aspect-ratio: 957 / 497;
    overflow: visible;
    border-radius: 9px 0 0 9px;
    position: relative;
    top: -30px;
    margin-right: -40px;
}

.geo-map-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center top;
    border-radius: 9px 0 0 9px;
}

/* Map glow markers */
.map-glow {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: all;
    cursor: pointer;
    z-index: 2;
    opacity: 0;
    background: radial-gradient(circle, rgba(255, 48, 80, 0.6) 0%, rgba(255, 48, 80, 0) 70%);
    box-shadow: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.map-glow.is-highlighted {
    opacity: 1;
    width: 40px;
    height: 40px;
    animation: glow-pulse 1.2s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% { box-shadow: 0 0 20px 8px rgba(255, 48, 80, 0.5); }
    50% { box-shadow: 0 0 30px 14px rgba(255, 48, 80, 0.7); }
}

/* City tags - oval buttons */
.geo-tags {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.geo-tags-row {
    display: flex;
    gap: 8px;
}

.city-tag {
    padding: 8px 18px;
    min-width: 100px;
    text-align: center;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--font);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.city-tag:hover,
.city-tag.is-active {
    background: rgba(160, 24, 48, 0.2);
    border-color: #A01830;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 0 16px rgba(160, 24, 48, 0.3);
}

/* Responsive */
/* Projects section */
.projects {
    background: var(--white);
    padding: 80px 0;
}

.projects-inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.projects .section-title {
    font-size: 32px;
    color: var(--dark);
}

.projects-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.projects-subtitle {
    font-size: 16px;
    color: var(--gray-500);
}

.projects-btn {
    align-self: center;
}

.projects-grid {
    display: flex;
    gap: 32px;
    width: 100%;
}

.project-card {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
    background: var(--dark-mid);
    position: relative;
    height: 320px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.project-card__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__bg {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #1E2530EE 0%, #1E2530CC 50%, #1E253000 100%);
    z-index: 1;
}

.project-card__watermark {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: auto;
    opacity: 0.12;
    object-fit: contain;
    filter: brightness(0) invert(1);
    z-index: 0;
}

.project-card__content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 2;
}

.project-card__tag {
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-card__tag-line {
    width: 24px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.project-card__tag-text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.67);
}

.project-card__title {
    font-size: 24px;
    font-weight: 800;
    color: var(--white);
}

.project-card__desc {
    font-size: 14px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.53);
}

.project-card__arrow {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    font-size: 18px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover .project-card__arrow {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(160, 24, 48, 0.5);
}

/* Partners section */
.partners {
    background: var(--white);
    padding: 60px calc(var(--gutter) + 80px);
    overflow: hidden;
}

.partners-header {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
}

.partners .section-title {
    font-size: 36px;
}

.partners-desc {
    font-size: 16px;
    color: var(--gray-500);
    max-width: 650px;
}

.marquee {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 20px 0;
}

.marquee::before,
.marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
}

.marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--white), transparent);
}

.marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--white), transparent);
}

.marquee-track {
    display: flex;
    gap: 64px;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.marquee-slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 70px;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease, transform 0.4s ease;
}

.marquee-slide:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

.marquee-slide img {
    max-height: 55px;
    max-width: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* КСО section */
.kso {
    background: #F8F9FA;
    padding: 80px calc(var(--gutter) + 40px);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.kso__header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kso__label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.kso__label-line {
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.kso__label-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--red);
}

.kso__title {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
}

.kso__desc {
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-500);
    max-width: 700px;
}

.kso__grid {
    display: flex;
    gap: 24px;
    width: 100%;
}

.kso__card {
    flex: 1;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kso__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

.kso__card-img {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.kso__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.kso__card-body {
    padding: 0 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
}

.kso__card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(160, 24, 48, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kso__card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--red);
}

.kso__card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
}

.kso__card-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-500);
}

.kso__link-wrap {
    text-align: center;
}

.kso__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border: 2px solid var(--red);
    border-radius: 6px;
    color: var(--red);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: color 0.35s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.kso__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--red);
    transition: width 0.35s ease;
    z-index: -1;
}

.kso__link:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(160, 24, 48, 0.3);
}

.kso__link:hover::before {
    width: 100%;
}

/* Footer */
.footer {
    background: #1E2530;
    min-height: 350px;
}

.footer-content {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 300px;
}

.footer-logo-svg {
    height: 75px;
    width: auto;
    display: block;
}

.footer-logo__text {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.5;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gray-400);
    margin-bottom: 4px;
}

.footer-link {
    font-size: 14px;
    color: var(--gray-500);
    transition: transform 0.3s ease, color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: var(--dark-light);
}

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

.footer-copyright,
.footer-requisites {
    font-size: 12px;
    color: var(--gray-500);
}

.footer-requisites {
    margin-top: 6px;
}

.footer-doc-link {
    font-size: 12px;
    color: var(--gray-400);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
}

.footer-doc-link:hover {
    color: var(--white);
}

/* Legal documents: privacy policy and consent forms */
.legal-doc { max-width: 820px; margin: 0 auto; padding: 80px 24px 60px; color: var(--dark); }
.legal-doc h1 { font-size: 28px; font-weight: 800; line-height: 1.3; margin-bottom: 12px; }
.legal-doc h2 { font-size: 18px; font-weight: 700; margin: 32px 0 12px; }
.legal-doc p, .legal-doc li { font-size: 15px; line-height: 1.7; color: #475569; margin-bottom: 10px; }
.legal-doc ul, .legal-doc ol { padding-left: 24px; margin-bottom: 12px; }
.legal-doc ul { list-style: disc; }
.legal-doc ol { list-style: decimal; }
.legal-doc a { color: var(--red); }
.legal-doc__meta { font-size: 14px; color: var(--gray-500); margin-bottom: 32px; }
.legal-doc__operator { background: var(--gray-100); border-left: 3px solid var(--red); padding: 16px 20px; margin: 16px 0; }
.legal-doc__operator p { margin-bottom: 4px; }
.legal-doc__back { display: inline-block; margin-top: 40px; font-weight: 600; }
.legal-doc table { width: 100%; border-collapse: collapse; margin: 12px 0 20px; font-size: 14px; }
.legal-doc th, .legal-doc td { border: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.5; color: #475569; }
.legal-doc th { background: var(--gray-100); color: var(--dark); font-weight: 600; }

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

[data-animate="fade-left"] {
    transform: translateX(60px);
}

[data-animate="zoom-in"] {
    transform: scale(0.88);
}

[data-animate="fade-right"] {
    transform: translateX(-60px);
}

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

/* ---- Separator grow animation ---- */
.about-content__separator-red--animated {
    width: 0 !important;
    transition: width 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.3s;
}

.about-content__separator.animated .about-content__separator-red--animated {
    width: 60px !important;
}

/* ---- Label line grow ---- */
.about-content__label-line--animated {
    width: 0 !important;
    transition: width 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.2s;
}

[data-animate].animated .about-content__label-line--animated {
    width: 40px !important;
}

/* ---- Photo hover ---- */
.about-content__photo {
    overflow: hidden;
    border-radius: 8px;
}

.about-content__photo img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.about-content__photo:hover img {
    transform: scale(1.05);
}

/* ---- Quote card hover ---- */
.about-content__quote {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-content__quote:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
}

/* ---- Award card pulse ---- */
.about-content__award {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-content__award:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(160, 24, 48, 0.3);
}

/* ---- Info cards hover ---- */
.about-content__info-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.about-content__info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    background: #F3F4F6;
}

/* ---- Stats bar glow ---- */
.stats-bar__plus {
    display: inline-block;
    animation: plusFloat 2.5s ease-in-out infinite;
}

@keyframes plusFloat {
    0%, 100% { transform: translateY(0); opacity: 0.8; }
    50% { transform: translateY(-3px); opacity: 1; }
}

.stats-bar__number {
    transition: text-shadow 0.4s ease;
}

.stats-bar__item:hover .stats-bar__number {
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

/* ---- Directions hover effects ---- */
.directions__item {
    transition: transform 0.4s ease, background 0.4s ease, border-color 0.4s ease;
}

.directions__item:hover {
    transform: translateX(8px);
    background: rgba(160, 24, 48, 0.03);
}

.directions__item:hover .directions__number {
    color: var(--red) !important;
    transition: color 0.4s ease;
}

.directions__item:hover .directions__icon {
    color: rgba(160, 24, 48, 0.35);
    transform: scale(1.15);
    transition: all 0.4s ease;
}

/* ---- Directions banner shimmer ---- */
.directions__banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    animation: bannerShimmer 4s ease-in-out infinite;
}

@keyframes bannerShimmer {
    0% { left: -100%; }
    50% { left: 150%; }
    100% { left: 150%; }
}

/* ---- Licenses banner shimmer ---- */
.licenses__banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: bannerShimmer 5s ease-in-out infinite 1s;
}

/* ---- Licenses icon circle pulse on active ---- */
.licenses__icon-circle {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* About page - page hero */
.page-hero {
    position: relative;
    height: 360px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.page-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 0.1s linear;
    will-change: transform;
}

.page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(30, 37, 48, 0.35) 0%, rgba(30, 37, 48, 0.65) 100%);
}

.page-hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--page-max);
    width: 100%;
    padding: 0 60px 48px;
}

.page-hero__title {
    font-size: 44px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
}

.page-hero__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.67);
    letter-spacing: 0.5px;
    max-width: 520px;
}

/* Hero text appears on page load, not on scroll */
.hero-intro {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero-intro.hero-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 13px;
}

.breadcrumb__link {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s ease;
}

.breadcrumb__link:hover {
    color: #fff;
}

.breadcrumb__sep {
    color: rgba(255, 255, 255, 0.3);
}

.breadcrumb__current {
    color: var(--red);
    font-weight: 500;
}

/* Header scrolled init - for inner pages without hero video */
.header--scrolled-init {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.header--scrolled-init .logo-title,
.header--scrolled-init .logo-subtitle {
    fill: #4b4b4a;
}

.header--scrolled-init .nav-link {
    color: var(--gray-700);
}

.nav-link--active {
    color: var(--red) !important;
}

.nav-link--active::after {
    width: 100% !important;
}

/* About content section */
.about-content-section {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 80px 60px;
}

.about-content-inner {
    display: flex;
    gap: 60px;
}

/* Left Column */
.about-content__left {
    width: 480px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-content__photo {
    border-radius: 8px;
    overflow: hidden;
    height: 440px;
}

.about-content__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quote Card */
.about-content__quote {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 28px;
}

.about-content__quote-icon {
    width: 28px;
    height: 28px;
    color: var(--red);
    margin-bottom: 12px;
}

.about-content__quote-text {
    font-size: 16px;
    font-style: italic;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 12px;
}

.about-content__quote-attr {
    font-size: 13px;
    color: var(--red);
    font-weight: 600;
}

/* Award Card */
.about-content__award {
    background: #A01830;
    border-radius: 12px;
    padding: 28px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.about-content__award-icon {
    width: 32px;
    height: 32px;
    color: #fff;
    flex-shrink: 0;
}

.about-content__award-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.about-content__award-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

/* Info Row */
.about-content__info-row {
    display: flex;
    gap: 12px;
}

.about-content__info-card {
    flex: 1;
    background: #F9FAFB;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-content__info-icon {
    width: 24px;
    height: 24px;
    color: var(--red);
}

.about-content__info-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.about-content__info-desc {
    font-size: 12px;
    color: #6B7280;
}

/* Right Column */
.about-content__right {
    flex: 1;
    min-width: 0;
}

.about-content__label {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.about-content__label-line {
    width: 40px;
    height: 3px;
    background: var(--red);
    border-radius: 2px;
}

.about-content__label-line--light {
    background: rgba(255, 255, 255, 0.4);
}

.about-content__label-text {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--red);
}

.about-content__label-text--light {
    color: rgba(255, 255, 255, 0.5);
}

.about-content__title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.35;
    color: var(--dark);
    margin-bottom: 24px;
}

.about-content__separator {
    display: flex;
    align-items: center;
    gap: 0;
    margin-bottom: 28px;
}

.about-content__separator-red {
    width: 60px;
    height: 4px;
    background: var(--red);
    border-radius: 2px;
}

.about-content__separator-gray {
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}

.about-content__text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
}

.about-content__text p {
    margin-bottom: 20px;
}

.about-content__text p:last-child {
    margin-bottom: 0;
}

/* Stats bar */
.stats-bar {
    background: linear-gradient(135deg, #7A0F24 0%, #A01830 50%, #7A0F24 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.stats-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.15) 0%, transparent 30%, transparent 70%, rgba(0,0,0,0.15) 100%);
}

.stats-bar__inner {
    position: relative;
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 180px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stats-bar__item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0 4px;
}

.stats-bar__number {
    font-size: 64px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stats-bar__plus {
    font-size: 48px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1;
}

.stats-bar__label {
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
}

.stats-bar__divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
}

/* Directions */
.directions {
    background: #fff;
    padding: 80px 0;
}

.directions__inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 60px;
}

.directions__header {
    margin-bottom: 48px;
}

.directions__list {
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}

.directions__item {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 36px 0;
    border-bottom: 1px solid var(--gray-200);
}

.directions__item:first-child {
    border-top: 1px solid var(--gray-200);
}

.directions__number {
    font-size: 56px;
    font-weight: 800;
    color: #dedede;
    line-height: 1;
    flex-shrink: 0;
    width: 90px;
}

.directions__item-content {
    flex: 1;
}

.directions__item-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.directions__item-desc {
    font-size: 15px;
    color: var(--gray-500);
    line-height: 1.5;
}

.directions__icon {
    width: 44px;
    height: 44px;
    color: rgba(160, 24, 48, 0.13);
    flex-shrink: 0;
}

/* Directions Banner */
.directions__banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #A01830, #7A0F24);
    border-radius: 12px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.directions__banner-icon {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.directions__banner-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Licenses */
.licenses {
    background: #2D3440;
    padding: 80px 0;
}

.licenses__inner {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 60px;
}

.licenses__header {
    margin-bottom: 48px;
}

.licenses__title {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    margin-top: 20px;
    line-height: 1.3;
}



.licenses__icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.licenses__icon {
    width: 24px;
    height: 24px;
    color: #fff;
}

.licenses__item-text {
    font-size: 18px;
    color: #fff;
    line-height: 1.7;
}

/* Certificates Carousel */
.cert-carousel {
    position: relative;
    margin: 0 -60px 48px;
    padding: 16px 0 40px;
}

.cert-carousel {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
            mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.cert-carousel__track {
    display: flex;
    gap: 28px;
    padding: 30px 0 36px;
    width: max-content;
    animation: cert-marquee 80s linear infinite;
    will-change: transform;
}

@keyframes cert-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.cert-card {
    position: relative;
    flex: 0 0 240px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, rgba(255,255,255,0.06) 0%, rgba(255,255,255,0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    opacity: 0;
    transform: translateY(48px) scale(0.94);
    transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.7s ease,
                box-shadow 0.45s ease,
                border-color 0.3s ease,
                background 0.3s ease;
}

.cert-carousel.animated .cert-card {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.cert-carousel.animated .cert-card:nth-child(1) { transition-delay: 0.00s; }
.cert-carousel.animated .cert-card:nth-child(2) { transition-delay: 0.08s; }
.cert-carousel.animated .cert-card:nth-child(3) { transition-delay: 0.16s; }
.cert-carousel.animated .cert-card:nth-child(4) { transition-delay: 0.24s; }
.cert-carousel.animated .cert-card:nth-child(5) { transition-delay: 0.32s; }
.cert-carousel.animated .cert-card:nth-child(6) { transition-delay: 0.40s; }
.cert-carousel.animated .cert-card:nth-child(7) { transition-delay: 0.48s; }
.cert-carousel.animated .cert-card:nth-child(8) { transition-delay: 0.56s; }
.cert-carousel.animated .cert-card:nth-child(n+9) { transition-delay: 0.64s; }

/* Auto-numbering corner badge on preview */
.cert-carousel__track { counter-reset: cert; }
.cert-card { counter-increment: cert; }
.cert-card__preview > .cert-number {
    position: absolute;
    top: 12px;
    left: 14px;
    z-index: 3;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(30, 37, 48, 0.85);
    backdrop-filter: blur(6px);
    padding: 5px 10px;
    border-radius: 6px;
    pointer-events: none;
    transition: background 0.3s ease;
}
.cert-card:hover .cert-number { background: #A01830; }
.cert-number::before { content: counter(cert, decimal-leading-zero) " / 08"; }

.cert-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(160, 24, 48, 0) 0%, rgba(160, 24, 48, 0.8) 50%, rgba(160, 24, 48, 0) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 3;
}

.cert-card:hover::before {
    opacity: 1;
    animation: cert-border-sweep 2.4s linear infinite;
}

@keyframes cert-border-sweep {
    0%   { background: conic-gradient(from 0deg, rgba(160,24,48,0) 0%, rgba(160,24,48,0.9) 25%, rgba(160,24,48,0) 50%, rgba(160,24,48,0) 100%); }
    100% { background: conic-gradient(from 360deg, rgba(160,24,48,0) 0%, rgba(160,24,48,0.9) 25%, rgba(160,24,48,0) 50%, rgba(160,24,48,0) 100%); }
}

.cert-card:hover {
    transform: translateY(-8px) scale(1.015);
    border-color: rgba(160, 24, 48, 0.55);
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 28px 56px rgba(0, 0, 0, 0.5),
                0 0 40px rgba(160, 24, 48, 0.22);
}

.cert-card__preview {
    position: relative;
    aspect-ratio: 1 / 1.35;
    overflow: hidden;
    background: #f3f3f3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-card__preview::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(30, 37, 48, 0) 55%, rgba(30, 37, 48, 0.35) 100%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cert-card:hover .cert-card__preview::after {
    opacity: 1;
}

/* Shine sweep */
.cert-card__preview::before {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 60%;
    height: 100%;
    background: linear-gradient(120deg,
                  rgba(255,255,255,0) 0%,
                  rgba(255,255,255,0.55) 50%,
                  rgba(255,255,255,0) 100%);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 2;
    transition: left 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card__preview::before {
    left: 130%;
}

.cert-card__preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card__preview img {
    transform: scale(1.08);
}

.cert-card__title {
    transition: color 0.3s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card__title {
    color: #fff;
    transform: translateX(2px);
}

.cert-card__body {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px 16px 18px;
    overflow: hidden;
}

.cert-card__title { font-size: 14px; }
.cert-card__meta { font-size: 12px; }
.cert-card__tag { font-size: 10px; padding: 4px 8px; }
.cert-card__action { width: 32px; height: 32px; top: 10px; right: 10px; }
.cert-card__action i { width: 15px; height: 15px; }
.cert-number::before { font-size: 11px; }

.cert-card__tag {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(160, 24, 48, 0.85);
    padding: 5px 10px;
    border-radius: 6px;
    overflow: hidden;
    transition: background 0.3s ease, box-shadow 0.4s ease;
}

.cert-card__tag::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.4) 50%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card__tag {
    background: #A01830;
    box-shadow: 0 0 16px rgba(160, 24, 48, 0.55);
}

.cert-card:hover .cert-card__tag::after {
    transform: translateX(120%);
}

.cert-card__tag i {
    width: 13px;
    height: 13px;
    transition: transform 0.4s ease;
}

.cert-card:hover .cert-card__tag i {
    transform: scale(1.15) rotate(-8deg);
}

.cert-card__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: #fff;
    margin: 0;
}

.cert-card__meta {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: auto 0 0;
}

.cert-card__action {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(30, 37, 48, 0.9);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
    z-index: 3;
    transition: background 0.35s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.cert-card__action::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1.5px solid rgba(160, 24, 48, 0.7);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card__action::before {
    opacity: 1;
    transform: scale(1);
    animation: action-pulse 1.8s ease-out infinite;
}

@keyframes action-pulse {
    0%   { transform: scale(1);   opacity: 0.9; }
    70%  { transform: scale(1.35); opacity: 0; }
    100% { transform: scale(1.35); opacity: 0; }
}

.cert-card__action i {
    width: 18px;
    height: 18px;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cert-card:hover .cert-card__action {
    background: #A01830;
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(160, 24, 48, 0.5);
}

.cert-card:hover .cert-card__action i {
    transform: translate(2px, -2px) rotate(8deg);
}

/* Licenses Banner */
.licenses__banner {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #A01830, #7A0F24);
    border-radius: 12px;
    padding: 28px 36px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.licenses__banner-icon {
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.8);
    flex-shrink: 0;
}

.licenses__banner-text {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Services page */

/* Catalog Section */
.services-catalog {
    padding: 60px;
    max-width: var(--page-max);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.services-catalog__accent-line {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin-top: 20px;
}

.services-catalog__heading {
    font-size: 34px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    margin-top: 20px;
}

.services-catalog__desc {
    font-size: 15px;
    color: #5A6270;
    line-height: 1.6;
    max-width: 650px;
    margin-top: 14px;
    margin-bottom: 40px;
}

.services-catalog__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Service Card */
.service-card {
    position: relative;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
}

.service-card--full {
    grid-column: 1 / -1;
}

.service-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card:hover .service-card__bg {
    transform: scale(1.05);
}

/* Overlay hidden by default, slides up on hover */
.service-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.75) 40%, rgba(0,0,0,0.93) 100%);
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card__overlay--horizontal {
    background: linear-gradient(to right, rgba(0,0,0,0.94) 0%, rgba(0,0,0,0.85) 50%, rgba(0,0,0,0.1) 100%);
}

.service-card:hover .service-card__overlay {
    transform: translateY(0);
}

/* Content wrapper - all text + badge inside */
.service-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 520px;
    padding: 20px;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 10px;
    height: 100%;
    z-index: 2;
    overflow-y: auto;
    scrollbar-width: none;
}

.service-card--compact .service-card__content {
    gap: 12px;
}

.service-card__content--wide {
    width: 650px;
}

/* All text hidden by default */
.service-card__divider,
.service-card__title,
.service-card__subtitle,
.service-card__bullets,
.service-card__desc {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.service-card:hover .service-card__divider   { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.service-card:hover .service-card__title      { opacity: 1; transform: translateY(0); transition-delay: 0.15s; }
.service-card:hover .service-card__subtitle   { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.service-card:hover .service-card__bullets    { opacity: 1; transform: translateY(0); transition-delay: 0.25s; }
.service-card:hover .service-card__desc       { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }

/* Badge - pinned to bottom, moves up with content on hover */
.service-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--red);
    border-radius: 6px;
    padding: 10px 20px;
    width: fit-content;
    z-index: 3;
    position: absolute;
    top: auto;
    bottom: 20px;
    left: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.4s ease;
    box-shadow: 0 4px 16px rgba(160, 24, 48, 0.4);
}

.service-card:hover .service-card__badge {
    transform: translateY(calc(-100% - 220px));
}

.service-card__badge-icon {
    width: 16px;
    height: 16px;
    color: #fff;
}

.service-card__badge-text {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.service-card__badge--small .service-card__badge-text {
    font-size: 11px;
    letter-spacing: 0.8px;
}

.service-card__badge--xsmall {
    padding: 10px 18px;
}

.service-card__badge--xsmall .service-card__badge-text {
    font-size: 10px;
    letter-spacing: 0.6px;
}

.service-card__divider {
    width: 60px;
    height: 2px;
    background: var(--red);
}

.service-card__title {
    font-size: 23px;
    font-weight: 800;
    color: #fff;
}

.service-card__title--small {
    font-size: 18px;
}

.service-card__subtitle {
    font-size: 14px;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 0.5px;
}

.service-card__bullets {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.service-card__bullets li {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 20px;
    position: relative;
    line-height: 1.5;
}

.service-card__bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--red);
    font-weight: 700;
}

.service-card__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
    max-width: 440px;
}

.service-card__desc--wide {
    max-width: 600px;
}

/* Service Card Hover */

/* Works section */
.works-section {
    background: var(--dark-mid);
    padding: 60px calc(var(--gutter) + 60px);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.works-section__heading {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    margin-top: 20px;
}

.works-section__subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    max-width: 650px;
    margin-top: 14px;
    margin-bottom: 40px;
}

.works-section__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}

/* Work Card */
.work-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 24px;
    transition: transform 0.4s ease;
}

.work-card:hover {
    transform: translateY(-4px);
}

.work-card__line {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.15);
}

.work-card__accent {
    width: 40px;
    height: 3px;
    background: var(--red);
}

.work-card__number {
    font-size: 42px;
    font-weight: 800;
    color: rgba(160, 24, 48, 0.25);
}

.work-card__title {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.work-card__desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

.works-section__bottom-accent {
    width: 100%;
    height: 4px;
    background: linear-gradient(to bottom, var(--red), transparent);
    margin-top: 40px;
}

/* Partners page */

/* Partners hero height override */

/* Hero accent line */
.page-hero__accent-line {
    width: 60px;
    height: 3px;
    background: #A01830;
    margin-bottom: 12px;
}

/* Hero navigation arrows */
.page-hero__nav-group {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.page-hero__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    backdrop-filter: blur(4px);
}

.page-hero__nav:hover {
    background: rgba(160, 24, 48, 0.7);
    border-color: #A01830;
    color: #fff;
}

.page-hero__nav i,
.page-hero__nav svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    color: currentColor;
}

/* Partners content section */
.partners-content {
    background: #F8F9FA;
    padding: 60px calc(var(--gutter) + 80px);
    display: flex;
    flex-direction: column;
    gap: 0;
}

.partners-content__accent-line {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin-top: 20px;
}

.partners-content__heading {
    font-size: 28px;
    font-weight: 800;
    color: #2D3440;
    line-height: 1.3;
    max-width: 700px;
    margin-top: 20px;
}

.partners-content__subtitle {
    font-size: 14px;
    color: #6B7280;
    margin-top: 14px;
    margin-bottom: 40px;
}

/* Filter tabs */
.partners-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.partners-filters__tab {
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    color: #4B5563;
    background: #fff;
    border: 1px solid #E0E0E0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partners-filters__tab:hover {
    border-color: #A01830;
    color: #A01830;
}

.partners-filters__tab--active {
    background: #1E2530;
    color: #fff;
    border-color: #1E2530;
    font-weight: 600;
}

.partners-filters__tab--active:hover {
    background: #1E2530;
    color: #fff;
    border-color: #1E2530;
}

/* Partners grid */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

/* Partner card */
.partner-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 16px;
    padding: 0;
    border: 1px solid #ECECF0;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 10px 30px rgba(16, 24, 40, 0.06);
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
    transition: transform 0.35s cubic-bezier(.2, .7, .2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.partner-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #A01830;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
    z-index: 2;
}

.partner-card:hover {
    transform: translateY(-6px);
    border-color: #E6D4D8;
    box-shadow: 0 6px 16px rgba(16, 24, 40, 0.08), 0 22px 50px rgba(160, 24, 48, 0.12);
}

.partner-card:hover::before {
    transform: scaleX(1);
}

/* Logo zone - enlarged, centered with divider */
.partner-card__logo {
    height: 132px;
    width: 100%;
    object-fit: contain;
    padding: 34px 44px 30px;
    box-sizing: border-box;
    background: linear-gradient(180deg, #FCFCFD 0%, #F6F7F9 100%);
    border-bottom: 1px solid #EFEFF2;
    transition: transform 0.4s cubic-bezier(.2, .7, .2, 1);
}

.partner-card:hover .partner-card__logo {
    transform: scale(1.05);
}

/* Logos with heavy internal padding - render larger */
.partner-card__logo--lg {
    padding: 20px 30px 16px;
    transform: scale(1.28);
}

.partner-card:hover .partner-card__logo--lg {
    transform: scale(1.33);
}

.partner-card__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    padding: 22px 26px 12px;
}

.partner-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #1E2530;
    letter-spacing: -0.2px;
}

.partner-card__type {
    font-size: 11px;
    font-weight: 600;
    color: #A01830;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.partner-card__desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
}

.partner-card__link {
    font-size: 13px;
    font-weight: 600;
    color: #A01830;
    margin-top: auto;
    padding: 4px 26px 24px;
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-card__link {
    transform: translateX(5px);
}

/* Filter animation */
.partner-card--hidden {
    display: none;
}

.partner-card--visible {
    animation: cardFadeIn 0.4s ease forwards;
}

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

/* Partners CTA */
.partners-cta {
    background: #A01830;
    height: 260px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-cta__pattern {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    pointer-events: none;
}

.partners-cta__pattern-row {
    color: rgba(255, 255, 255, 0.03);
    font-size: 24px;
    letter-spacing: 20px;
    white-space: nowrap;
    text-align: center;
}

.partners-cta__content {
    position: relative;
    z-index: 2;
    width: 800px;
    max-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.partners-cta__label {
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    letter-spacing: 3px;
}

.partners-cta__heading {
    font-size: 32px;
    font-weight: 800;
    color: #fff;
    text-align: center;
}

.partners-cta__buttons {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.partners-cta__btn {
    font-size: 13px;
    letter-spacing: 1px;
    border-radius: 6px;
    padding: 14px 36px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.partners-cta__btn--primary {
    background: #fff;
    color: #A01830;
    font-weight: 700;
    border: 1px solid #fff;
}

.partners-cta__btn--primary:hover {
    background: transparent;
    color: #fff;
}

.partners-cta__btn--secondary {
    background: transparent;
    color: #fff;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.partners-cta__btn--secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* Vacancies page */

.vacancies-content {
    padding: 80px calc(var(--gutter) + 60px);
    background: #fff;
}

/* Intro Row */
.vacancies-intro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.vacancies-intro__left {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vacancies-intro__label {
    color: #A01830;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.vacancies-intro__line {
    width: 60px;
    height: 3px;
    background: #A01830;
}

.vacancies-intro__accent-line {
    width: 80px;
    height: 4px;
    background: var(--red);
    margin-top: 20px;
}

.vacancies-intro__heading {
    font-size: 26px;
    font-weight: 700;
    color: #2D3440;
    line-height: 1.3;
    max-width: 600px;
    margin-top: 20px;
}

.vacancies-intro__badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #F5F5F5;
    border-radius: 8px;
    padding: 16px 24px;
    flex-shrink: 0;
}

.vacancies-intro__badge-count {
    font-size: 36px;
    font-weight: 700;
    color: #A01830;
    line-height: 1;
}

.vacancies-intro__badge-label {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

/* Vacancy List */
.vacancy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Vacancy Card */
.vacancy-card {
    border-radius: 8px;
    overflow: hidden;
}

.vacancy-card--odd {
    background: #F5F5F5;
}

.vacancy-card--even {
    background: #fff;
    border: 1px solid #E5E5E5;
}

.vacancy-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
}

.vacancy-card__info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vacancy-card__title {
    font-size: 17px;
    font-weight: 600;
    color: #2D3440;
    margin: 0;
}

.vacancy-card__city {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: #fff;
    background: var(--red);
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    margin-top: 4px;
    align-self: flex-start;
    width: fit-content;
}

.vacancy-card__subtitle {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

.vacancy-card__btn {
    background: #A01830;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    border: none;
    border-radius: 4px;
    padding: 10px 20px;
    cursor: pointer;
    transition: background 0.2s ease;
    flex-shrink: 0;
    font-family: inherit;
}

.vacancy-card__btn:hover {
    background: #8a1428;
}

/* Vacancy Details */
.vacancy-card__details {
    display: none;
    padding: 20px 24px;
    border-top: 1px solid #E5E5E5;
}

.vacancy-card__details.is-open {
    display: block;
    animation: vacancySlideDown 0.35s ease forwards;
}

@keyframes vacancySlideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        max-height: 600px;
        transform: translateY(0);
    }
}

.vacancy-card__details-heading {
    font-size: 16px;
    font-weight: 700;
    color: #2D3440;
    margin: 0 0 16px 0;
}

.vacancy-card__section {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
}

.vacancy-card__section:last-child {
    margin-bottom: 0;
}

/* Apply Button */
.vacancy-card__apply-btn {
    display: inline-block;
    background: var(--red);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.2s ease;
    align-self: flex-start;
}

.vacancy-card__apply-btn:hover {
    background: #8a1428;
    transform: translateY(-2px);
}

/* Apply Modal */
.apply-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.apply-modal.is-open {
    display: flex;
}

.apply-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.apply-modal__card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.apply-modal__close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    color: #9CA3AF;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}

.apply-modal__close:hover {
    color: #2D3440;
}

.apply-modal__title {
    font-size: 22px;
    font-weight: 700;
    color: #2D3440;
    margin-bottom: 4px;
}

.apply-modal__vacancy {
    font-size: 14px;
    font-weight: 600;
    color: var(--red);
    margin-bottom: 24px;
}

.apply-modal__form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.apply-modal__field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.apply-modal__label {
    font-size: 13px;
    font-weight: 600;
    color: #4B5563;
}

.apply-modal__input,
.apply-modal__textarea {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s ease;
    color: #2D3440;
}

.apply-modal__input:focus,
.apply-modal__textarea:focus {
    border-color: var(--red);
}

.apply-modal__textarea {
    resize: vertical;
    min-height: 80px;
}

.apply-modal__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 12px;
    color: #6B7280;
    line-height: 1.5;
}

.apply-modal__consent + .apply-modal__consent {
    margin-top: -8px;
}

.apply-modal__consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--red);
    flex-shrink: 0;
}

.apply-modal__link {
    color: var(--red);
    text-decoration: underline;
}

.apply-modal__submit {
    background: var(--red);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 8px;
}

.apply-modal__submit:hover {
    background: #8a1428;
}

.apply-modal__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    padding: 20px 0;
}

.apply-modal__success-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.apply-modal__success h3 {
    font-size: 20px;
    color: #2D3440;
}

.apply-modal__success p {
    font-size: 14px;
    color: #6B7280;
}

.vacancy-card__dot {
    width: 6px;
    height: 6px;
    min-width: 6px;
    border-radius: 3px;
    background: #A01830;
    margin-top: 7px;
}

.vacancy-card__section-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vacancy-card__section-title {
    font-size: 14px;
    font-weight: 600;
    color: #2D3440;
}

.vacancy-card__section-body {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* Contacts page */

/* Contact Cards */
.contact-cards {
    display: flex;
    flex-direction: row;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 40px 32px;
    background: #fff;
}

.contact-card:not(:last-child) {
    border-right: 1px solid #F0F0F0;
}

.contact-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(160, 24, 48, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card__icon i,
.contact-card__icon svg {
    width: 24px;
    height: 24px;
    color: #A01830;
    stroke: #A01830;
}

.contact-card__label {
    font-size: 11px;
    font-weight: 700;
    color: #A01830;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.contact-card__text {
    font-size: 14px;
    color: #2D3440;
    text-align: center;
    line-height: 1.5;
}

.contact-card__text a {
    color: #2D3440;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card__text a:hover {
    color: #A01830;
}

/* Contact Form Section */
.contact-form-section {
    background: #1E2530;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 48px;
}

.contact-form-header__label {
    font-size: 11px;
    font-weight: 700;
    color: #A01830;
    letter-spacing: 4px;
}

.contact-form-header__title {
    font-size: 36px;
    font-weight: 800;
    color: #fff;
}

.contact-form-header__line {
    width: 60px;
    height: 3px;
    background: #A01830;
}

.contact-form-header__subtitle {
    font-size: 15px;
    color: #6B7280;
}

/* Form */
.contact-form {
    width: 800px;
    max-width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-form__row {
    display: flex;
    gap: 20px;
}

.contact-form__row .contact-form__input {
    flex: 1;
}

.contact-form__input {
    background: #2D3440;
    border: 1px solid #374151;
    border-radius: 6px;
    height: 52px;
    padding: 0 20px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.contact-form__input::placeholder {
    color: #6B7280;
}

.contact-form__input:focus {
    border-color: #A01830;
}

.contact-form__textarea {
    background: #2D3440;
    border: 1px solid #374151;
    border-radius: 6px;
    height: 120px;
    padding: 16px 20px;
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    outline: none;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.contact-form__textarea::placeholder {
    color: #6B7280;
}

.contact-form__textarea:focus {
    border-color: #A01830;
}

.contact-form__consent {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.5;
    color: #9CA3AF;
    cursor: pointer;
}

.contact-form__consent + .contact-form__consent {
    margin-top: -12px;
}

.contact-form__consent input[type="checkbox"] {
    margin-top: 3px;
    accent-color: #A01830;
    flex-shrink: 0;
}

.contact-form__consent a {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.contact-form__submit {
    align-self: center;
    background: #A01830;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    border: none;
    border-radius: 6px;
    padding: 18px 64px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
}

.contact-form__submit:hover {
    background: #8B1428;
    transform: translateY(-2px);
}

/* Projects page */
.projects-content {
    background: #F8F9FA;
    padding: 60px calc(var(--gutter) + 80px);
}

.projects-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.projects-intro__label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.projects-intro__label-line {
    display: inline-block;
    width: 40px;
    height: 4px;
    background: #A01830;
}

.projects-intro__label-text {
    font-size: 13px;
    font-weight: 700;
    color: #A01830;
    letter-spacing: 2px;
}

.projects-intro__accent-line {
    width: 80px;
    height: 4px;
    background: #A01830;
    margin-top: 20px;
}

.projects-intro__heading {
    font-size: 32px;
    font-weight: 800;
    color: #1E2530;
}

.projects-intro__desc {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 800px;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.projects-grid .project-card {
    display: block;
    position: relative;
    height: 480px;
    border-radius: 8px;
    overflow: hidden;
    background: #2D3440;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.projects-grid .project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
}

.project-card__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.project-card:hover .project-card__bg {
    transform: scale(1.05);
}

.project-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, rgba(0, 0, 0, 0.75) 100%);
}

.project-card__content {
    position: absolute;
    left: 60px;
    bottom: 60px;
    width: 540px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.project-card__tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(160, 24, 48, 0.2);
    padding: 6px 16px;
    border-radius: 4px;
    color: #FFFFFF;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.project-card__title {
    font-size: 28px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: 0.5px;
}

.project-card__desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.67);
    line-height: 1.5;
    max-width: 500px;
}

.project-card__arrow {
    position: absolute;
    right: 30px;
    bottom: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #A01830;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.3s ease, transform 0.3s ease;
}

.project-card__arrow i,
.project-card__arrow svg {
    width: 22px;
    height: 22px;
}

.project-card:hover .project-card__arrow {
    background: #8B1428;
    transform: translateX(4px);
}

.project-card__logo {
    position: absolute;
    top: 20px;
    left: 30px;
    height: 250px;
    width: auto;
    max-width: 80%;
    object-fit: contain;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

/* Gazprom project page */
.gazprom-content {
    background: #F8F9FA;
    padding: 60px calc(var(--gutter) + 80px);
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.gazprom-section__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.gazprom-section__label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.gazprom-section__label-line {
    width: 40px;
    height: 4px;
    background: #A01830;
    border-radius: 2px;
    flex-shrink: 0;
}

.gazprom-section__label-text {
    font-size: 13px;
    font-weight: 700;
    color: #A01830;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.gazprom-section__title {
    font-size: 28px;
    font-weight: 800;
    color: #1E2530;
}

.gazprom-section__grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gazprom-project {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gazprom-project:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.gazprom-project__name {
    font-size: 18px;
    font-weight: 700;
    color: #1E2530;
}

.gazprom-project__desc {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.5;
}

/* CSR page */

.csr-content {
    background: #F8F9FA;
    padding: 60px calc(var(--gutter) + 80px);
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.csr-section__header {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.csr-section__label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.csr-section__label-line {
    width: 40px;
    height: 4px;
    background: #A01830;
    border-radius: 2px;
}

.csr-section__label-text {
    font-size: 13px;
    font-weight: 700;
    color: #A01830;
    letter-spacing: 2px;
}

.csr-section__title {
    font-size: 32px;
    font-weight: 800;
    color: #1E2530;
    margin: 0;
}

.csr-section__desc {
    font-size: 16px;
    color: #6B7280;
    line-height: 1.6;
    max-width: 900px;
    margin: 0;
}

/* CSR Cards Grid */
.csr-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.csr-card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.csr-card__image {
    height: 160px;
    background: #ddd;
}

.csr-card__body {
    padding: 24px 24px 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.csr-card__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(160, 24, 48, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.csr-card__icon i,
.csr-card__icon svg {
    width: 22px;
    height: 22px;
    color: #A01830;
    stroke: #A01830;
}

.csr-card__title {
    font-size: 20px;
    font-weight: 700;
    color: #1E2530;
    margin: 0;
}

.csr-card__desc {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin: 0;
}

/* CSR Principles Grid */
.csr-principles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.csr-principle {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
    padding: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csr-principle:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.csr-principle__icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: rgba(160, 24, 48, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
}

.csr-principle__icon i,
.csr-principle__icon svg {
    width: 22px;
    height: 22px;
    color: #A01830;
    stroke: #A01830;
}

.csr-principle__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.csr-principle__title {
    font-size: 16px;
    font-weight: 700;
    color: #1E2530;
    margin: 0;
}

.csr-principle__desc {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.4;
    margin: 0;
}

/* CSR Partner Banner */
/* Тёплая полоса-ступень: смягчает переход от холодного фона сайта к цветам фонда */
.csr-partner-band {
    position: relative;
    margin: 0 calc(-1 * (var(--gutter) + 80px)) 32px;
    padding: 44px calc(var(--gutter) + 80px) 48px;
    background: #FAF7F2;
}

.csr-partner-banner {
    position: relative;
    background: #D5C5B0;
    border-radius: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
    overflow: hidden;
    border: 1px solid rgba(164, 115, 67, 0.28);
    box-shadow: 0 2px 14px rgba(118, 95, 65, 0.1);
}

/* Лента с фирменным паттерном фонда по верхнему краю */
.csr-partner-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background-image: url('../images/love-eyes-pattern.png');
    background-repeat: repeat-x;
    background-size: auto 100%;
    background-position: left center;
    opacity: 0.24;
    pointer-events: none;
}

.csr-partner-banner__content {
    padding: 74px 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.csr-partner-banner__label {
    display: flex;
    align-items: center;
    gap: 10px;
}

.csr-partner-banner__label i,
.csr-partner-banner__label svg {
    width: 24px;
    height: 24px;
    color: #6B5335;
    stroke: #6B5335;
}

.csr-partner-banner__label span {
    font-size: 12px;
    font-weight: 700;
    color: #6B5335;
    letter-spacing: 2px;
}

.csr-partner-banner__title {
    font-size: 28px;
    font-weight: 800;
    color: #3F3122;
    margin: 0;
}

.csr-partner-banner__desc {
    font-size: 15px;
    color: #5A4835;
    line-height: 1.6;
    margin: 0;
}

.csr-partner-banner__desc + .csr-partner-banner__desc {
    margin-top: -8px;
}

.csr-partner-banner__links {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.csr-partner-banner__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 8px;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    cursor: pointer;
}

.csr-partner-banner__link i,
.csr-partner-banner__link svg {
    width: 16px;
    height: 16px;
    transition: color 0.25s ease, stroke 0.25s ease;
}

.csr-partner-banner__link span {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    transition: color 0.25s ease;
}

/* Основная кнопка — Telegram */
.csr-partner-banner__link--primary {
    background: #765F41;
    border-color: #765F41;
    box-shadow: 0 2px 8px rgba(118, 95, 65, 0.25);
}

.csr-partner-banner__link--primary span {
    color: #fff;
}

.csr-partner-banner__link--primary i,
.csr-partner-banner__link--primary svg {
    color: #fff;
    stroke: #fff;
}

.csr-partner-banner__link--primary:hover {
    background: #5E4B33;
    border-color: #5E4B33;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(118, 95, 65, 0.32);
}

/* Вторичная кнопка — сайт фонда */
.csr-partner-banner__link--outline {
    background: #fff;
    border-color: rgba(164, 115, 67, 0.35);
}

.csr-partner-banner__link--outline span {
    color: #5A4835;
}

.csr-partner-banner__link--outline i,
.csr-partner-banner__link--outline svg {
    color: #765F41;
    stroke: #765F41;
}

.csr-partner-banner__link--outline:hover {
    border-color: #765F41;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(118, 95, 65, 0.18);
}

.csr-partner-banner__link--outline:hover span {
    color: #3F3122;
}

.csr-partner-banner__logos {
    flex: 0 0 600px;
    display: flex;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: 18px;
    margin: 32px 32px 32px 0;
    padding: 22px 18px 20px;
    background: #fff;
    border-radius: 10px;
}

.csr-fund-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 0;
    flex: 1 1 0;
    min-width: 0;
}

.csr-fund-logo__photo {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 2px;
}

.csr-fund-logo__img {
    display: block;
    height: 48px;
    width: auto;
}

.csr-fund-logo__caption {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    line-height: 1.3;
}

.csr-fund-logo__caption--blue {
    color: #00B3E3;
}

.csr-fund-logo__caption--pink {
    color: #F03A74;
}

.csr-fund-logo__caption--red {
    color: #B71B32;
}

/* Направления помощи БФ «Око Любви» */
.csr-directions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.csr-dir {
    --dir-accent: #A47343;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(164, 115, 67, 0.2);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(118, 95, 65, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.csr-dir--children {
    --dir-accent: #F03A74;
}

.csr-dir--disabled {
    --dir-accent: #00B3E3;
}

.csr-dir--svo {
    --dir-accent: #B71B32;
}

.csr-dir--church {
    --dir-accent: #A47343;
}

.csr-dir:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(118, 95, 65, 0.18);
}

.csr-dir__media {
    position: relative;
    overflow: hidden;
}

.csr-dir__media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: var(--dir-accent);
}

.csr-dir__photo {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
    object-position: center 42%;
    transition: transform 0.5s ease;
}

.csr-dir:hover .csr-dir__photo {
    transform: scale(1.04);
}

.csr-dir__body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 28px 32px 30px;
}

.csr-dir__kicker {
    display: flex;
    align-items: center;
    gap: 10px;
}

.csr-dir__swallow {
    display: block;
    width: 22px;
    height: auto;
}

.csr-dir__kicker span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: #A47343;
}

.csr-dir__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.22;
    color: #3F3122;
    display: flex;
    flex-direction: column;
}

.csr-dir__title::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 14px;
    border-radius: 2px;
    background: var(--dir-accent);
}

.csr-dir__desc {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #5A4835;
}

.csr-dir__facts {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.csr-dir__facts li {
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.55;
    color: #6B5A45;
}

.csr-dir__facts li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--dir-accent);
}

/* Баннер БФ «Око Любви» — адаптив */
