/* ================================================================
   TURKMENHYPE — MAIN STYLESHEET (FIXED & IMPROVED)
   ================================================================ */

/* --- CSS VARIABLES --- */
:root {
    --bg-light: #ffffff;
    --yellow: #F4B819;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --font-header: 'Montserrat', sans-serif;
    --border-yellow: rgba(244, 184, 25, 0.3);
    --radius-lg: 24px;
    --radius-xl: 35px;
}

/* --- RESET & BASE --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Roboto', sans-serif;
    overflow-x: hidden;
    opacity: 0;
    animation: fadeInPage 0.8s ease-out 0.1s forwards;
}

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

/* --- BACKGROUND --- */
.background-blobs {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; background: linear-gradient(135deg, #ffffff 0%, #fffdf5 100%);
    pointer-events: none;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(90px);
    opacity: 0.3; animation: move 20s infinite alternate;
}
.yellow-blob {
    width: 600px; height: 600px; background: var(--yellow);
    top: -100px; right: -200px;
}
.white-blob {
    width: 700px; height: 700px; background: #ffffff;
    bottom: -150px; left: -100px;
    box-shadow: 0 0 100px rgba(244, 184, 25, 0.2);
}
@keyframes move {
    from { transform: translate(0, 0) scale(1); }
    to   { transform: translate(-100px, 100px) scale(1.1); }
}

/* --- SCROLL PROGRESS BAR --- */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 4px;
    background: var(--yellow);
    box-shadow: 0 0 10px rgba(244, 184, 25, 0.6);
    z-index: 999999;
    transition: width 0.1s ease-out;
    pointer-events: none;
}

/* --- REVEAL ANIMATION --- */
.reveal {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
                transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   HEADER & NAVIGATION
   ================================================================ */
.main-header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(255, 255, 255, 0.88);
    border-bottom: 1px solid var(--border-yellow);
    z-index: 1000;
    transition: all 0.3s ease;
}
.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(244, 184, 25, 0.1);
    border-bottom-color: rgba(244, 184, 25, 0.4);
}
.main-header.scrolled .header-container {
    padding-top: 12px;
    padding-bottom: 12px;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    max-width: 1400px;
    margin: 0 auto;
    transition: padding 0.3s ease;
}

.logo {
    font-family: var(--font-header);
    font-size: 1.8rem;
    font-weight: 900;
    text-decoration: none;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -1px;
    flex-shrink: 0;
}
.logo:hover { animation: glitch 0.3s cubic-bezier(.25,.46,.45,.94) both; }
.yellow-dot { color: var(--yellow); }

@keyframes glitch {
    0%   { transform: translate(0); }
    20%  { transform: translate(-2px, 2px); }
    40%  { transform: translate(-2px, -2px); }
    60%  { transform: translate(2px, 2px); }
    80%  { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Desktop nav */
.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}
.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1rem;
    transition: color 0.3s;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 0;
    width: 0%; height: 3px;
    background-color: var(--yellow);
    transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--yellow); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--yellow); }
.nav-links a.active::after { width: 100%; }

/* CTA button in nav */
.nav-cta {
    display: inline-block;
    padding: 10px 22px;
    background: var(--yellow);
    color: var(--text-dark) !important;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s !important;
    white-space: nowrap;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(244, 184, 25, 0.45);
    color: var(--text-dark) !important;
}

/* Burger menu button */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    z-index: 1100;
}
.burger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile nav drawer */
.mobile-nav {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 1050;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.mobile-nav.open {
    opacity: 1;
    pointer-events: all;
}
.mobile-nav a {
    font-family: var(--font-header);
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-dark);
    text-decoration: none;
    letter-spacing: -1px;
    transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--yellow); }
.mobile-nav .nav-cta {
    font-size: 1.4rem;
    padding: 14px 36px;
    border-radius: 14px;
    margin-top: 10px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.yellow-btn {
    display: inline-block;
    padding: 14px 28px;
    background: var(--yellow);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(244, 184, 25, 0.3);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}
.yellow-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(244, 184, 25, 0.6);
}
.big-btn { font-size: 1.1rem; padding: 18px 40px; margin-top: 20px; }

