/* ===== RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(180deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 100%);
    transition: background 0.3s ease;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #fff;
}
.logo span {
    color: #ffd700;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-switch {
    display: flex;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
}
.lang-switch a {
    opacity: 0.6;
    transition: opacity 0.2s;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}
.lang-switch a.active {
    opacity: 1;
    border-bottom-color: #ffd700;
}
.lang-switch a:hover {
    opacity: 1;
}

.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 200;
}
.burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transition: transform 0.3s, opacity 0.3s;
}
.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.4s, visibility 0.4s;
}
.menu-overlay.active {
    visibility: visible;
    opacity: 1;
}
.menu-nav {
    list-style: none;
    text-align: center;
}
.menu-nav li {
    margin: 20px 0;
}
.menu-nav a {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
    transition: color 0.2s;
}
.menu-nav a:hover {
    color: #ffd700;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 20px;
}

.hero-title {
    font-size: clamp(40px, 10vw, 90px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}
.hero-title span {
    color: #ffd700;
    display: block;
}

.hero-subtitle {
    font-size: clamp(18px, 4vw, 26px);
    font-weight: 400;
    max-width: 900px;
    margin: 0 auto 40px;
    line-height: 1.4;
}
.hero-subtitle .highlight {
    display: block;
    font-size: clamp(20px, 5vw, 32px);
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.hero-subtitle .light {
    display: block;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-btn {
    display: inline-block;
    padding: 16px 48px;
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: background 0.3s, color 0.3s;
    cursor: pointer;
}
.hero-btn:hover {
    background: #ffd700;
    color: #000;
}

/* По умолчанию показываем десктопное видео, мобильное скрыто */
.desktop-video {
    display: block;
}
.mobile-video {
    display: none;
}

/* На устройствах с шириной экрана до 768px */
@media (max-width: 768px) {
    .desktop-video {
        display: none;
    }
    .mobile-video {
        display: block;
    }
}

.about-visual-mobile {
    display: none;
}
.desktop-only {
    display: block;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none;
    }
    .about-visual-mobile {
        display: block;
    }
}

/* ===== СЕКЦИЯ "О НАС" ===== */
.section {
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #ffd700;
    margin-bottom: 20px;
    text-align: center;
}

.bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    isolation: isolate;
}
.bg-animation .glow-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.8) 0%, rgba(255,215,0,0) 70%);
    filter: blur(30px);
    mix-blend-mode: screen;
    animation: pulseGlow 6s infinite ease-in-out;
}
.bg-animation .glow-circle-1 {
    width: 400px; height: 400px; top: 10%; left: 10%; animation-duration: 8s; opacity: 0.5;
}
.bg-animation .glow-circle-2 {
    width: 300px; height: 300px; bottom: 10%; right: 10%; animation-duration: 10s; animation-delay: 1s; opacity: 0.6;
}
.bg-animation .glow-circle-3 {
    width: 500px; height: 500px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-duration: 12s; animation-delay: 2s; opacity: 0.4;
}
.bg-animation .glow-circle-4 {
    width: 200px; height: 200px; top: 70%; left: 20%; animation-duration: 7s; animation-delay: 0.5s; opacity: 0.7;
}
@keyframes pulseGlow {
    0%,100% { transform: scale(1) translate(0,0); opacity: 0.3; }
    50% { transform: scale(1.3) translate(20px,-20px); opacity: 0.8; }
}
.bg-animation .glow-line {
    position: absolute; width: 200%; height: 2px; background: linear-gradient(90deg, transparent, #ffd700, transparent); filter: blur(3px); transform: rotate(45deg); animation: moveLine 12s infinite linear; opacity: 0.4;
}
.bg-animation .glow-line-2 {
    transform: rotate(-45deg); animation: moveLine 15s infinite linear reverse; width: 150%; height: 1px; background: linear-gradient(90deg, transparent, #ffd700, #ffd700, transparent);
}
@keyframes moveLine {
    0% { top: -50%; left: -50%; }
    100% { top: 150%; left: 150%; }
}
.bg-animation .glow-dot {
    position: absolute; width: 8px; height: 8px; background: #ffd700; border-radius: 50%; filter: blur(4px); animation: twinkle 3s infinite alternate;
}
.bg-animation .glow-dot-1 { top: 30%; left: 40%; animation-duration: 2s; }
.bg-animation .glow-dot-2 { top: 70%; left: 60%; animation-duration: 2.5s; animation-delay: 0.5s; }
.bg-animation .glow-dot-3 { top: 50%; left: 80%; animation-duration: 3s; animation-delay: 1s; }
@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.5); }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content { max-width: 600px; }
.about-text-large {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 25px;
}
.about-text {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.8;
    margin-bottom: 40px;
}
.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}
.feature-number {
    font-size: 14px; font-weight: 600; color: #ffd700; display: block; margin-bottom: 10px;
}
.feature h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature p { font-size: 14px; line-height: 1.5; opacity: 0.7; }
.about-btn {
    display: inline-block; padding: 12px 32px; border: 2px solid #ffd700; color: #ffd700;
    font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px;
    transition: background 0.3s, color 0.3s;
}
.about-btn:hover { background: #ffd700; color: #000; }

/* Десктопное видео */
.about-visual {
    position: relative;
    height: 500px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
.about-visual video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Мобильное видео (по умолчанию скрыто) */
.about-visual-mobile {
    display: none;
    margin: 30px 0 20px;
    border-radius: 10px;
    overflow: hidden;
}
.about-visual-mobile video {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== СЕКЦИИ УСЛУГ (Unique SG стиль) ===== */
:root {
    --image-canvas-size: 770px;
}

.icons-section {
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    overflow: hidden;
}

.icons-section .wrapper {
    position: relative;
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    min-height: var(--image-canvas-size);
}

.icons-section .content-wrap {
    position: relative;
    z-index: 2;
    max-width: calc(100% - var(--image-canvas-size));
    margin-bottom: 60px;
}

.icons-section .content-wrap.content-b {
    margin-right: auto;
}

.icons-section .content-wrap.content-a {
    margin-left: auto;
    margin-top: 40px;
}

.icons-section .content h2 {
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.icons-section .content h2 .highlighted {
    color: #ffd700;
}

.icons-section .content p {
    font-size: 18px;
    opacity: 0.8;
    margin-bottom: 30px;
    max-width: 500px;
}

.button.theme-a {
    display: inline-block;
    padding: 14px 38px;
    border: 2px solid #ffd700;
    color: #ffd700;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.button.theme-a:hover {
    background: #ffd700;
    color: #000;
}

.icons-wrap {
    margin-top: 50px;
}

.icons-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 30px;
}

.icon .wrap {
    text-align: center;
}

.icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(0deg);
}

.icon h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1.3;
}

.icon h3 span {
    display: block;
    font-weight: 400;
    color: #ffd700;
}

.icons-section .images-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.icons-section .images-wrap .layered-images {
    position: relative;
    width: var(--image-canvas-size);
    height: var(--image-canvas-size);
    max-width: 100%;
    max-height: 100%;
}

.icons-section .images-wrap.content-b .layered-images {
    margin-left: auto;
}

.icons-section .images-wrap.content-a .layered-images {
    margin-right: auto;
}

.layered-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.layered-images .img {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.layered-images .img .bg {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.layered-images .img-1 { z-index: 1; }
.layered-images .img-2 { z-index: 2; }
.layered-images .img-3 { z-index: 3; }
.layered-images .img-4 { z-index: 4; }
.layered-images .img-5 { z-index: 5; }
.layered-images .img-6 { z-index: 6; }
.layered-images .img-7 { z-index: 7; }
.layered-images .img-8 { z-index: 8; }
.layered-images .img-9 { z-index: 9; }

.layered-images .img.arrow .bg {
    animation: bounceArrow 4s ease-in-out infinite;
}
@keyframes bounceArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(15px); }
}

.layered-images .img.photo {
    opacity: 0;
    transform: translateY(50vh);
    animation: slideUpFade 1s ease forwards;
}
@keyframes slideUpFade {
    0% { opacity: 0; transform: translateY(50vh); }
    50% { opacity: 0; }
    75% { opacity: 0.5; }
    100% { opacity: 1; transform: translateY(0); }
}

.highlighted  {
   color:#000;
   font-size: 20px;
}

/* Декоративные полосы (bg-theme) */
.bg-theme {
    position: absolute;
    inset: auto 0;
    z-index: 1;
    pointer-events: none;
    filter: drop-shadow(0 0 12px #d2ff01);
}

.bg-theme.bg-theme-a {
    top: 0;
}

.bg-theme.bg-theme-b {
    bottom: 0;
    transform: rotate(180deg);
}

.bg-theme div {
    width: 135%;
    height: 57px;
    background: #d2ff01;
    clip-path: polygon(0% 0%, 13.33% 61%, 75% 0%);
}

/* ===== СЕКЦИЯ "НАШИ КЛИЕНТЫ" ===== */
.clients-section {
    position: relative;
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.clients-headline {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.client-card {
    text-align: center;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.client-card.active {
    opacity: 1;
    transform: translateY(0);
}

.client-photo {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
    border: 2px solid transparent;
    transition: border-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

.client-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.client-card:hover .client-photo {
    border-color: #ffd700;
    transform: scale(1.05);
}

.client-card:hover .client-photo img {
    transform: scale(1.1);
}

.client-name {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.client-card:hover .client-name {
    color: #ffd700;
}

/* ===== СЕКЦИЯ "ПАРТНЕРЫ" ===== */
.partners-section {
    position: relative;
    padding: 100px 20px;
    background-color: #000;
    color: #fff;
    overflow: hidden;
}

.partners-headline {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 60px;
    text-align: center;
    color: #ffd700;
    text-shadow: 0 0 15px rgba(255,215,0,0.3);
    position: relative;
    z-index: 2;
}

.partners-carousel {
    position: relative;
    z-index: 2;
    padding: 20px 0 60px 0;
}

.partner-card {
    background: rgba(0,0,0,0.8);
    border: 1px solid rgba(255,215,0,0.4);
    border-radius: 20px;
    padding: 20px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 30px rgba(255,215,0,0.1);
}

.partner-card:hover {
    transform: translateY(-5px);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255,215,0,0.2);
}

.partner-icon-col {
    flex: 0 0 30%;
    max-width: 200px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.partner-icon-3d {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px rgba(255,215,0,0.5));
    animation: floatBall 4s ease-in-out infinite;
}

@keyframes floatBall {
    0% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
    100% { transform: translateY(0); }
}

.partner-info-col {
    flex: 1;
    text-align: left;
}

.partner-info-col h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.partner-info-col p {
    font-size: 14px;
    line-height: 1.5;
    color: #ccc;
    margin-bottom: 0;
}

/* ===== СЕКЦИЯ "ALL IN / ВМЕСТЕ К ВЕРШИНАМ" ===== */
.rise-section {
    position: relative;
    padding: 120px 20px;
    color: #fff;
    overflow: hidden;
    background-color: #000;
    background-image: url('/img/Footer_png.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.rise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.rise-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}
.rise-bg-animation .glow-circle {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, rgba(255,215,0,0) 70%);
    filter: blur(60px);
    mix-blend-mode: screen;
    animation: floatGlow 15s infinite alternate ease-in-out;
}
.rise-bg-animation .glow-circle-1 {
    width: 400px; height: 400px; top: 10%; left: 5%; animation-duration: 20s;
}
.rise-bg-animation .glow-circle-2 {
    width: 500px; height: 500px; bottom: 10%; right: 5%; animation-duration: 25s;
}
@keyframes floatGlow {
    0% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    100% { transform: translate(50px, -30px) scale(1.2); opacity: 0.6; }
}

.rise-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 3;
}
.rise-header .section-title {
    margin-bottom: 10px;
}
.rise-header .rise-title {
    font-size: clamp(42px, 8vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
    color: #ffd700;
    text-shadow: 0 0 20px rgba(255,215,0,0.4);
}

.rise-carousel {
    position: relative;
    z-index: 3;
    padding: 20px 0 60px 0;
}

.rise-card {
    background: rgba(20,20,20,0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.2);
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s, box-shadow 0.3s;
}

.rise-card:hover {
    transform: translateY(-10px);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(255,215,0,0.2);
}

.card-icon {
    width: 90px;
    height: 90px;
    background: rgba(255,215,0,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: background 0.3s;
}

.rise-card:hover .card-icon {
    background: rgba(255,215,0,0.2);
}

.card-icon i {
    font-size: 50px;
    color: #ffd700;
}

.rise-card h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
}

.card-stars {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.card-stars span {
    width: 12px;
    height: 12px;
    background-color: #ffd700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0;
    transform: translateY(10px);
    animation: starAppear 0.4s ease forwards;
}

.card-stars span:nth-child(1) { animation-delay: 0.1s; }
.card-stars span:nth-child(2) { animation-delay: 0.2s; }
.card-stars span:nth-child(3) { animation-delay: 0.3s; }
.card-stars span:nth-child(4) { animation-delay: 0.4s; }
.card-stars span:nth-child(5) { animation-delay: 0.5s; }

@keyframes starAppear {
    to { opacity: 1; transform: translateY(0); }
}

.rise-card p {
    font-size: 16px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 0;
}

/* Форма обратной связи */
.contact-form-wrapper {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 80px auto 0;
    padding: 40px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255,215,0,0.2);
    text-align: center;
}

.contact-form-wrapper h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffd700;
}

.contact-form-wrapper p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #ffd700;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffd700;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group .required {
    color: #ffd700;
    margin-left: 2px;
}

.submit-btn {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 14px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    width: fit-content;
    margin: 20px auto 0;
}

.submit-btn:hover {
    background: #ffd700;
    color: #000;
}

.swiper-pagination-bullet {
    background: rgba(255,215,0,0.3);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background: #ffd700;
}

.swiper-button-prev,
.swiper-button-next {
    color: #ffd700;
    background: rgba(0,0,0,0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: background 0.3s;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: rgba(255,215,0,0.2);
}
.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
}

/* ===== ПОПАП С ФОРМОЙ ===== */
.popup-form-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}
.popup-form-overlay.active {
    visibility: visible;
    opacity: 1;
}

.popup-form {
    position: relative;
    max-width: 500px;
    width: 90%;
    background: #111;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(255,215,0,0.2);
    color: #fff;
}

.popup-form-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.popup-form-close:hover {
    background: rgba(255,215,0,0.1);
}

.popup-form-header {
    text-align: center;
    margin-bottom: 30px;
}
.popup-form-header h3 {
    font-size: 28px;
    font-weight: 700;
    color: #ffd700;
    margin-bottom: 10px;
}
.popup-form-header p {
    font-size: 16px;
    opacity: 0.8;
}

#leadForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    color: #ffd700;
}
.form-group input[type="text"],
.form-group input[type="tel"] {
    width: 100%;
    padding: 14px 15px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    transition: border-color 0.3s;
}
.form-group input:focus {
    outline: none;
    border-color: #ffd700;
}
.form-group input::placeholder {
    color: rgba(255,255,255,0.5);
}
.required {
    color: #ffd700;
    margin-left: 2px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
}
.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ffd700;
}
.checkbox-group label {
    margin-bottom: 0;
    font-size: 14px;
    color: #ccc;
}
.checkbox-group a {
    color: #ffd700;
    text-decoration: underline;
}
.checkbox-group a:hover {
    text-decoration: none;
}

#submitBtn {
    background: transparent;
    border: 2px solid #ffd700;
    color: #ffd700;
    padding: 16px 30px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    width: 100%;
    margin-top: 10px;
}
#submitBtn:hover {
    background: #ffd700;
    color: #000;
}
#submitBtn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.popup-form-success {
    text-align: center;
    padding: 20px 0;
}
.popup-form-success i {
    font-size: 60px;
    color: #ffd700;
    margin-bottom: 20px;
}
.popup-form-success h4 {
    font-size: 24px;
    color: #ffd700;
    margin-bottom: 10px;
}
.popup-form-success p {
    font-size: 16px;
    opacity: 0.8;
}

