/* ============================================
   DR.VID — Shared Design System
   ============================================ */

:root {
    --primary: #ff4f4e;
    --primary-dark: #fc4e4e;
    --primary-light: #ff7070;
    --dark: #0B0B0B;
    --dark-gray: #1D1D1D;
    --text: #1D1D1D;
    --text-light: #575757;
    --white: #FFFFFF;
    --cream: #F9F8F8;
    --warm-gray: #EEEEEE;
    --accent: #ff4f4e;
    --accent-light: #ff7070;
    --gradient-primary: linear-gradient(135deg, #ff4f4e 0%, #fc4e4e 100%);
    --gradient-accent: linear-gradient(135deg, #ff4f4e 0%, #ff7070 100%);
    --gradient-dark: linear-gradient(180deg, #0B0B0B 0%, #1D1D1D 100%);
    --shadow-soft: 0 4px 24px rgba(255, 79, 78, 0.08);
    --shadow-medium: 0 8px 40px rgba(255, 79, 78, 0.12);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.2);
    --shadow-card: 0 2px 16px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(255, 79, 78, 0.06);
    --transition: cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Manrope', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--cream);
    overflow-x: hidden;
    line-height: 1.7;
    font-size: 16px;
    font-weight: 400;
}

/* Global link reset — no default blue/underline */
a {
    color: inherit;
    text-decoration: none;
}

a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 2px;
}

h1, h2, h3, .hero-title-main, .section-title, .pricing-title, .timer-title, .cta-title, .consult-popup-title {
    font-family: 'Manrope', sans-serif;
}

/* Subtle grain texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* ============================================
   REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.9s var(--transition);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(247, 245, 242, 0.9);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(255, 79, 78, 0.06);
    transition: all 0.4s var(--transition);
}

.header.scrolled {
    padding: 12px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(255, 79, 78, 0.2);
}

.logo-img {
    height: 48px;
    width: auto;
    display: block;
    transition: transform 0.3s var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.04);
}

.header.scrolled .logo-img {
    height: 42px;
}

.footer .logo-img {
    height: 52px;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    .footer .logo-img {
        height: 44px;
    }
}

.logo-icon svg {
    width: 28px;
    height: 28px;
    fill: white;
}

.logo-text {
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1;
}

.logo-text span {
    color: var(--primary);
    display: inline;
    font-size: 28px;
}

.footer .logo-text {
    color: #FFFFFF;
}

/* ============================================
   CITY SWITCHER
   ============================================ */
.city-switcher {
    position: relative;
    display: inline-flex;
}

.city-switcher-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: rgba(255, 79, 78, 0.06);
    border: 1px solid rgba(255, 79, 78, 0.15);
    border-radius: var(--radius-sm);
    color: var(--dark);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--transition);
    line-height: 1;
}

.city-switcher-btn:hover {
    background: rgba(255, 79, 78, 0.1);
    border-color: rgba(255, 79, 78, 0.3);
}

.city-switcher-btn .city-pin {
    color: var(--primary);
    flex-shrink: 0;
}

.city-switcher-btn .city-chevron {
    color: var(--text-light);
    transition: transform 0.2s var(--transition);
    flex-shrink: 0;
}

.city-switcher.open .city-chevron {
    transform: rotate(180deg);
}

.city-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: white;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-strong);
    list-style: none;
    padding: 6px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--transition), transform 0.2s var(--transition), visibility 0.2s;
    z-index: 1000;
}

.city-switcher.open .city-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.city-dropdown li {
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--dark);
    transition: background 0.15s, color 0.15s;
}

.city-dropdown li:hover {
    background: var(--cream);
}

.city-dropdown li.active {
    background: rgba(255, 79, 78, 0.08);
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .city-switcher-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
    .city-switcher-btn .city-pin {
        width: 12px;
        height: 12px;
    }
}

.nav {
    display: flex;
    gap: 26px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    white-space: nowrap;
    transition: color 0.3s var(--transition);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: width 0.3s var(--transition);
}

.nav a:hover {
    color: var(--primary);
}

.nav a:hover::after {
    width: 100%;
}

.nav a.active {
    color: var(--primary);
}

.nav a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.phone {
    font-weight: 600;
    font-size: 16px;
    color: var(--dark);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.3s;
}

.phone:hover {
    color: var(--primary);
}