/* ================================================================
   HERO SECTION
   ================================================================ */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 160px 5% 100px;
    text-align: center;
}
.hero-content { margin-bottom: 0; }

.main-title {
    font-family: var(--font-header);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1.05;
    min-height: 13rem;
    color: var(--text-dark);
    margin-bottom: 24px;
}
.hero > p {
    color: var(--text-gray);
    font-size: 1.25rem;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.7;
}
.cursor { color: var(--yellow); animation: blink 0.8s infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* Hero CTA buttons */
.hero-cta-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 80px;
}
.btn-outline {
    display: inline-block;
    padding: 14px 28px;
    border: 2px solid rgba(244, 184, 25, 0.5);
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    transition: all 0.3s;
    font-size: 1rem;
}
.btn-outline:hover {
    border-color: var(--yellow);
    background: rgba(244, 184, 25, 0.08);
    transform: translateY(-3px);
}

/* ================================================================
   WHY SECTION & CARDS
   ================================================================ */
.why-section {
    padding: 0 5% 30px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cards-container {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 5%;
}

/* SINGLE unified .glass-card rule — no more duplicates */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-yellow);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    width: 320px;
    min-height: 260px;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Single transition — no conflicts */
    transition: transform 0.15s ease-out, box-shadow 0.3s ease, border-color 0.3s;
    will-change: transform;
}
.glass-card:hover {
    border-color: var(--yellow);
    box-shadow: 0 20px 40px rgba(244, 184, 25, 0.15), 0 0 40px rgba(244, 184, 25, 0.35);
}
.glass-card > * { position: relative; z-index: 2; }

.card-icon { font-size: 3rem; margin-bottom: 18px; }
.glass-card h3 {
    font-family: var(--font-header);
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}
.glass-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* ================================================================
   QUOTE SECTION — redesigned
   ================================================================ */
.quote-section {
    padding: 80px 5%;
    text-align: center;
}
.quote-box {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    padding: 56px 60px;
    background: var(--text-dark);
    border-radius: 32px;
    color: #fff;
    overflow: hidden;
}
.quote-box::before {
    content: '"';
    position: absolute;
    top: -20px; left: 30px;
    font-family: var(--font-header);
    font-size: 14rem;
    line-height: 1;
    color: var(--yellow);
    opacity: 0.12;
    pointer-events: none;
}
.quote-box p {
    font-size: 1.45rem;
    font-style: italic;
    line-height: 1.65;
    color: #f5f5f5;
    position: relative;
    z-index: 1;
}
.author {
    margin-top: 28px;
    font-weight: 900;
    font-family: var(--font-header);
    text-transform: uppercase;
    color: var(--yellow);
    letter-spacing: 2px;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

/* ================================================================
   STATS SECTION
   ================================================================ */
.stats-section {
    padding: 80px 5%;
    text-align: center;
    background: rgba(244, 184, 25, 0.04);
    border-top: 1px solid rgba(244, 184, 25, 0.15);
    border-bottom: 1px solid rgba(244, 184, 25, 0.15);
}
.stats-container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
    gap: 40px;
}
.stat-box { text-align: center; flex: 1; min-width: 160px; }
.stat-box h2 {
    font-family: var(--font-header);
    font-size: 4.5rem;
    font-weight: 900;
    color: var(--yellow);
    line-height: 1;
    margin-bottom: 10px;
}
.stat-box h3 {
    font-family: var(--font-header);
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 8px;
}
.stat-box p {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ================================================================
   TEAM SECTION
   ================================================================ */
.team-section { padding: 120px 5%; text-align: center; }
.section-title {
    font-family: var(--font-header);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}
.yellow-text { color: var(--yellow); }
.section-subtitle { color: var(--text-gray); font-size: 1.2rem; margin-bottom: 60px; }
.team-grid { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.team-card { padding: 50px 30px; }
.avatar {
    width: 200px; height: 200px; border-radius: 50%; overflow: hidden;
    margin: 0 auto 20px; border: 4px solid var(--yellow);
}
.avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: center top;}
.team-card h3 { font-family: var(--font-header); font-size: 1.2rem; margin-bottom: 8px; }
.role {
    display: inline-block;
    color: var(--yellow); font-weight: 700; font-size: 0.85rem;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ================================================================
   CLIENTS MARQUEE
   ================================================================ */
.clients-marquee {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.5);
    overflow: hidden;
}
.text-center { text-align: center; margin-bottom: 50px; }
.marquee-container {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.marquee-container::before,
.marquee-container::after {
    content: "";
    position: absolute;
    top: 0; width: 150px; height: 100%;
    z-index: 2; pointer-events: none;
}
.marquee-container::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-light), transparent);
}
.marquee-container::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-light), transparent);
}
.marquee-track {
    display: inline-block;
    animation: scroll 25s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.client-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    padding: 0 50px;
    margin: 0 16px;
    background: #ffffff;
    border: 1px solid rgba(244, 184, 25, 0.2);
    border-radius: 16px;
    font-family: var(--font-header);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--text-gray);
    box-shadow: 0 8px 20px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.client-logo:hover {
    transform: translateY(-5px);
    border-color: var(--yellow);
    color: var(--text-dark);
    box-shadow: 0 15px 30px rgba(244, 184, 25, 0.15);
}
@keyframes scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ================================================================
   ABOUT PAGE
   ================================================================ */
