@font-face {
    font-family: 'JAudio';
    src: url('../fonts/J Audio Cassette.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-color: #F3F3F5;
    --block-color: #FFFFFF;
    --dark-text: #122824;
    --accent-color: #FF5A1F;
    --secondary-accent: #00B882;
    --border-color: #CBD6D3;
    --nav-height: 70px;
    --footer-height: 60px;
    --card-width: 240px;
    --card-height: 280px;
    --radius: 250px;
    --main-font: 'JAudio', 'Arial', sans-serif;
--card-width: 240px;
    --card-height: 280px;
    --radius: 280px; 
}

::selection {
    background: var(--accent-color);
    color: #fff;
}

@media (max-width: 1400px) {
    :root {
        --card-width: 200px;
        --card-height: 240px;
        --radius: 200px;
    }
}

@media (max-width: 1100px) {
    :root {
        --card-width: 160px;
        --card-height: 200px;
        --radius: 150px;
    }
    .wheel-card h3 { font-size: 16px; }
    .wheel-card p { font-size: 10px; }
}

body {
    margin: 0;
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 150px 150px;
    color: var(--dark-text);
    font-family: var(--main-font);
    overflow-y: auto;
    height: auto;
}

html {
    scroll-behavior: smooth;
}

.content-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px 60px 20px; 
    box-sizing: border-box;
    text-align: left;
}

.content-section h1 {
    font-size: 50px;
    color: var(--accent-color);
    margin-bottom: 30px;
}

.content-section p {
    color: var(--dark-text); 
    font-size: 18px;
    line-height: 1.6;
    opacity: 1;
    max-width: 800px;
    margin: 0 auto;
}

.main-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    height: 600px; 
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
    position: relative;
    min-width: 1000px; 
}

.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--nav-height);
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    border-bottom: 1px solid #333;
    z-index: 1000;
}

.logo { font-size: 24px; color: var(--accent-color); font-weight: bold; text-transform: uppercase; }
.nav-links a { color: white; text-decoration: none; margin-left: 25px; font-size: 18px; opacity: 0.7; transition: 0.3s; }
.nav-links a:hover { opacity: 1; color: var(--accent-color); }

.main-container {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1600px;
    margin: var(--nav-height) auto 0;
    height: 600px; 
    align-items: center;
    padding: 0 20px;
    box-sizing: border-box;
}

.side {
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.6s ease-out;
    z-index: 5;
}

.side-left { transform: translateX(-40px); }
.side-right { transform: translateX(40px); }

.side.show {
    opacity: 1;
    pointer-events: all;
    transform: translateX(0);
}

.block {
    background: var(--block-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.block h4 {
    margin: 0;
    font-size: 17px;
    color: var(--accent-color);
    line-height: 1.2;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.block p {
    margin: 5px 0 0 0;
    font-size: 13px;
    color: #888;
}

.block:hover { border-color: var(--accent-color); transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,255,136,0.1); }

.center-wrap {
    perspective: 1500px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.wheel {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.2);
    will-change: transform;
}

.wheel-card {
    position: absolute;
    width: var(--card-width);
    height: var(--card-height);
    background: var(--block-color);
    border: 1px solid var(--border-color);
    color: var(--dark-text);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
    backface-visibility: hidden;
    transform: rotateY(var(--r)) translateZ(var(--radius));
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.4s;
}

.wheel-card h3 {
    color: var(--dark-text);
    margin: 10px 0;
}

.wheel-card.selected {
    border-color: var(--accent-color);
    background: #FFFFFF;
    box-shadow: 0 10px 30px rgba(255, 90, 31, 0.2);
    transform: rotateY(var(--r)) translateZ(calc(var(--radius) + 40px)) scale(1.05);
}

.wheel-card.selected h3 {
    color: var(--accent-color);
}

.wheel-card.selected .icon-static { opacity: 0; }
.wheel-card.selected .icon-gif { opacity: 1; }
.wheel-card:nth-child(1) { --r: 0deg; }
.wheel-card:nth-child(2) { --r: 60deg; }
.wheel-card:nth-child(3) { --r: 120deg; }
.wheel-card:nth-child(4) { --r: 180deg; }
.wheel-card:nth-child(5) { --r: 240deg; }
.wheel-card:nth-child(6) { --r: 300deg; }
.wheel-card:hover:not(.selected) {
    box-shadow: 0 10px 30px rgba(255, 90, 31, 0.2);
}

.wheel-card.active { border-color: var(--accent-color); box-shadow: 0 0 30px rgba(0,255,136,0.2); }
.wheel-card h3 { color: var(--accent-color); margin: 5px 0; font-size: 20px; }

.icon-box {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.icon-box img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: contain;
    transition: opacity 0.4s ease-in-out;
}

.icon-gif { opacity: 0; }
.wheel-card:hover .icon-static { opacity: 0; }
.wheel-card:hover .icon-gif { opacity: 1; }

.wheel-card:nth-child(1) { --r: 0deg; }
.wheel-card:nth-child(2) { --r: 60deg; }
.wheel-card:nth-child(3) { --r: 120deg; }
.wheel-card:nth-child(4) { --r: 180deg; }
.wheel-card:nth-child(5) { --r: 240deg; }
.wheel-card:nth-child(6) { --r: 300deg; }
.hint { position: absolute; bottom: 30px; color: #444; font-size: 12px; letter-spacing: 2px; }

.overlay {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: rgba(243, 243, 245, 0.8); 
    backdrop-filter: blur(10px);
    display: none;
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.overlay.active {
    display: flex !important;
}

.full-info {
    background: #FFFFFF;
    width: 95%;
    max-width: 650px;
    padding: 50px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 30px 70px rgba(18, 40, 36, 0.2);
    position: relative;
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2), opacity 0.4s ease;
}

#m-title {
    font-family: var(--main-font);
    color: var(--dark-text);
    font-size: 32px;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: none;
}

#m-text {
    color: #444;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 30px;
}

#m-text b, #m-text strong {
    color: var(--dark-text);
    font-weight: 700;
}

