* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%),
        url('../images/image2.jpg.webp') center/cover no-repeat fixed;
    color: #201919;
    font-family: 'Geologica', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    scroll-behavior: smooth;
}

#main,
#about,
#partners {
    scroll-margin-top: 100px;
}

.header {
    position: sticky;
    top: 0;
    padding: 16px 24px;
    background: transparent;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(42, 42, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.header-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(201, 73, 82, 0.4));
    animation: logoGlow 3s ease-in-out infinite;
}

@keyframes logoGlow {
    0%, 100% {
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 20px rgba(201, 73, 82, 0.3));
    }
    50% {
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2)) drop-shadow(0 0 30px rgba(201, 73, 82, 0.7));
    }
}

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

.header-nav-link {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.25s ease;
}

.header-nav-link:hover {
    color: #c94952;
}

.header-nav-divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.2);
}

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

.header-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    text-decoration: none;
    transition:
        transform 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

.header-icon:hover {
    transform: translateY(-2px);
    background: rgba(201, 73, 82, 0.2);
    border-color: rgba(201, 73, 82, 0.4);
    box-shadow: 0 8px 16px rgba(201, 73, 82, 0.3);
}

.header-icon svg {
    display: block;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.hero {
    width: 100%;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    animation: fadeIn 1.5s ease-out;
    padding: 40px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px 0 60px;
}

.hero-text-block {
    max-width: 1000px;
    display: flex;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 20px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(255, 255, 255, 0.2),
        0 0 100px rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-right: auto;
}

.hero-block-image {
    width: 400px;
    min-width: 400px;
    background: url('../images/gallery/Egorov1.png') center/cover no-repeat;
    position: relative;
}

.hero-block-image::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.96) 100%);
}

.hero-block-text {
    flex: 1;
    padding: 50px 60px 50px 40px;
}

.hero-title {
    font-size: 42px;
    font-weight: 600;
    color: #333333;
    line-height: 1.2;
    margin: 0 0 20px 0;
    padding-bottom: 20px;
    border-bottom: 2px solid #c94952;
}

.hero-subtitle {
    font-size: 20px;
    color: #c94952;
    line-height: 1.6;
    margin: 0 0 20px 0;
    padding-left: 20px;
    border-left: 2px solid #c94952;
}

.hero-description {
    font-size: 17px;
    color: #7A7F84;
    line-height: 1.65;
    margin: 0 0 25px 0;
    text-align: justify;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid rgba(201, 73, 82, 0.2);
}

.hero-button {
    grid-column: 1 / -1;
    padding: 16px 35px;
    background: linear-gradient(135deg, #c94952 0%, #b8444e 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 20px rgba(201, 73, 82, 0.3);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
    margin-bottom: 10px;
}

.hero-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 73, 82, 0.4);
    filter: brightness(1.05);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 15px;
    background: rgba(201, 73, 82, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(201, 73, 82, 0.1);
    transition: all 0.25s ease;
}

.hero-stat:hover {
    background: rgba(201, 73, 82, 0.08);
    border-color: rgba(201, 73, 82, 0.2);
    transform: translateY(-3px);
}

.hero-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #c94952;
    line-height: 1;
}

.hero-stat-label {
    font-size: 13px;
    color: #7A7F84;
    line-height: 1.4;
    text-align: center;
}

.hero-image-block {
    flex: 1;
    max-width: 600px;
    height: auto;
}

.hero-image-block img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    object-fit: cover;
}

.about-section {
    position: relative;
    width: 100%;
    padding: 88px 0 96px;
    background:
        linear-gradient(180deg, rgba(250, 246, 241, 0.34) 0%, rgba(247, 242, 236, 0.42) 100%),
        url('../images/gallery/egorovonac.png') center/cover no-repeat;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 252, 247, 0.12) 0%, rgba(250, 245, 239, 0.18) 100%),
        radial-gradient(circle at 14% 18%, rgba(201, 73, 82, 0.11) 0%, transparent 34%),
        radial-gradient(circle at 86% 84%, rgba(124, 82, 46, 0.11) 0%, transparent 28%);
    pointer-events: none;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1380px;
    margin: 0 auto;
    padding: 0 40px;
}

