:root {
    --page-bg: #f5f7fb;
    --surface: #ffffff;
    --surface-soft: #eff2f9;
    --accent: #1d6dfa;
    --accent-alt: #00a9e0;
    --accent-gradient: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    --text: #111525;
    --muted: #5f657b;
    --border: rgba(17, 21, 37, 0.08);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
html, body {
  margin: 0;
    padding: 0;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    background-color: var(--page-bg);
    color: var(--text);
}
body {
    min-height: 100vh;
    background-image:
        radial-gradient(circle at 5% 20%, rgba(29, 109, 250, 0.15), transparent 45%),
        radial-gradient(circle at 85% 10%, rgba(0, 169, 224, 0.12), transparent 50%);
    background-repeat: no-repeat;
    position: relative;
    overflow-x: hidden;
}
/* Убираем пустое пространство после футера */
body > *:last-child {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}
body::before {
    content: "";
    position: fixed;
    top: -30px;
    left: 0;
    right: 0;
    height: 210px;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    background: transparent;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 9;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}
body.scrolled::before {
    opacity: 1;
}
a {
    text-decoration: none;
    color: inherit;
}
.page {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 40px 0px;
}
header {
    opacity: 0;
    transform: translateY(30px);
    animation: sectionFade 0.8s ease forwards;
}
/* Hero elements visible immediately for LCP */
main, .hero-text, .hero-visual {
    opacity: 1;
    transform: translateY(0);
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 18px 28px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    position: sticky;
    top: 24px;
    z-index: 10;
    animation-delay: 0.1s;
}
.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}
.logo img {
    height: 44px;
    width: auto;
    display: block;
}
.logo-caption {
    font-size: 14px;
    line-height: 1.4;
    color: var(--muted);
    font-weight: 400;
}
@media (max-width: 640px) {
    .logo-caption {
        display: none;
    }
}
nav {
    display: flex;
    gap: 26px;
    font-size: 15px;
    color: var(--muted);
    flex: 1;
    justify-content: center;
}
nav a {
    position: relative;
    padding-bottom: 4px;
    transition: color 0.2s ease;
}
nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}
nav a:hover {
    color: var(--text);
}
nav a:hover::after {
    transform: scaleX(1);
}
.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}
.contact {
    position: relative;
    display: inline-flex;
}
.contact-toggle {
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 16px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    color: var(--text);
    height: 52px;
}
.contact-text {
    white-space: nowrap;
}
.contact-caret {
    font-size: 18px;
    color: var(--muted);
}
.contact-icon {
    width: 20px;
    height: 20px;
    display: none;
    position: relative;
    perspective: 100px;
}
.contact-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.contact-icon-phone {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}
.contact-icon-whatsapp {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(180deg);
    width: 28px;
    height: 28px;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    object-fit: contain;
    display: block;
}
.contact-icon.flip .contact-icon-whatsapp {
    transform: translate(-50%, -50%) rotateY(0deg);
}
.contact-icon.flip .contact-icon-phone {
    transform: rotateY(180deg);
}
.contact-tooltip {
    position: absolute;
    top: 115%;
    left: 0;
    width: 320px;
    padding: 18px 22px 22px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 18px 40px rgba(25, 33, 68, 0.08);
    display: none;
    z-index: 15;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
}
.contact.open .contact-tooltip {
    display: block;
}
.contact-numbers {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 18px;
}
.contact-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
}
.contact-number > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
}
.contact-number strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    margin-bottom: 4px;
}
.contact-number span {
    display: block;
    font-size: 14px;
    color: var(--muted);
}
.contact-number .tag {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #fff;
}
.contact-number .tag.yellow { background: #f5c343; }
.contact-number .tag.green { background: #09c16b; }
.contact-number .tag.red { background: #ff4d4f; }
.contact-tooltip .contact-callback-btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: none;
    border-radius: 16px;
    padding: 14px 0;
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    margin: 0 0 18px 0;
    text-align: center;
}
.contact-info {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
    text-align: left;
}
.contact-info strong {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    margin-bottom: 4px;
    text-align: left;
}
.contact-info-icon {
    width: 18px;
    height: 18px;
    color: var(--accent);
    flex-shrink: 0;
}
.contact-info + .contact-info {
    margin-top: 14px;
}
.contact-order-call-btn {
    display: inline-block;
    width: auto;
    box-sizing: border-box;
    border: none;
    border-radius: 12px;
    padding: 14px 24px;
    background: var(--accent);
    color: #ffffff;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    margin: 18px 0;
    text-align: center;
    transition: background-color 0.2s ease, transform 0.1s ease;
}
.contact-order-call-btn:hover {
    background: #1a5fe8;
    transform: translateY(-1px);
}
.contact-order-call-btn:active {
    transform: translateY(0);
}
.contact-socials {
    margin-top: 18px;
    display: flex;
    gap: 10px;
}
.contact-socials a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
}
.contact-socials a.vk { background: #5b8def; }
.contact-socials a.rus { background: #111525; }
.contact-socials a.tg { background: #33b1ff; }
.contact-socials a.yt { background: #ff4d4f; }
.contact-socials a.tt { background: linear-gradient(135deg, #ff6dcf, #58e5ff); }
.contact-socials a svg {
    width: 20px;
    height: 20px;
    fill: white;
}
.contact-number .whatsapp-icon-small {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #25D366;
    transition: all 0.25s ease;
    text-decoration: none;
}
.contact-number .whatsapp-icon-small:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.contact-number .whatsapp-icon-small img {
    width: 18px;
    height: 18px;
    display: block;
}
.language {
    position: relative;
    display: inline-flex;
}
.contact::after,
.language::after {
    content: "";
  position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 12px;
}
.language-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    font-family: inherit;
    height: 52px;
}
.language-text {
    white-space: nowrap;
}
.language-caret {
    font-size: 16px;
    color: var(--muted);
}
.language-icon {
    width: 20px;
    height: 20px;
    display: none;
}
.language-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--text);
    stroke-width: 1.8;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.language-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(25, 33, 68, 0.08);
    display: none;
    min-width: 100%;
    flex-direction: column;
    overflow: hidden;
    z-index: 20;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.language-menu button {
    width: 100%;
    padding: 12px 12px 12px 18px;
    border: none;
    background: transparent;
    text-align: left;
    font-size: 14px;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
    display: block;
    white-space: nowrap;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    box-sizing: border-box;
}
.language-menu button:hover {
    background: var(--surface-soft);
    color: var(--text);
}
.language.open .language-menu {
    display: flex;
}
.menu-button {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.menu-button span,
.menu-button span::before,
.menu-button span::after {
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    position: relative;
}
.menu-button span::before,
.menu-button span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 22px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}
.menu-button span::before {
    top: -6px;
    width: 18px;
}
.menu-button span::after {
    top: 6px;
    width: 14px;
}
.menu-button:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.menu-button.active span {
    background: transparent;
}
.menu-button.active span::before {
    top: 0;
    transform: rotate(45deg);
    width: 22px;
}
.menu-button.active span::after {
    top: 0;
    transform: rotate(-45deg);
    width: 22px;
}
.fullscreen-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0f1119;
    z-index: 9999;
    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);
    overflow-y: auto;
    overflow-x: hidden;
}
.fullscreen-menu.active {
    opacity: 1;
    visibility: visible;
}
.menu-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 40px;
    max-width: 1600px;
    margin: 0 auto;
}
.menu-close-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

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

.menu-close-wrapper .menu-bottom-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.menu-close-wrapper .menu-bottom-lang svg {
    width: 18px;
    height: 18px;
}

.language-menu-mobile {
    position: relative;
}

.language-toggle-mobile {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.language-menu-mobile-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(15, 17, 25, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 8px;
    min-width: 140px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.language-menu-mobile.open .language-menu-mobile-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: block;
    width: 100%;
    padding: 10px 14px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    font-weight: 500;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    text-align: left;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.language-option:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.language-option.active {
    background: rgba(29, 109, 250, 0.15);
    color: #1d6dfa;
}
.menu-close {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.menu-close:hover {
    border-color: rgba(29, 109, 250, 0.5);
    background: rgba(29, 109, 250, 0.1);
    color: #fff;
    transform: rotate(90deg);
}
.menu-close svg {
    width: 20px;
    height: 20px;
}
.menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 120px;
    flex: 1;
    align-items: start;
}
.menu-left {
    display: flex;
    flex-direction: column;
    gap: 60px;
}
.menu-close-wrapper .menu-logo {
    display: flex;
    align-items: center;
}

.menu-close-wrapper .menu-logo img {
    height: 40px;
    width: auto;
}

.menu-logo-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.menu-logo img {
    height: 40px;
    width: auto;
}
.menu-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 400px;
}
.menu-navigation {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.menu-nav-link {
    display: block;
    padding: 18px 0;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 32px;
    font-weight: 600;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.menu-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #1d6dfa 0%, #00a9e0 100%);
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-nav-link:hover {
    color: #fff;
    padding-left: 20px;
}
.menu-nav-link:hover::before {
    width: 60px;
}
.menu-nav-link-text {
    display: inline-block;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-nav-link:hover .menu-nav-link-text {
    transform: translateX(4px);
}
.menu-right {
    position: sticky;
    top: 40px;
    align-self: start;
}
.menu-contacts-block {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.menu-contacts-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 20px 0;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.menu-contact-group {
    margin-bottom: 20px;
}
.menu-contact-group:last-child {
    margin-bottom: 0;
}
.menu-contact-group-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.menu-contact-group-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.menu-contact-phone-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-contact-phone-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(29, 109, 250, 0.3);
    transform: translateX(2px);
}
.menu-contact-phone-number {
    flex: 1;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    line-height: 1.3;
}
.menu-contact-phone-number:hover {
    color: #1d6dfa;
}
.menu-contact-phone-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    font-weight: 400;
    display: block;
    margin-top: 2px;
}
.menu-contact-wa-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(37, 211, 102, 0.15);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}
.menu-contact-wa-btn:hover {
    background: rgba(37, 211, 102, 0.25);
    transform: scale(1.1);
}
.menu-contact-wa-btn img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.menu-contact-email-link {
    display: inline-block;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.menu-contact-email-link:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(29, 109, 250, 0.3);
    color: #1d6dfa;
    transform: translateX(2px);
}
.menu-contact-hours-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    line-height: 1.4;
}
.menu-contact-offices-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.menu-contact-office-item {
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-contact-office-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(29, 109, 250, 0.3);
    transform: translateX(2px);
}
.menu-contact-office-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 4px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.menu-contact-office-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.menu-contact-socials-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.menu-contact-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(255, 255, 255, 0.8);
}
.menu-contact-social-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(29, 109, 250, 0.4);
    transform: translateY(-2px);
    color: #fff;
}
.menu-contact-social-link.vk {
    background: rgba(91, 141, 239, 0.15);
    border-color: rgba(91, 141, 239, 0.3);
}
.menu-contact-social-link.vk:hover {
    background: rgba(91, 141, 239, 0.25);
    border-color: rgba(91, 141, 239, 0.5);
}
.menu-contact-social-link.tg {
    background: rgba(51, 177, 255, 0.15);
    border-color: rgba(51, 177, 255, 0.3);
}
.menu-contact-social-link.tg:hover {
    background: rgba(51, 177, 255, 0.25);
    border-color: rgba(51, 177, 255, 0.5);
}
.menu-contact-social-link.yt {
    background: rgba(255, 77, 79, 0.15);
    border-color: rgba(255, 77, 79, 0.3);
}
.menu-contact-social-link.yt:hover {
    background: rgba(255, 77, 79, 0.25);
    border-color: rgba(255, 77, 79, 0.5);
}
.menu-download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1d6dfa 0%, #00a9e0 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}
.menu-download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 109, 250, 0.4);
}
.menu-download-link svg {
    width: 16px;
    height: 16px;
}
.menu-bottom {
    display: none;
}
.menu-bottom-socials {
    display: none;
}
.menu-bottom-social {
    display: none;
}
.menu-bottom-lang {
    display: none;
}
.menu-header {
    display: flex;
    align-items: center;
    padding: 28px 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    gap: 32px;
    flex-shrink: 0;
}
.menu-close {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.8);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.menu-close:hover {
    border-color: var(--accent);
    background: rgba(29, 109, 250, 0.15);
    color: #fff;
    transform: rotate(90deg);
}
.menu-close svg {
    width: 18px;
    height: 18px;
}
.menu-header-logo {
    flex-shrink: 0;
}
.menu-header-logo img {
    height: 36px;
    width: auto;
}
.menu-header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}
.menu-header-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}
.menu-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}
.menu-header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
}
.menu-header-phone svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}
.menu-header-btn {
    padding: 11px 22px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}