/* Mobile menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--dark);
    margin: 5px 0;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 32px;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.4s var(--transition);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(255, 79, 78, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 79, 78, 0.45);
}

.btn-dark {
    background: var(--dark);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.btn-dark:hover {
    background: var(--dark-gray);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(255, 79, 78, 0.25);
}

.btn-outline:hover {
    background: var(--primary);
    color: #FFFFFF;
    border-color: var(--primary);
}

.btn-accent {
    background: var(--gradient-accent);
    color: #FFFFFF;
    box-shadow: 0 4px 16px rgba(255, 79, 78, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 79, 78, 0.4);
}

.btn-white {
    background: white;
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(255, 79, 78, 0.25); }
    50% { box-shadow: 0 4px 28px rgba(255, 79, 78, 0.45), 0 0 0 8px rgba(255, 79, 78, 0.06); }
}

.btn-pulse {
    animation: ctaPulse 3s ease-in-out infinite;
}

.btn-large {
    padding: 20px 52px;
    font-size: 18px;
    font-weight: 700;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    position: relative;
    background: linear-gradient(170deg, #FFFFFF 0%, #F9F6F5 40%, #F2EDED 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse at center, rgba(255, 79, 78, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(255, 79, 78, 0.06);
    border-radius: 50%;
    pointer-events: none;
    animation: floatSlow 15s ease-in-out infinite;
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(20px, -30px) rotate(5deg); }
    66% { transform: translate(-10px, 15px) rotate(-3deg); }
}

.hero .container {
    position: relative;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-creative-layout {
    max-width: 100%;
    padding-right: 0;
}

.hero-title-main {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4.5vw, 52px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 520px;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Spec Offer Card */
.spec-offer {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 79, 78, 0.08);
    border-left: 4px solid var(--accent);
    align-self: center;
}

.spec-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 79, 78, 0.04), transparent);
    animation: cardShimmer 8s infinite;
}

@keyframes cardShimmer {
    0%, 85% { left: -100%; }
    95% { left: 100%; }
    100% { left: 100%; }
}

.spec-offer-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 1.5px;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.spec-offer-price {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.02em;
}

.spec-offer-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.spec-offer-limit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 79, 78, 0.08);
    border: 1px solid rgba(255, 79, 78, 0.15);
    border-radius: var(--radius-sm);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.spec-offer-limit svg {
    flex-shrink: 0;
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-tag {
    display: inline-block;
    padding: 8px 18px;
    background: rgba(255, 205, 40, 0.07);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 18px;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 17px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   SERVICES / PROBLEMS GRID
   ============================================ */
.problems {
    padding: 110px 0;
    background: var(--white);
    position: relative;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--white);
    border: 1px solid rgba(255, 79, 78, 0.08);
    border-left: 3px solid var(--primary-light);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: all 0.5s var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.problem-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--transition);
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-strong);
    border-color: transparent;
    border-left-color: var(--primary);
}

.problem-card:hover::before {
    transform: scaleX(1);
}

.problem-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 205, 40, 0.07);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: all 0.4s var(--transition);
}

.problem-card:hover .problem-icon {
    background: var(--gradient-primary);
    transform: scale(1.05);
}

.problem-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
    transition: fill 0.3s;
}

.problem-card:hover .problem-icon svg {
    fill: white;
}

.problem-title {
    font-family: var(--font-heading);
    font-size: 21px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.problem-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   SERVICE CARDS (for homepage)
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 1px solid rgba(255, 79, 78, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--transition);
    box-shadow: var(--shadow-card);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.service-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.service-card:hover .service-card-img {
    transform: scale(1.05);
}

.service-card-img-wrap {
    overflow: hidden;
    flex-shrink: 0;
}

.service-card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.service-card-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    flex: 1;
    margin-bottom: 18px;
}

.service-card-price {
    font-family: var(--font-heading);
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: gap 0.3s;
}

.service-card:hover .service-card-link {
    gap: 12px;
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    background: var(--gradient-dark);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-banner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 79, 78, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.cta-text {
    color: white;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 400;
    margin-bottom: 8px;
}

.cta-desc {
    font-size: 16px;
    opacity: 0.8;
}

/* ============================================
   CASES / TESTIMONIALS
   ============================================ */
.cases {
    padding: 110px 0;
    background: var(--cream);
    position: relative;
}

.cases::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(255, 79, 78, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.cases-slider {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: stretch;
}

.case-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: all 0.5s var(--transition);
    border: 1px solid rgba(255, 79, 78, 0.06);
    display: flex;
    flex-direction: column;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-strong);
}

.case-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.6s var(--transition);
}

.case-card:hover .case-image {
    transform: scale(1.05);
}

.case-image-wrapper {
    overflow: hidden;
    flex-shrink: 0;
}

.case-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.case-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.case-desc {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    flex: 1;
}

/* ============================================
   TIMER SECTION
   ============================================ */
.timer-section {
    padding: 90px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.timer-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.06) 0%, transparent 50%);
    animation: rotate 25s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.timer-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