.about-header {
    text-align: center;
    margin: 0 auto 38px;
}

.about-header h2 {
    font-family: 'Marck Script', cursive;
    font-size: 64px;
    font-weight: 400;
    color: #be4e58;
    margin: 0;
    line-height: 1.05;
    letter-spacing: 0.01em;
    text-shadow: 0 8px 22px rgba(190, 78, 88, 0.16);
}

.about-header-copy {
    max-width: 980px;
    margin: 12px auto 0;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.about-header-lead {
    margin: 0;
    font-size: clamp(30px, 2.7vw, 46px);
    font-weight: 700;
    color: #343840;
    line-height: 1.02;
    letter-spacing: -0.02em;
    text-shadow: 0 10px 22px rgba(74, 48, 42, 0.08);
}

.about-header-subtitle {
    margin: 0;
    position: relative;
    max-width: 820px;
    padding-top: 14px;
    font-size: clamp(14px, 1.1vw, 18px);
    line-height: 1.45;
    color: #454a52;
}

.about-header-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 78px;
    height: 2px;
    border-radius: 999px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, rgba(201, 73, 82, 0) 0%, rgba(201, 73, 82, 0.92) 50%, rgba(201, 73, 82, 0) 100%);
}

.about-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 108px;
}

.about-track {
    display: flex;
    transition: transform 0.45s ease;
    will-change: transform;
}

.about-slide {
    min-width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.72fr) minmax(320px, 0.9fr);
    align-items: stretch;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 18px 45px rgba(66, 44, 36, 0.12),
        0 0 0 1px rgba(201, 73, 82, 0.05);
}

.about-image {
    position: relative;
    min-height: 540px;
    overflow: hidden;
    background: #eadfd5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.about-slide:hover .about-image img {
    transform: scale(1.02);
}

.about-text-panel {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    box-shadow: -1px 0 0 rgba(201, 73, 82, 0.08);
}

.about-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    width: 100%;
    padding: 38px 38px 40px 34px;
}

.about-card-label {
    margin: 0;
    font-family: 'Marck Script', cursive;
    font-size: 34px;
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.01em;
    color: rgba(190, 78, 88, 0.9);
}

.about-title {
    font-size: clamp(30px, 2.55vw, 50px);
    font-weight: 600;
    color: #3c4048;
    margin: 0;
    line-height: 1.04;
    max-width: 10ch;
}

.about-subtitle {
    position: relative;
    padding-top: 14px;
    font-size: 14px;
    color: #3a3f47;
    font-weight: 400;
    line-height: 1.45;
    margin: 0;
}

.about-subtitle::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 74px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(201, 73, 82, 0.92) 0%, rgba(201, 73, 82, 0.18) 100%);
}

.about-story {
    display: grid;
    gap: 12px;
}

.about-story p {
    font-size: 15px;
    color: #23262b;
    line-height: 1.56;
    margin: 0;
}

