:root {
    --brand-blue: #23609a;
    --brand-accent: #3b82f6;
    --glow-color: rgba(59, 130, 246, 0.6);
}

body {
    font-family: 'Montserrat', Arial, sans-serif;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

img.w-full.h-full.object-contain.rounded-xl {
    width: 165px;
    height: 65px;
}

.backdrop-blur-md {
	background-color: #23609a;
}

.bronz {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}

img.bergan.w-full.h-full.object-contain.rounded-xl {
	width: 120px;
    height: 45px;
}

.corge {
    margin-top: 50px;
}

img.w-full.grayscale.opacity-70.hover\:grayscale-0.hover\:opacity-100.transition-all.duration-500 {
    width: 215px;
    height: 55px;
}

.notretas {
    display: block;
    text-align: center;
}

section.py-12.bg-white.relative.z-20 {
    background-color: #e7e7e7;
}

.relative.group.overflow-hidden.rounded-3xl.w-full.md\:w-64 {
    width: 30rem;
}

.drezdon {
    margin-left: 10px;	
}

/* ==========================================================================
   О КОМПАНИИ / ABOUT SECTION
   ========================================================================== */

/* Контейнер статистики - горизонтальная линия на ПК */
.about-stats-container {
    display: flex;
    flex-wrap: wrap; /* По умолчанию wrap для мобилок */
    align-items: flex-start;
    column-gap: 3rem; /* Сбалансированный отступ */
    row-gap: 1.5rem;
    border-top: 1px solid #dbeafe; /* border-blue-100 */
    padding-top: 2.5rem;
    margin-top: 3rem;
}

/* На больших экранах заставляем статистику стоять строго в одну линию */
@media (min-width: 1024px) {
    .about-stats-container {
        flex-wrap: nowrap;
        column-gap: 3.5rem;
    }
}

/* Элемент статистики */
.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    flex-shrink: 0; /* Не даем элементам сжиматься */
}

/* Числовое значение статистики */
.stat-value {
    font-size: 3.25rem;
    font-weight: 600;
    color: #23609a;
    letter-spacing: -0.05em;
    line-height: 1;
}

@media (min-width: 768px) {
    .stat-value {
        font-size: 3.75rem; /* text-6xl */
    }
}

/* Описание статистики */
.stat-desc {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #9ca3af; /* text-gray-400 */
    letter-spacing: 0.15em;
    white-space: nowrap; /* Запрет переноса строк в подписях */
}

/* Контейнер карточек услуг - выравнивание по верху */
.service-cards-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    margin-top: 0.4rem; /* Подстройка для выравнивания первой строки текста и верха карточки */
}

@media (min-width: 640px) {
    .service-cards-container {
        flex-direction: row;
    }
}

/* Карточка услуги (SAP / 1C) */
.service-card-clean {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 2.5rem;
    min-height: 170px;
    flex: 1;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
}

.service-card-clean:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.service-card-clean.sap {
    background-color: #23609a; /* blue-900 */
    color: white;
}

.service-card-clean.one-c {
    background-color: #23609a; /* blue-800 */
    color: white;
}

.service-card-clean h3 {
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    line-height: 1.55;
}

/* HERO PARALLAX TECHNIQUE */
.hero-parallax-container {
    clip-path: inset(0 0 0 0); /* Создает окно просмотра для фиксированного фона */
}

.bg-overlay {
    position: fixed; /* Фиксирует фон относительно вьюпорта */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
	background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.4)), url(../img/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    pointer-events: none;
    will-change: transform;
    animation: ken-burns 30s ease-in-out infinite alternate;
}

a.ripple-btn.primary-btn {
    background-color: #23609a;
    --border-width: 0px;
    border-style: none !important;
    border-radius: 30px;
    box-shadow: none !important;
    font-family: Montserrat;
    font-weight: 500;
    white-space: normal;
    transition-duration: 0.2s;
    transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap;
    transition-timing-function: ease-in-out;
	height: 60px;
    width: 250px;
    font-size: 16px;	
}