/* ===== ПОПАП УСЛУГ ===== */
.services-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s, visibility 0.3s;
}
.services-popup-overlay.active {
    visibility: visible;
    opacity: 1;
}

.services-popup {
    position: relative;
    max-width: 980px;
    width: 90%;
    background: #111;
    border: 1px solid rgba(255,215,0,0.3);
    border-radius: 20px;
    padding: 50px 25px;
    box-shadow: 0 20px 40px rgba(255,215,0,0.1);
}

.popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffd700;
    font-size: 28px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}
.popup-close:hover {
    background: rgba(255,215,0,0.1);
}

.popup-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.popup-service-card h3 {
    font-size: 21px;
    font-weight: 600;
    color: #ffd700;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.gold-dot {
    width: 8px;
    height: 8px;
    background: #ffd700;
    border-radius: 50%;
    display: inline-block;
}

.popup-service-list {
    list-style: none;
}
.popup-service-list li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
    font-size: 16px;
    opacity: 0.9;
}
.popup-service-list li::before {
    content: "—";
    color: #ffd700;
    position: absolute;
    left: 0;
}

/* ===== АДАПТИВНОСТЬ (объединённые медиазапросы) ===== */
@media (max-width: 1200px) {
    .partner-info-col h4 { font-size: 16px; }
    .partner-info-col p { font-size: 13px; }
}