.about-slider-controls {
    position: absolute;
    left: 50%;
    bottom: 12px;
    transform: translateX(-50%);
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 10px 16px;
    border-radius: 999px;
    background:
        linear-gradient(180deg, rgba(255, 251, 246, 0.96) 0%, rgba(244, 236, 228, 0.94) 100%);
    box-shadow:
        0 10px 22px rgba(94, 66, 56, 0.08),
        0 2px 8px rgba(94, 66, 56, 0.05),
        0 0 0 1px rgba(188, 151, 133, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.about-slider-controls::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    z-index: -1;
    width: calc(100% - 26px);
    height: 18px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: rgba(123, 91, 76, 0.12);
    filter: blur(16px);
    opacity: 0.65;
    pointer-events: none;
}

.about-slider-status {
    min-width: 72px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #61514a;
}

.about-arrow {
    width: 52px;
    height: 52px;
    border: 1px solid rgba(196, 159, 140, 0.38);
    border-radius: 50%;
    display: grid;
    place-items: center;
    cursor: pointer;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(244, 235, 227, 0.96) 100%);
    box-shadow:
        0 8px 20px rgba(111, 78, 59, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: transform 0.25s ease, opacity 0.25s ease, box-shadow 0.25s ease;
}

.about-arrow span {
    width: 11px;
    height: 11px;
    border-top: 2px solid #8a5b51;
    border-right: 2px solid #8a5b51;
}

.about-arrow--prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.about-arrow--next span {
    transform: rotate(45deg);
    margin-right: 4px;
}

.about-arrow:hover:not(:disabled) {
    transform: translateY(-2px);
    border-color: rgba(201, 73, 82, 0.26);
    background:
        linear-gradient(180deg, rgba(255, 248, 244, 0.98) 0%, rgba(248, 233, 227, 0.98) 100%);
    box-shadow:
        0 12px 24px rgba(156, 92, 73, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.about-arrow:disabled {
    cursor: default;
    opacity: 0.42;
    box-shadow: none;
}

@media (min-width: 1180px) and (min-height: 760px) {
    .header {
        padding: 10px 22px;
    }

    .header-content {
        padding: 10px 42px;
    }

    .hero {
        min-height: calc(100svh - 92px);
        padding: 18px 0 22px;
    }

    .hero-content {
        max-width: 1660px;
        padding: 0 34px 0 44px;
    }

    .hero-text-block {
        max-width: 940px;
    }

    .hero-block-image {
        width: 330px;
        min-width: 330px;
    }

    .hero-block-text {
        padding: 34px 40px 30px 32px;
    }

    .hero-title {
        font-size: 31px;
        margin-bottom: 14px;
        padding-bottom: 14px;
    }

    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 14px;
        padding-left: 16px;
    }

    .hero-description {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 18px;
    }

    .hero-stats {
        gap: 14px;
        margin-top: 18px;
        padding-top: 18px;
    }

    .hero-button {
        padding: 13px 28px;
        font-size: 15px;
        margin-bottom: 2px;
    }

    .hero-stat {
        gap: 5px;
        padding: 14px 12px;
    }

    .hero-stat-value {
        font-size: 30px;
    }

    .hero-stat-label {
        font-size: 12px;
        line-height: 1.3;
    }

    .about-section {
        min-height: calc(100svh - 92px);
        padding: 44px 0 60px;
        display: flex;
        align-items: center;
    }

    .about-content {
        width: 100%;
    }

    .about-header {
        margin-bottom: 20px;
    }

    .about-header h2 {
        font-size: 54px;
    }

    .about-header-copy {
        margin-top: 6px;
        gap: 8px;
        max-width: 860px;
    }

    .about-header-lead {
        font-size: 34px;
    }

    .about-header-subtitle {
        font-size: 15px;
        max-width: 760px;
    }

    .about-slider {
        padding-bottom: 92px;
    }

    .about-slide {
        grid-template-columns: minmax(0, 1.62fr) minmax(320px, 0.88fr);
    }

    .about-image {
        min-height: 430px;
    }

    .about-text {
        gap: 12px;
        padding: 28px 28px 30px 26px;
    }

    .about-card-label {
        font-size: 30px;
    }

    .about-title {
        font-size: 38px;
    }

    .about-subtitle {
        font-size: 13px;
        line-height: 1.4;
        padding-top: 12px;
    }

    .about-story {
        gap: 10px;
    }

    .about-story p {
        font-size: 14px;
        line-height: 1.48;
    }

    .about-slider-controls {
        padding: 8px 14px;
        gap: 12px;
    }

    .about-slider-status {
        min-width: 64px;
        font-size: 12px;
    }

    .about-arrow {
        width: 46px;
        height: 46px;
    }
}

@media (max-width: 1080px) {
    .about-header {
        margin-bottom: 28px;
    }

    .about-slider {
        padding-bottom: 92px;
    }

    .about-header-copy {
        max-width: 760px;
    }

    .about-slide {
        grid-template-columns: 1fr;
    }

    .about-image {
        min-height: 400px;
    }

    .about-text-panel {
        box-shadow: none;
        border-top: 1px solid rgba(201, 73, 82, 0.08);
    }

    .about-text {
        padding: 34px 32px 36px;
    }

    .about-title {
        font-size: 42px;
        max-width: none;
    }
}

@media (max-width: 720px) {
    .about-section {
        padding: 60px 0 72px;
    }

    .about-content {
        padding: 0 16px;
    }

    .about-header h2 {
        font-size: 44px;
    }

    .about-header-copy {
        gap: 6px;
        margin-top: 6px;
    }

    .about-header-lead {
        font-size: 26px;
    }

    .about-header-subtitle {
        font-size: 14px;
        padding-top: 12px;
    }

    .about-slider {
        padding-bottom: 88px;
    }

    .about-slide {
        border-radius: 18px;
    }

    .about-image {
        min-height: 270px;
    }

    .about-title {
        font-size: 28px;
        line-height: 1.12;
    }

    .about-subtitle {
        font-size: 14px;
        padding-top: 12px;
    }

    .about-text {
        padding: 26px 22px 28px;
        gap: 16px;
    }

    .about-card-label {
        font-size: 30px;
    }

    .about-story p {
        font-size: 15px;
        line-height: 1.58;
    }

    .about-slider-controls {
        gap: 10px;
        padding: 8px 12px;
    }

    .about-slider-status {
        min-width: 58px;
        font-size: 12px;
    }

    .about-arrow {
        width: 46px;
        height: 46px;
    }
}

.footer {
    position: relative;
    margin-top: auto;
    padding: 40px 24px 24px;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(248, 244, 239, 0.96) 0%, rgba(242, 236, 229, 0.96) 42%, rgba(236, 229, 221, 0.94) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        inset 0 46px 90px rgba(255, 255, 255, 0.12);
}

.footer::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.38) 0%, rgba(255, 255, 255, 0.22) 100%),
        url("../images/gallery/egorov.svg") center/cover no-repeat;
    opacity: 0.14;
    filter: grayscale(1) contrast(0.82) brightness(1.02);
    pointer-events: none;
}