.timer-title {
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.timer-subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 44px;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 44px;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: var(--radius-md);
    padding: 22px 34px;
    min-width: 105px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.countdown-number {
    font-family: var(--font-heading);
    font-size: 50px;
    font-weight: 400;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    color: #FFFFFF;
}

.countdown-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* ============================================
   PRICING
   ============================================ */
.pricing {
    padding: 110px 0;
    background: var(--white);
    position: relative;
}

.pricing-card {
    background: white;
    border: 1px solid rgba(255, 79, 78, 0.08);
    border-radius: var(--radius-lg);
    padding: 52px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    box-shadow: var(--shadow-medium);
}

.pricing-header {
    text-align: center;
    margin-bottom: 52px;
}

.pricing-badge {
    display: inline-block;
    padding: 9px 22px;
    background: var(--gradient-accent);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 22px;
}

.pricing-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 400;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.pricing-subtitle {
    font-size: 17px;
    color: var(--text-light);
}

.pricing-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-feature {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px;
    background: var(--cream);
    border: 1px solid rgba(255, 79, 78, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.4s var(--transition);
}

.pricing-feature:hover {
    border-color: rgba(255, 79, 78, 0.15);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: white;
}

.feature-text h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 6px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

.pricing-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 79, 78, 0.08);
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-value {
    font-family: var(--font-heading);
    font-size: 54px;
    font-weight: 400;
    color: var(--dark);
    letter-spacing: -0.03em;
}

.price-currency {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark);
}

.price-period {
    font-size: 15px;
    color: var(--text-light);
    margin-left: 8px;
}

/* ============================================
   ADVANTAGES
   ============================================ */
.advantages {
    padding: 110px 0;
    background: var(--cream);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.advantage-card {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 79, 78, 0.06);
    box-shadow: var(--shadow-card);
    transition: all 0.5s var(--transition);
}

.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-medium);
}

.advantage-icon {
    width: 72px;
    height: 72px;
    background: rgba(255, 79, 78, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s var(--transition);
}

.advantage-card:hover .advantage-icon {
    background: var(--gradient-primary);
}

.advantage-icon svg {
    width: 32px;
    height: 32px;
    fill: var(--primary);
    transition: fill 0.3s;
}

.advantage-card:hover .advantage-icon svg {
    fill: white;
}

.advantage-number {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 8px;
}

.advantage-title {
    font-family: var(--font-heading);
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.advantage-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* ============================================
   FAQ
   ============================================ */
.faq {
    padding: 110px 0;
    background: var(--cream);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 79, 78, 0.06);
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-item:hover {
    box-shadow: var(--shadow-soft);
    border-color: rgba(255, 205, 40, 0.12);
}

.faq-question {
    padding: 26px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

.faq-question h3 {
    font-size: 17px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.4;
}

.faq-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.4s ease, background 0.4s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
    background: var(--gradient-accent);
}

.faq-icon svg {
    width: 16px;
    height: 16px;
    fill: white;
}

.faq-body {
    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
}

.faq-body-inner {
    padding: 0 28px 26px;
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ============================================
   LOCATIONS
   ============================================ */
.locations {
    padding: 110px 0;
    background: var(--white);
}

.locations-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 48px;
}

.locations-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.location-card {
    background: var(--cream);
    border: 1px solid rgba(255, 79, 78, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    transition: all 0.4s var(--transition);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 14px;
}

.location-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-soft);
    border-color: var(--primary-light);
}

.location-icon {
    width: 42px;
    height: 42px;
    background: rgba(255, 79, 78, 0.08);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--primary);
}

.location-address {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark);
    line-height: 1.3;
}

.location-city {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 450px;
    background: var(--warm-gray);
    border: 1px solid rgba(255, 79, 78, 0.08);
    box-shadow: var(--shadow-card);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border: 0;
    display: block;
}

/* When map is inside a 2-column locations-layout — match list height */
.locations-layout .map-container {
    height: 100%;
    min-height: 450px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--gradient-dark);
    padding: 72px 0 28px;
    color: white;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-top: 16px;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
    color: white;
    letter-spacing: -0.01em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-links a:hover {
    color: white;
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-license a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-license a:hover {
    color: white;
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 48px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: var(--shadow-strong);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border: none;
    background: var(--cream);
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: var(--primary);
}

.modal-close svg {
    width: 18px;
    height: 18px;
    fill: var(--text-light);
    transition: fill 0.3s;
}

.modal-close:hover svg {
    fill: white;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--dark);
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 28px;
    line-height: 1.7;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--font-body);
    font-size: 16px;
    border: 2px solid rgba(255, 79, 78, 0.12);
    border-radius: var(--radius-sm);
    outline: none;
    background: var(--cream);
    transition: all 0.3s;
    margin-bottom: 14px;
}

.form-input:focus {
    border-color: var(--primary);
    background: white;
}

.form-submit {
    width: 100%;
    padding: 18px;
    font-size: 16px;
    font-weight: 700;
}