@media (max-width: 1024px) {
    .icons-section .wrapper {
        min-height: 0;
        padding: 40px 20px;
    }
    .icons-section .images-wrap {
        position: relative;
        height: auto;
        margin-top: 40px;
    }
    .icons-section .images-wrap .layered-images {
        width: 80%;
        height: auto;
        aspect-ratio: 1/1;
        margin: 0 auto;
    }
    .icons-section .content-wrap {
        max-width: 100%;
        text-align: center;
    }
    .icons-section .content-wrap.content-b,
    .icons-section .content-wrap.content-a {
        margin-left: 0;
        margin-right: 0;
    }
    .icons-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 20px;
    }
    .icon h3 { font-size: 14px; }
    .icon img { width: 50px; height: 50px; }
    .bg-theme div { width: 100%; height: 40px; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
    .partner-card { gap: 15px; }
    .partner-icon-col { max-width: 160px; }
}

@media (max-width: 768px) {
    /* О нас */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .about-visual.desktop-only {
        display: none;
    }
    .about-visual-mobile {
        display: block;
        margin-bottom: 50px;
    }
    .about-btn {
        display: block;
        width: fit-content;
        margin: 0 auto;
    }

    /* Услуги */
    .icons-section .wrapper { padding: 30px 15px; }
    .icons-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px 15px;
    }
    .icon img { width: 45px; height: 45px; }
    .icon h3 { font-size: 13px; }
    .icons-section .images-wrap .layered-images { width: 100%; }
    .bg-theme div {
        width: 100%;
        height: 85px;
        clip-path: polygon(0% 0%, 49.33% 53%, 100% 0%);
    }
    .bg-theme.bg-theme-b { display: none; }

    /* Клиенты */
    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .client-name { font-size: 16px; }

    /* Партнёры */
    .partners-carousel .swiper-button-prev,
    .partners-carousel .swiper-button-next { display: none; }

    /* Rise секция */
    .rise-card { padding: 30px 20px; }
    .rise-card h4 { font-size: 20px; }
    .swiper-button-prev,
    .swiper-button-next { display: none; }
    .contact-form-wrapper { padding: 30px 20px; }
}

@media (max-width: 576px) {
    .partner-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 25px 15px;
    }
    .partner-icon-col {
        flex: 0 0 auto;
        width: 200px;
        max-width: 200px;
        margin: 0 auto;
    }
    .partner-info-col {
        text-align: center;
    }
    .partner-info-col h4 { font-size: 18px; }
    .partner-info-col p { font-size: 14px; }
}

@media (max-width: 480px) {
    .icons-section .wrapper { padding: 20px 10px; }
    .icon img { width: 40px; height: 40px; }
    .button.theme-a { padding: 10px 20px; font-size: 14px; margin-top: 30px;}
    .icons-list { gap: 15px 10px; }
    .clients-grid { grid-template-columns: 1fr; max-width: 300px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .popup-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .bg-theme.bg-theme-a {
        top: 15px;
    }
    .services-popup {
        padding: 40px 20px;
    }
    .popup-service-card h3 {
        font-size: 20px;
    }
}

/* Анимация появления текста (hero) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero-title, .hero-subtitle, .hero-btn {
    opacity: 0;
    animation: fadeInUp 1s ease forwards;
}
.hero-title { animation-delay: 0.2s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-btn { animation-delay: 0.6s; }