.footer-content {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    padding: 36px 40px;
    display: grid;
    grid-template-columns: minmax(230px, 270px) minmax(0, 1fr);
    gap: 28px;
    background:
        linear-gradient(135deg, rgba(42, 31, 31, 0.98) 0%, rgba(23, 22, 22, 0.96) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    overflow: hidden;
    box-shadow:
        0 0 40px rgba(0, 0, 0, 0.15),
        0 26px 60px rgba(32, 17, 17, 0.26),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/decor-lines.svg') center/cover no-repeat;
    opacity: 0.5;
    pointer-events: none;
    z-index: 0;
}

.footer-content::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(201, 73, 82, 0.3) 0%, transparent 40%),
        radial-gradient(circle at bottom right, rgba(201, 73, 82, 0.3) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
    padding: 1px;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 6px 6px 6px 2px;
}

.footer-logo {
    width: min(100%, 185px);
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.24));
}

.footer-tagline {
    max-width: 235px;
    color: rgba(255, 244, 244, 0.74);
    font-size: 15px;
    line-height: 1.75;
}

.footer-info {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1.22fr) minmax(0, 0.92fr);
    gap: 16px;
    align-items: start;
}

.footer-brand {
    position: relative;
    z-index: 1;
}

.footer-card {
    padding: 24px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 11px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    backdrop-filter: blur(10px);
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease;
}

.footer-card:hover {
    transform: translateY(-4px);
    border-color: rgba(201, 73, 82, 0.28);
    background: rgba(255, 255, 255, 0.06);
}

.footer-card--accent {
    background:
        linear-gradient(180deg, rgba(201, 73, 82, 0.12), rgba(255, 255, 255, 0.04));
    border-color: rgba(201, 73, 82, 0.24);
}

.footer-label {
    margin-bottom: 6px;
    color: #f0d2d3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-card p {
    color: #f5efea;
    font-size: 15px;
    line-height: 1.65;
}

.footer-phone {
    color: #ffffff;
    font-size: clamp(19px, 1.48vw, 24px);
    font-weight: 800;
    line-height: 1.25;
    text-decoration: none;
    letter-spacing: 0.005em;
    white-space: nowrap;
    transition: color 0.25s ease;
}

.footer-phone:hover {
    color: #ffb2b7;
}