.menu-header-btn:hover {
    background: var(--accent-alt);
    transform: translateY(-1px);
}
.menu-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
}
.menu-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 100px;
    align-items: start;
}
.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: sticky;
    top: 60px;
}
.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.25s ease;
    position: relative;
}
.menu-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.9);
}
.menu-item.active {
    background: rgba(29, 109, 250, 0.15);
    color: #fff;
}
.menu-item.active::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--accent);
    border-radius: 0 2px 2px 0;
}
.menu-item-text {
    flex: 1;
}
.menu-item-arrow {
    width: 16px;
    height: 16px;
    opacity: 0.4;
    transition: transform 0.25s ease;
}
.menu-item.active .menu-item-arrow {
    opacity: 1;
    transform: rotate(90deg);
}
.menu-panel {
    position: relative;
    min-height: 400px;
}
.menu-panel-content {
    display: none;
    animation: fadeIn 0.3s ease;
}
.menu-panel-content.active {
    display: block;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.menu-panel-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 32px;
    line-height: 1.2;
}
.menu-panel-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.menu-panel-item {
    display: block;
    padding: 16px 20px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 17px;
    font-weight: 400;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.menu-panel-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 109, 250, 0.3);
}
.menu-panel-empty {
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
    padding: 20px 0;
}
/* Стили для полного меню контактов */
.menu-contacts-full {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.menu-contact-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.menu-contact-section-title {
    font-size: 14px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.menu-contact-phones {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.menu-contact-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.25s ease;
}
.menu-contact-phone:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 109, 250, 0.3);
}
.menu-contact-phone-link {
    flex: 1;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}
.menu-contact-phone-link:hover {
    color: var(--accent);
}
.menu-contact-phone-department {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 400;
}
.menu-contact-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(37, 211, 102, 0.1);
    transition: all 0.25s ease;
    flex-shrink: 0;
}
.menu-contact-whatsapp:hover {
    background: rgba(37, 211, 102, 0.2);
    transform: scale(1.1);
}
.menu-contact-email {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.25s ease;
    display: inline-block;
    width: fit-content;
}
.menu-contact-email:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 109, 250, 0.3);
    color: var(--accent);
}
.menu-contact-hours {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
}
.menu-contact-offices {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.menu-contact-office {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: all 0.25s ease;
}
.menu-contact-office:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 109, 250, 0.3);
}
.menu-contact-office-name {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.menu-contact-office-address {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}
.menu-contact-socials {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.menu-contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.8);
}
.menu-contact-social:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(29, 109, 250, 0.4);
    transform: translateY(-2px);
}
.menu-contact-social.vk {
    background: rgba(91, 141, 239, 0.1);
    border-color: rgba(91, 141, 239, 0.3);
}
.menu-contact-social.vk:hover {
    background: rgba(91, 141, 239, 0.2);
    border-color: rgba(91, 141, 239, 0.5);
}
.menu-contact-social.tg {
    background: rgba(51, 177, 255, 0.1);
    border-color: rgba(51, 177, 255, 0.3);
}
.menu-contact-social.tg:hover {
    background: rgba(51, 177, 255, 0.2);
    border-color: rgba(51, 177, 255, 0.5);
}
.menu-contact-social.yt {
    background: rgba(255, 77, 79, 0.1);
    border-color: rgba(255, 77, 79, 0.3);
}
.menu-contact-social.yt:hover {
    background: rgba(255, 77, 79, 0.2);
    border-color: rgba(255, 77, 79, 0.5);
}
.menu-contacts-full .menu-download-btn {
    margin-top: 8px;
    width: fit-content;
}
.menu-contacts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}
.menu-contact-card {
    padding: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.menu-contact-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(29, 109, 250, 0.3);
    transform: translateY(-2px);
}
.menu-contact-label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}
.menu-contact-value {
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}
.menu-download-btn {
    padding: 14px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}
.menu-download-btn:hover {
    background: var(--accent-alt);
    transform: translateY(-2px);
}
.menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    gap: 32px;
    flex-shrink: 0;
}
.menu-footer-socials {
    display: flex;
    gap: 20px;
}
.menu-social {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.25s ease;
}
.menu-social:hover {
    color: var(--accent);
}
.menu-footer-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    font-weight: 500;
}
.menu-footer-lang svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}
@media (max-width: 1200px) {
    .menu-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    .menu-right {
        position: static;
    }
    .menu-contacts-block {
        max-width: 600px;
    }
}
@media (max-width: 768px) {
    .menu-container {
        padding: 24px;
    }
    .menu-close-wrapper {
        margin-bottom: 24px;
    }
    .menu-close-wrapper .menu-logo img {
        height: 36px;
    }
    .menu-content {
        gap: 40px;
    }
    .menu-left {
        gap: 40px;
    }
    .menu-nav-link {
        font-size: 24px;
        padding: 14px 0;
    }
    .menu-contacts-block {
        padding: 32px 24px;
    }
    .menu-contacts-title {
        font-size: 20px;
        margin-bottom: 24px;
    }
    .menu-contact-group {
        margin-bottom: 24px;
    }
    .menu-close-wrapper .menu-bottom-lang {
        font-size: 13px;
    }
    .menu-close-wrapper .menu-bottom-lang svg {
        width: 16px;
        height: 16px;
    }
    .language-menu-mobile-dropdown {
        min-width: 120px;
        right: 0;
    }
    .language-option {
        font-size: 13px;
        padding: 8px 12px;
    }
}
@media (max-width: 480px) {
    .menu-container {
        padding: 20px;
    }
    .menu-nav-link {
        font-size: 20px;
    }
    .menu-contacts-block {
        padding: 24px 20px;
    }
}
    }
    .menu-contacts-grid {
        grid-template-columns: 1fr;
    }
}

/* Screen Reader Only - для доступности и SEO */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Footer Styles */
.site-footer {
    position: relative;
    z-index: 9;
    width: 100%;
    padding: 50px 0 0;
    background: #1a1a2e;
    color: #fff;
}
.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
@media (max-width: 768px) {
    .footer-container {
        padding: 0 20px;
    }
}
.footer-main {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.footer-column {
    flex: 1;
    min-width: 0;
}
.footer-column {
    display: flex;
    flex-direction: column;
}
.footer-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin: 30px 0 20px 0;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer-links li a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-links li a:hover {
    color: #4dabf7;
}
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-contacts li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}
.footer-contacts li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: #4dabf7;
}
.footer-contacts li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-contacts li a:hover {
    color: #4dabf7;
}
.footer-socials {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.2s ease;
}
.footer-social svg {
    width: 18px;
    height: 18px;
}
.footer-social:hover {
    background: #4dabf7;
    transform: translateY(-2px);
}
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
}
.footer-logo img {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}
.footer-copyright {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-copyright p {
    margin: 0;
}

@media (max-width: 960px) {
    .footer-main {
        flex-wrap: wrap;
        gap: 30px;
    }
    .footer-column {
        flex: 1 1 45%;
    }
}
@media (max-width: 640px) {
    .site-footer {
        padding: 40px 0 0;
    }
    .footer-container {
        padding: 0 20px;
    }
    .footer-main {
        flex-direction: column;
        gap: 30px;
    }
    .footer-column {
        flex: 1 1 100%;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }
}
main {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 40px;
    align-items: center;
    animation-delay: 0.25s;
    position: relative;
    z-index: 2;
}
.hero-text {
    animation-delay: 0.35s;
}
.hero-visual {
    animation-delay: 0.45s;
}
.clients {
    margin-top: 80px;
    padding: 60px 0;
    position: relative;
    animation: sectionFade 0.8s ease forwards;
    animation-delay: 0.55s;
    z-index: 0;
}
.clients::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
  width: 100vw;
    height: 100%;
    transform: translate(-50%, 0);
    background: #fff;
    z-index: -1;
}
.clients-head {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}
.clients-text h2 {
    margin: 0;
    font-size: 24px;
}
.clients-text p {
    margin: 12px 0 0;
    color: var(--muted);
    max-width: 680px;
    line-height: 1.6;
}
.clients-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: 14px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    line-height: 1;
    color: var(--text);
    text-decoration: none;
    background: var(--surface-soft);
    transition: border-color 0.2s ease, transform 0.2s ease;
}
.clients-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.clients-marquee {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: none;
    background: #fff;
    box-shadow: none;
}
.logos-track {
    display: inline-flex;
    gap: 24px;
    padding: 20px;
    animation: logosMarquee 32s linear infinite;
}
.clients-marquee:hover .logos-track {
    animation-play-state: paused;
}
.client-logo {
    min-width: 170px;
    min-height: 90px;
    padding: 0;
    border-radius: 20px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--surface);
}
.client-logo img {
    max-width: 140px;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(0.05);
}
@keyframes logosMarquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.hero-text h1 {
    font-size: clamp(32px, 4.6vw, 52px);
    line-height: 1.05;
    margin: 0 0 24px;
    color: var(--text);
    position: relative;

}
.hero-text h1::after {
    content: attr(data-text);
  position: absolute;
    inset: 0;
    background-image: linear-gradient(90deg, rgba(29, 109, 250, 0) 0%, rgba(29, 109, 250, 0.8) 40%, rgba(0, 169, 224, 0.9) 60%, rgba(29, 109, 250, 0) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    color: transparent;
    animation: headlineSweep 4.5s linear infinite;
    opacity: 0.65;
    pointer-events: none;
}
.hero-text p {
    color: var(--muted);
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 520px;
}
.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.hero-cta a {
    padding: 16px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid transparent;
}
.hero-cta .primary {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.hero-cta .primary:hover {
    background: #fff;
    color: var(--text);
    border-color: var(--border);
}
.hero-cta .secondary {
    border-color: var(--border);
    color: var(--text);
    background: var(--surface);
    transition: border-color 0.25s ease, color 0.25s ease;
}
.hero-cta .secondary:hover {
    border-color: var(--accent);
    color: var(--text);
}
.teasers {
    margin-top: 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.teaser-card {
    background: var(--surface);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--border);
    display: flex;
    gap: 16px;
    align-items: center;
}
.teaser-card .muted {
    font-size: 13px;
}
.teaser-icon {
    width: 3px;
    height: 48px;
    border-radius: 2px;
    background: var(--accent-gradient);
    flex-shrink: 0;
}
.hero-visual {
    position: relative;
    border-radius: 28px;
    padding: 32px;

    min-height: 480px;
    overflow: hidden;
    height: 100%;
}
@media (max-width:1440px) {
    .hero-visual {
        display: none;
    }
}
.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
}
.floating-tag {
    position: relative;
    z-index: 1;
    padding: 14px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border);
    width: fit-content;
    font-size: 15px;
    margin-bottom: 16px;
}
.data-card {
    position: relative;
    z-index: 1;
    margin-top: 220px;
    background: linear-gradient(270deg, rgba(29, 109, 250, 0.18), rgba(255, 255, 255, 0.95));
    background-size: 250% 100%;
    display: none;
}
.data-card.has-data {
    display: block;
    background-position: 0 0;
    border-radius: 22px;
    padding: 24px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    overflow: hidden;
    display: flex;
    gap: 16px;
    align-items: stretch;
}
.data-icon {
    width: 48px;
    min-width: 48px;
    height: 100%;
    min-height: 100%;
    border-radius: 12px;
    background: var(--accent-gradient);
    flex-shrink: 0;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.data-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 4px;
}
.data-content {
    flex: 1;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.data-content.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.data-card strong {
    font-size: 40px;
    display: block;
}
.data-card small {
    color: var(--muted);
}
@keyframes headlineSweep {
    from {
        background-position: -50% 50%;
    }
    to {
        background-position: 150% 50%;
    }
}
@keyframes sectionFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.why-us {
    margin-top: 80px;
    padding: 0;
    background: transparent;
    position: relative;
    z-index: 1;
}
.why-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}
.why-head h2 {
    margin: 0;
    font-size: 28px;
}
.why-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
}
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.why-card-modern {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.why-card-modern::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(29, 109, 250, 0.08), transparent);
    transition: left 0.6s ease;
}
.why-card-modern:hover::before {
    left: 100%;
}
.why-card-modern:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(29, 109, 250, 0.12);
}
.why-card-number {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 48px;
    font-weight: 700;
    color: rgba(29, 109, 250, 0.08);
    line-height: 1;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    transition: color 0.3s ease, transform 0.3s ease;
    pointer-events: none;
}
.why-card-modern:hover .why-card-number {
    color: rgba(29, 109, 250, 0.15);
    transform: scale(1.05);
}
.why-card-modern h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 10px;
    line-height: 1.3;
}
.why-card-modern p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
}
.why-card-link {
    display: inline-block;
    font-size: 14px;
    font-weight: 500;
    color: var(--accent);
    text-decoration: none;
    border: none;
    border-bottom: 1px dashed rgba(29, 109, 250, 0.4);
    padding: 0 0 2px 0;
    background: none;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease;
    margin-top: auto;
    align-self: flex-start;
}
.why-card-link:hover {
    color: var(--accent-alt);
    border-bottom-color: var(--accent-alt);
}
@media (max-width: 1080px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-card-modern {
        padding: 24px;
    }
    .why-card-number {
        font-size: 40px;
        top: 16px;
        left: 16px;
    }
}
.services {
    margin-top: 80px;
    padding: 0;
}
.services-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}
.services-head h2 {
    margin: 0;
    font-size: 28px;
}
.services-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
}
.service-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.service-card {
    border-radius: 26px;
    padding: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    overflow: hidden;
    box-shadow: 0 35px 60px rgba(17, 21, 37, 0.08);
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 109, 250, 0.18), rgba(0, 169, 224, 0.12));
    opacity: 0;
    transition: opacity 0.4s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 80px rgba(17, 21, 37, 0.12);
}
.service-card:hover::before {
    opacity: 1;
}
.service-card-content {
    position: relative;
    z-index: 1;
}
.service-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    background: rgba(17, 21, 37, 0.04);
    margin-bottom: 16px;
}
.service-title {
    margin: 0 0 18px;
    font-size: 20px;
}
.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.service-list li {
    font-size: 15px;
    color: var(--muted);
    position: relative;
    padding-left: 18px;
    cursor: pointer;
    transition: color 0.25s ease, transform 0.25s ease;
}
.service-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 9px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    box-shadow: 0 0 0 5px rgba(29, 109, 250, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-list li:hover {
    color: var(--text);
    transform: translateX(4px);
}
.service-list li:hover::before {
    transform: scale(1.4);
    box-shadow: 0 0 0 7px rgba(29, 109, 250, 0.18);
}
.service-list li.service-item-clickable {
    cursor: pointer;
    user-select: none;
}
.service-list li.service-item-clickable:hover {
    color: var(--accent);
    font-weight: 500;
}
.service-list li.service-item-clickable:active {
    transform: translateX(2px);
}
.pricing {
    margin-top: 80px;
    padding: 0;
}
.pricing-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}
.pricing-head h2 {
    margin: 0;
    font-size: 28px;
}
.pricing-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
}
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(17, 21, 37, 0.1);
    border-color: var(--accent);
}
.pricing-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    padding: 24px;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}
.pricing-title-block {
    flex: 1;
}
.pricing-title-block h3 {
    margin: 0 0 8px;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}