a.ripple-btn.secondary-btn {
	color: #ffffff;
    border-style: solid !important;
    border-color: #ffffff !important;
    --border-width: 1px;
    border-radius: 30px;
    box-shadow: none !important;
    font-family: Montserrat;
    font-weight: 500;
    white-space: normal;
    transition-duration: 0.2s;
    transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap;
    transition-timing-function: ease-in-out;
	height: 60px;
    width: 250px;
    font-size: 16px;
}

.reveal.reveal-delay-1 {
    font-size: 20px;
    line-height: 1.55;
    font-weight: 400;
}

a.nav-link.text-xs {
    font-size: 14px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.3;
    font-weight: 400;
    color: #ffffff;
}

div#mobile-menu {
    background-color: #23609a;
}

a.mobile-nav-link.text-xl.md\:text-2xl.font-black.text-white.uppercase.tracking-tighter.hover\:text-blue-400.transition-colors {
    font-size: 16px;
    color: #ffffff;
    font-family: 'Montserrat';
    font-weight: 400;
    text-transform: uppercase;
    line-height: 14px;
}

h1.reveal.text-4xl.sm\:text-6xl.md\:text-8xl.font-black.mb-10.tracking-tighter.uppercase.leading-\[0\.9\].drop-shadow-2xl.active {
    font-size: 42px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.17;
}

.notretas {
    border: white 2px;
    border-style: solid !important;
    border-color: #ffffff !important;
    border-radius: 30px;
    font-weight: 400;
    font-size: 14px;
}