.footer-email-button {
    width: fit-content;
    min-width: 174px;
    padding: 11px 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #d75c66 0%, #c64954 55%, #b8444e 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff6f6;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
    text-decoration: none;
    box-shadow: 0 10px 18px rgba(184, 68, 78, 0.18);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.footer-email-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(184, 68, 78, 0.26);
    filter: brightness(1.05);
}

.footer-card--address {
    gap: 12px;
}

.footer-card--contact {
    justify-content: space-between;
    padding-bottom: 18px;
}

.footer-card--legal {
    gap: 16px;
}

.footer-wave {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    opacity: 0.72;
    background-repeat: no-repeat;
    background-size: contain;
}

.footer-wave--left {
    left: 20px;
    top: 14px;
    width: 244px;
    height: 78px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 90' fill='none'%3E%3Cpath d='M8 18C42 11 78 10 116 14c31 3 63 8 106 3' stroke='rgba(255,255,255,0.34)' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M5 36C43 28 83 28 121 31c28 2 58 5 95 1' stroke='rgba(255,255,255,0.24)' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M3 54C38 47 76 46 112 49c29 3 55 4 87 1' stroke='rgba(255,255,255,0.18)' stroke-width='1.15' stroke-linecap='round'/%3E%3C/svg%3E");
}

.footer-wave--right {
    right: 14px;
    bottom: 16px;
    width: 248px;
    height: 74px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 90' fill='none'%3E%3Cpath d='M252 20C214 13 176 12 138 16c-30 3-60 7-104 2' stroke='rgba(255,255,255,0.28)' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M248 38C208 31 170 30 133 33c-28 2-57 5-95 1' stroke='rgba(255,255,255,0.2)' stroke-width='1.15' stroke-linecap='round'/%3E%3Cpath d='M244 56C206 49 170 48 135 51c-28 3-53 4-86 1' stroke='rgba(255,255,255,0.14)' stroke-width='1.15' stroke-linecap='round'/%3E%3C/svg%3E");
}

.footer-address-line {
    white-space: nowrap;
    color: #fbf4ef;
}

.footer-address-link {
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-address-link:hover {
    color: #c94952;
}

.footer-schedule {
    margin-top: 2px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-meta-label {
    color: #f0d2d3;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-schedule-row {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 8px;
    align-items: baseline;
}

.footer-schedule-day {
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.footer-schedule-value {
    color: #f5efea;
    font-size: 14px;
    line-height: 1.45;
}

.footer-legal-line {
    color: #f4ece7;
    line-height: 1.55;
}

.footer-social-strip {
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: grid;
    gap: 6px;
}

.footer-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.social-app {
    position: relative;
    min-height: 58px;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    text-decoration: none;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}

.social-app:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.18);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
    box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14);
}

.social-app-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(145deg, #c94952 0%, #a83d45 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 8px 14px rgba(201, 73, 82, 0.3);
    overflow: hidden;
}

.social-app-icon-image {
    width: 18px;
    height: 18px;
    display: block;
    object-fit: contain;
}

.social-app-icon-image--light {
    filter: brightness(0) invert(1);
}

.social-app-icon-image--max {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
}

.social-app-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.social-app-badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #c94952 0%, #a83d45 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(201, 73, 82, 0.4);
}

.social-app--disabled {
    opacity: 0.7;
    cursor: default;
}

.social-app--disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
    box-shadow: none;
}

.partners-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.65) 100%),
        url('../images/gallery/egorovpart.png') center/cover no-repeat;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.partners-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.partners-header {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 40px;
}

.partners-header h2 {
    font-size: 48px;
    font-weight: 600;
    background: linear-gradient(135deg, #333333 0%, #c94952 50%, #333333 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 30px 0;
    text-shadow: 0 4px 20px rgba(201, 73, 82, 0.3);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
}

.partners-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, #c94952 50%, transparent 100%);
    margin: 0 auto 25px;
    border-radius: 3px;
}

.partners-subtitle {
    font-size: 21px;
    color: #7A7F84;
    line-height: 1.7;
    font-style: italic;
    max-width: 700px;
    margin: 0 auto;
}

.partners-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 40px 0;
}

