/* ===== CSS Variables ===== */
:root {
    /* Brand Colors */
    --primary-color: #004263;
    --dark-gray: #575757;
    --medium-gray: #9F9F9F;
    --light-gray: #CECECE;
    --white: #FFFFFF;
    
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Montserrat', sans-serif;
    
    /* Spacing */
    --header-height: 4.5rem;
    --section-padding: 5rem 0;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===== Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-padding);
}

.section__header {
    text-align: center;
    margin-bottom: 3rem;
}

.section__title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section__subtitle {
    font-size: 1.125rem;
    color: var(--medium-gray);
    font-weight: 500;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 66, 99, 0.1);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    height: var(--header-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav__menu {
    display: flex;
    column-gap: 2.5rem;
}

.nav__link {
    position: relative;
    font-weight: 500;
    color: var(--dark-gray);
    transition: var(--transition);
    font-size: 1rem;
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link.active-link::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
}

.nav__toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.25rem;
}

.nav__toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

/* ===== Home Section ===== */
.home {
    padding-top: calc(var(--header-height) + 3rem);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.03) 0%, rgba(255, 255, 255, 1) 50%, rgba(0, 66, 99, 0.02) 100%);
    overflow: hidden;
}

/* Animated gradient background */
.home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 66, 99, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(0, 66, 99, 0.03) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
    z-index: 0;
}

@keyframes gradientShift {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Animated Background Waves */
.home__waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    animation: wave-animation 20s linear infinite;
}

.wave-1 {
    animation-duration: 25s;
    opacity: 0.7;
}

.wave-2 {
    animation-duration: 20s;
    animation-delay: -5s;
    opacity: 0.5;
}

.wave-3 {
    animation-duration: 30s;
    animation-delay: -10s;
    opacity: 0.3;
}

@keyframes wave-animation {
    0% {
        transform: translateX(0) translateY(0);
    }
    50% {
        transform: translateX(-25%) translateY(-10px);
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

/* Floating Icons */
.home__floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    color: rgba(0, 66, 99, 0.1);
    animation: float 15s ease-in-out infinite;
}

.floating-icon--ship {
    top: 15%;
    left: 10%;
    animation-duration: 20s;
    animation-delay: 0s;
}

.floating-icon--container {
    top: 60%;
    right: 15%;
    animation-duration: 18s;
    animation-delay: -3s;
}

.floating-icon--anchor {
    bottom: 25%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -6s;
}

.floating-icon--globe {
    top: 40%;
    right: 25%;
    animation-duration: 16s;
    animation-delay: -9s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    25% {
        transform: translate(20px, -30px) rotate(5deg);
        opacity: 0.15;
    }
    50% {
        transform: translate(-15px, -50px) rotate(-5deg);
        opacity: 0.2;
    }
    75% {
        transform: translate(25px, -20px) rotate(3deg);
        opacity: 0.15;
    }
}

.home__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.home__content {
    z-index: 2;
    animation: fadeInLeft 1s ease-out;
}

/* Title Animation */
.home__title-wrapper {
    position: relative;
    margin-bottom: 1.5rem;
}

.home__title {
    font-size: 5.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 0.75rem;
    position: relative;
    flex-wrap: wrap;
}

.title-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
    position: relative;
}

.title-word:nth-child(1) {
    animation-delay: 0.2s;
}

.title-word--pro {
    animation-delay: 0.4s;
    font-size: 0.65em;
    color: var(--primary-color);
    position: relative;
    padding-left: 1rem;
    font-weight: 700;
}

.title-word--pro::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 70%;
    background: linear-gradient(180deg, var(--primary-color), rgba(0, 66, 99, 0.5));
    border-radius: 2px;
    opacity: 0;
    animation: proLineAppear 0.6s ease-out 0.9s forwards;
}

@keyframes proLineAppear {
    from {
        opacity: 0;
        transform: translateY(-50%) scaleY(0);
    }
    to {
        opacity: 1;
        transform: translateY(-50%) scaleY(1);
    }
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 66, 99, 0.3));
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.6s forwards;
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    to {
        width: 200px;
    }
}

.home__image {
    position: relative;
    z-index: 1;
    animation: fadeInRight 1s ease-out 0.5s both;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.home__slogan {
    margin-top: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.8s forwards;
    width: 100%;
}

.slogan-container {
    width: 100%;
    padding: 1.5rem 3rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.12) 0%, 
        rgba(0, 66, 99, 0.08) 50%,
        rgba(0, 66, 99, 0.12) 100%);
    border-radius: 1.5rem;
    border: 2px solid rgba(0, 66, 99, 0.25);
    box-shadow: 
        0 10px 40px rgba(0, 66, 99, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 66, 99, 0.1);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.slogan-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.15) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    animation: sloganShine 5s infinite;
}

@keyframes sloganShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.slogan-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        rgba(0, 66, 99, 0.05) 0%, 
        transparent 50%,
        rgba(0, 66, 99, 0.05) 100%);
    opacity: 0;
    transition: var(--transition);
}

.slogan-container:hover {
    transform: translateY(-3px);
    box-shadow: 
        0 15px 50px rgba(0, 66, 99, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 66, 99, 0.15);
    border-color: rgba(0, 66, 99, 0.4);
}

.slogan-container:hover::after {
    opacity: 1;
}

.slogan-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.slogan-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.85;
    white-space: nowrap;
    padding-right: 2rem;
    border-right: 2px solid rgba(0, 66, 99, 0.2);
    position: relative;
}

.slogan-label::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 60%;
    background: linear-gradient(180deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: var(--transition);
}

.slogan-container:hover .slogan-label::after {
    opacity: 1;
}

.slogan-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
    flex: 1;
    min-width: 300px;
}

.slogan-highlight {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003049 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    transition: var(--transition);
    white-space: nowrap;
}

.slogan-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 66, 99, 0.3));
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.slogan-container:hover .slogan-highlight::after {
    transform: scaleX(1);
}

.slogan-separator {
    color: var(--primary-color);
    opacity: 0.7;
    font-size: 1.3em;
    font-weight: 300;
    padding: 0 0.5rem;
    animation: separatorPulse 2.5s ease-in-out infinite;
    position: relative;
}

.slogan-separator::before,
.slogan-separator::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color));
    opacity: 0.3;
}

.slogan-separator::before {
    right: 100%;
    transform: translateY(-50%);
}

.slogan-separator::after {
    left: 100%;
    transform: translateY(-50%) scaleX(-1);
}

@keyframes separatorPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.15);
    }
}

.home__subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out 0.8s forwards;
}

.home__description {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out 1s forwards;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 1.2s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.button:hover::before {
    width: 300px;
    height: 300px;
}

.button svg {
    transition: transform 0.3s ease;
}

.button:hover svg {
    transform: translateX(5px);
}

.button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.button--primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.button--primary:hover {
    background-color: #003049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 99, 0.3);
}

.button--secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.button--secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}


@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.home__image-wrapper {
    position: relative;
    border-radius: 1rem;
    overflow: visible;
    box-shadow: 0 20px 60px rgba(0, 66, 99, 0.25);
    animation: floatImage 6s ease-in-out infinite;
}