.m-lead {
    border-left: 4px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 25px;
    font-weight: 500;
    color: var(--dark-text);
}

.m-divider {
    height: 1px;
    background: var(--border-color);
    margin: 25px 0;
    border: none;
}

#m-link {
    display: inline-block;
    padding: 16px 45px;
    background: var(--accent-color);
    color: white !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(255, 90, 31, 0.2);
}

#m-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 90, 31, 0.4);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: #f0f3f2;
    border: none;
    color: var(--dark-text);
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block; 
}

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.close-btn:hover {
    background: var(--accent-color);
    color: white;
}

.footer {
    position: relative;
    width: 100%;
    height: var(--footer-height);
    background-color: #FFFFFF;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-sizing: border-box;
    margin-top: 80px;
    z-index: 10;
}

.footer-left {
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 35px;
    width: auto;
    display: block;
}

.footer-right {
    display: flex;
    gap: 25px;
}

.footer-right a {
    text-decoration: none;
    color: var(--dark-text);
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.footer-right a:hover {
    color: var(--accent-color);
}

@media (max-width: 900px) {
    .footer {
        flex-direction: column;
        height: auto;
        padding: 30px 20px;
        gap: 20px;
    }
    .footer-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
        text-align: center;
    }
}

.content-page .footer {
    position: relative;
    margin-top: 50px;
}

.cookie-banner {
    position: fixed;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 1100px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--accent-color);
    border-radius: 16px;
    padding: 20px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    z-index: 10000;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.8);
    transition: bottom 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.cookie-banner.show {
    bottom: 80px;
}

.cookie-text {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    flex: 1;
}

.cookie-text a {
    color: var(--accent-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.cookie-text a:hover {
    border-bottom: 1px solid var(--accent-color);
}

.cookie-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.cookie-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.btn-accept {
    background: var(--accent-color);
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, background 0.3s;
}

.btn-accept:hover {
    transform: scale(1.05);
    background: #00cc6e;
}

#wheel-area {
    position: relative;
    perspective: 1500px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.wheel-instructions {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -220px); 
    display: flex;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1000;
    pointer-events: none;
}

.wheel-instructions.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -240px);
}

.ins-icon {
    width: 50px;
    height: 50px;
    object-fit: contain;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .cookie-right {
        width: 100%;
        justify-content: center;
    }
}