.pricing-title-block p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}
.pricing-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, opacity 0.3s ease;
    align-self: flex-start;
}
.pricing-icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}
.pricing-card:hover .pricing-icon {
    transform: scale(1.1);
    opacity: 1;
}
.pricing-footer {
    padding: 24px;
    background: linear-gradient(135deg, rgba(29, 109, 250, 0.08), rgba(0, 169, 224, 0.05));
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.pricing-price {
    text-align: center;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
}
.price-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}
.price-currency {
    font-size: 16px;
    color: var(--muted);
    font-weight: 500;
    white-space: nowrap;
}
.pricing-features {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}
.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}
.pricing-feature:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.feature-name {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(17, 21, 37, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease, color 0.3s ease;
    display: inline;
}
.feature-name:hover {
    text-decoration-color: var(--accent);
    color: var(--accent);
}
.pricing-feature-disabled .feature-name {
    color: var(--muted);
    opacity: 0.5;
    cursor: default;
    text-decoration: none;
    pointer-events: none;
}
.pricing-feature-disabled .feature-name:hover {
    color: var(--muted);
    text-decoration: none;
}
[data-modal="feature-info"] .modal-content {
    background: #fff;
    max-width: 600px;
}
.modal-feature-info {
    max-width: 100%;
    padding: 0;
}
.modal-feature-title {
    margin: 0 0 16px;
    font-size: 24px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}
.modal-feature-description {
    margin: 0;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
}
[data-modal="feature-info"] .modal-close {
    color: var(--text);
    background: rgba(17, 21, 37, 0.08);
}
[data-modal="feature-info"] .modal-close:hover {
    background: rgba(17, 21, 37, 0.15);
}
.feature-value {
    flex-shrink: 0;
    font-size: 18px;
    font-weight: 600;
    text-align: right;
    min-width: 60px;
}
.feature-value.check {
    color: var(--accent);
}
.feature-value.cross {
    color: var(--muted);
    opacity: 0.5;
}
.feature-value.text {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    text-align: right;
}
.feature-value small {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 4px;
    font-weight: 400;
}
@media (max-width: 1080px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .pricing-footer {
        padding: 20px;
    }
    .price-value {
        font-size: 32px;
    }
    .pricing-feature {
        flex-direction: column;
        gap: 8px;
    }
    .feature-value {
        text-align: left;
        min-width: auto;
    }
}
.work-plan {
    margin-top: 80px;
    padding: 40px 0;
    position: relative;
    z-index: 0;
}
.work-plan::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.work-plan-head {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 40px;
}
.work-plan-head h2 {
    margin: 0;
    font-size: 28px;
}
.work-plan-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
}
.work-plan-tabs {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    width: 100%;
}
.work-plan-tab {
    padding: 8px 16px;
    border: 1px solid var(--border);
    background: var(--surface);
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex: 1;
    text-align: center;
}
.work-plan-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.work-plan-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent-alt));
    border-color: var(--accent);
    color: #fff;
}
.work-plan-content {
    position: relative;
    min-height: 200px;
}
.work-plan-month {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}
.work-plan-month.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    overflow: visible !important;
}
.work-plan-month-description {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(139, 92, 246, 0.08) 100%);
    border-left: 4px solid var(--primary);
    padding: 16px 20px;
    margin-bottom: 24px;
    border-radius: 8px;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}
@media (max-width: 768px) {
    .work-plan-month-description {
        padding: 12px 16px;
        margin-bottom: 16px;
        font-size: 0.95rem;
    }
}
.work-groups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    min-height: 100px;
}
.work-group {
    padding: 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.work-group:hover {
    border-color: var(--accent);
    box-shadow: 0 8px 24px rgba(29, 109, 250, 0.08);
    transform: translateY(-4px);
}
.work-group-title {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.work-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.work-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.work-name {
    flex: 1;
    font-size: 14px;
    color: var(--text);
    line-height: 1.5;
    cursor: pointer;
    text-decoration: underline;
    text-decoration-style: dashed;
    text-decoration-color: rgba(17, 21, 37, 0.3);
    text-underline-offset: 3px;
    transition: text-decoration-color 0.3s ease, color 0.3s ease;
    display: inline;
}
.work-name:hover {
    text-decoration-color: var(--accent);
    color: var(--accent);
}
.work-name-no-modal {
    text-decoration: none;
    cursor: default;
}
.work-name-no-modal:hover {
    text-decoration: none;
    color: var(--text);
}

/* Work Plan Modals */
.work-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, visibility 0.3s;
}
.work-modal.active {
    opacity: 1;
    visibility: visible;
}
.work-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    cursor: pointer;
}
.work-modal-container {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: workModalSlideIn 0.3s ease-out;
}
@keyframes workModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.work-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}
.work-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}
.work-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.08);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--text);
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.work-modal-close:hover {
    background: var(--accent);
    color: #fff;
}
.work-modal-content {
    padding: 24px;
    overflow-y: auto;
    flex: 1;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}
.work-modal-content p {
    margin: 0 0 16px;
}
.work-modal-content p:last-child {
    margin-bottom: 0;
}
.work-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 16px 0;
}
.work-modal-content ul,
.work-modal-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}
.work-modal-content li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .work-modal-container {
        width: 95%;
        max-height: 90vh;
        border-radius: 12px;
    }
    .work-modal-header {
        padding: 16px 20px;
    }
    .work-modal-header h3 {
        font-size: 16px;
    }
    .work-modal-content {
        padding: 20px;
    }
}
[data-modal="work-info"] .modal-content {
    background: #fff;
    max-width: 600px;
}
[data-modal="work-info"] .modal-close {
    color: var(--text);
    background: rgba(17, 21, 37, 0.08);
}
[data-modal="work-info"] .modal-close:hover {
    background: rgba(17, 21, 37, 0.15);
}
/* Gantt Chart Modal */
[data-modal="gantt-chart"] .modal-content {
    background: #fff;
    max-width: 95vw;
    width: 95vw;
    max-height: 90vh;
    padding: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.gantt-chart-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#gantt-chart {
    flex: 1;
    overflow: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: #fff;
}
.gantt-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 1200px;
}
.gantt-table thead {
    position: sticky;
    top: 0;
    background: var(--surface-soft);
    z-index: 10;
}
.gantt-table th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
    border-bottom: 2px solid var(--border);
    border-right: 1px solid var(--border);
    white-space: nowrap;
    min-width: 100px;
}
.gantt-table th:first-child {
    text-align: left;
    position: sticky;
    left: 0;
    background: var(--surface-soft);
    z-index: 11;
    min-width: 250px;
}
.gantt-table td {
    padding: 8px 16px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    vertical-align: middle;
}
.gantt-table td:first-child {
    text-align: left;

    left: 0;
    background: #fff;
    z-index: 9;
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}
.gantt-table tbody tr:hover td:first-child {
    background: var(--surface-soft);
}
.gantt-cell {
    width: 100%;
    height: 24px;
    border-radius: 4px;
    background: var(--accent);
    opacity: 0.7;
    transition: opacity 0.2s ease;
}
.gantt-cell:hover {
    opacity: 1;
}
.gantt-group-row {
    background: var(--surface-soft);
    font-weight: 600;
    font-size: 14px;
}
.gantt-group-row td:first-child {
    background: var(--surface-soft);
    font-weight: 600;
}
/* Technical Works Modal */
[data-modal="technical-works"] .modal-content {
    background: #fff;
    max-width: 900px;
    width: 90vw;
    max-height: 90vh;
    padding: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.technical-works-container {
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
#technical-works-list {
    flex: 1;
    overflow-y: auto;
    padding-right: 8px;
}
.technical-works-group {
    margin-bottom: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
}
.technical-works-group:hover {
    box-shadow: 0 4px 12px rgba(17, 21, 37, 0.08);
}
.technical-works-group-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}
.technical-works-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.technical-work-item {
    display: flex;
    align-items: flex-start;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    line-height: 1.6;
}
.technical-work-item::before {
    content: "•";
    color: var(--accent);
    font-weight: bold;
    margin-right: 12px;
    margin-top: 2px;
    flex-shrink: 0;
}
@media (max-width: 1080px) {
    .work-groups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .work-plan-tabs {
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        justify-content: flex-start;
        position: sticky;
        top: 90px;
        z-index: 100;
        padding-top: 24px;
        padding-bottom: 16px;
        margin-top: -16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        margin-bottom: 24px;
    }
    .work-plan-tabs::-webkit-scrollbar {
        display: none;
    }
    .work-plan-tab {
        padding: 10px 16px;
        font-size: 13px;
        flex: 0 0 auto;
        white-space: nowrap;
    }
}
@media (max-width: 640px) {
    .work-groups-grid {
        grid-template-columns: 1fr;
    }
    .work-group {
        padding: 20px;
    }
    .work-group-title {
        font-size: 18px;
    }
    .work-groups-grid {
        grid-template-columns: 1fr;
    }
    .work-group {
        padding: 20px;
    }
    .work-group-title {
        font-size: 18px;
    }
}
.portfolio {
    margin-top: 80px;
    padding: 40px 0;
    position: relative;
    z-index: 0;
}
.portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.portfolio-head {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 32px;
}
.portfolio-head h2 {
    margin: 0;
    font-size: 28px;
}
.portfolio-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
}
.portfolio-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .portfolio-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 24px;
        padding-bottom: 4px;
        position: sticky;
        top: 90px;
        z-index: 100;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-top: -16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .portfolio-tabs::-webkit-scrollbar {
        display: none;
    }
    .portfolio-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }
}
.portfolio-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.portfolio-tab.active {
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(29, 109, 250, 0.12);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.portfolio-card {
    border-radius: 26px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(17, 21, 37, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.portfolio-card.hidden {
    display: none;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(17, 21, 37, 0.12);
}
.portfolio-media {
    position: relative;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(29, 109, 250, 0.25), rgba(0, 169, 224, 0.2));
    overflow: hidden;
}
.portfolio-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 55%);
}
.portfolio-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}
.portfolio-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.portfolio-title {
    font-size: 18px;
    margin: 0;
}
.portfolio-title-link {
    cursor: pointer;
    transition: color 0.2s ease;
}
.portfolio-title-link:hover {
    color: #1d6dfa;
}
.portfolio-desc {
    display: none;
}
.portfolio-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    gap: 16px;
}
.portfolio-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.portfolio-meta-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 500;
}
.portfolio-content .portfolio-meta-label {
    display: block;
    margin-bottom: 8px;
}
.portfolio-meta-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}
.portfolio-stats {
    display: flex;
    gap: 8px;
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}
.portfolio-content .portfolio-stats {
    position: static;
    margin: 12px 0;
    display: flex;
    gap: 8px;
}
.portfolio-stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: visible;
    height: 32px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.portfolio-stat-tag {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: absolute;
    top: -8px;
    left: 12px;
    line-height: 1.4;
    z-index: 3;
    white-space: nowrap;
}
.portfolio-stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    margin-top: 12px;
}
.portfolio-stat-before {
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
}
.portfolio-stat-separator {
    color: var(--text);
    font-weight: 700;
    font-size: 12px;
}
.portfolio-stat-after {
    color: var(--text);
    font-weight: 700;
    font-size: 12px;
}
.portfolio-more-wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.about {
    position: relative;
    margin-top: 0;
    padding: 40px 0;
    z-index: 0;
}
.about-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.about-headline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}
.about-headline h2 {
    margin: 0;
    font-size: 28px;
}
.about-headline p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.about-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    box-shadow: 0 25px 60px rgba(17, 21, 37, 0.08);
}
.about-card h3 {
    margin: 0 0 8px;
}
.about-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}
.about-stats {
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}
.about-stat {
    border-radius: 20px;
    padding: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(17, 21, 37, 0.07);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.about-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 15px 30px rgba(29, 109, 250, 0.25);
    filter: grayscale(1);
    transition: filter 0.3s ease;
}
.about-stat-icon svg {
    width: 22px;
    height: 22px;
}
.about-stat-icon.icon-experience {
    background: linear-gradient(135deg, #1d6dfa, #3b82f6);
}
.about-stat-icon.icon-team {
    background: linear-gradient(135deg, #00a9e0, #14b8a6);
}
.about-stat-icon.icon-projects {
    background: linear-gradient(135deg, #9061f9, #ec4899);
    box-shadow: 0 15px 30px rgba(144, 97, 249, 0.25);
}
.about-stat-icon.icon-cities {
    background: linear-gradient(135deg, #f97316, #facc15);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.25);
}
.about-stat:hover .about-stat-icon {
    filter: grayscale(0);
}
.about-stat-content strong {
    display: block;
    font-size: 28px;
    margin-bottom: 0;
}
.about-stat-content span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .about-stat-icon {
        display: none;
    }
    .about-stat {
        gap: 0;
    }
}
.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.about-photo {
    border-radius: 18px;
    overflow: hidden;
    height: 110px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(17, 21, 37, 0.15);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-media {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(17, 21, 37, 0.12);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.06);
}
.about-video {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.showreel-cover {
    position: relative;
}
.showreel-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.55));
    pointer-events: none;
}
.showreel-play {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 2;
}
.showreel-play span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}
.team {
    position: relative;
    margin-top: 80px;
    padding: 60px 0 40px;
    z-index: 0;
}
.team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.team-head {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 26px;
}
.team-head h2 {
    margin: 0;
    font-size: 28px;
}
.team-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.6;
}
.team-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.team-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.team-tab.active {
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(29, 109, 250, 0.12);
}
@media (max-width: 768px) {
    .team-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 24px;
        padding-bottom: 4px;
        position: sticky;
        top: 90px;
        z-index: 100;
        padding-top: 16px;
        padding-bottom: 16px;
        margin-top: -16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .team-tabs::-webkit-scrollbar {
        display: none;
    }
    .team-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}