@keyframes floatImage {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(0, 66, 99, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulseGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.home__img {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 10px 30px rgba(0, 66, 99, 0.3));
    transition: transform 0.3s ease;
}

.home__image-wrapper:hover .home__img {
    transform: scale(1.05);
}

/* Image Particles */
.image-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.image-particles span {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 8s ease-in-out infinite;
}

.image-particles span:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.image-particles span:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: -2s;
}

.image-particles span:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: -4s;
}

.image-particles span:nth-child(4) {
    top: 40%;
    right: 25%;
    animation-delay: -6s;
}

.image-particles span:nth-child(5) {
    bottom: 15%;
    right: 10%;
    animation-delay: -1s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-15px, -50px) scale(0.8);
        opacity: 0.4;
    }
    75% {
        transform: translate(25px, -20px) scale(1.1);
        opacity: 0.7;
    }
}

.home__scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 1.5s forwards, bounce 2s infinite 2s;
}

.home__scroll-link {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 15px rgba(0, 66, 99, 0.2);
    transition: var(--transition);
}

.home__scroll-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 66, 99, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== About Section ===== */
.about {
    background: linear-gradient(180deg, var(--white) 0%, rgba(0, 66, 99, 0.02) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Decorative Background Elements */
.about__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 66, 99, 0.08) 0%, transparent 70%);
    animation: floatCircle 20s ease-in-out infinite;
}

.decoration-circle--1 {
    width: 300px;
    height: 300px;
    top: -150px;
    right: -150px;
    animation-duration: 25s;
}

.decoration-circle--2 {
    width: 200px;
    height: 200px;
    bottom: 10%;
    left: -100px;
    animation-duration: 30s;
    animation-delay: -5s;
}

.decoration-circle--3 {
    width: 150px;
    height: 150px;
    top: 50%;
    right: 10%;
    animation-duration: 18s;
    animation-delay: -10s;
}

@keyframes floatCircle {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(30px, -40px) scale(1.1);
        opacity: 0.5;
    }
}

.decoration-line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 66, 99, 0.1), transparent);
    animation: lineMove 15s linear infinite;
}

.decoration-line--1 {
    width: 100%;
    height: 1px;
    top: 20%;
    left: 0;
    animation-duration: 20s;
}

.decoration-line--2 {
    width: 1px;
    height: 100%;
    right: 15%;
    top: 0;
    animation-duration: 25s;
    animation-delay: -10s;
}

@keyframes lineMove {
    0% {
        opacity: 0;
        transform: translateX(-100%);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

.section__header {
    position: relative;
    z-index: 1;
}

.section__title-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.section__title {
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.section__title-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 66, 99, 0.3));
    border-radius: 2px;
    animation: expandWidth 1s ease-out 0.5s forwards;
}

.section__subtitle {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.7s forwards;
}

.about__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about__content {
    position: relative;
}

.about__text {
    margin-bottom: 3rem;
}

.about__paragraph-wrapper {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.about__paragraph-wrapper:nth-child(1) {
    animation-delay: 0.9s;
}

.about__paragraph-wrapper:nth-child(2) {
    animation-delay: 1.1s;
}

.about__paragraph {
    font-size: 1.125rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
}

.paragraph-highlight {
    position: relative;
    display: inline-block;
}

.paragraph-highlight strong {
    color: var(--primary-color);
    font-weight: 700;
    position: relative;
}

.paragraph-highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, rgba(0, 66, 99, 0.3), transparent);
    animation: highlightExpand 1s ease-out 1.3s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

@keyframes highlightExpand {
    to {
        transform: scaleX(1);
    }
}

.about__features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature__card {
    text-align: center;
    padding: 2rem 1.5rem;
    border-radius: 1rem;
    background-color: rgba(0, 66, 99, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease-out forwards;
}

.feature__card:nth-child(1) {
    animation-delay: 1.3s;
}

.feature__card:nth-child(2) {
    animation-delay: 1.5s;
}

.feature__card:nth-child(3) {
    animation-delay: 1.7s;
}

.feature__card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.feature__card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 66, 99, 0.2);
    border-color: var(--primary-color);
}

.feature__card:hover .feature__card-bg {
    opacity: 1;
}

.feature__card:hover .feature__icon {
    transform: scale(1.1) rotate(5deg);
}

.feature__card:hover .feature__card-line {
    width: 100%;
}

.feature__icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.icon-wrapper {
    position: relative;
    display: inline-block;
}

.icon-wrapper::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(0, 66, 99, 0.1);
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.feature__card:hover .icon-wrapper::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
}

.feature__title {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature__card:hover .feature__title {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.feature__text {
    font-size: 0.875rem;
    color: var(--medium-gray);
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.feature__card:hover .feature__text {
    color: var(--dark-gray);
}

.feature__card-line {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: width 0.5s ease;
}

.about__image {
    position: relative;
    opacity: 0;
    transform: translateX(50px);
    animation: fadeInRight 1s ease-out 1.2s forwards;
}

.about__image-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 66, 99, 0.25);
    transition: var(--transition);
}

.about__image-wrapper:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 80px rgba(0, 66, 99, 0.35);
}

.image-border-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 66, 99, 0.3), var(--primary-color));
    border-radius: 1.5rem;
    opacity: 0;
    z-index: -1;
    animation: borderGlow 3s ease-in-out infinite;
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0;
    }
    50% {
        opacity: 0.6;
    }
}

.image-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 66, 99, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 66, 99, 0.08) 0%, transparent 50%);
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    animation: patternMove 10s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-10px, -10px) scale(1.05);
    }
}

.about__img {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    position: relative;
    z-index: 2;
    display: block;
    transition: transform 0.5s ease;
}

.about__image-wrapper:hover .about__img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.05) 0%, transparent 100%);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
    transition: var(--transition);
}

.about__image-wrapper:hover .image-overlay {
    opacity: 1;
}

.overlay-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.3) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

/* ===== Advantages Section ===== */
.advantages {
    background: linear-gradient(180deg, var(--white) 0%, rgba(0, 66, 99, 0.03) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Advantages Decoration */
.advantages__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.advantages__circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 66, 99, 0.08) 0%, transparent 70%);
    animation: floatCircle 25s ease-in-out infinite;
}

.advantages__circle--1 {
    width: 350px;
    height: 350px;
    top: -175px;
    left: -175px;
    animation-duration: 30s;
}

.advantages__circle--2 {
    width: 250px;
    height: 250px;
    bottom: -125px;
    right: -125px;
    animation-duration: 35s;
    animation-delay: -10s;
}

.advantages__circle--3 {
    width: 200px;
    height: 200px;
    top: 50%;
    left: 10%;
    animation-duration: 28s;
    animation-delay: -15s;
}

.advantages__lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.advantages__line {
    position: absolute;
    background: linear-gradient(90deg, transparent, rgba(0, 66, 99, 0.08), transparent);
    animation: lineMove 20s linear infinite;
}

.advantages__line--1 {
    width: 100%;
    height: 1px;
    top: 30%;
    left: 0;
    animation-duration: 25s;
}

.advantages__line--2 {
    width: 1px;
    height: 100%;
    right: 20%;
    top: 0;
    animation-duration: 30s;
    animation-delay: -10s;
}