.about-page {
    padding: 80px 5%;
    max-width: 1000px;
    margin: 0 auto;
}
.about-section { margin-bottom: 40px; }
.big-card {
    background: #ffffff;
    padding: 56px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.big-card:hover {
    transform: translateX(6px);
    box-shadow: -4px 0 0 var(--yellow), 0 20px 40px rgba(244,184,25,0.08);
}
.big-card h2 { font-family: var(--font-header); font-size: 2.4rem; margin-bottom: 22px; }
.big-card p { font-size: 1.15rem; line-height: 1.75; color: #444; }

.services-list { list-style: none; font-size: 1.15rem; line-height: 2.1; color: #444; }
.services-list li::before { content: "✓ "; color: var(--yellow); font-weight: bold; }

/* How We Work */
.how-we-work { padding: 80px 5%; }
.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.work-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.work-card::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 3px;
    background: var(--yellow);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.work-card:hover { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(0,0,0,0.07), 0 0 0 1.5px var(--yellow); }
.work-card:hover::before { width: 100%; }
.work-card h3 { font-size: 1.15rem; margin-bottom: 12px; color: #000; transition: color 0.3s; }
.work-card:hover h3 { color: var(--yellow); }
.work-card p { color: #666; font-size: 0.95rem; line-height: 1.6; }

/* About stats */
.stats-section.about-stats { background: #fcfcfc; }
.stats-subtitle { margin-bottom: 50px; color: #666; font-size: 1.05rem; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-item { padding: 30px; }
.stat-item h3 { font-size: 3rem; color: #000; margin-bottom: 10px; font-weight: 800; }
.stat-item p { font-size: 0.9rem; color: #555; text-transform: uppercase; letter-spacing: 1px; }

/* ================================================================
   CASES PAGE
   ================================================================ */
.cases-hero {
    padding: 120px 5% 60px;
    text-align: center;
    background: #fcfcfc;
}
.hero-text-center { max-width: 800px; margin: 0 auto 50px; }
.hero-text-center h1 {
    font-size: 3.5rem; font-weight: 800; line-height: 1.2;
    margin: 16px 0; color: #000;
}
.hero-text-center p { font-size: 1.15rem; color: #555; }

.label {
    color: var(--yellow);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.8rem;
    font-weight: 700;
}

.stats-banner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    background: #ffffff;
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    max-width: 1200px;
    margin: 0 auto;
}

.portfolio-section { padding: 60px 5%; background: #fcfcfc; }
.portfolio-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.portfolio-header h2 { font-size: 2.8rem; margin: 15px 0; color: #000; }
.portfolio-header p { font-size: 1.05rem; color: #666; line-height: 1.6; }

.featured-case-card {
    background: #ffffff;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.case-header { display: flex; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.badge-featured {
    background: var(--yellow); color: #000;
    padding: 6px 16px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 700;
}
.badge-industry {
    background: #f0f0f0; color: #555;
    padding: 6px 16px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600;
}
.badge-duration {
    background: #f8f9fa; border: 1px solid #e0e0e0; color: #555;
    padding: 6px 16px; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600;
}
.case-content h3 { font-size: 2.5rem; color: #000; margin-bottom: 14px; }
.case-description { font-size: 1.05rem; color: #555; line-height: 1.7; margin-bottom: 24px; max-width: 800px; }

.service-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.service-tags span {
    border: 1px solid #e0e0e0; color: #444;
    padding: 8px 18px; border-radius: 25px; font-size: 0.9rem;
    transition: all 0.3s;
}
.service-tags span:hover { border-color: #000; color: #000; }

.case-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    border-top: 1px solid #f0f0f0;
    padding-top: 40px;
}
.platform-title {
    font-size: 1.15rem; color: #000; margin-bottom: 18px;
    padding-bottom: 10px; border-bottom: 2px solid var(--yellow);
    display: inline-block;
}
.stat-row { margin-bottom: 18px; }
.stat-val {
    font-size: 1.75rem; font-weight: 800; color: #000;
    display: flex; align-items: center; gap: 10px;
}
.trend-up {
    font-size: 0.85rem; font-weight: 700; color: #178a3c;
    background: #e8f5e9; padding: 4px 10px; border-radius: 12px;
    display: inline-block;
}
.stat-name { font-size: 0.9rem; color: #777; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.highlight-val { font-size: 3rem; color: var(--yellow); }

.cases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
    max-width: 1200px;
    margin: 50px auto 60px;
    padding: 0 5%;
}
.regular-case {
    background: #ffffff;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.regular-case:hover { transform: translateY(-6px); box-shadow: 0 20px 45px rgba(0,0,0,0.08); }
.small-tags { margin-bottom: 28px; }
.small-tags span { padding: 6px 14px; font-size: 0.8rem; }
.compact-stats {
    grid-template-columns: repeat(2, 1fr);
    padding-top: 28px;
    gap: 18px;
    margin-top: auto;
}
.compact-stats .stat-val { font-size: 1.45rem; }
.compact-stats .platform-title { font-size: 1.05rem; margin-bottom: 14px; }

/* ================================================================
   CONTACT PAGE
   ================================================================ */
.contact-hero { padding: 140px 5% 60px; text-align: center; background: #ffffff; }
.contact-header { max-width: 700px; margin: 0 auto; }
.contact-header h1 { font-size: 3.5rem; margin: 16px 0; color: #000; font-weight: 800; }
.hero-description { font-size: 1.2rem; color: #555; line-height: 1.7; margin-bottom: 40px; }

.contact-section { padding: 60px 5%; max-width: 640px; margin: 0 auto; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form input,
.contact-form textarea {
    padding: 15px 18px;
    border-radius: 12px;
    border: 1.5px solid rgba(0,0,0,0.1);
    background: rgba(255,255,255,0.85);
    font-size: 1rem;
    font-family: 'Roboto', sans-serif;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
    width: 100%;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(244,184,25,0.18);
    transform: scale(1.008);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.submit-btn {
    padding: 16px;
    background: var(--yellow);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}
.submit-btn:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(244,184,25,0.55); }

.contact-map-section { padding: 60px 5%; background: #fcfcfc; }
.contact-map-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: stretch;
}
.contact-info-card {
    background: #ffffff;
    padding: 45px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-info-card h2 { font-size: 2.2rem; margin: 10px 0 30px; color: #000; font-weight: 700; }
.info-block { display: flex; flex-direction: column; gap: 22px; }
.info-item { display: flex; align-items: flex-start; gap: 14px; }
.info-icon { font-size: 1.3rem; margin-top: 2px; }
.info-item p, .info-item a { font-size: 1rem; color: #444; line-height: 1.6; text-decoration: none; transition: color 0.3s; }
.info-item a:hover { color: var(--yellow); }
.phone-numbers p { margin-bottom: 4px; }
.toll-free-box { margin-top: 36px; padding-top: 28px; border-top: 1px solid #f0f0f0; }
.toll-free-box h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: #888; margin-bottom: 8px; }
.toll-phone { font-size: 1.6rem; font-weight: 800; color: #000; text-decoration: none; transition: color 0.3s; }
.toll-phone:hover { color: var(--yellow); }
.map-container {
    background: #fff; padding: 12px;
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    overflow: hidden;
}
.map-container iframe {
    border-radius: 25px;
    display: block;
    width: 100%;
    min-height: 450px;
}

/* ================================================================
   FOOTER
   ================================================================ */
.main-footer {
    background: var(--text-dark);
    color: #fff;
    padding: 80px 5% 24px;
    margin-top: 40px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto 60px;
}
.footer-col { min-width: 0; }
.brand-col p { color: #aaa; margin: 16px 0; font-size: 0.95rem; line-height: 1.65; }
.footer-col h3 { font-family: var(--font-header); color: var(--yellow); margin-bottom: 22px; font-size: 1.1rem; letter-spacing: 0.5px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul a { color: #ccc; text-decoration: none; transition: color 0.3s, padding-left 0.3s; display: inline-block; }
.footer-col ul a:hover { color: var(--yellow); padding-left: 8px; }
.contact-text { color: #ccc; margin-bottom: 12px; }

.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,0.08);
    color: #fff; text-decoration: none;
    border-radius: 50%; font-weight: 700; font-size: 0.85rem;
    transition: all 0.3s ease;
}
.social-icon:hover { background: var(--yellow); color: var(--text-dark); transform: translateY(-5px); }

.footer-bottom {
    text-align: center;
    padding-top: 22px;
    border-top: 1px solid rgba(255,255,255,0.08);
    color: #555;
    font-size: 0.88rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================================================================
   FLOAT BUTTON (Telegram/WhatsApp)
   ================================================================ */
.float-btn {
    position: fixed;
    bottom: 30px; right: 30px;
    width: 58px; height: 58px;
    background: #0088cc;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    z-index: 2000;
    transition: transform 0.3s ease;
}
.float-btn:hover { transform: scale(1.15) rotate(10deg); }
.float-btn img { width: 28px; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
    .main-title { font-size: 4.5rem; min-height: 10rem; }
    .glass-card { width: calc(50% - 16px); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .case-stats-grid { grid-template-columns: 1fr; }
    .contact-map-grid { grid-template-columns: 1fr; }
    .cases-grid { grid-template-columns: 1fr; padding: 0 5%; }
}

@media (max-width: 768px) {
    /* Nav */
    .nav-links { display: none; }
    .burger { display: flex; }
    .mobile-nav { display: flex; }

    /* Hero */
    .hero { padding: 120px 5% 60px; }
    .main-title { font-size: 3rem; min-height: 7rem; margin-bottom: 16px; }
    .hero > p { font-size: 1rem; margin-bottom: 28px; }
    .hero-cta-group { flex-direction: column; align-items: center; }
    .hero-cta-group .yellow-btn,
    .hero-cta-group .btn-outline { width: 100%; max-width: 320px; text-align: center; }

    /* Cards */
    .cards-container { flex-direction: column; align-items: center; gap: 18px; }
    .glass-card { width: 100%; max-width: 400px; }

    /* Quote */
    .quote-box { padding: 40px 28px; }
    .quote-box p { font-size: 1.15rem; }

    /* Stats */
    .stats-container { flex-direction: column; gap: 36px; }
    .stat-box { width: 100%; }
    .stat-box h2 { font-size: 3.5rem; }

    /* Section titles */
    .section-title { font-size: 2.4rem; }

    /* Team */
    .team-grid { flex-direction: column; align-items: center; gap: 20px; }
    .team-card { width: 100%; max-width: 380px; }

    /* About */
    .about-page { padding: 80px 5% 40px; }
    .big-card { padding: 36px 28px; }
    .work-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }

    /* Cases */
    .cases-hero { padding: 100px 5% 40px; }
    .hero-text-center h1 { font-size: 2.4rem; }
    .featured-case-card { padding: 30px 22px; }
    .case-content h3 { font-size: 2rem; }

    /* Marquee */
    .clients-marquee { padding: 50px 0; }
    .client-logo { height: 60px; padding: 0 28px; font-size: 1.1rem; }
    .marquee-container::before, .marquee-container::after { width: 50px; }

    /* Contact */
    .contact-hero { padding: 110px 5% 40px; }
    .contact-header h1 { font-size: 2.4rem; }
    .map-container iframe { min-height: 320px; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
    .footer-col ul a:hover { padding-left: 0; }
    .social-links { justify-content: center; }

    /* Blobs */
    .yellow-blob { width: 300px; height: 300px; right: -100px; }
    .white-blob { width: 400px; height: 400px; left: -50px; }
}

@media (max-width: 480px) {
    .main-title { font-size: 2.4rem; min-height: 6rem; }
    .section-title { font-size: 2rem; }
    .stat-box h2 { font-size: 3rem; }
    .stat-item h3 { font-size: 2.2rem; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .logo { font-size: 1.5rem; }
}


.premium-footer {
    background: #050505; /* Глубокий премиальный черный */
    color: #fff;
    padding: 120px 5% 0; /* Снизу 0, чтобы вотермарка прижалась к краю */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(244, 184, 25, 0.2);
}

/* 1. Огромный текст с прозрачной обводкой */
.footer-cta {
    text-align: center;
    margin-bottom: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 10;
}

.massive-text {
    font-family: var(--font-header);
    font-size: clamp(4rem, 12vw, 14rem);
    font-weight: 900;
    line-height: 0.9;
    color: transparent;
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.15);
    text-transform: uppercase;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: default;
}

/* Загорается желтым при наведении */
.massive-text:hover {
    color: var(--yellow);
    -webkit-text-stroke: 0px transparent;
    text-shadow: 0 0 80px rgba(244, 184, 25, 0.4);
    transform: scale(1.02);
}

/* 2. Огромная круглая кнопка */
.magnetic-circle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    background: var(--yellow);
    color: #000;
    border-radius: 50%;
    font-family: var(--font-header);
    font-size: 1.1rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s;
    box-shadow: 0 10px 30px rgba(244, 184, 25, 0.3);
}

.magnetic-circle-btn:hover {
    background: #fff;
    transform: scale(1.15);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.4);
}

.magnetic-circle-btn .arrow {
    font-size: 2rem;
    margin-top: 5px;
    transition: transform 0.3s ease;
}

.magnetic-circle-btn:hover .arrow {
    transform: translate(5px, -5px);
}

/* 3. Сетка контента */
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto 60px;
    position: relative;
    z-index: 10;
}

.footer-col h3 {
    color: #666;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

/* Крупные социальные ссылки */
.social-links-big {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.social-link-magnetic {
    font-size: 2rem;
    font-family: var(--font-header);
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s, transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    display: inline-block;
    transform-origin: left;
}

.social-link-magnetic:hover {
    color: var(--yellow);
    transform: translateX(15px) scale(1.1);
}

.footer-email {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
    position: relative;
}

.footer-email::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 3px;
    background: var(--yellow);
    transition: width 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.footer-email:hover::after { width: 100%; }

/* 4. Огромная вотермарка на фоне */
.footer-bottom {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 0;
    text-align: center;
}

.footer-watermark {
    font-family: var(--font-header);
    font-size: clamp(3rem, 16vw, 20rem);
    font-weight: 900;
    color: rgba(255, 255, 255, 0.02);
    line-height: 0.75;
    position: absolute;
    bottom: -3%;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    pointer-events: none;
    z-index: 1;
}

.footer-bottom p {
    position: relative;
    z-index: 10;
    color: #555;
    font-size: 0.9rem;
}

/* Адаптив для футера */
@media (max-width: 900px) {
    .premium-footer { padding-top: 80px; }
    .footer-content { grid-template-columns: 1fr; gap: 40px; text-align: center; }
    .social-link-magnetic { transform-origin: center; font-size: 1.5rem; }
    .social-link-magnetic:hover { transform: translateY(-5px) scale(1.1); }
    .footer-email { font-size: 1.2rem; }
    .footer-watermark { font-size: clamp(2rem, 13vw, 8rem); bottom: 5%; }
}

.main-logo {
    height: 60px; /* Оптимальная высота для шапки */
    width: auto;  /* Ширина подстроится автоматически */
    display: block;
}

/* При наведении логотип будет слегка прозрачным (стандартный эффект) */
.logo-link:hover .main-logo {
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

/* Контейнер, который держит картинку и текст вместе */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* Сама картинка логотипа */
.main-logo-img {
    height: 50px; 
    width: auto;
    display: block;
    object-fit: contain;
}

/* Текст названия */
.logo-text {
    font-size: 1.5rem;
    font-family: var(--font-header);
    font-weight: 900;
    color: var(--text-dark); /* Если фон темный, замени на #fff */
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Точка в конце (если используешь) */
.yellow-dot {
    color: var(--yellow);
}

/* brands marquee */
.brands-section-wrapper { padding: 80px 0; overflow: hidden; }
.brands-header-block { text-align: center; margin-bottom: 40px; }
.brands-eyebrow { font-size: 11px; letter-spacing: 4px; color: var(--text-gray); text-transform: uppercase; margin-bottom: 8px; }
.brands-divider { display: flex; align-items: center; gap: 14px; justify-content: center; margin-top: 14px; }
.brands-divider span { display: block; width: 60px; height: 2px; background: var(--yellow); border-radius: 2px; }
.brands-divider .dot { width: 6px; height: 6px; border-radius: 50%; }

.marquee-outer { position: relative; overflow: hidden; padding: 10px 0; }
.marquee-fade-left, .marquee-fade-right { position: absolute; top: 0; width: 120px; height: 100%; z-index: 2; pointer-events: none; }
.marquee-fade-left  { left:  0; background: linear-gradient(to right, #fff 0%, transparent 100%); }
.marquee-fade-right { right: 0; background: linear-gradient(to left,  #fff 0%, transparent 100%); }

.marquee-track { display: flex; width: max-content; animation: scrollBrands 28s linear infinite; }
.marquee-outer:hover .marquee-track { animation-play-state: paused; }
@keyframes scrollBrands { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

.brand-pill { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 24px 36px; margin: 0 12px; border-radius: 16px; border: 1px solid rgba(244,184,25,0.15); background: #fff; min-width: 160px; min-height: 140;  transition: border-color .3s, transform .3s, box-shadow .3s; }
.brand-pill:hover { border-color: var(--yellow); transform: translateY(-4px); box-shadow: 0 8px 30px rgba(244,184,25,0.15); }
.b-logo { width: 80px; height: 60px; display: flex; align-items: center; justify-content: center; flex-direction: column; font-size: 13px; font-weight: 900; border-radius: 10px; text-align: center; }
.brand-pill span { font-size: 11px; font-weight: 700; color: var(--text-gray); white-space: nowrap; }
a.brand-pill {
    text-decoration: none;
}