.team-card {
    border-radius: 32px;
    border: 1px solid rgba(17, 21, 37, 0.08);
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(17, 21, 37, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 90px rgba(17, 21, 37, 0.12);
}
.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #dfe4f0;
    overflow: hidden;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.15);
}
.team-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(29, 109, 250, 0.45);
    box-shadow: 0 10px 20px rgba(17, 21, 37, 0.08);
}
.team-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.team-card h3 {
    margin: 0;
    font-size: 18px;
}
.team-role {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}
.team-exp {
    font-weight: 600;
    font-size: 14px;
    color: #b68a47;
    letter-spacing: 0.02em;
}
.team-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.team-tags {
    display: none;
}
.team-card.hidden {
    display: none;
}
.team-more-wrapper {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 25, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10000;
    visibility: hidden;
    padding: 20px;
}
.modal.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.modal-content {
    position: relative;
    background: #0b111f;
    border-radius: 24px;
    padding: 24px;
    max-width: 960px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}
.modal-slider {
    position: relative;
}
.modal-slide img {
    width: 100%;
    border-radius: 18px;
    max-height: 520px;
    object-fit: cover;
}
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
}
.modal-nav.prev {
    left: -18px;
}
.modal-nav.next {
    right: -18px;
}
.modal-video .modal-content {
    padding: 0;
    background: #000;
}
.modal-video video {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: block;
}
body.no-scroll {
    overflow: hidden;
}
.modal-image {
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-image img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
@media (max-width: 1360px) {
    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 1080px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 540px) {
    .team-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 960px) {
    nav {
        display: none;
    }
    header {
        flex-direction: row;
        justify-content: flex-start;
        gap: 28px;
    }
    .header-actions {
        gap: 8px;
        margin-left: auto;
    }
}
@media (max-width: 600px) {
    .page {
        padding: 16px 20px 0px;
        padding-top: 100px;
    }
    header {
        padding: 16px 20px;
        position: fixed;
        top: 16px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: calc(100% - 40px);
        margin: 0 auto;
        gap: 20px;
        z-index: 10;
    }
    .hero-cta a {
        flex: 1;
        text-align: center;
    }
}
@media (max-width: 640px) {
    .contact-toggle {
        padding: 0;
        width: 52px;
        min-width: 52px;
        justify-content: center;
    }
    .contact-text,
    .contact-caret {
        display: none;
    }
    .contact-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        width: 20px;
        height: 20px;
    }
    .contact.open .contact-icon-phone,
    .contact.open .contact-icon-whatsapp {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }
    .contact-icon::before,
    .contact-icon::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--text);
        border-radius: 1px;
        opacity: 0;
        transition: opacity 0.3s ease, width 0.3s ease;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }
    .contact.open .contact-icon::before {
        width: 20px !important;
        opacity: 1 !important;
        transform: translate(-50%, -50%) rotate(45deg) !important;
    }
    .contact.open .contact-icon::after {
        width: 20px !important;
        opacity: 1 !important;
        transform: translate(-50%, -50%) rotate(-45deg) !important;
    }
    .contact-tooltip {
        position: fixed;
        top: 115%;
        bottom: auto;

        width: 100%;

        overflow-y: auto;
        transform: none;
        display: none !important;
        margin: 0 auto;
    }
    .contact.open .contact-tooltip {
        display: block !important;
    }
    .language-toggle {
        padding: 0;
        width: 52px;
        min-width: 52px;
        justify-content: center;
    }
    .language-text,
    .language-caret {
        display: none;
    }
    .language-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ======================================== */
/* SERVICES PAGE STYLES */
/* ======================================== */
.services-page {
    display: flex;
    flex-direction: column;
    gap: 80px;
    margin-top: 40px;
}
.services-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
    margin-bottom: 80px;
}
.services-hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.services-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 999px;
    border: 1px solid rgba(29, 109, 250, 0.2);
    background: rgba(29, 109, 250, 0.08);
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 18px;
    width: fit-content;
}
.services-hero h1 {
    margin: 0 0 18px;
    font-size: clamp(32px, 5vw, 52px);
}
.services-hero p {
    margin: 0 0 24px;
    color: var(--muted);
    line-height: 1.6;
    max-width: 520px;
}
.services-hero-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: 140px;
}
.services-highlight {
    padding: 18px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 40px rgba(17, 21, 37, 0.08);
}
.services-highlight strong {
    display: block;
    font-size: 24px;
    margin-bottom: 6px;
}
.services-filters {
    display: none;
}
.services-filter {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(17, 21, 37, 0.08);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.25s ease;
}
.services-filter:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.service-section {
    scroll-margin-top: 140px;
    margin-bottom: 0px;
    position: relative;
    padding-top: 80px;
}
.service-section--surface {
    padding: 80px 0;
}
.service-section--surface::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.service-section-inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: 100%;
}
.service-section-header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin-bottom: 0px;
}
.service-section-header p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}
.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(17, 21, 37, 0.06);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    width: fit-content;
}
.service-section-header h2 {
    margin: 0;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}
.service-offers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-offer-card {
    border: 1px solid var(--border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(17, 21, 37, 0.04);
    transition: all 0.25s ease;
}
.service-offer-card:hover {
    box-shadow: 0 8px 24px rgba(17, 21, 37, 0.08);
    border-color: rgba(29, 109, 250, 0.2);
}
.service-offer-card h4 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}
.service-offer-description {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}
.service-offer-teasers {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.service-offer-teasers li {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
    padding-left: 24px;
    position: relative;
}
.service-offer-teasers li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 18px;
}
.service-offer-meta {
    display: flex;
    gap: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.service-offer-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.service-offer-meta-label {
    font-size: 10px;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}
.service-offer-meta-label svg {
    width: 14px;
    height: 14px;
    stroke: var(--muted);
    stroke-width: 1.5;
    flex-shrink: 0;
}
.service-offer-meta-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
}
.service-offer-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--surface);
    background: var(--accent-gradient);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    padding: 14px 24px;
    border-radius: 12px;
    transition: all 0.25s ease;
    text-align: center;