.advantages__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.advantage__item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 1.5rem;
    box-shadow: 
        0 10px 40px rgba(0, 66, 99, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: advantageAppear 0.8s ease-out forwards;
}

.advantage__item:nth-child(1) { animation-delay: 0.1s; }
.advantage__item:nth-child(2) { animation-delay: 0.2s; }
.advantage__item:nth-child(3) { animation-delay: 0.3s; }
.advantage__item:nth-child(4) { animation-delay: 0.4s; }

@keyframes advantageAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.advantage__item-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.08) 0%, 
        rgba(0, 66, 99, 0.03) 50%,
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.advantage__item:hover .advantage__item-bg {
    opacity: 1;
}

.advantage__item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, 
        transparent 30%, 
        rgba(255, 255, 255, 0.2) 50%, 
        transparent 70%);
    transform: rotate(45deg);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.advantage__item:hover::before {
    opacity: 1;
    animation: advantageShine 3s infinite;
}

@keyframes advantageShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.advantage__item:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 70px rgba(0, 66, 99, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
}

.advantage__icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
    z-index: 2;
}

.advantage__icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.12) 0%, 
        rgba(0, 66, 99, 0.06) 100%);
    transition: var(--transition);
    z-index: 0;
}

.advantage__item:hover .advantage__icon-bg {
    transform: translate(-50%, -50%) scale(1.2);
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.2) 0%, 
        rgba(0, 66, 99, 0.1) 100%);
}

.advantage__icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    z-index: 1;
    animation: iconPulseRing 2s ease-in-out infinite;
}

.advantage__item:hover .advantage__icon-pulse {
    opacity: 0.3;
}

@keyframes iconPulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.advantage__icon {
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 66, 99, 0.2));
}

.advantage__item:hover .advantage__icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 66, 99, 0.3));
}

.advantage__text {
    font-size: 1.125rem;
    color: var(--dark-gray);
    font-weight: 500;
    line-height: 1.6;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    padding: 0 0.5rem;
}

.advantage__item:hover .advantage__text {
    color: var(--primary-color);
    transform: translateY(-3px);
    font-weight: 600;
}

.advantage__underline {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transition: width 0.6s ease;
    z-index: 2;
}

.advantage__item:hover .advantage__underline {
    width: 80%;
}

/* ===== Mission Section ===== */
.mission {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003049 100%);
    color: var(--white);
}

.mission__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.mission__gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    animation: gradientMove 15s ease-in-out infinite;
}

@keyframes gradientMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-20px, -20px) scale(1.1);
    }
}

.mission__particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.mission__particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    animation: particleFloat 20s ease-in-out infinite;
}

.mission__particles span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.mission__particles span:nth-child(2) { top: 20%; right: 15%; animation-delay: -2s; }
.mission__particles span:nth-child(3) { bottom: 30%; left: 20%; animation-delay: -4s; }
.mission__particles span:nth-child(4) { top: 50%; right: 25%; animation-delay: -6s; }
.mission__particles span:nth-child(5) { bottom: 20%; right: 10%; animation-delay: -8s; }
.mission__particles span:nth-child(6) { top: 70%; left: 15%; animation-delay: -1s; }
.mission__particles span:nth-child(7) { bottom: 50%; left: 30%; animation-delay: -3s; }
.mission__particles span:nth-child(8) { top: 30%; right: 30%; animation-delay: -5s; }
.mission__particles span:nth-child(9) { bottom: 10%; right: 20%; animation-delay: -7s; }
.mission__particles span:nth-child(10) { top: 60%; left: 25%; animation-delay: -9s; }

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.5;
    }
    25% {
        transform: translate(30px, -40px) scale(1.2);
        opacity: 0.8;
    }
    50% {
        transform: translate(-20px, -60px) scale(0.8);
        opacity: 0.3;
    }
    75% {
        transform: translate(40px, -30px) scale(1.1);
        opacity: 0.7;
    }
}

.mission__content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(50px);
    animation: missionAppear 1.2s ease-out forwards;
}

@keyframes missionAppear {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mission__quote-icon {
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    animation: quotePulse 3s ease-in-out infinite;
}

@keyframes quotePulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.mission__text {
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 3rem;
    position: relative;
    padding: 0 2rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.mission__text::before,
.mission__text::after {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
    position: absolute;
    font-family: serif;
    line-height: 1;
}

.mission__text::before {
    top: -1rem;
    left: 0;
}

.mission__text::after {
    bottom: -3rem;
    right: 0;
}

.mission__signature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.signature-line {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    animation: lineExpand 1s ease-out 1.5s forwards;
    transform: scaleX(0);
    transform-origin: center;
}

@keyframes lineExpand {
    to {
        transform: scaleX(1);
    }
}

.signature-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.2em;
    opacity: 0;
    animation: signatureAppear 0.8s ease-out 1.8s forwards;
}

@keyframes signatureAppear {
    to {
        opacity: 1;
    }
}

/* ===== Services Section ===== */
.services {
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.03) 0%, rgba(255, 255, 255, 1) 50%, rgba(0, 66, 99, 0.02) 100%);
    position: relative;
    overflow: hidden;
}

/* Services Decoration */
.services__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.services__circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 66, 99, 0.08) 0%, transparent 70%);
    animation: floatCircle 25s ease-in-out infinite;
}

.services__circle--1 {
    width: 400px;
    height: 400px;
    top: -200px;
    right: -200px;
    animation-duration: 30s;
}

.services__circle--2 {
    width: 300px;
    height: 300px;
    bottom: -150px;
    left: -150px;
    animation-duration: 35s;
    animation-delay: -10s;
}

.services__circle--3 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 10%;
    animation-duration: 28s;
    animation-delay: -15s;
}

.services .section__header {
    position: relative;
    z-index: 1;
}

.services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.service__card {
    background-color: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 66, 99, 0.1);
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(50px) scale(0.9);
    animation: serviceCardAppear 0.8s ease-out forwards;
}

.service__card:nth-child(1) { animation-delay: 0.1s; }
.service__card:nth-child(2) { animation-delay: 0.2s; }
.service__card:nth-child(3) { animation-delay: 0.3s; }
.service__card:nth-child(4) { animation-delay: 0.4s; }
.service__card:nth-child(5) { animation-delay: 0.5s; }
.service__card:nth-child(6) { animation-delay: 0.6s; }

@keyframes serviceCardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.service__card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.service__card:hover .service__card-bg {
    opacity: 1;
}

.service__number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 66, 99, 0.1);
    line-height: 1;
    z-index: 1;
    transition: var(--transition);
}

.service__card:hover .service__number {
    color: rgba(0, 66, 99, 0.2);
    transform: scale(1.1);
}

.service__icon {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.icon-circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.1) 0%, rgba(0, 66, 99, 0.05) 100%);
    transition: var(--transition);
}

.icon-circle::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), rgba(0, 66, 99, 0.3));
    opacity: 0;
    transition: var(--transition);
    z-index: -1;
}

.service__card:hover .icon-circle {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 66, 99, 0.15) 0%, rgba(0, 66, 99, 0.1) 100%);
}

.service__card:hover .icon-circle::before {
    opacity: 0.3;
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.1;
    }
}