.section-title {
    font-size: 32px;
    color: var(--dark-text);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 0;
    margin-bottom: 30px;
    text-align: center;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.process-item {
    background: #fff;
    padding: 30px;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    position: relative;
    transition: 0.3s;
}

.process-item:hover {
    border-color: var(--accent-color);
    transform: translateY(-5px);
}

.process-number {
    font-size: 40px;
    font-weight: 900;
    color: var(--accent-color);
    opacity: 0.2;
    margin-bottom: 10px;
}

.process-item h4 {
    margin: 10px 0;
    color: var(--dark-text);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 10px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background: #fff;
    border-radius: 10px;
    transition: 0.3s;
}

.faq-question:hover {
    background: #f9fafb;
}

.faq-question span {
    font-weight: bold;
    color: var(--dark-text);
}

.faq-plus {
    font-size: 24px;
    color: var(--accent-color);
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.0s cubic-bezier(0.4, 0, 0.2, 1); 
    background: #fdfdfd;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    transition: margin 0.4s ease;
}

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-answer {
    grid-template-rows: 1fr;
}

.faq-content {
    overflow: hidden;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    color: var(--dark-text);
    line-height: 1.7;
    margin: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transition: opacity 0.5s ease 0.1s;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    cursor: pointer;
    background: #fff;
    transition: background 0.3s;
}

.faq-item.active {
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-item.active .faq-question {
    background: #f9fafb;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.main-container {
    height: 480px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

.main-container + .content-section {
    padding-top: 0 !important; 
    margin-top: -80px !important;
}

.main-container + .content-section .section-title {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.contact-section {
    padding: 80px 20px;
    background: transparent;
    display: flex;
    justify-content: center;
}

.form-card {
    background: #FFFFFF;
    width: 100%;
    max-width: 1100px;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(18, 40, 36, 0.05);
}

.form-left {
    flex: 1;
    padding: 60px;
    background: #fcfcfd;
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-left h2 {
    font-size: 38px;
    color: var(--dark-text);
    margin: 0 0 20px 0;
    line-height: 1.1;
}

.form-left p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.online-status {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #eef2f1;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: bold;
    color: var(--secondary-accent);
    width: fit-content;
}

.status-pulse {
    width: 8px;
    height: 8px;
    background: var(--secondary-accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--secondary-accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

.form-right {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-field {
    width: 100%;
    padding: 18px;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.input-field:focus {
    border-color: var(--accent-color);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 90, 31, 0.05);
}

.form-submit-btn {
    background: var(--accent-color);
    color: white;
    padding: 20px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.form-submit-btn:hover {
    background: #e04a15;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 90, 31, 0.2);
}

@media (max-width: 900px) {
    .form-card { flex-direction: column; }
    .form-left, .form-right { padding: 40px 30px; }
    .form-left { border-right: none; border-bottom: 1px solid var(--border-color); }
}

.close-btn { position: absolute; top: 20px; right: 20px; background: none; border: none; color: white; font-size: 30px; cursor: pointer; }
.direct-contacts {
    margin: 5px 0;
    font-size: 14px;
}

.direct-contacts span {
    color: #999;
    display: block;
    margin-bottom: 8px;
}

.contact-links {
    display: flex;
    gap: 15px;
}

.contact-links a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: bold;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.contact-links a:hover {
    border-bottom: 1px solid var(--accent-color);
}

.thanks-card {
    text-align: center;
    max-width: 450px !important;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: var(--secondary-accent);
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(0, 184, 130, 0.2);
}

.thanks-content h2 {
    margin-bottom: 10px;
}

.thanks-content p {
    margin-bottom: 30px !important;
}

#overlay-thanks.active {
    display: flex !important;
}

#overlay-thanks.active .thanks-card {
    opacity: 1 !important;
    transform: scale(1) !important;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #00B882;
    color: white;
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.alt-contacts {
    margin-top: 50px;
    text-align: center;
}

.alt-contacts p {
    color: var(--dark-text);
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 18px;
}

.social-links-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.social-item {
    display: block;
    width: 60px;
    height: 60px;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.social-item:hover {
    transform: scale(1.2);
}

@media (max-width: 600px) {
    .social-links-grid { gap: 15px; }
    .social-item { width: 45px; height: 45px; }
}

.huge-phone-block {
    margin-top: 60px;
    background: #1a1a1a;
    padding: 40px 60px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.huge-phone-block:hover {
    transform: translateY(-5px);
}

.huge-phone-block span {
    color: #888;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 14px;
    font-weight: bold;
}

.phone-number {
    font-family: 'Arial Black', sans-serif;
    font-size: 64px;
    color: var(--accent-color);
    text-decoration: none;
    line-height: 1;
    transition: color 0.3s ease, filter 0.3s ease;
    filter: drop-shadow(0 0 15px rgba(255, 90, 31, 0.3));
}

.phone-number:hover {
    color: #fff;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4));
}

@media (max-width: 1024px) {
    .phone-number {
        font-size: 32px;
    }
    .huge-phone-block {
        padding: 30px 20px;
        width: 100%;
        box-sizing: border-box;
    }
}

.mega-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100vw;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    transition-delay: 0.1s; 
    visibility: hidden;
}

.mega-wrapper:hover .mega-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
}
.mega-wrapper {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    position: relative;
    cursor: pointer;
}

.mega-left {
    background: #F9FAFB;
    padding: 30px 0;
    border-right: 1px solid var(--border-color);
}

.mega-cat-item {
    padding: 15px 30px;
    cursor: pointer;
    font-weight: bold;
    color: var(--dark-text);
    transition: 0.3s;
    border-left: 4px solid transparent;
}

.mega-cat-item:hover, .mega-cat-item.active {
    background: #FFFFFF;
    color: var(--accent-color);
    border-left-color: var(--accent-color);
}

.mega-center {
    padding: 40px;
}

.mega-menu::before {
    content: "";
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 25px;
    background: transparent;
    z-index: -1;
}

.mega-center h3 {
    margin-top: 0;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    color: #999;
}

.mega-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
}

.m-service-item {
    text-decoration: none;
    display: block;
}

.m-service-item h5 {
    margin: 0 0 5px 0;
    color: var(--dark-text);
    font-size: 16px;
}

.m-service-item p {
    margin: 0;
    font-size: 13px;
    color: #888;
}

.m-service-item:hover h5 {
    color: var(--accent-color);
}

.mega-right {
    padding: 30px;
    border-left: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-sizing: border-box;
}

.mega-contact-box h4 {
    margin-top: 0;
    font-size: 18px;
    margin-bottom: 25px;
}

.m-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: center;
}

.m-contact-item img {
    width: 24px;
    height: 24px;
    opacity: 0.6;
}

.m-contact-item p {
    margin: 0;
    font-weight: bold;
    font-size: 15px;
}

.m-contact-item small {
    color: #999;
}

.mega-btn-call {
    display: block;
    width: 100%;
    padding: 15px 10px;
    background: var(--accent-color);
    color: white !important;
    text-align: center;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    box-sizing: border-box;
    white-space: nowrap;
    margin-top: 20px;
    transition: 0.3s;
}

.mega-btn-call:hover {
    background: #e04a15;
    transform: translateY(-2px);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mega-wrapper {
    display: flex;
    align-items: center;
    height: var(--nav-height);
    position: relative;
}

.mega-menu {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    width: 100vw;
    background: #FFFFFF;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(5px);
    transition: opacity 0.3s, transform 0.3s;
}

.mega-wrapper:hover .mega-menu {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.mega-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    min-height: 300px;
    padding-top: 10px;
}

.mega-left, .mega-center, .mega-right {
    padding: 30px 20px; 
}

.mega-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.process-item:nth-child(2) { transition-delay: 0.1s; }
.process-item:nth-child(3) { transition-delay: 0.2s; }
.process-item:nth-child(4) { transition-delay: 0.3s; }

.form-card.reveal { 
    transition-delay: 0.1s; 
}

.alt-contacts.reveal { 
    transition-delay: 0.2s; 
}

.huge-phone-block.reveal { 
    transition-delay: 0.3s; 
}

.intro-new-layout {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    max-width: 1400px;
    margin: 120px auto 40px;
    padding: 0 40px;
    gap: 60px;
    box-sizing: border-box;
}

.intro-content-left {
    flex: 1.2;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.intro-content-left h1 {
    font-family: var(--main-font);
    font-size: 52px;
    color: var(--accent-color);
    margin: 0 0 30px 0;
    line-height: 1.1;
}

.main-description {
    font-size: 20px;
    line-height: 1.7;
    color: var(--dark-text);
    margin: 0;
    max-width: 650px;
    text-align: left !important;
}

.intro-orange-card {
    flex: 0.8;
    background-color: var(--accent-color);
    padding: 50px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    box-shadow: 0 20px 50px rgba(255, 90, 31, 0.2);
    transform: translateX(50px);
    opacity: 0;
    transition: all 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.intro-new-layout.active .intro-orange-card {
    transform: translateX(0);
    opacity: 1;
}

.orange-item h3 {
    color: #FFFFFF;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 15px 0;
    font-weight: 800;
}

.orange-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
    text-align: left !important;
}

.orange-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
}

@media (max-width: 1100px) {
    .intro-new-layout {
        flex-direction: column;
        margin-top: 100px;
        gap: 40px;
    }
    .intro-orange-card {
        flex: 1;
        padding: 40px;
    }
}

.main-container {
    margin-top: -30px !important;
}

@media (max-width: 1000px) {
    .intro-grid { flex-direction: column; }
    .intro-sub-text { grid-template-columns: 1fr; }
}

.tech-stack-container {
    width: 100%;
    overflow: hidden;
    height: 80px; 
    border: none !important; 
    background: transparent;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    margin: 20px 0; 
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-marquee 40s linear infinite;
}

.marquee-list {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 60px;
    padding-right: 60px;
}

.marquee-list span {
    font-size: 16px; 
    font-weight: 900;
    color: var(--dark-text);
    opacity: 0.15;
    text-transform: uppercase;
    letter-spacing: 5px;
    white-space: nowrap;
}

.marquee-list span:hover {
    opacity: 0.6;
    color: var(--accent-color);
    cursor: default;
}

@keyframes scroll-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.tech-stack-container.reveal {
    margin-top: 0;
    margin-bottom: 0;
}
.email-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 11000;
    display: none;
    align-items: flex-end;
    justify-content: center;
    transition: opacity 0.3s;
}

.email-overlay.active { display: flex; opacity: 1; }

.email-bottom-sheet {
    width: 100%;
    max-width: 500px;
    background: #fff;
    padding: 30px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-align: center;
    box-shadow: 0 -10px 40px rgba(0,0,0,0.2);
}

.email-overlay.active .email-bottom-sheet {
    transform: translateY(0);
}

.sheet-bar {
    width: 40px; height: 4px;
    background: #ddd;
    border-radius: 2px;
    margin: 0 auto 20px;
}

.email-bottom-sheet h3 {
    margin: 0 0 20px;
    color: var(--dark-text);
}

.email-display-box {
    background: var(--bg-color);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.email-display-box span {
    font-weight: bold;
    font-size: 18px;
    color: var(--dark-text);
}

.btn-copy {
    background: var(--accent-color);
    color: #fff;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-copy.success { background: var(--secondary-accent); }

.sheet-hint { font-size: 13px; color: #999; margin-bottom: 20px; }

.btn-open-mail {
    display: block;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 auto 10px auto;
    padding: 15px;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--dark-text);
    border-radius: 12px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
}

.btn-open-mail:hover {
    background-color: #f8f9fa;
    border-color: var(--accent-color);
}

.btn-close-sheet {
    background: none; border: none;
    color: #999; cursor: pointer;
    font-size: 14px; margin-top: 10px;
}

.contact-method-toggle {
    margin-bottom: 10px;
}

.contact-method-toggle span {
    display: block;
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.toggle-buttons {
    display: flex;
    gap: 10px;
    background: #f0f3f2;
    padding: 5px;
    border-radius: 10px;
    width: fit-content;
}

.method-btn {
    padding: 8px 20px;
    border: none;
    background: transparent;
    border-radius: 7px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    color: var(--dark-text);
    transition: 0.3s;
}

.method-btn.active {
    background: #fff;
    color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.contact-method-toggle { margin-bottom: 15px; text-align: left; }
.contact-method-toggle span { display: block; font-size: 13px; color: #999; margin-bottom: 8px; }
.toggle-buttons { display: flex; gap: 10px; background: #f0f3f2; padding: 5px; border-radius: 10px; width: fit-content; }
.method-btn {
    padding: 8px 18px; border: none; background: transparent;
    border-radius: 7px; font-weight: bold; cursor: pointer;
    font-size: 13px; color: var(--dark-text); transition: 0.3s;
}
.method-btn.active {
    background: #fff; color: var(--accent-color);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.competencies-area {
    border-top: none !important; 
    padding-top: 20px !important; 
    margin-top: 0 !important;
}

.competencies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-top: 40px;
}

.comp-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.comp-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.comp-icon-mini {
    font-size: 14px;
    font-weight: 900;
    color: var(--accent-color);
    background: #f0f3f2;
    padding: 4px 8px;
    border-radius: 4px;
}

.comp-item h3 {
    margin: 0;
    font-size: 22px;
    color: var(--dark-text);
    font-family: var(--main-font);
}

.comp-item p {
    font-size: 15px;
    line-height: 1.7;
    color: #666;
    margin-bottom: 20px;
    text-align: left;
}

.comp-links {
    display: flex;
    gap: 15px;
}

.comp-links a {
    font-size: 13px;
    font-weight: bold;
    color: var(--accent-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}

.comp-links a:hover {
    border-bottom: 1px solid var(--accent-color);
}

@media (max-width: 1024px) {
    .competencies-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.m-title {
    display: none;
}

.m-only { display: none !important; }
.burger-menu { display: none; }
.mobile-submenu { display: none; }
.close-mobile-menu { display: none; }

.mega-wrapper:hover .mega-menu {
    display: block;
}