.service-offer-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 109, 250, 0.3);
}
}
.service-offer-link svg {
    width: 16px;
    height: 16px;
}
.service-packages {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 0;
}
.package-card {
    border-radius: 20px;
    border: 1px solid rgba(29, 109, 250, 0.2);
    background: rgba(29, 109, 250, 0.06);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.25s ease;
}
.package-card:hover {
    border-color: rgba(29, 109, 250, 0.35);
    background: rgba(29, 109, 250, 0.08);
}
.package-card strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}
.package-card ul {
    margin: 0;
    padding-left: 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    list-style: disc;
}
.package-card button {
    margin-top: auto;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--accent);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: inherit;
}
.package-card button:hover {
    background: #0d5ae8;
    border-color: #0d5ae8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 109, 250, 0.25);
}
.services-process {
    padding: 80px 0;
    border-top: 1px solid rgba(17, 21, 37, 0.08);
    border-bottom: 1px solid rgba(17, 21, 37, 0.08);
    margin: 80px 0;
}
.services-process h2 {
    margin: 0 0 48px;
    font-size: 36px;
    font-weight: 700;
}
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.process-step {
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.25s ease;
}
.process-step:hover {
    box-shadow: 0 8px 24px rgba(17, 21, 37, 0.08);
    border-color: rgba(29, 109, 250, 0.2);
}
.process-step h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}
.process-step p {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}
.process-step span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #fff;
    background: var(--accent);
    margin-bottom: 12px;
}
.services-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 80px 0;
}
.stats-card {
    padding: 32px;
    border-radius: 20px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    text-align: left;
    box-shadow: 0 2px 8px rgba(17, 21, 37, 0.04);
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.stats-card:hover {
    box-shadow: 0 8px 24px rgba(17, 21, 37, 0.08);
    border-color: rgba(29, 109, 250, 0.2);
}
.stats-card strong {
    display: block;
    font-size: 40px;
    font-weight: 700;
    color: var(--accent);
    margin: 0;
    line-height: 1;
}
.stats-card span {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}
.services-cta {
    border-radius: 24px;
    padding: 48px;
    background: rgba(29, 109, 250, 0.06);
    border: 1px solid rgba(29, 109, 250, 0.15);
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 100%;
}
.services-cta > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.services-cta h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}
.services-cta p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
}
.cta-buttons .primary,
.cta-buttons .secondary {
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.cta-buttons .primary {
    background: var(--accent);
    color: #fff;
    border: 1px solid var(--border);
}
.cta-buttons .primary:hover {
    background: #0d5ae8;
    border-color: #0d5ae8;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 109, 250, 0.25);
}
.cta-buttons .secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.cta-buttons .secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(29, 109, 250, 0.05);
}
.services-faq {
    padding: 0 0 80px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 80px;
}
/* Old FAQ styles removed - using new FAQ section styles below */
@media (max-width: 960px) {
    .services-hero {
grid-template-columns: 1fr;
gap: 40px;
    }
    .services-hero-highlights {
position: static;
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    .service-section-inner {
gap: 32px;
    }
    .service-offers {
grid-template-columns: 1fr;
    }
    .service-packages {
grid-template-columns: 1fr;
    }
    .services-cta {
padding: 32px;
    }
    .services-cta h3 {
        font-size: 24px;
    }
    .cta-buttons {
flex-direction: column;
    }
    .cta-buttons .primary,
    .cta-buttons .secondary {
width: 100%;
    }
    .process-steps {
grid-template-columns: repeat(2, 1fr);
    }
    .services-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}
.portfolio {
    margin-top: 80px;
    padding: 40px 0;
    position: relative;
    z-index: 0;
}
.portfolio::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.portfolio-head {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-bottom: 32px;
}
.portfolio-head h2 {
    margin: 0;
    font-size: 28px;
}
.portfolio-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 620px;
    line-height: 1.6;
}
.portfolio-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
@media (max-width: 768px) {
    .portfolio-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 24px;
        padding-bottom: 4px;
        position: sticky;
        top: 90px;
        z-index: 100;
        padding-top: 24px;
        padding-bottom: 16px;
        margin-top: -16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .portfolio-tabs::-webkit-scrollbar {
        display: none;
    }
    .portfolio-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }
}
.portfolio-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.portfolio-tab.active {
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(29, 109, 250, 0.12);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.portfolio-card {
    border-radius: 26px;
    border: 1px solid var(--border);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 60px rgba(17, 21, 37, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}
.portfolio-card.hidden {
    display: none;
}
.portfolio-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 70px rgba(17, 21, 37, 0.12);
}
.portfolio-media {
    position: relative;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(29, 109, 250, 0.25), rgba(0, 169, 224, 0.2));
    overflow: hidden;
}
.portfolio-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 55%);
}
.portfolio-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-grow: 1;
}
.portfolio-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
}
.portfolio-title {
    font-size: 18px;
    margin: 0;
}
.portfolio-title-link {
    cursor: pointer;
    transition: color 0.2s ease;
}
.portfolio-title-link:hover {
    color: #1d6dfa;
}
.portfolio-desc {
    display: none;
}
.portfolio-meta {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
    gap: 16px;
}
.portfolio-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.portfolio-meta-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    font-weight: 500;
}
.portfolio-content .portfolio-meta-label {
    display: block;
    margin-bottom: 8px;
}
.portfolio-meta-value {
    font-size: 13px;
    color: var(--text);
    font-weight: 500;
}
.portfolio-stats {
    display: flex;
    gap: 8px;
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 2;
}
.portfolio-content .portfolio-stats {
    position: static;
    margin: 12px 0;
    display: flex;
    gap: 8px;
}
.portfolio-stat-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    overflow: visible;
    height: 32px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.portfolio-stat-tag {
    display: inline-block;
    background: #ffffff;
    color: #000000;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 4px 10px;
    border-radius: 12px;
    border: 1px solid var(--border);
    position: absolute;
    top: -8px;
    left: 12px;
    line-height: 1.4;
    z-index: 3;
    white-space: nowrap;
}
.portfolio-stat-value {
    display: flex;
    align-items: baseline;
    gap: 3px;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    margin-top: 12px;
}
.portfolio-stat-before {
    color: var(--muted);
    font-weight: 400;
    font-size: 12px;
}
.portfolio-stat-separator {
    color: var(--text);
    font-weight: 700;
    font-size: 12px;
}
.portfolio-stat-after {
    color: var(--text);
    font-weight: 700;
    font-size: 12px;
}
.portfolio-more-wrapper {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 900px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}
.about {
    position: relative;
    margin-top: 0;
    padding: 40px 0;
    z-index: 0;
}
.about-head {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    margin-bottom: 32px;
}
.about-headline {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 720px;
}
.about-headline h2 {
    margin: 0;
    font-size: 28px;
}
.about-headline p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}
.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.about-card {
    border: 1px solid var(--border);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.9);
    padding: 24px;
    box-shadow: 0 25px 60px rgba(17, 21, 37, 0.08);
}
.about-card h3 {
    margin: 0 0 8px;
}
.about-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
}
.about-stats {
    margin: 24px 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}
.about-stat {
    border-radius: 20px;
    padding: 22px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 20px 40px rgba(17, 21, 37, 0.07);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.about-stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 15px 30px rgba(29, 109, 250, 0.25);
    filter: grayscale(1);
    transition: filter 0.3s ease;
}
.about-stat-icon svg {
    width: 22px;
    height: 22px;
}
.about-stat-icon.icon-experience {
    background: linear-gradient(135deg, #1d6dfa, #3b82f6);
}
.about-stat-icon.icon-team {
    background: linear-gradient(135deg, #00a9e0, #14b8a6);
}
.about-stat-icon.icon-projects {
    background: linear-gradient(135deg, #9061f9, #ec4899);
    box-shadow: 0 15px 30px rgba(144, 97, 249, 0.25);
}
.about-stat-icon.icon-cities {
    background: linear-gradient(135deg, #f97316, #facc15);
    box-shadow: 0 15px 30px rgba(249, 115, 22, 0.25);
}
.about-stat:hover .about-stat-icon {
    filter: grayscale(0);
}
.about-stat-content strong {
    display: block;
    font-size: 28px;
    margin-bottom: 0;
}
.about-stat-content span {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .about-stat-icon {
        display: none;
    }
    .about-stat {
        gap: 0;
    }
}
.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.about-photo {
    border-radius: 18px;
    overflow: hidden;
    height: 110px;
    cursor: pointer;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.about-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(17, 21, 37, 0.15);
}
.about-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.about-media {
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(17, 21, 37, 0.12);
    border: 1px solid var(--border);
    background: rgba(0, 0, 0, 0.06);
}
.about-video {
    width: 100%;
    height: 320px;
    object-fit: cover;
}
.showreel-cover {
    position: relative;
}
.showreel-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.15), rgba(15, 23, 42, 0.55));
    pointer-events: none;
}
.showreel-play {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border: none;
    background: none;
    cursor: pointer;
    z-index: 2;
}
.showreel-play span {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
}
.team {
    position: relative;
    margin-top: 80px;
    padding: 60px 0 40px;
    z-index: 0;
}
.team::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    transform: translateX(-50%);
    background: #fff;
    z-index: -1;
}
.team-head {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 26px;
}
.team-head h2 {
    margin: 0;
    font-size: 28px;
}
.team-head p {
    margin: 10px 0 0;
    color: var(--muted);
    max-width: 640px;
    line-height: 1.6;
}
.team-tabs {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.team-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 14px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s ease;
}
.team-tab.active {
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 8px 20px rgba(29, 109, 250, 0.12);
}
@media (max-width: 768px) {
    .team-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin-bottom: 24px;
        padding-bottom: 4px;
        position: sticky;
        top: 90px;
        z-index: 100;
        padding-top: 24px;
        padding-bottom: 16px;
        margin-top: -16px;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .team-tabs::-webkit-scrollbar {
        display: none;
    }
    .team-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}
.team-card {
    border-radius: 32px;
    border: 1px solid rgba(17, 21, 37, 0.08);
    background: #fff;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(17, 21, 37, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 90px rgba(17, 21, 37, 0.12);
}
.team-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    background: #dfe4f0;
    overflow: hidden;
}
.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.15);
}
.team-pill {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 1px solid rgba(29, 109, 250, 0.45);
    box-shadow: 0 10px 20px rgba(17, 21, 37, 0.08);
}
.team-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.team-card h3 {
    margin: 0;
    font-size: 18px;
}
.team-role {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
}
.team-exp {
    font-weight: 600;
    font-size: 14px;
    color: #b68a47;
    letter-spacing: 0.02em;
}
.team-sub {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}
.team-tags {
    display: none;
}
.team-card.hidden {
    display: none;
}
.team-more-wrapper {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}
.modal {
    position: fixed;
    inset: 0;
    background: rgba(6, 11, 25, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 10000;
    visibility: hidden;
    padding: 20px;
}
.modal.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.modal-content {
    position: relative;
    background: #0b111f;
    border-radius: 24px;
    padding: 24px;
    max-width: 960px;
    width: 100%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    cursor: pointer;
}
.modal-slider {
    position: relative;
}
.modal-slide img {
    width: 100%;
    border-radius: 18px;
    max-height: 520px;
    object-fit: cover;
}
.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    cursor: pointer;
}
.modal-nav.prev {
    left: -18px;
}
.modal-nav.next {
    right: -18px;
}
.modal-video .modal-content {
    padding: 0;
    background: #000;
}
.modal-video video {
    width: 100%;
    height: 100%;
    border-radius: 24px;
    display: block;
}
body.no-scroll {
    overflow: hidden;
}
.modal-image {
    max-width: 100%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal-image img {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 12px;
}
@media (max-width: 1360px) {
    .team-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}
@media (max-width: 1080px) {
    .team-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 540px) {
    .team-grid {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width: 960px) {
    nav {
display: none;
    }
    header {
flex-direction: row;
justify-content: flex-start;
gap: 28px;
    }
    .header-actions {
        gap: 8px;
        margin-left: auto;
    }
}
@media (max-width: 600px) {
    .page {
padding: 16px 20px 0px;
padding-top: 100px;
    }
    header {
padding: 16px 20px;
position: fixed;
top: 16px;
left: 0;
right: 0;
width: 100%;
max-width: calc(100% - 40px);
margin: 0 auto;
gap: 20px;
z-index: 10;
    }
    .hero-cta a {
        flex: 1;
        text-align: center;
    }
}
@media (max-width: 640px) {
    .contact-toggle {
padding: 0;
width: 52px;
min-width: 52px;
justify-content: center;
    }
    .contact-text,
    .contact-caret {
display: none;
    }
    .contact-icon {
display: flex;
align-items: center;
justify-content: center;
    }
    .language-toggle {
padding: 0;
width: 52px;
min-width: 52px;
justify-content: center;
    }
    .language-text,
    .language-caret {
display: none;
    }
    .language-icon {
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* ======================================== */
/* CONTACTS PAGE STYLES */
/* ======================================== */
.contacts-page,
.contacts-section {
    position: relative;
    margin-top: 0;
    padding: 80px 0 60px;
    z-index: 0;
    background: transparent;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.about-headline{
    max-width: none;
}

.contacts-section::before {
    display: none;
}
.contacts-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 0;
    width: 1200px;
    max-width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.contacts-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
}
.contacts-info h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
    color: var(--text);
}
.contacts-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-detail-value {
    font-size: 15px;
    color: var(--text);
}
.contact-detail-value a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s ease;
}
.contact-detail-value a:hover {
    color: var(--accent-alt);
}
.contacts-socials {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}
.contacts-social {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contacts-social svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.contacts-social:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.contacts-social.vk { background: #5b8def; }
.contacts-social.tg { background: #33b1ff; }
.contacts-social.yt { background: #ff4d4f; }
.contacts-phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.contacts-phone-number {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.25s ease;
}
.contacts-phone-number:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 109, 250, 0.1);
}
.contacts-phone-number > div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.contacts-phone-number strong {
    display: block;
    font-size: 16px;
    color: var(--text);
    font-weight: 600;
}
.contacts-phone-number strong a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.25s ease;
}
.contacts-phone-number strong a:hover {
    color: var(--accent);
}
.contacts-phone-number span {
    font-size: 14px;
    color: var(--muted);
}
.contacts-phone-number .tag {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 16px;
    color: #fff;
    flex-shrink: 0;
}
.contacts-phone-number .tag.yellow { background: #f5c343; }
.contacts-phone-number .tag.green { background: #09c16b; }
.contacts-phone-number .tag.red { background: #ff4d4f; }
.contacts-phone-number .whatsapp-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: #25D366;
    transition: all 0.25s ease;
    text-decoration: none;
}
.contacts-phone-number .whatsapp-icon:hover {
    background: #20BA5A;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}
.contacts-phone-number .whatsapp-icon img {
    width: 20px;
    height: 20px;
    display: block;
}
.contacts-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    overflow: hidden;
}
.office-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(17, 21, 37, 0.04);
}
.office-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.office-header-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.office-card h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}
.office-address {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.5;
}
.office-map-buttons {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}
.office-map-btn {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
}
.office-map-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}
.office-map-btn.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}
.office-facades {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}
.office-facade {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.office-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.office-map {
    width: 100%;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
    position: relative;
    background: #f5f7fb;
    isolation: isolate;
    contain: layout style paint;
    z-index: 1;
    transform: translateZ(0);
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
}
.map-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}
.map-iframe.hidden {
    display: none;
}
.map-2gis-widget {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
    z-index: 1;
    transform: translateZ(0);
    isolation: isolate;
}
.map-2gis-widget.hidden {
    display: none;
}
.map-2gis-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    isolation: isolate;
    contain: layout style paint;
    clip-path: inset(0);
    -webkit-clip-path: inset(0);
}
/* Сбрасываем глобальные стили iframe ТОЛЬКО для карты 2GIS */
.map-2gis-wrapper iframe,
.map-2gis-widget iframe,
.map-2gis-wrapper * iframe,
.map-2gis-widget * iframe,
.office-map iframe,
.office-map .map-2gis-wrapper iframe,
.office-map .map-2gis-wrapper * iframe {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
}
/* Глобальное правило: ВСЕ iframe внутри office-map должны быть relative */
.office-map iframe {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
/* КРИТИЧЕСКОЕ ПРАВИЛО: переопределяем ЛЮБЫЕ глобальные стили для iframe */
iframe {
    max-width: 100vw !important;
    max-height: 100vh !important;
}
/* Но внутри office-map iframe ограничены контейнером */
.office-map iframe,
.office-map .map-2gis-wrapper iframe {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}
/* Отменяем любые глобальные стили для элементов виджета 2GIS */
.office-map .map-2gis-wrapper iframe,
.office-map .map-2gis-widget iframe,
.office-map .map-2gis-wrapper * iframe,
.office-map .map-2gis-widget * iframe {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
}
.map-2gis-wrapper.hidden {
    display: none !important;
}
.map-2gis-wrapper.active {
    display: block !important;
}
.map-2gis-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    max-width: 100%;
    max-height: 100%;
    box-sizing: border-box;
}
.map-2gis-static.hidden {
    display: none;
}
/* Ограничиваем размер виджета 2GIS внутри контейнера */
.map-2gis-widget > * {
    max-width: 100% !important;
    max-height: 100% !important;
    box-sizing: border-box !important;
}
.map-2gis-widget iframe,
.map-2gis-widget > div > iframe,
.map-2gis-widget > div {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    position: relative !important;
    box-sizing: border-box !important;
}
/* Предотвращаем полноэкранное отображение виджета 2GIS */
.map-2gis-widget * {
    position: relative !important;
    z-index: 1 !important;
}
.map-2gis-widget *[style*="position: fixed"],
.map-2gis-widget *[style*="position:absolute"] {
    position: absolute !important;
    max-width: 100% !important;
    max-height: 100% !important;
    z-index: 1 !important;
}
/* Ограничиваем все элементы виджета контейнером */
.office-map .map-2gis-widget,
.office-map .map-2gis-widget * {
    max-width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
    z-index: 1 !important;
}
/* Принудительно ограничиваем z-index всех элементов виджета */
.office-map *,
.office-map .map-2gis-widget *,
.office-map .map-2gis-widget * * {
    z-index: 1 !important;
}
/* Глобальное ограничение для всех элементов виджета 2GIS на странице */
body *[class*="dg-"],
body *[id*="dg-"],
body *[class*="2gis"],
body *[id*="2gis"] {
    z-index: 1 !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
}
/* Убеждаемся, что виджет не выходит за пределы контейнера */
.office-map {
    contain: layout style paint !important;
    will-change: auto !important;
    clip-path: inset(0) !important;
}
/* Ограничиваем все всплывающие элементы виджета */
.office-map .dg-widget,
.office-map [class*="dg-"],
.office-map [id*="dg-"] {
    position: absolute !important;
    z-index: 1 !important;
    max-width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}