.service__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service__card:hover .service__title {
    transform: translateY(-3px);
}

.service__description {
    font-size: 1rem;
    color: var(--dark-gray);
    line-height: 1.7;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.service__arrow {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
    z-index: 2;
}

.service__card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 66, 99, 0.25);
    border-color: var(--primary-color);
}

.service__card:hover .service__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ===== Contacts Section ===== */
.contacts {
    background: linear-gradient(180deg, var(--white) 0%, rgba(0, 66, 99, 0.02) 50%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

/* Contacts Decoration */
.contacts__decoration {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.contacts__wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent, rgba(0, 66, 99, 0.03));
    clip-path: polygon(0 50%, 100% 30%, 100% 100%, 0% 100%);
    animation: waveMove 20s ease-in-out infinite;
}

@keyframes waveMove {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-20px);
    }
}

.contacts__dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
}

.contacts__dots span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: dotFloat 15s ease-in-out infinite;
}

.contacts__dots span:nth-child(1) { top: 10%; left: 10%; animation-delay: 0s; }
.contacts__dots span:nth-child(2) { top: 20%; right: 15%; animation-delay: -2s; }
.contacts__dots span:nth-child(3) { bottom: 30%; left: 20%; animation-delay: -4s; }
.contacts__dots span:nth-child(4) { top: 50%; right: 25%; animation-delay: -6s; }
.contacts__dots span:nth-child(5) { bottom: 20%; right: 10%; animation-delay: -8s; }
.contacts__dots span:nth-child(6) { top: 70%; left: 15%; animation-delay: -1s; }
.contacts__dots span:nth-child(7) { bottom: 50%; left: 30%; animation-delay: -3s; }
.contacts__dots span:nth-child(8) { top: 30%; right: 30%; animation-delay: -5s; }
.contacts__dots span:nth-child(9) { bottom: 10%; right: 20%; animation-delay: -7s; }
.contacts__dots span:nth-child(10) { top: 60%; left: 25%; animation-delay: -9s; }

@keyframes dotFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.1;
    }
    50% {
        transform: translate(20px, -30px) scale(1.2);
        opacity: 0.3;
    }
}

.contacts .section__header {
    position: relative;
    z-index: 1;
}

.contacts__container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.contacts__grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas: 
        "email"
        "phone"
        "time"
        "messengers";
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact__card--email {
    grid-area: email;
}

.contact__card--phone {
    grid-area: phone;
}

.contact__card--time {
    grid-area: time;
}

.contact__card--messengers {
    grid-area: messengers;
}

@media (min-width: 769px) {
    .contacts__grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "email email"
            "phone phone"
            "time messengers";
    }
}

.contact__card {
    background: var(--white);
    border-radius: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 66, 99, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    animation: contactCardAppear 0.8s ease-out forwards;
    border: 2px solid transparent;
}

.contact__card:nth-child(1) { animation-delay: 0.1s; }
.contact__card:nth-child(2) { animation-delay: 0.2s; }
.contact__card:nth-child(3) { animation-delay: 0.3s; }
.contact__card:nth-child(4) { animation-delay: 0.4s; }

@keyframes contactCardAppear {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.contact__card-inner {
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}



@keyframes contactShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

.contact__card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 
        0 25px 70px rgba(0, 66, 99, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border-color: var(--primary-color);
}

.contact__icon-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 2rem;
}

.contact__icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.12) 0%, 
        rgba(0, 66, 99, 0.06) 100%);
    transition: var(--transition);
    z-index: 0;
}

.contact__card:hover .contact__icon-bg {
    transform: translate(-50%, -50%) scale(1.25);
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.2) 0%, 
        rgba(0, 66, 99, 0.12) 100%);
}

.contact__icon-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    opacity: 0;
    z-index: 0;
    animation: iconPulseRing 2s ease-in-out infinite;
}

.contact__card:hover .contact__icon-pulse {
    opacity: 0.3;
}

@keyframes iconPulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.3);
        opacity: 0.1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.contact__icon {
    color: var(--primary-color);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 66, 99, 0.2));
}

.contact__card:hover .contact__icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 6px 12px rgba(0, 66, 99, 0.3));
}

.contact__content {
    position: relative;
    z-index: 2;
}

.contact__title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.contact__title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 66, 99, 0.3));
    border-radius: 2px;
    transition: width 0.5s ease;
}

.contact__card:hover .contact__title {
    transform: translateX(5px);
}

.contact__card:hover .contact__title::after {
    width: 100%;
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    transition: var(--transition);
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.06) 0%, 
        rgba(0, 66, 99, 0.03) 100%);
    border-radius: 0.75rem;
    border: 2px solid rgba(0, 66, 99, 0.1);
    position: relative;
    overflow: hidden;
}

.contact__link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 66, 99, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.contact__link:hover::before {
    left: 100%;
}

.contact__link:hover {
    color: #003049;
    transform: translateX(8px);
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.12) 0%, 
        rgba(0, 66, 99, 0.06) 100%);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(0, 66, 99, 0.15);
}

.contact__link svg {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.contact__link:hover svg {
    transform: translateX(5px);
}

.contact__subtitle {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-top: 0.75rem;
    padding-left: 1.25rem;
    position: relative;
}

.contact__subtitle::before {
    content: 'вЂў';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
}

/* ===== Phone Block Styles ===== */
.contact__card--phone {
    position: relative;
    overflow: visible;
}

.phone__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.phone__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, 
        rgba(46, 213, 115, 0.15) 0%, 
        rgba(46, 213, 115, 0.08) 100%);
    border-radius: 2rem;
    border: 2px solid rgba(46, 213, 115, 0.2);
    position: relative;
    z-index: 2;
}

.phone__status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2ed573;
    box-shadow: 0 0 10px rgba(46, 213, 115, 0.6);
    animation: phoneStatusPulse 2s ease-in-out infinite;
}

@keyframes phoneStatusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.phone__status-text {
    font-size: 0.75rem;
    font-weight: 600;
    color: #2ed573;
    letter-spacing: 0.5px;
}

.phone__ring {
    display: none; /* Убрано синее свечение */
}

.contact__card--phone .contact__icon-wrapper {
    position: relative;
}

/* Убираем сильное свечение для блока телефона */
.contact__card--phone .contact__icon-bg {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.08) 0%, 
        rgba(0, 66, 99, 0.04) 100%);
}

.contact__card--phone:hover .contact__icon-bg {
    transform: translate(-50%, -50%) scale(1.1);
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.12) 0%, 
        rgba(0, 66, 99, 0.06) 100%);
}

.contact__card--phone .contact__icon-pulse {
    display: none; /* Убираем пульсацию для блока телефона */
}

.phone__number-wrapper {
    margin: 1.5rem 0;
}

.phone__number-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.1) 0%, 
        rgba(0, 66, 99, 0.05) 100%);
    border-radius: 1.25rem;
    border: 2px solid rgba(0, 66, 99, 0.15);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 66, 99, 0.1);
}

.phone__number-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 66, 99, 0.1), 
        transparent);
    transition: left 0.6s ease;
}

.phone__number-link:hover::before {
    left: 100%;
}

