/* ===== FONTS ===== */
@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Outfit';
    src: url('../fonts/Outfit-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

/* ===== VARIABLES ===== */
:root {
    --bg-color: #ffffff;
    --text-color: #000000;
    /* Rich Black */
    --accent-color: #0071e3;
    --primary-color: #0071e3;
    --accent-glow: rgba(0, 113, 227, 0.15);
    --accent-soft: rgba(0, 113, 227, 0.08);
    --secondary-bg: #f5f5f7;
    --card-bg: #ffffff;
    --border-color: rgba(0, 0, 0, 0.08);
    /* Transparent instead of solid grey */
    --muted-text: #424245;
    /* Deep Anthracite instead of light grey */
    --glass: rgba(255, 255, 255, 0.8);
    --glass-border: rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 4px 24px rgba(0, 0, 0, 0.04);
    --transition: cubic-bezier(0.28, 0.11, 0.32, 1);
    --font-heading: 'Outfit', sans-serif;
    --font-main: 'Inter', sans-serif;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Utility: Visually Hidden (Accessible) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 8rem 0;
}

/* ===== TYPOGRAPHY ===== */
.section-title {
    text-align: center;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-color);
}

.section-title-premium {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
}

.section-header-premium {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header-premium h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-header-premium p {
    color: var(--muted-text);
    font-size: 1.2rem;
}

.gradient-text {
    background: linear-gradient(135deg, #000000 0%, #434345 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-glow {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

.accent-text {
    color: var(--accent-color);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--transition);
    cursor: pointer;
    border: 1px solid transparent;
    font-size: 1rem;
    position: relative;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-color);
    color: #ffffff;
}

.btn-primary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

.btn-secondary {
    background: transparent;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.05);
}

/* Premium Buttons */
.btn-premium {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.3s var(--transition);
    border: none;
    font-family: inherit;
    text-decoration: none;
}

.btn-primary-premium {
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 113, 227, 0.3);
}

.btn-primary-premium:hover {
    background: #0077ed;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 113, 227, 0.4);
}

.btn-secondary-premium {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-secondary-premium:hover {
    background: var(--accent-color);
    color: #fff;
}

.btn-text {
    background: transparent;
    border: none;
    font-weight: 700;
    color: var(--accent-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s;
    font-size: 1rem;
}

.btn-text:hover {
    gap: 0.8rem;
}

/* ===== HEADER ===== */
header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    transition: all 0.4s var(--transition);
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    padding: 0.7rem 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(15px);
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.4s;
}

header.scrolled .logo {
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s;
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--muted-text);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s;
}

.nav-links a:hover {
    color: #ffffff;
}

header.scrolled .nav-links a:hover {
    color: var(--accent-color);
}

.nav-links a:hover::after {
    width: 100%;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-phone-header {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: color 0.4s;
}

header.scrolled .contact-phone-header {
    color: var(--text-color);
}

.location-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.4s;
}

header.scrolled .location-badge {
    color: var(--muted-text);
}

.location-badge i {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}

.contact-phone {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-color);
    text-decoration: none;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.contact-phone:hover {
    border-color: var(--accent-color);
    background: var(--accent-color);
    color: #fff;
}

/* Burger Menu */
.burger-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.burger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    transition: all 0.3s;
    border-radius: 2px;
}

header.scrolled .burger-btn span {
    background: var(--text-color);
}

.burger-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.burger-btn.active span:nth-child(2) {
    opacity: 0;
}

.burger-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO SECTION (FULLSCREEN) ===== */
.hero-premium {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000 url('../img/hero.png') center/cover no-repeat fixed;
    overflow: hidden;
    padding-top: 80px;
}

/* Premium Dark Gradient Overlay */
.hero-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-grid {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.4rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #ffffff;
}

.pulsing-dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.pulsing-dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse-dot-new 2s infinite;
}

@keyframes pulse-dot-new {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }

    100% {
        transform: scale(2.5);
        opacity: 0;
    }
}

.hero-premium h1 {
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: #ffffff !important;
}