/* Принудительно скрываем элементы виджета вне контейнера */
body > [class*="dg-"]:not(.office-map *),
body > [id*="dg-"]:not(.office-map *),
body > [class*="2gis"]:not(.office-map *),
body > [id*="2gis"]:not(.office-map *),
body [class*="dg-"]:not(.office-map *):not(.office-map),
body [id*="dg-"]:not(.office-map *):not(.office-map),
body [class*="2gis"]:not(.office-map *):not(.office-map),
body [id*="2gis"]:not(.office-map *):not(.office-map) {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    z-index: -1 !important;
    overflow: hidden !important;
}
/* Глобальное правило: скрываем элементы с position: fixed от 2GIS (кроме Jivo и системных виджетов) */
/* Исключаем Jivo, модальные окна и другие важные элементы */
.map-2gis-container *[style*="position: fixed"],
.map-2gis-widget *[style*="position: fixed"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
/* Сбрасываем z-index только для элементов карты 2GIS */
.office-map *[style*="z-index"],
.map-2gis-container *[style*="z-index"] {
    z-index: 1 !important;
}
.map-2gis-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
    overflow: hidden;
    border-radius: 12px;
}
.map-2gis-container.hidden {
    display: none;
}
/* Ограничиваем виджет 2GIS внутри контейнера */
.map-2gis-container > * {
    max-width: 100% !important;
    max-height: 100% !important;
    overflow: hidden !important;
}
.contact-form-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 2px 8px rgba(17, 21, 37, 0.04);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 0;
}
.contact-form-card h2 {
    margin: 0 0 24px;
    font-size: 28px;
    font-weight: 700;
    color: #1d6dfa;
}
.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form-group.full-width {
    grid-column: 1 / -1;
}
.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.contact-form input,
.contact-form textarea,
.form-input,
.form-textarea {
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    background: #fff;
    color: var(--text);
    transition: border-color 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus,
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--accent);
}
.contact-form textarea,
.form-textarea {
    min-height: 120px;
    resize: vertical;
}
.contact-form button[type="submit"],
.form-submit {
    padding: 14px 28px;
    background: linear-gradient(135deg, #1d6dfa 0%, #00a9e0 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 4px;
}
.contact-form button[type="submit"]:hover,
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 109, 250, 0.3);
}

/* Чекбокс согласия */
.form-checkbox-group {
    margin-top: 8px;
    margin-bottom: 8px;
}
.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
}
.form-checkbox-label .form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.form-checkbox-label .checkmark {
    position: relative;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.2s ease;
}
.form-checkbox-label:hover .checkmark {
    border-color: #1d6dfa;
}
.form-checkbox-label .form-checkbox:checked ~ .checkmark {
    background: linear-gradient(135deg, #1d6dfa 0%, #00a9e0 100%);
    border-color: #1d6dfa;
}
.form-checkbox-label .checkmark::after {
    content: '';
    position: absolute;
    display: none;
    left: 50%;
    top: 45%;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: translate(-50%, -50%) rotate(45deg);
}
.form-checkbox-label .form-checkbox:checked ~ .checkmark::after {
    display: block;
}
.checkbox-text {
    flex: 1;
}
.checkbox-text a {
    color: #1d6dfa;
    text-decoration: underline;
    transition: color 0.2s ease;
}
.checkbox-text a:hover {
    color: #00a9e0;
}
.required {
    color: #ff4757;
}

/* Подсветка ошибок валидации */
.field-error,
input.field-error,
textarea.field-error {
    border: 2px solid #ff4757 !important;
    background-color: rgba(255, 71, 87, 0.05) !important;
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.25) !important;
    animation: shake 0.5s ease-in-out;
}
.checkmark-error {
    border: 2px solid #ff4757 !important;
    background-color: rgba(255, 71, 87, 0.1) !important;
    box-shadow: 0 0 0 4px rgba(255, 71, 87, 0.25) !important;
    animation: shake 0.5s ease-in-out;
}
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-6px); }
    20%, 40%, 60%, 80% { transform: translateX(6px); }
}

/* Overlay успешной отправки формы */
.form-success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1d6dfa 0%, #00a9e0 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.form-success-overlay.visible {
    opacity: 1;
}
.form-success-content {
    text-align: center;
    padding: 40px 30px;
    color: #fff;
}
.form-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successPulse 2s ease-in-out infinite;
}
.form-success-icon svg {
    width: 48px;
    height: 48px;
    stroke: #fff;
}
.form-success-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #fff;
}
.form-success-text {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    max-width: 300px;
}
@keyframes successPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(255, 255, 255, 0); }
}

@media (max-width: 768px) {
    .contacts-section {
        margin-top: 40px;
        padding: 40px 0 32px;
    }
    .contacts-main {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .contacts-info {
        position: static;
        gap: 24px;
    }
    .contacts-info h2 {
        font-size: 32px;
    }
    .contacts-details {
        gap: 20px;
    }
    .contact-detail-item {
        gap: 10px;
    }
    .contact-detail-label {
        font-size: 11px;
    }
    .contact-detail-value {
        font-size: 14px;
    }
    .contacts-phone-numbers {
        gap: 12px;
    }
    .contacts-phone-number {
        padding: 14px;
        gap: 12px;
    }
    .contacts-phone-number strong {
        font-size: 15px;
    }
    .contacts-phone-number span {
        font-size: 13px;
    }
    .contacts-phone-number .whatsapp-icon {
        width: 32px;
        height: 32px;
    }
    .contacts-phone-number .whatsapp-icon img {
        width: 18px;
        height: 18px;
    }
    .contacts-socials {
        gap: 10px;
    }
    .contacts-social {
        width: 36px;
        height: 36px;
    }
    .contacts-social svg {
        width: 18px;
        height: 18px;
    }
    .contacts-right {
        gap: 20px;
    }
    .office-card {
        padding: 20px;
        gap: 16px;
    }
    .office-header {
        flex-direction: column;
        gap: 16px;
    }
    .office-card h3 {
        font-size: 20px;
    }
    .office-address {
        font-size: 14px;
    }
    .office-map-buttons {
        gap: 8px;
        flex-wrap: wrap;
    }
    .office-map-btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    .office-facades {
        gap: 6px;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    .office-facades::-webkit-scrollbar {
        display: none;
    }
    .office-facade {
        width: 100px;
        height: 100px;
        flex-shrink: 0;
    }
    .office-map {
        height: 250px;
        margin-top: 8px;
    }
    .contact-form-card {
        padding: 24px 20px;
    }
    .contact-form-card h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    .contact-form {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .form-group {
        gap: 6px;
    }
    .form-label {
        font-size: 13px;
    }
    .contact-form input,
    .contact-form textarea,
    .form-input,
    .form-textarea {
        padding: 10px 14px;
        font-size: 14px;
    }
    .contact-form textarea,
    .form-textarea {
        min-height: 100px;
    }
    .contact-form button[type="submit"],
    .form-submit {
        padding: 12px 24px;
        font-size: 14px;
    }
    .contacts-info .menu-download-btn {
        width: 100%;
        text-align: center;
    }
}
@media (max-width: 480px) {
    .contacts-section {
        padding: 32px 0 24px;
    }
    .contacts-main {
        gap: 24px;
    }
    .contacts-info h2 {
        font-size: 28px;
    }
    .contacts-details {
        gap: 18px;
    }
    .contacts-phone-number {
        padding: 12px;
    }
    .office-card {
        padding: 16px;
    }
    .office-card h3 {
        font-size: 18px;
    }
    .contact-form-card {
        padding: 20px 16px;
    }
    .contact-form-card h2 {
        font-size: 22px;
    }
}
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    width: 100%;
    grid-column: 1 / -1;
    margin-top: 4px;
}
.contact-form button[type="submit"]:hover,
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 109, 250, 0.3);
}
.contact-detail-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.contact-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.contact-detail-value {
    font-size: 15px;
    color: var(--text);
}
.contact-detail-value a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.25s ease;
}
.contact-detail-value a:hover {
    color: var(--accent-alt);
}
.contacts-info .menu-download-btn {
    padding: 14px 28px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.contacts-info .menu-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 109, 250, 0.3);
}


/* Модальное окно "Заказать звонок" */
[data-modal="callback-modal"] {
    z-index: 10000 !important;
    position: fixed !important;
    display: flex !important;
}
[data-modal="callback-modal"].open {
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
}
[data-modal="callback-modal"] .modal-content {
    background: #fff;
    max-width: 480px;
    padding: 32px;
    position: relative;
    z-index: 10001;
    margin: auto;
}
[data-modal="callback-modal"] .modal-content h2 {
    margin: 0 0 24px;
    font-size: 24px;
    font-weight: 600;
    color: var(--text);
}
[data-modal="callback-modal"] .modal-close {
    color: var(--text);
    background: rgba(17, 21, 37, 0.08);
}
[data-modal="callback-modal"] .modal-close:hover {
    background: rgba(17, 21, 37, 0.15);
}
.callback-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.callback-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.callback-form .form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
}
.callback-form .form-input {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 16px;
    color: var(--text);
    background: var(--surface);
    transition: all 0.25s ease;
}
.callback-form .form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(29, 109, 250, 0.1);
}
.callback-form .form-submit {
    width: 100%;
    padding: 14px 24px;
    border: none;
    border-radius: 12px;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}
.callback-form .form-submit:hover {
    background: #1a5fe8;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(29, 109, 250, 0.3);
}
.callback-form .form-submit:active {
    transform: translateY(0);
}