.phone__number-link::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), rgba(0, 66, 99, 0.5));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.phone__number-link:hover::after {
    transform: scaleY(1);
}

.phone__number-link:hover {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.15) 0%, 
        rgba(0, 66, 99, 0.08) 100%);
    border-color: var(--primary-color);
    transform: translateX(8px) translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 66, 99, 0.2);
}

.phone__number-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.2) 0%, 
        rgba(0, 66, 99, 0.1) 100%);
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.phone__number-link:hover .phone__number-icon {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.3) 0%, 
        rgba(0, 66, 99, 0.2) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 66, 99, 0.2);
}

.phone__number {
    flex: 1;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.phone__number-link:hover .phone__number {
    color: #003049;
    transform: translateX(3px);
}

.phone__arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 66, 99, 0.1);
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-15px) scale(0.8);
    transition: var(--transition);
    flex-shrink: 0;
}

.phone__number-link:hover .phone__arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
    background: rgba(0, 66, 99, 0.15);
}

.phone__arrow svg {
    transition: transform 0.3s ease;
}

.phone__number-link:hover .phone__arrow svg {
    transform: translateX(4px);
}

.phone__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid rgba(0, 66, 99, 0.1);
}

.phone__contact-person {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.06) 0%, 
        rgba(0, 66, 99, 0.03) 100%);
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary-color);
    transition: var(--transition);
}

.contact__card--phone:hover .phone__contact-person {
    transform: translateX(5px);
    border-left-width: 4px;
    box-shadow: 0 5px 15px rgba(0, 66, 99, 0.1);
}

.phone__person-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.15) 0%, 
        rgba(0, 66, 99, 0.08) 100%);
    color: var(--primary-color);
    flex-shrink: 0;
    transition: var(--transition);
}

.contact__card--phone:hover .phone__person-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.25) 0%, 
        rgba(0, 66, 99, 0.15) 100%);
}

.phone__person-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    transition: var(--transition);
}

.contact__card--phone:hover .phone__person-name {
    color: var(--primary-color);
    transform: translateX(3px);
}

.phone__messengers-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.phone__badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.phone__badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.phone__badge:hover::before {
    left: 100%;
}

.phone__badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: var(--transition);
}

.phone__badge:hover svg {
    transform: scale(1.2) rotate(5deg);
}

.phone__badge--telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(0, 136, 204, 0.3);
}

.phone__badge--telegram:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.phone__badge--whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: var(--white);
    box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
}

.phone__badge--whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.contact__emails {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ===== Email Department Block ===== */
.email__department {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.08) 0%, 
        rgba(0, 66, 99, 0.04) 100%);
    border-radius: 1.25rem;
    border: 2px solid rgba(0, 66, 99, 0.12);
    box-shadow: 0 4px 15px rgba(0, 66, 99, 0.08);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.email__department:hover {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.12) 0%, 
        rgba(0, 66, 99, 0.06) 100%);
    border-color: rgba(0, 66, 99, 0.2);
    box-shadow: 0 8px 25px rgba(0, 66, 99, 0.15);
    transform: translateY(-2px);
}

.email__department-badge {
    margin-bottom: 0.5rem;
}

.email__department-addresses {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    flex-wrap: wrap;
}

.email__address-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.9) 0%, 
        rgba(255, 255, 255, 0.7) 100%);
    border-radius: 0.875rem;
    border: 1px solid rgba(0, 66, 99, 0.1);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 200px;
}

.email__address-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 66, 99, 0.1), 
        transparent);
    transition: left 0.5s ease;
}

.email__address-link:hover::before {
    left: 100%;
}

.email__address-link:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 255, 0.9) 100%);
    border-color: var(--primary-color);
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 66, 99, 0.15);
}

.email__address-link .email__icon-wrapper {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.15) 0%, 
        rgba(0, 66, 99, 0.08) 100%);
    border-radius: 10px;
    transition: var(--transition);
}

.email__address-link:hover .email__icon-wrapper {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.25) 0%, 
        rgba(0, 66, 99, 0.15) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 66, 99, 0.2);
}

.email__address-link .email__icon {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    transition: var(--transition);
}

.email__address-link:hover .email__icon {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 8px rgba(0, 66, 99, 0.3));
}

.email__address-link .email__address {
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    transition: var(--transition);
}

.email__address-link:hover .email__address {
    color: #003049;
    font-weight: 700;
}

.email__address-link .email__arrow {
    opacity: 0;
    transform: translateX(-10px) scale(0.8);
    transition: var(--transition);
    flex-shrink: 0;
}

.email__address-link:hover .email__arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
}

.contact__email-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.08) 0%, 
        rgba(0, 66, 99, 0.04) 100%);
    border-radius: 1.25rem;
    border: 2px solid rgba(0, 66, 99, 0.12);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 66, 99, 0.08);
    flex: 1;
    min-width: 280px;
}

.contact__email-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.6s ease;
}

.contact__email-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), rgba(0, 66, 99, 0.5));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s ease;
}

.contact__email-item:hover::before {
    left: 100%;
}

.contact__email-item:hover::after {
    transform: scaleY(1);
}

.contact__email-item:hover {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.15) 0%, 
        rgba(0, 66, 99, 0.08) 100%);
    border-color: var(--primary-color);
    transform: translateX(10px) translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 66, 99, 0.2);
}

.email__icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.15) 0%, 
        rgba(0, 66, 99, 0.08) 100%);
    transition: var(--transition);
    flex-shrink: 0;
}

.contact__email-item:hover .email__icon-wrapper {
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.25) 0%, 
        rgba(0, 66, 99, 0.15) 100%);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 5px 15px rgba(0, 66, 99, 0.2);
}

.email__icon {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.contact__email-item:hover .email__icon {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 8px rgba(0, 66, 99, 0.3));
}

.email__info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.email__badge {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #003049 100%);
    color: var(--white);
    border-radius: 1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    box-shadow: 0 3px 10px rgba(0, 66, 99, 0.25);
    transition: var(--transition);
    position: relative;
    align-self: flex-start;
    overflow: hidden;
}

.email__badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    transition: left 0.5s ease;
}

.contact__email-item:hover .email__badge::before {
    left: 100%;
}

.email__badge--ceo {
    background: linear-gradient(135deg, #004d73 0%, var(--primary-color) 100%);
}

.email__badge--sales {
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    box-shadow: 0 3px 10px rgba(0, 102, 204, 0.3);
}

.email__badge--ops {
    background: linear-gradient(135deg, #0099cc 0%, #006699 100%);
    box-shadow: 0 3px 10px rgba(0, 153, 204, 0.3);
}

.contact__email-item:hover .email__badge {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 66, 99, 0.35);
}

.email__address {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    word-break: break-all;
    line-height: 1.4;
}

.contact__email-item:hover .email__address {
    color: #003049;
    transform: translateX(3px);
    font-weight: 700;
}

.email__arrow {
    color: var(--primary-color);
    opacity: 0;
    transform: translateX(-15px) scale(0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 66, 99, 0.1);
}

.contact__email-item:hover .email__arrow {
    opacity: 1;
    transform: translateX(0) scale(1);
    background: rgba(0, 66, 99, 0.15);
}

.email__arrow svg {
    transition: transform 0.3s ease;
}

.contact__email-item:hover .email__arrow svg {
    transform: translateX(4px);
}

.contact__schedule {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.schedule__item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.75rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.08) 0%, 
        rgba(0, 66, 99, 0.04) 100%);
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.schedule__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.1) 0%, 
        transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.contact__card:hover .schedule__item::before {
    opacity: 1;
}