.partners-carousel::before,
.partners-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.partners-carousel::before {
    left: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.92) 0%, transparent 100%);
}

.partners-carousel::after {
    right: 0;
    background: linear-gradient(270deg, rgba(255, 255, 255, 0.92) 0%, transparent 100%);
}

.partners-track {
    display: flex;
    gap: 60px;
    animation: scroll 40s linear infinite;
    will-change: transform;
}

.partners-track:hover {
    animation-play-state: paused;
}

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

.partner-item {
    flex-shrink: 0;
    width: 240px;
    height: 160px;
    padding: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(201, 73, 82, 0.15);
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-carousel:hover .partner-item {
    transform: scale(0.92);
    opacity: 0.6;
}

.partners-carousel .partner-item:hover {
    transform: scale(1.15) !important;
    opacity: 1 !important;
    border-color: rgba(201, 73, 82, 0.4);
    box-shadow: 0 16px 32px rgba(201, 73, 82, 0.2);
    z-index: 10;
}

.partner-item img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: all 0.4s ease;
}

@media (max-width: 1080px) {
    .partners-header h2 {
        font-size: 40px;
    }

    .partners-subtitle {
        font-size: 17px;
    }

    .partner-item {
        width: 180px;
        height: 120px;
        padding: 25px;
    }

    .partners-track {
        gap: 50px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        align-items: flex-start;
        padding-right: 0;
    }

    .footer-tagline {
        max-width: 100%;
    }

    .footer-info {
        grid-template-columns: repeat(2, minmax(240px, 1fr));
    }

    .footer-card--legal {
        grid-column: 1 / -1;
    }

    .footer-address-line {
        white-space: normal;
    }

    .footer-phone {
        white-space: normal;
    }
}

@media (max-width: 720px) {
    .partners-section {
        padding: 40px 20px;
    }

    .partners-header h2 {
        font-size: 32px;
    }

    .partner-item {
        padding: 20px;
        width: 160px;
        height: 104px;
    }

    .partners-track {
        gap: 30px;
    }

    .partners-carousel::before,
    .partners-carousel::after {
        width: 64px;
    }

    .footer {
        padding: 32px 14px 18px;
    }

    .footer-content {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .footer-info {
        grid-template-columns: 1fr;
    }

    .footer-card--legal {
        grid-column: auto;
    }

    .footer-phone {
        font-size: 24px;
        line-height: 1.2;
    }

    .footer-card {
        padding: 20px 18px;
    }

    .footer-email-button {
        width: 100%;
    }

    .footer-social-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    .social-app {
        min-height: 56px;
        padding: 6px;
        border-radius: 15px;
    }

    .social-app-icon {
        width: 32px;
        height: 32px;
        border-radius: 11px;
    }

    .social-app-icon-image {
        width: 16px;
        height: 16px;
    }

    .social-app-icon-image--max {
        width: 24px;
        height: 24px;
    }

    .footer-schedule-row {
        grid-template-columns: 1fr;
        gap: 2px;
    }
}

.notification-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 1000 !important;
}

.notification-modal.active {
    display: flex !important;
    animation: fadeInModal 0.3s ease;
}

@keyframes fadeInModal {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.notification-content {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 244, 239, 0.98) 100%);
    padding: 40px 50px;
    border-radius: 24px;
    border: 1px solid rgba(201, 73, 82, 0.2);
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(201, 73, 82, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    text-align: center;
    max-width: 450px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
}

.notification-modal.active .notification-content {
    opacity: 1;
    transform: scale(1);
}

.notification-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.notification-content h3 {
    font-size: 28px;
    font-weight: 600;
    color: #333333;
    margin: 0 0 15px 0;
}

.notification-content p {
    font-size: 17px;
    color: #7A7F84;
    line-height: 1.6;
    margin: 0 0 30px 0;
}

.notification-close {
    padding: 14px 40px;
    background: linear-gradient(135deg, #c94952 0%, #b8444e 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(201, 73, 82, 0.3);
    transition: all 0.25s ease;
    font-family: 'Geologica', sans-serif;
}

.notification-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(201, 73, 82, 0.4);
    filter: brightness(1.05);
}

.notification-close:active {
    transform: translateY(0);
}