.form-privacy {
    margin-top: 14px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
}

.form-privacy a {
    color: var(--primary);
    text-decoration: none;
}

/* ============================================
   CONSULTATION POPUP
   ============================================ */
.consult-popup {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1500;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: all 0.5s var(--transition);
}

.consult-popup.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.consult-popup-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    max-width: 340px;
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(255, 79, 78, 0.1);
    position: relative;
}

.consult-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 28px;
    height: 28px;
    border: none;
    background: var(--cream);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.consult-popup-close:hover {
    background: var(--primary);
}

.consult-popup-close svg {
    width: 14px;
    height: 14px;
    fill: var(--text-light);
    transition: fill 0.3s;
}

.consult-popup-close:hover svg {
    fill: white;
}

.consult-popup-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    padding-right: 30px;
}

.consult-popup-text {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.6;
}

.consult-popup-btn {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 16px rgba(255, 79, 78, 0.3);
}

.consult-popup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(255, 79, 78, 0.45);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: 100px 0 0;
    background: transparent;
    font-size: 14px;
    color: var(--text-light);
}

.breadcrumbs .container {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 14px;
    color: var(--text-light);
    flex-wrap: wrap;
}

.breadcrumbs a,
.breadcrumbs-list a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.breadcrumbs a:hover,
.breadcrumbs-list a:hover {
    color: var(--primary);
}

.breadcrumbs span,
.breadcrumbs-list .separator,
.breadcrumbs-list li:not(:last-child)::after {
    color: rgba(0, 0, 0, 0.25);
}

.breadcrumbs .current,
.breadcrumbs-list li:last-child {
    color: var(--dark);
    font-weight: 600;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .problems-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cases-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-features {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        padding: 36px;
    }

    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 36px;
    }

    .locations-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1180px) {
    .nav {
        gap: 20px;
    }

    .header-actions {
        gap: 12px;
    }

    .header-actions .phone {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 24px;
        z-index: 999;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        font-size: 20px;
    }

    .mobile-menu-btn {
        display: block;
    }

    .header-actions .phone {
        display: none;
    }

    .header-actions .btn {
        display: none;
    }

    .hero {
        padding: 120px 0 60px;
        min-height: auto;
    }

    .hero-title-main {
        font-size: clamp(28px, 7vw, 40px);
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .services-grid,
    .problems-grid {
        grid-template-columns: 1fr;
    }

    .cases-slider {
        grid-template-columns: 1fr;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .pricing-footer {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: clamp(26px, 6vw, 36px);
    }

    .locations,
    .problems,
    .cases,
    .pricing,
    .faq,
    .advantages {
        padding: 70px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .modal-card {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title-main {
        font-size: 28px;
    }

    .countdown {
        gap: 10px;
    }

    .countdown-item {
        padding: 16px 20px;
        min-width: 80px;
    }

    .countdown-number {
        font-size: 36px;
    }

    .pricing-card {
        padding: 24px;
    }

    .price-value {
        font-size: 40px;
    }

    .consult-popup {
        bottom: 12px;
        right: 12px;
        left: 12px;
    }

    .consult-popup-card {
        max-width: 100%;
    }
}
/* ============================================
   SUBPAGE HERO — cap image height so first screen fits viewport without scroll
   ============================================ */
.hero-visual-main,
.hero-check-img,
.hero-lenses-img,
.hero-computer-visual img,
.hero-sun .hero-grid img,
.repair-hero img {
    max-height: 62vh;
    object-fit: cover;
}

/* ============================================
   DR.VID HEADINGS — bold Manrope look (override page-level light weights)
   ============================================ */
h1,
.hero-title-main, .hero-home-title, .hero-product-title, .hero-check-title,
.hero-lenses-title, .hero-computer-title, .repair-hero-title,
.section-title, .pricing-title, .timer-title, .cta-title {
    font-family: 'Manrope', sans-serif;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

h2, h3,
.pricing-col-title, .step-title, .sign-title, .modal-title, .consult-popup-title,
.category-name, .popular-card-title, .related-card-title,
.hero-offer-text, .hero-check-badge-text, .feature-text h4 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700 !important;
    letter-spacing: -0.01em;
}

/* ============================================
   HEADER ADDRESS (under logo) — visible on all screens
   ============================================ */
.logo-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

.header-address {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.1;
    text-decoration: none;
    transition: color 0.3s var(--transition);
}

.header-address svg {
    width: 13px;
    height: 13px;
    fill: var(--primary);
    flex-shrink: 0;
}

.header-address:hover {
    color: var(--primary);
}

@media (max-width: 768px) {
    .header-address {
        font-size: 11px;
        gap: 4px;
    }
    .header-address svg {
        width: 12px;
        height: 12px;
    }
}