.contact__card:hover .schedule__item {
    transform: translateX(5px);
    border-left-width: 5px;
    box-shadow: 0 5px 20px rgba(0, 66, 99, 0.15);
}

.schedule__days {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1rem;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.contact__card:hover .schedule__days {
    transform: translateX(3px);
}

.schedule__time {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    position: relative;
    z-index: 1;
    transition: var(--transition);
    letter-spacing: 1px;
}

.contact__card:hover .schedule__time {
    color: var(--primary-color);
    transform: translateX(3px);
}

.contact__messengers {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.messenger__link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-radius: 0.75rem;
    color: var(--white);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    flex: 1;
    min-width: 150px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.messenger__link::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;
}

.messenger__link:hover::before {
    left: 100%;
}

.messenger__link--telegram {
    background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
    box-shadow: 0 5px 20px rgba(0, 136, 204, 0.3);
}

.messenger__link--telegram:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 136, 204, 0.4);
}

.messenger__link--whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
}

.messenger__link--whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
}

.messenger__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: var(--transition);
}

.messenger__link:hover .messenger__icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.3);
}

.messenger__link svg {
    width: 20px;
    height: 20px;
}

/* ===== Modal ===== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    cursor: pointer;
}

.modal__container {
    position: relative;
    background: var(--white);
    border-radius: 1.5rem;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 25px 80px rgba(0, 66, 99, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transform: scale(0.9) translateY(50px);
    transition: transform 0.3s ease;
    border: 2px solid rgba(0, 66, 99, 0.1);
    z-index: 10001;
}

.modal.active .modal__container {
    transform: scale(1) translateY(0);
}

.modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    border-bottom: 2px solid rgba(0, 66, 99, 0.1);
    position: relative;
}

.modal__header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), rgba(0, 66, 99, 0.3));
    border-radius: 2px;
}

.modal__title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.modal__close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(0, 66, 99, 0.2);
    background: rgba(0, 66, 99, 0.05);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
}

.modal__close:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: rotate(90deg) scale(1.1);
}

/* ===== Contact Form ===== */
.contact-form {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form__label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form__required {
    color: #e74c3c;
    font-weight: 700;
}

.form__input,
.form__textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 66, 99, 0.15);
    border-radius: 0.75rem;
    font-size: 1rem;
    font-family: inherit;
    color: var(--dark-gray);
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.03) 0%, 
        rgba(255, 255, 255, 1) 100%);
    transition: var(--transition);
    outline: none;
}

.form__input:focus,
.form__textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 
        0 0 0 4px rgba(0, 66, 99, 0.1),
        0 5px 20px rgba(0, 66, 99, 0.1);
    transform: translateY(-2px);
}

.form__input::placeholder,
.form__textarea::placeholder {
    color: var(--medium-gray);
    opacity: 0.7;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

.form__group--checkbox {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: linear-gradient(135deg, 
        rgba(0, 66, 99, 0.05) 0%, 
        rgba(0, 66, 99, 0.02) 100%);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 66, 99, 0.1);
}

.form__checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
    position: relative;
    flex: 1;
}

.form__checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form__checkbox-custom {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(0, 66, 99, 0.3);
    border-radius: 6px;
    background: var(--white);
    position: relative;
    flex-shrink: 0;
    margin-top: 2px;
    transition: var(--transition);
}

.form__checkbox:checked + .form__checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003049 100%);
    border-color: var(--primary-color);
}

.form__checkbox:checked + .form__checkbox-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
}

.form__checkbox:focus + .form__checkbox-custom {
    box-shadow: 0 0 0 4px rgba(0, 66, 99, 0.1);
}

.form__checkbox-label:hover .form__checkbox-custom {
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.form__checkbox-text {
    font-size: 0.875rem;
    color: var(--dark-gray);
    line-height: 1.5;
    flex: 1;
}

.form__link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: var(--transition);
}

.form__link:hover {
    color: #003049;
}

.form__submit {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
    padding: 1.25rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.form__submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.form__submit:hover::before {
    width: 300px;
    height: 300px;
}

.form__submit:active {
    transform: translateY(0) scale(0.98);
}

.form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form__submit:disabled:hover {
    transform: none;
}

/* ===== Footer ===== */
.footer {
    background: linear-gradient(180deg, 
        rgba(0, 66, 99, 0.98) 0%, 
        var(--primary-color) 100%);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
}

.footer__top-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.2), 
        transparent);
    animation: footerLineMove 20s linear infinite;
}

@keyframes footerLineMove {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__logo {
    display: inline-block;
    transition: var(--transition);
}

.footer__logo:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 5px 15px rgba(255, 255, 255, 0.3));
}

.footer__logo-img {
    height: 45px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: var(--transition);
}

.footer__tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin: 0;
    letter-spacing: 0.5px;
}

.footer__content {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

.footer__info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: var(--transition);
}

.footer__contact-item:hover {
    transform: translateX(5px);
}

.footer__contact-item svg {
    color: rgba(255, 255, 255, 0.9);
    flex-shrink: 0;
    transition: var(--transition);
}

.footer__contact-item:hover svg {
    color: var(--white);
    transform: scale(1.1);
}

.footer__link {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 400;
}

.footer__link:hover {
    color: var(--white);
    text-decoration: underline;
}

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.footer__copyright {
    flex: 1;
}

.footer__text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8125rem;
    margin: 0;
    letter-spacing: 0.3px;
}

.footer__divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
}

.footer__meta {
    flex: 1;
    text-align: right;
}

.footer__meta-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8125rem;
    letter-spacing: 0.3px;
}