/* Модальное окно "Вакансии" */
.modal-vacancies {
    background: var(--surface);
    color: var(--text);
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

.modal-vacancies h2 {
    color: var(--text);
    margin: 0 0 12px 0;
    font-size: 24px;
    font-weight: 700;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

.vacancies-intro {
    color: var(--muted);
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 24px 0;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

[data-modal="vacancies-modal"] .modal-content {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

[data-modal="vacancies-modal"] * {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

.vacancies-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-item {
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    background: var(--surface);
    transition: all 0.3s ease;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-item:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(29, 109, 250, 0.1);
}

.vacancy-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.2s ease;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-header:hover {
    background: var(--surface-soft);
}

.vacancy-header.active {
    background: var(--surface-soft);
}

.vacancy-header-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.vacancy-header-content > div:first-child {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.vacancy-title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-city {
    font-weight: 400;
    color: var(--muted);
    font-size: 16px;
}

.vacancy-salary {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-date {
    font-size: 14px;
    color: var(--muted);
    font-weight: 400;
    margin-top: 4px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-arrow {
    font-size: 12px;
    color: var(--muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 16px;
}

.vacancy-header.active .vacancy-arrow {
    transform: rotate(180deg);
}

.vacancy-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.vacancy-content > * {
    padding-bottom: 20px;
}

.vacancy-short {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.6;
    padding-top: 20px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-full {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    padding-top: 12px;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-full p {
    margin: 0 0 12px 0;
}

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

.vacancy-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.vacancy-section h4 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-text {
    font-size: 15px;
    color: var(--text);
    line-height: 1.7;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif;
}

.vacancy-text p {
    margin: 0 0 8px 0;
}

.vacancy-text ul,
.vacancy-text ol {
    margin: 8px 0;
    padding-left: 24px;
}

.vacancy-text li {
    margin-bottom: 6px;
}

.vacancy-apply {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.vacancy-apply-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #25D366;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.vacancy-apply-btn:hover {
    background: #20BA5A;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.vacancy-apply-btn:active {
    transform: translateY(0);
}

.vacancy-apply-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.vacancy-apply-btn span {
    font-family: "Manrope", "Inter", "Segoe UI", sans-serif !important;
}

.vacancies-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
}

.vacancies-empty p {
    margin: 0 0 12px 0;
    font-size: 16px;
}

.vacancies-empty p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .modal-vacancies {
    background: var(--surface);
    color: var(--text);
        max-width: 100%;
        margin: 20px;
    }
    
    .vacancy-header {
        padding: 16px 20px;
    }
    
    .vacancy-header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .vacancy-title {
        font-size: 16px;
    }
    
    .vacancy-salary {
        font-size: 14px;
    }
    
    .vacancy-content {
        padding: 0 20px;
    }
}

/* ===================================
   Video Widget Styles
   =================================== */

.video-widget {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 9;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-widget.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.video-widget-container {
    position: relative;
    width: 168px;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    border: 2px solid #1d6dfa;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
}

.video-widget-container.expanded {
    width: 280px;
    height: 500px;
    border-width: 3px;
}

.video-widget-progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
    z-index: 11;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-widget-container.expanded .video-widget-progress {
    opacity: 1;
}

.video-widget-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #1d6dfa 0%, #00a9e0 100%);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(29, 109, 250, 0.6);
}

.video-widget-controls {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    gap: 6px;
    z-index: 10;
}

.video-widget-control {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.video-widget-control:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

.video-widget-control svg {
    width: 18px;
    height: 18px;
}

/* Кнопка закрытия - прозрачная всегда */
.video-widget-control.video-widget-close {
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.4);
}

.video-widget-control.video-widget-close:hover {
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.6);
}

/* Кнопка выключения звука - менее акцентная в раскрытом виджете */
.video-widget-container.expanded .video-widget-control.video-widget-mute {
    opacity: 0.5;
    background: rgba(0, 0, 0, 0.4);
}

.video-widget-container.expanded .video-widget-control.video-widget-mute:hover {
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.6);
}

.video-widget-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-widget-button {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    opacity: 0;
    animation: fadeInUp 0.3s ease forwards;
    animation-delay: 3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.video-widget-button-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: #1d6dfa;
    color: #fff;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(29, 109, 250, 0.4);
    transition: all 0.2s ease;
}

.video-widget-button-link:hover {
    background: #1558d4;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(29, 109, 250, 0.5);
}

.video-widget-button-link img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.video-widget-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-widget-container.expanded .video-widget-footer {
    display: flex;
}

.video-widget-footer-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

.video-widget.hidden {
    display: none;
}

@media (max-width: 768px) {
    .video-widget {
        bottom: 16px;
        left: 16px;
    }
    
    .video-widget-container {
        width: 100px;
        height: 160px;
        box-shadow: none;
    }
    
    .video-widget-container.expanded {
        width: 240px;
        height: 400px;
    }
    
    .video-widget-control {
        width: 28px;
        height: 28px;
    }
    
    .video-widget-control svg {
        width: 16px;
        height: 16px;
    }
    
    .video-widget-button-link {
        padding: 10px 16px;
        font-size: 13px;
    }
}

/* Team section - Desktop styles */
.team-head-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.team-head-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.team-head-title-wrapper h2 {
    margin: 0;
    font-size: 28px;
    flex: 1;
}

.team-vacancies-btn {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Team section - Mobile styles */
@media (max-width: 640px) {
    .team-head-title-wrapper {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    
    .team-head-title-wrapper h2 {
        font-size: 24px;
        flex: 1;
        margin: 0;
    }
    
    .team-vacancies-btn {
        align-self: flex-end;
        flex-shrink: 0;
        white-space: nowrap;
        font-size: 13px;
        padding: 10px 16px;
    }
}


/* Portfolio Metrics Styles */
.portfolio-metrics {
    display: flex;
    gap: 24px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}
.portfolio-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.portfolio-metric strong {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}
.portfolio-metric span {
    font-size: 14px;
    color: var(--muted);
}
.portfolio-media video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.portfolio-media {
    overflow: hidden;
}
.portfolio-media::after {
    z-index: 1;
}

/* FAQ Section Styles */
.faq-section {
    padding: 100px 0;
    background: transparent;
    position: relative;
    width: 100%;
}

.faq-container {
    max-width: 100% !important;
    padding-left: 40px;
    padding-right: 40px;
}

.faq-header {
    text-align: center;
    margin-bottom: 70px;
}

.faq-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.faq-subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 100%;
    margin: 0;
    line-height: 1.7;
    text-align: center;
}

.faq-container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.faq-wrapper {
    display: flex;
    gap: 40px;
    max-width: 100%;
    margin: 0 auto;
    align-items: flex-start;
}

.faq-sidebar {
    flex-shrink: 0;
    width: 280px;
    position: sticky;
    top: 100px;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    border: 1px solid var(--border);
    padding: 12px;
    box-shadow: 0 4px 20px rgba(17, 21, 37, 0.06);
}

.faq-category {
    width: 100%;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.2s ease;
    font-family: inherit;
    text-align: left;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.faq-category:hover {
    background: rgba(29, 109, 250, 0.08);
    color: var(--accent);
}

.faq-category.active {
    background: var(--accent);
    color: #fff;
    font-weight: 600;
}

.faq-category.active .faq-category-icon {
    color: #fff;
}

.faq-category-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: color 0.2s ease;
}

.faq-category:hover .faq-category-icon {
    color: var(--accent);
}

.faq-category.active .faq-category-icon {
    color: #fff;
}

.faq-category-text {
    flex: 1;
}

.faq-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 950px;
    margin-left: auto;

}

.faq-list {
    display: none;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

.faq-list.active {
    display: flex;
}

/* Когда показываются все вопросы, добавляем отступ между списками категорий */
.faq-list.active + .faq-list.active {
    margin-top: 16px;
    padding-top: 0;
}

.faq-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    border: 1px solid var(--border);
    box-shadow: 0 8px 30px rgba(17, 21, 37, 0.06);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    margin: 0;
}

.faq-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(29, 109, 250, 0.08), rgba(0, 169, 224, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(17, 21, 37, 0.1);
    border-color: rgba(29, 109, 250, 0.2);
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.active {
    border-color: rgba(29, 109, 250, 0.3);
    box-shadow: 0 12px 40px rgba(29, 109, 250, 0.12);
}

.faq-item.active::before {
    opacity: 1;
}

.faq-question {
    width: 100%;
    padding: 28px 32px;
    background: transparent;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    transition: all 0.2s ease;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    background-color: transparent;
}

.faq-question-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
}

.faq-category-label {
    font-size: 12px;
    font-weight: 500;
    color: #1d6dfa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.faq-question-text {
    font-size: 19px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.6;
    width: 100%;
    transition: color 0.2s ease;
}

.faq-item.active .faq-question-text {
    color: var(--accent);
}

.faq-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    background: rgba(29, 109, 250, 0.1);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    background: var(--accent);
    color: #fff;
}

.faq-icon svg {
    width: 18px;
    height: 18px;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 32px;
    position: relative;
    z-index: 1;
}

.faq-item.active .faq-answer {
    max-height: 800px;
    padding: 0 32px 28px 32px;
}

.faq-answer-content {
    padding-top: 4px;
    border-top: 1px solid rgba(17, 21, 37, 0.08);
    margin-top: 8px;
    padding-top: 20px;
}

.faq-answer-content p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    margin: 0;
}

.faq-answer-content p + p {
    margin-top: 16px;
}

.faq-answer-content ul,
.faq-answer-content ol {
    font-size: 16px;
    line-height: 1.8;
    color: var(--muted);
    margin: 16px 0;
    padding-left: 24px;
}

.faq-answer-content li {
    color: var(--muted);
    margin-bottom: 8px;
}

.faq-answer-content li::marker {
    color: var(--muted);
}

@media (max-width: 1024px) {
    .faq-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    
    .faq-sidebar {
        width: 100%;
        position: static;
    }
    
    .faq-categories {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 12px;
    }
    
    .faq-category {
        flex: 1;
        min-width: 140px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .faq-section {
        padding: 70px 0;
    }
    
    .faq-header {
        margin-bottom: 40px;
    }
    
    .faq-title {
        font-size: 32px;
        padding: 0 20px;
    }
    
    .faq-subtitle {
        font-size: 16px;
        padding: 0 20px;
    }
    
    .faq-wrapper {
        gap: 24px;
        padding: 0 0px;
    }
    
    .faq-categories {
        padding: 8px;
        gap: 6px;
    }
    
    .faq-category {
        padding: 12px 14px;
        font-size: 14px;
        min-width: auto;
        flex: 1 1 auto;
    }
    
    .faq-category-icon {
        width: 18px;
        height: 18px;
    }
    
    .faq-category-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .faq-list {
        gap: 16px;
    }
    
    .faq-container {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    
    .faq-question {
        padding: 22px 20px;
        gap: 16px;
    }
    
    .faq-question-text {
        font-size: 17px;
    }
    
    .faq-icon {
        width: 28px;
        height: 28px;
    }
    
    .faq-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 22px 20px;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-answer-content {
        padding-top: 16px;
    }
}

/* Кнопка "Смотреть проект" в карточке портфолио */
.portfolio-view-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    margin-top: 20px;
    background: linear-gradient(135deg, #1d6dfa 0%, #4d8ffc 100%);
    border: none;
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.portfolio-view-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(29, 109, 250, 0.35);
}

.portfolio-view-btn svg {
    transition: transform 0.2s ease;
}

.portfolio-view-btn:hover svg {
    transform: translateX(4px);
}

/* Drag scroll для логотипов клиентов */
.clients-marquee {
    cursor: grab;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.clients-marquee::-webkit-scrollbar {
    display: none;
}

.clients-marquee.dragging {
    cursor: grabbing;
}

.clients-marquee.dragging .logos-track {
    pointer-events: none;
}
body.no-backdrop::before{
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
@media (max-width: 768px) {
    .portfolio-modal-info{
        width:100%;
        display: flex;
        & > *{
            width: 100%;
        }
    }
    .portfolio-modal-info-item * {

        font-size: 15px !important;
    }
    .conversion-accordion-item.active .conversion-accordion-body {
        padding: 0px 15px 15px 15px !important;
    }
    .conversion-slide-main{
        min-height: 200px !important;
        height: auto !important;
        position: relative !important;
        & > img{
            position: relative !important;
            width: 100% !important;
            height: auto !important;
            object-fit: contain !important;
        }
    }
}

.team-head p{
    max-width: none ;
}
.services-head p{
    max-width: none;
}
.faq-question {
    padding: 28px 32px 0px;
}
.faq-answer-content{
    padding-top: 10px;
}
.faq-item{
    padding-bottom: 30px;
}
.faq-item.active .faq-answer{
    padding: 0 32px !important; 
}
.data-content{
    text-align: center;
}

/* Legal Pages Styles */
.legal-page {
    padding: 40px 0 80px;
    min-height: 100vh;
    background: var(--background);
}
.legal-page .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}
.legal-page h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}
.legal-date {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}
.legal-content {
    color: var(--text);
    line-height: 1.8;
}
.legal-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 40px 0 20px;
    color: var(--text);
}
.legal-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--text);
}
.legal-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}
.legal-content ul {
    margin: 16px 0;
    padding-left: 24px;
}
.legal-content ul li {
    margin-bottom: 10px;
    color: var(--text-secondary);
}
.legal-content strong {
    color: var(--text);
    font-weight: 600;
}
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}
.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border: 1px solid var(--border);
}
.legal-table th {
    background: var(--surface);
    font-weight: 600;
    color: var(--text);
}
.legal-table td {
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .legal-page {
        padding: 30px 0 60px;
    }
    .legal-page .container {
        padding: 0 20px;
    }
    .legal-page h1 {
        font-size: 1.8rem;
    }
}
/* ===================== */
/* Блок документов       */
/* ===================== */
.documents-section {
    padding: 80px 0;
    background: var(--surface);
}

.documents-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.documents-section h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 24px;
    text-align: center;
}