@keyframes ken-burns {
    from { transform: scale(1); }
    to { transform: scale(1.15); }
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link-underline {
    position: relative;
}

.nav-link-underline::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -4px;
    left: 0;
    background-color: #ffffff;
    transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

h3.text-blue-950.text-2xl.md\:text-3xl.font-black.leading-tight.tracking-tight {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: #000000;
    font-size: 28px;
    line-height: 1.17;
}

h2.reveal.text-center.text-3xl.md\:text-4xl.font-extrabold.text-blue-900.mb-20.uppercase.tracking-wider.active {
    color: #23609a;
    font-size: 42px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 600;
}

h3.text-xl.font-bold.text-blue-900.mb-4 {
    color: #000000;
    font-size: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.55;
    font-weight: 700;
}

p.text-gray-600.text-sm.leading-relaxed.mb-4 {
    color: #000000;
    font-size: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 31px;
    font-weight: 400;
}

p.text-gray-600.text-sm.leading-relaxed {
    color: #000000;
    font-size: 20px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 31px;
    font-weight: 400;
}

h2.text-5xl.md\:text-6xl.font-black.text-blue-950.uppercase.tracking-tighter.leading-none {
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1.23;
}

h3.text-xl.font-black.text-blue-950.mb-6.group-hover\:text-blue-600.transition-colors.uppercase {
    font-size: 20px;
    font-family: 'Montserrat';
    font-weight: 700;
    text-transform: uppercase;
}

p.text-gray-500.text-sm.leading-relaxed.font-medium {
    font-size: 16px;
    font-family: 'Montserrat';
    font-weight: 400;
}

h2.reveal.text-center.text-4xl.font-extrabold.text-blue-900.mb-20.uppercase.tracking-widest.active {
    color: #23609a;
    font-size: 42px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
}

h3.text-2xl.font-bold.text-gray-800.mb-4 {
    font-size: 20px;
    color: #000000;
    font-family: 'Montserrat';
    font-weight: 500;
}

h2.text-4xl.md\:text-5xl.font-black.text-blue-900.uppercase.tracking-tighter.leading-none {
    color: #23609a;
    font-size: 42px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 42px;
    font-weight: 500;
}

h3.text-xl.font-black.text-blue-950.uppercase.mb-6.tracking-tight {
    font-size: 20px;
    font-family: 'Montserrat';
    font-weight: 700;
    text-transform: uppercase;
}

h3.text-3xl.font-black.uppercase.tracking-tighter.leading-none.mb-4 {
    font-size: 18px;
    font-weight: 500;
}

.reveal.flex.flex-col.md\:flex-row.gap-8.active {
    height: 250px;
}

.bg-blue-900.text-white.p-12.rounded-\[3\.5rem\].flex.flex-col.justify-between.aspect-\[4\/5\].hover\:bg-blue-800.transition-all.cursor-pointer.shadow-xl.flex-1 {
    display: flex;
    justify-content: center;
}

.text-6xl.font-black.text-blue-600.tracking-tighter {
    font-weight: 600;
}

h2.text-4xl.md\:text-5xl.font-black.text-blue-950.uppercase.tracking-tighter.leading-none {
    font-size: 42px;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
}

h3.text-white.text-3xl.font-black.mb-6.uppercase {
    font-size: 20px;
    font-weight: 500;
}

h2.text-5xl.md\:text-6xl.font-black.text-white.mb-6.uppercase.tracking-tighter.leading-none {
    font-size: 42px;
    line-height: 1.23;
    font-family: 'Montserrat', Arial, sans-serif;
    font-weight: 600;
    color: #23609a;
}

p.text-blue-200\/70.text-xl.font-light.mb-16 {
    font-size: 20px;
    color: #000000;
    font-weight: 400;
}

p.text-blue-300\/30.text-xs.font-medium.uppercase.tracking-widest.italic {
    font-size: 20px;
    color: #000000;
    font-weight: 400;
    font-style: normal;
}

input.md\:col-span-1.p-6.bg-white\/5.border.border-white\/10.rounded-2xl.text-white.focus\:outline-none.focus\:ring-2.focus\:ring-blue-500.transition-all {
    color: #000000;
    border: 2px solid #23609a;
    background-color: #ffffff;
    border-radius: 30px;
    font-size: 16px;
    height: 60px;
}

button.md\:col-span-1.p-6.bg-blue-600.text-white.font-black.rounded-2xl.uppercase.text-xs.tracking-\[0\.2em\].shadow-xl.hover\:bg-blue-500.transition-all {
    height: 60px;
    border-style: solid !important;
    border-color: #23609a !important;
    --border-width: 2px;
    border-radius: 30px;
    box-shadow: none !important;
    font-weight: 400;
    transition-duration: 0.2s;
    transition-property: background-color, color, border-color, box-shadow, opacity, transform, gap;
    transition-timing-function: ease-in-out;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* CONTACT SECTION ROOF EFFECT */
#КОНТАКТЫ {
    position: relative;
    clip-path: polygon(0 80px, 50% 0, 100% 80px, 100% 100%, 0 100%);
    margin-top: -80px;
	padding-top: calc(6rem + 0px) !important;
    z-index: 10;
}

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

/* Scroll Revel Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

/* Ripple Effect */
.ripple-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
    margin-left: -50px;
    margin-top: -50px;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Button Glow Animations for PC */
@keyframes pulse-primary {
    0% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0.7); }
    70% { box-shadow: 0 0 25px 10px rgba(37, 99, 235, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 99, 235, 0); }
}

@keyframes pulse-secondary {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2); }
    70% { box-shadow: 0 0 20px 5px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

@media (min-width: 1024px) {
    .primary-btn-glow {
        animation: pulse-primary 3s infinite;
    }
    .secondary-btn-glow {
        animation: pulse-secondary 4s infinite;
    }
    .primary-btn-glow:hover {
        animation: none;
        box-shadow: 0 20px 40px rgba(37, 99, 235, 0.5);
        transform: translateY(-2px) scale(1.02);
    }
    .secondary-btn-glow:hover {
        animation: none;
        box-shadow: 0 0 25px rgba(255, 255, 255, 0.2);
        transform: translateY(-2px) scale(1.02);
    }
    .about-stats-container {
        flex-wrap: nowrap;
        column-gap: 3.5rem;
    }
}

@media (max-width: 768px) {
    #КОНТАКТЫ {
        clip-path: polygon(0 40px, 50% 0, 100% 40px, 100% 100%, 0 100%);
        margin-top: -40px;
        padding-top: calc(4rem + 40px) !important;
    }
    .stat-value {
        font-size: 3.75rem;
    }

	.relative.group.overflow-hidden.rounded-3xl.w-full.md\:w-64 {
		width: 100%;
	}
}