/* ===== Responsive Design ===== */
@media screen and (max-width: 968px) {
    .home__container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .home__title {
        font-size: 3.5rem;
        justify-content: center;
    }
    
    .title-word {
        text-align: center;
    }
    
    .title-underline {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .home__image {
        flex-direction: column;
    }
    
    .slogan-container {
        padding: 1.25rem 2rem;
    }
    
    .slogan-content {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .slogan-label {
        padding-right: 0;
        padding-bottom: 1rem;
        border-right: none;
        border-bottom: 2px solid rgba(0, 66, 99, 0.2);
        width: 100%;
    }
    
    .slogan-label::after {
        display: none;
    }
    
    .slogan-text {
        font-size: 1.375rem;
        min-width: auto;
        width: 100%;
        justify-content: flex-start;
    }
    
    .slogan-separator {
        transform: rotate(90deg);
    }
    
    .slogan-separator::before,
    .slogan-separator::after {
        display: none;
    }
    
    @keyframes expandWidth {
        to {
            width: 150px;
        }
    }
    
    .home__floating-icons {
        display: none; /* Hide floating icons on tablets for better performance */
    }
    
    .home__waves {
        height: 150px;
    }
    
    .about__container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about__image {
        order: -1;
    }
    
    .about__features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .decoration-circle {
        display: none; /* Hide on tablets for performance */
    }
    
    .services__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .services__circle {
        display: none; /* Hide on tablets for performance */
    }
    
    .advantages__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .advantages__circle {
        display: none; /* Hide on tablets for performance */
    }
    
    .advantages__line {
        display: none; /* Hide on tablets for performance */
    }
    
    .contacts__grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "email"
            "phone"
            "time"
            "messengers";
        gap: 1.5rem;
    }
    
    .contact__emails {
        flex-direction: column;
    }
    
    .contact__email-item {
        min-width: auto;
        width: 100%;
    }
}

/* ===== Mobile Menu Overlay ===== */
.nav__overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.nav__overlay.active {
    opacity: 1;
    visibility: visible;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    pointer-events: all;
}

/* Скрываем логотип в меню на десктопе */
.nav__item--logo {
    display: none;
}

@media screen and (max-width: 768px) {
    /* Показываем overlay на мобильной версии */
    .nav__overlay {
        display: block;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        min-height: 100vh;
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.98) 0%, 
            rgba(255, 255, 255, 0.95) 100%);
        backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        padding: 0;
        box-shadow: -4px 0 30px rgba(0, 66, 99, 0.15);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 9999;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /* Показываем логотип в меню на мобильной версии */
    .nav__item--logo {
        display: block;
    }
    
    .nav__menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, 
            transparent, 
            rgba(0, 66, 99, 0.2), 
            transparent);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__menu::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 3px;
        height: 100%;
        background: linear-gradient(180deg, 
            var(--primary-color) 0%, 
            rgba(0, 66, 99, 0.5) 50%,
            var(--primary-color) 100%);
        opacity: 0;
        transition: opacity 0.3s ease 0.2s;
    }
    
    .nav__menu.show-menu::after {
        opacity: 1;
    }
    
    .nav__item {
        width: 100%;
        opacity: 0;
        transform: translateX(30px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav__menu.show-menu .nav__item {
        opacity: 1;
        transform: translateX(0);
    }
    
    .nav__menu.show-menu .nav__item:nth-child(1) {
        transition-delay: 0.1s;
    }
    
    .nav__menu.show-menu .nav__item:nth-child(2) {
        transition-delay: 0.15s;
    }
    
    .nav__menu.show-menu .nav__item:nth-child(3) {
        transition-delay: 0.2s;
    }
    
    .nav__menu.show-menu .nav__item:nth-child(4) {
        transition-delay: 0.25s;
    }
    
    .nav__link {
        display: flex;
        align-items: center;
        padding: 1.5rem 2rem;
        font-size: 1.125rem;
        font-weight: 500;
        color: var(--dark-gray);
        text-decoration: none;
        position: relative;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-bottom: 1px solid rgba(0, 66, 99, 0.05);
    }
    
    .nav__link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 0;
        height: 100%;
        background: linear-gradient(90deg, 
            rgba(0, 66, 99, 0.05) 0%, 
            transparent 100%);
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav__link:hover::before,
    .nav__link.active-link::before {
        width: 100%;
    }
    
    .nav__link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            var(--primary-color) 0%, 
            rgba(0, 66, 99, 0.5) 100%);
        transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav__link:hover::after,
    .nav__link.active-link::after {
        width: 100%;
    }
    
    .nav__link:hover {
        color: var(--primary-color);
        padding-left: 2.5rem;
        transform: translateX(5px);
    }
    
    .nav__link.active-link {
        color: var(--primary-color);
        font-weight: 600;
    }
    
    .nav__link.active-link::after {
        width: 100%;
    }
    
    /* ===== Mobile Menu Logo ===== */
    .nav__item--logo {
        margin-top: auto;
        padding: 2rem 2rem 2.5rem;
        border-top: 1px solid rgba(0, 66, 99, 0.1);
        border-bottom: none !important;
        opacity: 0;
        transform: translateY(20px) scale(0.9);
        transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s,
                    transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    }
    
    .nav__menu.show-menu .nav__item--logo {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
    
    .nav__logo-wrapper {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.5rem 0;
    }
    
    .nav__logo-glow {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, 
            rgba(0, 66, 99, 0.15) 0%, 
            rgba(0, 66, 99, 0.05) 50%, 
            transparent 100%);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.5s ease 0.5s;
        pointer-events: none;
    }
    
    .nav__menu.show-menu .nav__logo-glow {
        opacity: 1;
        animation: logoGlowPulse 3s ease-in-out infinite;
    }
    
    @keyframes logoGlowPulse {
        0%, 100% {
            transform: translate(-50%, -50%) scale(1);
            opacity: 0.6;
        }
        50% {
            transform: translate(-50%, -50%) scale(1.2);
            opacity: 0.3;
        }
    }
    
    .nav__logo-pulse {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100px;
        height: 100px;
        border: 2px solid rgba(0, 66, 99, 0.2);
        border-radius: 50%;
        opacity: 0;
        transition: opacity 0.5s ease 0.6s;
        pointer-events: none;
    }
    
    .nav__menu.show-menu .nav__logo-pulse {
        opacity: 1;
        animation: logoPulseRing 2s ease-out infinite;
    }
    
    @keyframes logoPulseRing {
        0% {
            transform: translate(-50%, -50%) scale(0.8);
            opacity: 1;
        }
        100% {
            transform: translate(-50%, -50%) scale(1.5);
            opacity: 0;
        }
    }
    
    .nav__logo-image {
        position: relative;
        z-index: 2;
        height: 50px;
        width: auto;
        object-fit: contain;
        filter: drop-shadow(0 2px 8px rgba(0, 66, 99, 0.2));
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        transform: scale(0.9);
        opacity: 0;
    }
    
    .nav__menu.show-menu .nav__logo-image {
        transform: scale(1);
        opacity: 1;
        transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s,
                    opacity 0.5s ease 0.4s,
                    filter 0.3s ease;
    }
    
    .nav__menu.show-menu .nav__logo-image:hover {
        transform: scale(1.05);
        filter: drop-shadow(0 4px 12px rgba(0, 66, 99, 0.3));
    }
    
    .nav__logo-line {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, 
            transparent, 
            var(--primary-color), 
            transparent);
        transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1) 0.7s;
    }
    
    .nav__menu.show-menu .nav__logo-line {
        width: 80px;
    }
    
    .nav__toggle {
        display: flex;
        position: relative;
        z-index: 10000;
        width: 32px;
        height: 32px;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        transition: transform 0.3s ease;
    }
    
    .nav__toggle:hover {
        transform: scale(1.1);
    }
    
    .nav__toggle span {
        width: 24px;
        height: 2.5px;
        background-color: var(--primary-color);
        border-radius: 2px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: absolute;
    }
    
    .nav__toggle span:nth-child(1) {
        top: 8px;
    }
    
    .nav__toggle span:nth-child(2) {
        top: 50%;
        transform: translateY(-50%);
    }
    
    .nav__toggle span:nth-child(3) {
        bottom: 8px;
    }
    
    .nav__toggle.active {
        transform: scale(1.1);
    }
    
    .nav__toggle.active span:nth-child(1) {
        top: 50%;
        transform: translateY(-50%) rotate(45deg);
        background-color: var(--primary-color);
    }
    
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateY(-50%) scale(0);
    }
    
    .nav__toggle.active span:nth-child(3) {
        bottom: 50%;
        transform: translateY(50%) rotate(-45deg);
        background-color: var(--primary-color);
    }
    
    .home__title {
        font-size: 2.5rem;
    }
    
    .title-word {
        font-size: 1em;
    }
    
    .home__subtitle {
        font-size: 1.25rem;
    }
    
    .home__slogan {
        margin-top: 1rem;
    }
    
    .slogan-container {
        padding: 1rem 1.5rem;
    }
    
    .slogan-content {
        gap: 0.75rem;
    }
    
    .slogan-label {
        font-size: 0.7rem;
        padding-bottom: 0.75rem;
    }
    
    .slogan-text {
        font-size: 1.125rem;
        gap: 0.75rem;
    }
    
    .slogan-separator {
        font-size: 1.1em;
    }
    
    .home__waves {
        height: 100px;
    }
    
    .advantages__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .advantage__item {
        padding: 2rem 1.5rem;
    }
    
    .advantage__icon svg {
        width: 48px;
        height: 48px;
    }
    
    .advantage__icon-bg {
        width: 80px;
        height: 80px;
    }
    
    .advantage__icon-pulse {
        width: 80px;
        height: 80px;
    }
    
    .advantage__text {
        font-size: 1rem;
    }
    
    .advantages__circle {
        display: none; /* Hide on mobile for performance */
    }
    
    .advantages__line {
        display: none; /* Hide on mobile for performance */
    }
    
    .mission {
        padding: 4rem 0;
    }
    
    .mission__text {
        font-size: 1.125rem;
        padding: 0 1rem;
        line-height: 1.7;
    }
    
    .mission__text::before,
    .mission__text::after {
        font-size: 3rem;
    }
    
    .mission__quote-icon svg {
        width: 50px;
        height: 50px;
    }
    
    .signature-text {
        font-size: 1.25rem;
    }
    
    .wave {
        animation-duration: 15s; /* Faster on mobile */
    }
    
    .image-particles {
        display: none; /* Hide particles on mobile for performance */
    }
    
    .section__title {
        font-size: 2rem;
    }
    
    .about__container {
        gap: 2rem;
    }
    
    .about__features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature__card {
        padding: 1.5rem 1rem;
    }
    
    .about__paragraph {
        font-size: 1rem;
    }
    
    .decoration-line {
        display: none; /* Hide on mobile for performance */
    }
    
    .image-pattern {
        display: none; /* Hide on mobile for performance */
    }
    
    .advantages__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .advantage__item {
        padding: 2rem 1.5rem;
    }
    
    .advantage__text {
        font-size: 1rem;
    }
    
    .mission {
        padding: 5rem 0;
    }
    
    .mission__text {
        font-size: 1.25rem;
        padding: 0 1rem;
    }
    
    .mission__quote-icon {
        margin-bottom: 1.5rem;
    }
    
    .mission__quote-icon svg {
        width: 60px;
        height: 60px;
    }
    
    .services__container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service__card {
        padding: 2rem 1.5rem;
    }
    
    .service__number {
        font-size: 2.5rem;
    }
    
    .icon-circle {
        width: 80px;
        height: 80px;
    }
    
    .contacts__grid {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "email"
            "phone"
            "time"
            "messengers";
        gap: 1.5rem;
    }
    
    .contact__emails {
        flex-direction: column;
    }
    
    .email__department-addresses {
        flex-direction: column;
    }
    
    .email__address-link {
        min-width: auto;
        width: 100%;
    }
    
    .email__address-link .email__address {
        font-size: 13px; /* Размер шрифта для мобильной версии */
    }
    
    .contact__email-item {
        min-width: auto;
        width: 100%;
    }
    
    .email__address {
        font-size: 13px; /* Размер шрифта для мобильной версии */
    }
    
    .contact__card-inner {
        padding: 2rem 1.5rem;
    }
    
    .contact__title {
        font-size: 1.25rem;
    }
    
    .contact__link {
        font-size: 1.125rem;
    }
    
    /* Адаптация блока телефона для мобильной версии */
    .phone__header {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .phone__status {
        align-self: flex-start;
        margin-top: 0;
    }
    
    .contact__card--phone {
        overflow: hidden; /* Исправляем overflow для мобильной версии */
    }
    
    .phone__number-wrapper {
        margin: 1rem 0;
    }
    
    .phone__number-link {
        flex-wrap: wrap;
        padding: 1rem;
    }
    
    .phone__number {
        font-size: 1.25rem;
        width: 100%;
        margin-top: 0.5rem;
    }
    
    .phone__number-icon {
        width: 40px;
        height: 40px;
    }
    
    .phone__arrow {
        position: absolute;
        right: 1rem;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .phone__info {
        gap: 0.75rem;
    }
    
    .phone__contact-person {
        padding: 0.75rem;
    }
    
    .phone__messengers-badges {
        flex-direction: column;
        width: 100%;
    }
    
    .phone__badge {
        width: 100%;
        justify-content: center;
    }
    
    .contacts__wave {
        height: 150px;
    }
    
    .contacts__dots {
        display: none; /* Hide on mobile for performance */
    }
    
    .footer {
        padding: 2rem 0 1.5rem;
    }
    
    .footer__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer__content {
        justify-content: center;
    }
    
    .footer__info {
        align-items: center;
    }
    
    .footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer__divider {
        width: 60px;
        height: 1px;
        margin: 0.5rem 0;
    }
    
    .footer__meta {
        text-align: center;
    }
}

@media screen and (max-width: 480px) {
    .home__title {
        font-size: 2rem;
    }
    
    .home__subtitle {
        font-size: 1.125rem;
    }
    
    .button {
        width: 100%;
        text-align: center;
    }
    
    .contact__messengers {
        flex-direction: column;
    }
    
    .messenger__link {
        width: 100%;
        justify-content: center;
    }
    
    /* Дополнительная адаптация блока телефона для очень маленьких экранов */
    .phone__header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .phone__status {
        align-self: center;
        margin-top: 0.5rem;
    }
    
    .phone__number-link {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .phone__number {
        font-size: 1.125rem;
        text-align: center;
    }
    
    .phone__arrow {
        position: static;
        transform: none;
    }
    
    .modal__container {
        max-width: 100%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .modal__header {
        padding: 1.5rem;
    }
    
    .modal__title {
        font-size: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form__group {
        gap: 0.5rem;
    }
}

/* ===== Scroll Animation ===== */
@media (prefers-reduced-motion: no-preference) {
    .service__card,
    .feature__card,
    .contact__card {
        opacity: 0;
        transform: translateY(30px);
        animation: fadeInUp 0.6s ease forwards;
    }
    
    .service__card:nth-child(1) { animation-delay: 0.1s; }
    .service__card:nth-child(2) { animation-delay: 0.2s; }
    .service__card:nth-child(3) { animation-delay: 0.3s; }
    .service__card:nth-child(4) { animation-delay: 0.4s; }
    .service__card:nth-child(5) { animation-delay: 0.5s; }
    .service__card:nth-child(6) { animation-delay: 0.6s; }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