.documents-description {
    max-width: 900px;
    margin: 0 auto 48px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--muted);
    text-align: justify;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.document-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: var(--surface-soft);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 1px solid var(--border);
}

.document-card:hover {
    background: var(--surface);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: var(--accent);
}

.document-icon {
    position: relative;
    flex-shrink: 0;
    width: 48px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width:500px){
    main {
        grid-template-columns: none !important;
    }
    .work-plan-tabs{
        width: 110%;
    }
}
.document-icon svg {
    width: 100%;
    height: 100%;
    color: #dc2626;
}

.pdf-badge {
    position: absolute;
    bottom: 2px;
    right: -4px;
    background: #dc2626;
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.document-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.document-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.document-card:hover .document-name {
    color: var(--accent);
}

.document-size {
    font-size: 0.85rem;
    color: var(--muted);
}

@media (max-width: 768px) {
    .documents-section {
        padding: 60px 0;
    }
    
    .documents-section h2 {
        font-size: 1.8rem;
    }
    
    .documents-description {
        font-size: 0.9rem;
        margin-bottom: 32px;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
    }
    
    .document-card {
        padding: 16px 20px;
    }
}

/* ================================= */
/* Модальное окно скачивания документа */
/* ================================= */
.document-card {
    cursor: pointer;
    border: none;
    font-family: inherit;
    text-align: left;
    width: 100%;
}

.document-download-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.document-download-modal.active {
    display: flex;
}

.document-download-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.document-download-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 520px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.document-download-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--surface-soft);
    border-radius: 8px;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    color: var(--muted);
    transition: all 0.2s;
}

.document-download-modal-close:hover {
    background: var(--border);
    color: var(--text);
}

.document-download-modal-content h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 20px;
    padding-right: 40px;
}

.document-download-modal-text {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--muted);
    margin-bottom: 24px;
}

.document-download-modal-text p {
    margin: 0 0 12px;
}

.document-download-modal-text ul {
    margin: 0;
    padding-left: 20px;
}

.document-download-modal-text ul li {
    margin-bottom: 8px;
}

.document-download-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--surface-soft);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.document-download-checkbox:hover {
    border-color: var(--accent);
}

.document-download-checkbox input {
    display: none;
}

.document-download-checkmark {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--border);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    margin-top: 2px;
}

.document-download-checkbox input:checked + .document-download-checkmark {
    background: var(--accent);
    border-color: var(--accent);
}

.document-download-checkbox input:checked + .document-download-checkmark::after {
    content: '✓';
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.document-download-checkbox-text {
    font-size: 0.95rem;
    color: var(--text);
    line-height: 1.4;
}

.document-download-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 24px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: not-allowed;
    opacity: 0.5;
    transition: all 0.2s;
}

.document-download-btn.active {
    cursor: pointer;
    opacity: 1;
}

.document-download-btn.active:hover {
    background: #1557d0;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .document-download-modal-content {
        padding: 24px;
    }
    
    .document-download-modal-content h3 {
        font-size: 1.2rem;
    }
}

/* Footer legal text */
.footer-legal {
    margin-top: 24px;
    padding-top: 20px;
    padding-bottom: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-legal p {
    font-size: 0.7rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin: 0;
}

/* Documents section - modern style */
.documents-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    padding: 32px;
    background: linear-gradient(135deg, rgba(29, 109, 250, 0.08) 0%, rgba(0, 169, 224, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(29, 109, 250, 0.1);
}

.documents-header-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-alt) 100%);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.documents-header-icon svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

.documents-header-text {
    flex: 1;
}

.documents-header-text h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px;
}

.documents-header-text p {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.5;
}

.documents-section h2 {
    text-align: left;
}

.document-card-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.document-download-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--surface-soft);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.document-download-icon svg {
    width: 20px;
    height: 20px;
    color: var(--muted);
    transition: all 0.3s;
}

.document-card:hover .document-download-icon {
    background: var(--accent);
}

.document-card:hover .document-download-icon svg {
    color: #fff;
}

@media (max-width: 768px) {
    .documents-section {
        padding: 50px 0 !important;
        overflow-x: hidden;
    }
    
    .documents-container {
        padding: 0 0px !important;
        max-width: 100% !important;
        overflow: hidden;
    }
    
    .documents-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
        margin-left: 0;
        margin-right: 0;
        border-radius: 16px;
    }
    
    .documents-header-icon {
        display: none;
    }
    
    .documents-header-text {
        width: 100%;
    }
    
    .documents-header-text h2 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .documents-header-text p {
        text-align: center;
    }
    
    .documents-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
        max-width: 100%;
    }
    
    .document-card {
        padding: 16px;
        border-radius: 14px;
        gap: 12px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .document-card-content {
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }
    
    .document-icon {
        width: 40px;
        height: 48px;
        flex-shrink: 0;
    }
    
    .document-info {
        min-width: 0;
        flex: 1;
        overflow: hidden;
    }
    
    .document-name {
        font-size: 0.95rem;
        line-height: 1.4;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .document-size {
        font-size: 0.8rem;
    }
    
    .document-download-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .document-download-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* FAQ white background, Documents transparent */
.faq-section {
    background: var(--surface) !important;
}

.documents-section {
    background: transparent !important;
}

/* FAQ section full width and reduced top padding */
.faq-section {
    width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding: 60px 0 100px !important;
    box-sizing: border-box !important;
}

.faq-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* FAQ container centered with proper padding */
.faq-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
}
@media screen and (max-width:500px) {
    .faq-container {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    
}
/* FAQ reduced top padding */
.faq-section {
    padding-top: 30px !important;
}

/* FAQ section margin from previous block */
.faq-section {
    margin-top: 60px !important;
}

/* Documents section full width and full document names */
.documents-container {
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
}

.documents-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)) !important;
}

.document-name {
    overflow: visible !important;
    text-overflow: unset !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    white-space: normal !important;
}

/* FAQ sidebar sticky with offset from header */
.faq-sidebar {
    top: 130px !important;
}

/* Documents mobile overrides - must be after global !important styles */
@media (max-width: 768px) {
    .documents-section {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100vw !important;
    }
    
    .documents-container {
        padding: 0 0px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    
    .documents-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .document-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 16px !important;
        gap: 12px !important;
        box-sizing: border-box !important;
    }
    
    .document-card-content {
        flex: 1 !important;
        min-width: 0 !important;
        overflow: hidden !important;
    }
    
    .document-download-icon {
        flex-shrink: 0 !important;
    }
}

/* SEO Text Section */
.seo-text-section {
    position: relative;
    padding: 80px 0;
    background: #ffffff;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.seo-text-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.seo-text-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 30px;
    text-align: center;
}

.seo-text-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.seo-text-content h2,
.seo-text-content h3,
.seo-text-content h4 {
    color: var(--text-primary);
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}

.seo-text-content h2 {
    font-size: 1.5rem;
}

.seo-text-content h3 {
    font-size: 1.25rem;
}

.seo-text-content p {
    margin-bottom: 1em;
}

.seo-text-content ul,
.seo-text-content ol {
    margin-bottom: 1em;
    padding-left: 1.5em;
}

.seo-text-content li {
    margin-bottom: 0.5em;
}

.seo-text-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.seo-text-content a:hover {
    color: var(--accent-hover);
}

.seo-text-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.seo-text-content blockquote {
    border-left: 4px solid var(--accent-primary);
    padding-left: 20px;
    margin: 1.5em 0;
    font-style: italic;
    color: var(--text-secondary);
}

.seo-text-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.seo-text-content th,
.seo-text-content td {
    padding: 12px;
    border: 1px solid var(--border-color);
    text-align: left;
}

.seo-text-content th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .seo-text-section {
        padding: 50px 0;
    }
    
    .seo-text-title {
        font-size: 1.5rem;
    }
    
    .seo-text-content {
        font-size: 0.95rem;
    }
}

/* ===== SEO PAGES STYLES ===== */
/* Описания блоков на 100% ширины только для SEO страниц */
body.is-seo-page .clients-head .clients-text p,
body.is-seo-page .why-head p,
body.is-seo-page .portfolio-head p,
body.is-seo-page .pricing-head p,
body.is-seo-page .work-plan-head p,
body.is-seo-page .about-head p,
body.is-seo-page .team-head p,
body.is-seo-page .services-head p,
body.is-seo-page .faq-head p,
body.is-seo-page .documents-head p {
    max-width: 100%;
    width: 100%;
}

/* Заголовки блоков на полную ширину */
body.is-seo-page .clients-head,
body.is-seo-page .why-head,
body.is-seo-page .portfolio-head,
body.is-seo-page .pricing-head,
body.is-seo-page .work-plan-head,
body.is-seo-page .about-head,
body.is-seo-page .team-head,
body.is-seo-page .services-head,
body.is-seo-page .faq-head,
body.is-seo-page .documents-head {
    flex-direction: column;
}

body.is-seo-page .clients-head .clients-text,
body.is-seo-page .why-head > div,
body.is-seo-page .portfolio-head > div,
body.is-seo-page .pricing-head > div {
    max-width: 100%;
    width: 100%;
}

/* Специальная верстка блока "План работ" для SEO страниц */
body.is-seo-page .work-plan-head {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 16px 24px;
    align-items: center;
    flex-direction: row;
}

body.is-seo-page .work-plan-head > div:first-child {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

body.is-seo-page .work-plan-head > div:first-child h2 {
    margin: 0;
}

body.is-seo-page .work-plan-head > div:first-child p {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    margin: 0;
}

body.is-seo-page .work-plan-head > div:last-child {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    justify-self: end;
}

/* Переносим описание на отдельную строку */
body.is-seo-page .work-plan-head > div:first-child {
    display: contents;
}

body.is-seo-page .work-plan-head > div:first-child h2 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

body.is-seo-page .work-plan-head > div:first-child p {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
    max-width: 100%;
    width: 100%;
}

@media (max-width: 768px) {
    body.is-seo-page .work-plan-head {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }
    
    body.is-seo-page .work-plan-head > div:first-child h2 {
        grid-column: 1;
        grid-row: 1;
    }
    
    body.is-seo-page .work-plan-head > div:last-child {
        grid-column: 1;
        grid-row: 2;
        justify-self: start;
    }
    
    body.is-seo-page .work-plan-head > div:first-child p {
        grid-column: 1;
        grid-row: 3;
    }
}

/* Стили для виджета Jivo Chat - должен быть поверх всех элементов */
/* Используем максимально возможный z-index, не меняем position */
#jivo-iframe-container,
.jivo-widget-container,
[id^="jivo"],
[class*="jivo"],
div[id*="jivo"],
div[class*="jivo"],
iframe[id*="jivo"],
iframe[src*="jivo"],
iframe[src*="jivosite"] {
    z-index: 2147483647 !important;
}

/* Убеждаемся, что виджет не перекрывается модальными окнами и другими элементами */
body > div[id^="jivo"],
body > div[class*="jivo"],
body > div[id*="jivo"],
body > div[class*="jivo"] {
    z-index: 2147483647 !important;
}

/* Для мобильной версии - виджет должен быть поверх всего */
@media (max-width: 768px) {
    #jivo-iframe-container,
    .jivo-widget-container,
    [id^="jivo"],
    [class*="jivo"],
    div[id*="jivo"],
    div[class*="jivo"],
    iframe[id*="jivo"],
    iframe[src*="jivo"],
    iframe[src*="jivosite"] {
        z-index: 2147483647 !important;
    }
    
    /* Убеждаемся, что виджет не скрыт под контентом */
    body > div[id*="jivo"],
    body > div[class*="jivo"] {
        z-index: 2147483647 !important;
    }
}