/* Mobile Button Specifics */
@media (max-width: 640px) {
	img.w-full.h-full.object-contain.rounded-xl {
		width: 145px;
		height: 57px;
	}	
    .hero-btn-mobile {
        font-size: 14px !important;
    }
    .secondary-btn-mobile {
        background: rgba(255, 255, 255, 0.08) !important;
        border-width: 1px !important;
    }
    .service-cards-container {
        flex-direction: row;
    }
	.drop-shadow-md.px-4 {
		font-size: 16px;
	}
	h3.text-blue-950.text-2xl.md\:text-3xl.font-black.leading-tight.tracking-tight {
		font-size: 22px;
		margin-bottom: 15px;
		text-align: center;
	}
	h2.reveal.text-center.text-3xl.md\:text-4xl.font-extrabold.text-blue-900.mb-20.uppercase.tracking-wider.active {
		font-size: 22px;
	    margin-bottom: 25px;	
	}
	h3.text-xl.font-bold.text-blue-900.mb-4 {
		font-size: 18px;
	}
	p.text-gray-600.text-sm.leading-relaxed.mb-4 {
		font-size: 16px;
	}
	p.text-gray-600.text-sm.leading-relaxed {
		font-size: 16px;
	}
	h2.text-5xl.md\:text-6xl.font-black.text-blue-950.uppercase.tracking-tighter.leading-none {
		font-size: 22px;
	}
	h3.text-xl.font-black.text-blue-950.mb-6.group-hover\:text-blue-600.transition-colors.uppercase {
		font-size: 16px;
	}
	h2.reveal.text-center.text-4xl.font-extrabold.text-blue-900.mb-20.uppercase.tracking-widest.active {
		font-size: 22px;
	}
	h2.text-4xl.md\:text-5xl.font-black.text-blue-900.uppercase.tracking-tighter.leading-none {
		font-size: 22px;
	}
	h3.text-xl.font-black.text-blue-950.uppercase.mb-6.tracking-tight {
		font-size: 16px;
		font-weight: 500;
	}
	.reveal.text-center.mb-24.active {
		font-size: 22px;
		margin-bottom: 25px;
	}
	.stat-value {
		font-size: 32px;
	}
	.about-stats-container {
		flex-direction: column;
	}
	.hrap {
		flex-direction: column;		
	}
	h2.text-4xl.md\:text-5xl.font-black.text-blue-950.uppercase.tracking-tighter.leading-none {
		font-size: 22px;
	}
	h3.text-white.text-3xl.font-black.mb-6.uppercase {
		font-size: 16px;
		line-height: 24px;
	}
	p.text-blue-50\/90.text-lg.leading-relaxed.font-light.opacity-0.group-hover\:opacity-100.transition-all.duration-500.transform.translate-y-4.group-hover\:translate-y-0 {
		font-size: 16px;
		line-height: 1.45;
	}
	h2.text-5xl.md\:text-6xl.font-black.text-white.mb-6.uppercase.tracking-tighter.leading-none {
		font-size: 22px;
	}
	p.text-blue-200\/70.text-xl.font-light.mb-16 {
		font-size: 16px;
	}
	p.text-blue-300\/30.text-xs.font-medium.uppercase.tracking-widest.italic {
		font-size: 12px;
	}
	.mt-20.pt-8.border-t.border-blue-800.flex.flex-col.md\:flex-row.justify-between.items-center.text-\[10px\].text-blue-400.uppercase.tracking-widest {
		gap: 10px;
	}
}

/* Benefits Slider Tracks */
#benefits-track {
    width: 100%;
}

::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #23609a;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #23609a;
}