/* Сброс темного градиента для Hero */
.hero-premium h1.gradient-text {
    background: none !important;
    -webkit-text-fill-color: #ffffff !important;
}

.hero-premium h1 .text-glow {
    color: #0071e3 !important;
    -webkit-text-fill-color: #0071e3 !important;
    text-shadow: 0 0 30px rgba(0, 113, 227, 0.6);
}

.hero-premium p {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto 3rem;
    line-height: 1.5;
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-visual {
    display: none;
    /* Скрыто на десктопе, так как картинка теперь фон */
}

/* ===== STATS SECTION ===== */
.stats-premium {
    background: #ffffff;
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stats-grid-premium {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-num {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-color);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--muted-text);
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== BRANDS MARQUEE ===== */
.brands-section {
    padding: 4rem 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.brands-marquee {
    display: flex;
    overflow: hidden;
    gap: 4rem;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

.marquee-content {
    display: flex;
    gap: 5rem;
    animation: marquee 30s linear infinite;
}

.marquee-content span {
    font-size: 1.4rem;
    font-weight: 600;
    color: #d2d2d7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    white-space: nowrap;
    transition: color 0.3s;
}

.brands-marquee.reverse-marquee {
    margin-top: 2rem;
}

.brands-marquee.reverse-marquee .marquee-content {
    animation-direction: reverse;
}

.marquee-content span:hover {
    color: var(--accent-color);
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.glass-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* ===== SERVICES BENTO GRID ===== */
.services-bento {
    background: var(--bg-color);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.bento-item {
    padding: 2.5rem;
    background: #f5f5f7;
    border-radius: 24px;
    border: none;
    transition: transform 0.4s var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
}

.bento-item:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.bento-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-soft);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: all 0.3s;
}

.bento-icon i {
    width: 24px;
    height: 24px;
    color: var(--accent-color);
}

.bento-item:hover .bento-icon {
    background: var(--accent-color);
}

.bento-item:hover .bento-icon i {
    color: #fff;
}

.bento-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.bento-item p {
    color: var(--muted-text);
    font-size: 1.05rem;
    line-height: 1.4;
}

.bento-price {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: auto;
    padding-top: 1.5rem;
    color: var(--accent-color);
}

/* ===== DIARY / CASES SECTION ===== */
.diary-premium {
    background: var(--secondary-bg);
}

.diary-grid-premium {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.case-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--transition);
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.case-img {
    height: 220px;
    background-size: cover;
    background-position: center;
    border-radius: 20px 20px 0 0;
}

.case-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.case-meta {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.8rem;
    flex-wrap: wrap;
}

.case-meta span {
    background: #f5f5f7;
    color: var(--muted-text);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
}

.case-info h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.case-info p {
    color: var(--muted-text);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.case-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid #f0f0f2;
}

.case-price {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-color);
}

/* ===== MASTERS SECTION ===== */
.masters-section {
    padding: 6rem 0;
    background: #ffffff;
}

.masters-carousel {
    margin-top: 3rem;
    padding-bottom: 3rem;
    overflow: visible !important;
}

.masters-carousel .swiper-slide {
    height: auto;
    display: flex;
    justify-content: center;
}

.master-card {
    padding: 2.5rem 2rem;
    text-align: center;
    max-width: 380px;
    margin: 0 auto;
    transition: all 0.4s var(--transition);
    border: 1px solid var(--border-color);
}

.master-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.master-avatar {
    position: relative;
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
}

.master-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.master-badge {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.master-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.master-specialty {
    font-size: 1rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.master-experience {
    font-size: 0.95rem;
    color: var(--muted-text);
}

/* Swiper Navigation Buttons */
.masters-carousel .swiper-button-prev,
.masters-carousel .swiper-button-next {
    width: 50px;
    height: 50px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s var(--transition);
}

.masters-carousel .swiper-button-prev:hover,
.masters-carousel .swiper-button-next:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
}

.masters-carousel .swiper-button-prev::after,
.masters-carousel .swiper-button-next::after {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-color);
}

.masters-carousel .swiper-button-prev:hover::after,
.masters-carousel .swiper-button-next:hover::after {
    color: #ffffff;
}


.center-btn {
    text-align: center;
    margin-top: 2rem;
}

/* ===== REGIONS SECTION ===== */
.regions-premium {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.regions-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.regions-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.regions-text p {
    color: var(--muted-text);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.region-list-premium {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    list-style: none;
}

.glass-tag {
    background: #f5f5f7;
    border: 1px solid var(--border-color);
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s;
    cursor: pointer;
}

.glass-tag:hover {
    background: var(--accent-color);
    color: #fff;
    border-color: var(--accent-color);
}

.regions-visual {
    position: sticky;
    top: 100px;
}

.map-premium {
    width: 100%;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: #f5f5f7;
}

/* ===== CTA SECTION ===== */
.cta-section {
    background: #f5f5f7;
    border-radius: 32px;
    padding: 5rem 4rem;
    margin: 4rem auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--muted-text);
    font-size: 1.1rem;
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
    background: #ffffff;
    border: 1px solid #d2d2d7;
    color: #1d1d1f;
    border-radius: 14px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    width: 100%;
    font-family: inherit;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group input::placeholder {
    color: #a1a1a6;
}

/* ===== FOOTER ===== */
footer {
    padding: 6rem 0 4rem;
    background: #ffffff;
    border-top: 1px solid var(--border-color);
}

.footer-info p {
    color: var(--muted-text);
    font-size: 1.1rem;
    line-height: 1.55;
    margin-top: 0.8rem;
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #d2d2d7;
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* ===== TELEGRAM & CALL WIDGETS (Unified) ===== */
.telegram-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.4s var(--transition);
}

.telegram-widget.floating-call-widget {
    bottom: 100px;
}

.telegram-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2AABEE 0%, #229ED9 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(34, 158, 217, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse-widget 2s infinite;
}

.call-icon {
    background: linear-gradient(135deg, #0071E3 0%, #005BBB 100%);
    box-shadow: 0 10px 25px rgba(0, 113, 227, 0.4);
}

.telegram-widget:hover .telegram-icon {
    transform: translateY(-5px) scale(1.1) rotate(5deg);
}

.floating-call-widget .telegram-icon {
    animation-delay: 1s;
    /* Чередующаяся пульсация */
}

.telegram-icon svg,
.telegram-icon i {
    width: 28px;
    height: 28px;
    color: white;
}

.telegram-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(255, 255, 255, 0.95);
    color: #1d1d1f;
    padding: 10px 20px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(15px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.telegram-widget:hover .telegram-tooltip {
    opacity: 1;
    transform: translateX(0);
}

@keyframes pulse-widget {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 158, 217, 0.6);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(34, 158, 217, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(34, 158, 217, 0);
    }
}

/* ===== MODAL (Quick Form) ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #ffffff;
    border-radius: 28px;
    padding: 3rem;
    width: 90%;
    max-width: 480px;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f5f5f7;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-color);
}

.modal-close:hover {
    background: var(--accent-color);
    color: #fff;
}

.modal-close i {
    width: 18px;
    height: 18px;
}

.modal-header {
    margin-bottom: 1.5rem;
}

.modal-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--muted-text);
    font-size: 1rem;
}

.quick-form .form-group input,
.quick-form .form-group select {
    background: #f5f5f7;
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

.quick-form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
}

.quick-form-submit:hover {
    background: #0077ed;
}

/* Success Message */
.form-success-message {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem 2rem;
    min-height: 200px;
}

.form-success-message.active {
    display: flex;
}

.form-success-message i {
    width: 64px;
    height: 64px;
    color: #34c759;
    margin-bottom: 1.5rem;
    display: block;
}

.form-success-message h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.form-success-message p {
    color: var(--muted-text);
    font-size: 1.1rem;
}

/* ===== QUIZ MODAL ===== */
.quiz-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.quiz-content {
    background: white;
    width: 95%;
    max-width: 600px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    max-height: 90vh;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
    margin: auto;
}

.quiz-header {
    padding: 1.5rem;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-progress-container {
    flex-grow: 1;
    margin-right: 2rem;
}

.quiz-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.quiz-progress-fill {
    height: 100%;
    background: var(--accent-color);
    transition: width 0.3s ease;
    width: 0%;
}

.quiz-step-text {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
}

.quiz-close {
    font-size: 28px;
    cursor: pointer;
    color: #9ca3af;
    line-height: 1;
}

.quiz-close:hover {
    color: #1f2937;
}

.quiz-body {
    padding: 2rem;
    overflow-y: auto;
    flex-grow: 1;
}

.quiz-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #1f2937;
}

.quiz-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.quiz-option-btn {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 14px;
    padding: 1.5rem 1rem;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    font-family: inherit;
    font-size: 1rem;
}

.quiz-option-btn:hover {
    border-color: var(--accent-color);
    background: rgba(0, 113, 227, 0.04);
    transform: translateY(-2px);
}

.quiz-option-btn.selected {
    border-color: var(--accent-color);
    background: rgba(0, 113, 227, 0.08);
}

.quiz-icon {
    color: var(--accent-color);
    width: 32px;
    height: 32px;
}

.quiz-footer {
    padding: 1rem 2rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-btn-nav {
    background: none;
    border: none;
    font-size: 1rem;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: inherit;
}

.quiz-btn-nav:hover {
    color: #1f2937;
}

.quiz-final-step {
    text-align: center;
}

.quiz-success-icon {
    color: #34c759;
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
}

.quiz-success-message {
    text-align: center;
    padding: 2rem;
}

.quiz-success-message h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1f2937;
}

.quiz-success-message p {
    color: #6b7280;
    margin-bottom: 2rem;
}

.spam-note {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 1rem;
}

/* ===== EXIT POPUP ===== */
.exit-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.exit-popup-content {
    background: white;
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.exit-popup-body {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.exit-popup-image {
    background: linear-gradient(135deg, var(--accent-color) 0%, #0077ed 100%);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gift-icon-wrapper {
    background: white;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: gift-pulse 2s infinite;
}

@keyframes gift-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.gift-icon {
    width: 48px;
    height: 48px;
    color: var(--accent-color);
}

.exit-popup-text {
    padding: 2rem;
}

.exit-popup-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #1f2937;
}

.exit-offer-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.exit-offer-desc {
    margin-bottom: 1.5rem;
    color: #4b5563;
}

.exit-form .btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    color: white;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.close-modal:hover {
    color: #f3f4f6;
}

/* ===== WORKS PAGE ===== */
.works-page {
    padding-top: 8rem;
}

.section-subtitle {
    text-align: center;
    margin-top: -1.5rem;
    margin-bottom: 5rem;
    color: #64748b;
    font-size: 1.25rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.works-feed {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.work-item {
    background: #ffffff;
    border: 1px solid #d2d2d7;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: all 0.4s var(--transition);
}

.work-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.work-image {
    position: relative;
    min-height: 300px;
    overflow: hidden;
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.work-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 12px;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.work-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
}

.work-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #64748b;
}

.work-category {
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.work-location i {
    width: 16px;
    margin-right: 4px;
    vertical-align: text-bottom;
}

.work-content h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
    line-height: 1.2;
}

.work-body {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.work-problem,
.work-solution {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 3px solid #e2e8f0;
}

.work-problem strong {
    color: #ef4444;
    display: block;
    margin-bottom: 0.5rem;
}

.work-solution strong {
    color: #10b981;
    display: block;
    margin-bottom: 0.5rem;
}

.work-solution {
    border-left-color: #10b981;
}

.work-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 1.5rem;
    margin-top: auto;
}

.price-label {
    color: #64748b;
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-color);
}

/* ===== RESPONSIVE ===== */

/* Tablet */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-premium p {
        margin: 0 auto 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .diary-grid-premium {
        grid-template-columns: repeat(2, 1fr);
    }

    .regions-layout {
        grid-template-columns: 1fr;
    }

    .regions-visual {
        position: relative;
        top: 0;
        order: -1;
    }

    .cta-section {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        gap: 2rem;
        text-align: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    section {
        padding: 4rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    /* Header Mobile */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        font-size: 1.5rem;
        color: var(--text-color);
    }

    .header-contact {
        display: none;
    }

    .burger-btn {
        display: flex;
    }

    header {
        padding: 0.6rem 0;
    }

    .logo {
        font-size: 1.3rem;
    }

    /* Hero Mobile — картинка фоном, текст поверх */
    .hero-premium {
        padding: 0;
        text-align: center;
        background: url('../img/hero.png') center center / cover no-repeat;
        position: relative;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-premium::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to bottom,
                rgba(0, 0, 0, 0.45) 0%,
                rgba(0, 0, 0, 0.6) 50%,
                rgba(0, 0, 0, 0.75) 100%);
        z-index: 1;
    }

    .hero-premium .container {
        position: relative;
        z-index: 2;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 6rem;
        padding-bottom: 3rem;
    }

    .hero-premium h1 {
        font-size: 2.4rem !important;
        color: #ffffff !important;
        background: none;
        -webkit-text-fill-color: #ffffff;
        text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    }

    .hero-premium h1 .text-glow {
        -webkit-text-fill-color: #5ac8fa;
        color: #5ac8fa;
    }

    .hero-premium p {
        font-size: 1.05rem;
        margin: 0 auto 2rem;
        color: rgba(255, 255, 255, 0.85);
    }

    .badge-premium {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #ffffff;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }

    .hero-buttons .btn-premium {
        width: 100%;
    }

    .btn-secondary-premium {
        border-color: rgba(255, 255, 255, 0.4);
        color: #ffffff;
    }

    .hero-visual {
        display: none;
    }

    .glass-info-card {
        display: none;
    }

    /* Stats Mobile */
    .stats-grid-premium {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .stat-num {
        font-size: 1.8rem;
    }

    /* Bento Mobile */
    .bento-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bento-item {
        padding: 1.5rem;
    }

    /* Cases Mobile */
    .diary-grid-premium {
        grid-template-columns: 1fr;
    }

    /* Regions Mobile */
    .regions-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .map-premium {
        height: 300px;
        border-radius: 16px;
    }

    /* CTA Mobile */
    .cta-section {
        grid-template-columns: 1fr;
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
        margin: 2rem 1rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    /* Footer Mobile */
    footer {
        padding: 4rem 1.5rem 10rem;
    }

    .footer-info p {
        font-size: 1rem;
    }

    /* Floating Elements Mobile */
    .telegram-widget {
        bottom: 20px;
        right: 15px;
    }

    .telegram-widget.floating-call-widget {
        bottom: 85px;
    }

    .telegram-icon {
        width: 52px;
        height: 52px;
    }

    .telegram-icon svg,
    .telegram-icon i {
        width: 24px;
        height: 24px;
    }

    .telegram-tooltip {
        display: none !important;
    }
}

/* Quiz Mobile */
.quiz-options-grid {
    grid-template-columns: 1fr;
}

.quiz-option-btn {
    flex-direction: row;
    padding: 1rem;
}

/* Works Page Mobile */
.works-page {
    padding-top: 4rem;
}

.section-subtitle {
    margin-top: -1rem;
    margin-bottom: 3rem;
    font-size: 1.1rem;
    padding: 0 1rem;
}

.works-feed {
    gap: 2rem;
    padding: 0 0.5rem;
}

.work-item {
    border-radius: 16px;
}

.work-image {
    min-height: 220px;
}

.work-content {
    padding: 1.5rem;
}

.work-content h2 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.work-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
}

.work-price {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-text {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    background: var(--accent-soft);
    border-radius: 10px;
}

/* Small Mobile */
@media (max-width: 380px) {
    .hero-premium h1 {
        font-size: 1.8rem !important;
    }

    .contact-phone {
        font-size: 0.85rem;
        padding: 0.5rem 0.8rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .stat-num {
        font-size: 1.5rem;
    }
}