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

:root {
    /* Light Theme (default) */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f4f4f4;
    --text-primary: #333333;
    --text-secondary: #555555;
    --text-muted: #888888;
    --accent: #4ee193;
    --accent-hover: #3dc980;
    --graphite: #53616f;
    --graphite-dark: #3d4a57;
    --border: #e0e0e0;
    --shadow: rgba(0, 0, 0, 0.08);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --hero-overlay: rgba(0, 0, 0, 0.7);
    --card-bg: #ffffff;
    --input-bg: #ffffff;
    --input-border: #e0e0e0;
}

[data-theme="dark"] {
    /* Dark Theme */
    --bg-primary: #1a1a2e;
    --bg-secondary: #16213e;
    --bg-tertiary: #0f3460;
    --text-primary: #e0e0e0;
    --text-secondary: #b0b0b0;
    --text-muted: #6b7280;
    --accent: #4ee193;
    --accent-hover: #3dc980;
    --graphite: #2d3748;
    --graphite-dark: #1a202c;
    --border: #2d3748;
    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);
    --hero-overlay: rgba(0, 0, 0, 0.8);
    --card-bg: #1e293b;
    --input-bg: #1e293b;
    --input-border: #2d3748;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    transition: background 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Theme Toggle */
.theme-toggle {
    position: fixed;
    top: 100px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--graphite), var(--graphite-dark));
    border: 2px solid rgba(78, 225, 147, 0.3);
    border-radius: 50%;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--accent);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 0 rgba(78, 225, 147, 0);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.theme-toggle:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--graphite-dark);
    border-color: var(--accent);
    transform: rotate(15deg) scale(1.05);
    box-shadow: 0 6px 25px rgba(78, 225, 147, 0.5), 0 0 15px rgba(78, 225, 147, 0.3);
}

.theme-toggle:active {
    transform: scale(0.95);
}

/* Fade-in Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for grids */
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }
.fade-in:nth-child(6) { transition-delay: 0.5s; }

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

/* Header */
.header {
    background: linear-gradient(180deg, var(--graphite-dark), var(--graphite));
    color: #fff;
    padding: 10px 0;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: background 0.3s ease;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    position: relative;
}

.logo-text h1 {
    color: var(--accent);
    font-size: 26px;
    margin: 0;
    text-shadow: 0 0 15px rgba(78, 225, 147, 0.5);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
    margin: 3px 0 0 0;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    padding: 5px 0;
}

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

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

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

/* Header Contacts */
.header-contacts {
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 13px;
}

.contact-link:hover {
    background: rgba(78, 225, 147, 0.15);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.contact-link i {
    color: var(--accent);
    font-size: 15px;
}

.contact-link span {
    font-weight: 500;
}

.btn-appointment {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--graphite-dark);
    border: none;
    padding: 10px 24px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(78, 225, 147, 0.4), 0 0 0 rgba(78, 225, 147, 0);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.btn-appointment::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-appointment:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(78, 225, 147, 0.6), 0 0 20px rgba(78, 225, 147, 0.4);
}

.btn-appointment:hover::before {
    left: 100%;
}

.btn-appointment:active {
    transform: translateY(-1px);
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.burger-menu span {
    width: 25px;
    height: 3px;
    background: #4ee193;
    margin: 3px 0;
    border-radius: 3px;
    transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(var(--hero-overlay), var(--hero-overlay)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: #fff;
    margin-top: 50px;
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--graphite-dark);
    box-shadow: 0 3px 12px rgba(78, 225, 147, 0.35);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 225, 147, 0.5);
}

.btn-primary:active {
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid var(--accent);
    box-shadow: 0 2px 8px rgba(78, 225, 147, 0.2);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--graphite-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 225, 147, 0.5);
}

.btn-secondary:active {
    transform: translateY(-1px);
}

/* Stats */
.stats {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--graphite), var(--graphite-dark));
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    font-family: 'Montserrat', sans-serif;
    color: #4ee193;
    text-shadow: 0 0 20px rgba(78, 225, 147, 0.5);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

/* Services */
.services {
    padding: 60px 0;
    background: var(--bg-tertiary);
}

.section-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card i {
    font-size: 45px;
    color: var(--accent);
    margin-bottom: 18px;
    text-shadow: 0 0 10px rgba(78, 225, 147, 0.3);
}

.service-card h3 {
    margin-bottom: 12px;
    color: var(--text-primary);
}

.service-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* About */
.about {
    padding: 60px 0;
    background: var(--bg-primary);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-features {
    list-style: none;
    margin-top: 20px;
}

.about-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.about-features i {
    color: var(--accent);
}

.about-image img {
    width: 100%;
    border-radius: 10px;
}

/* Pricing */
.pricing {
    padding: 60px 0;
    background: var(--bg-primary);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.pricing-card {
    background: var(--card-bg);
    border: 2px solid var(--border);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 40px var(--shadow);
    transform: translateY(-5px);
}

.pricing-card.featured {
    border-color: var(--accent);
    box-shadow: 0 10px 40px rgba(78, 225, 147, 0.2);
}

.pricing-badge {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: var(--graphite-dark);
    padding: 5px 40px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    font-family: 'Inter', sans-serif;
}

.pricing-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(78, 225, 147, 0.1), rgba(78, 225, 147, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pricing-icon i {
    font-size: 28px;
    color: var(--accent);
}

.pricing-card h3 {
    color: var(--text-primary);
    margin-bottom: 20px;
    font-size: 18px;
}

.pricing-list {
    list-style: none;
    text-align: left;
}

.pricing-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 14px;
}

.pricing-list li:last-child {
    border-bottom: none;
}

.pricing-list li span {
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
    margin-left: 10px;
    font-size: 13px;
}

.pricing-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    padding: 15px;
    background: var(--bg-secondary);
    border-radius: 8px;
}

/* Contact */
.contact {
    padding: 60px 0;
    background: var(--bg-primary);
}

/* Team */
.team {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
}

.team-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
}

.team-photo {
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, rgba(78, 225, 147, 0.1), rgba(78, 225, 147, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--accent);
}

.team-photo i {
    font-size: 45px;
    color: var(--accent);
}

.team-card h3 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 18px;
}

.team-role {
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 13px;
}

.team-desc {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 22px;
    color: var(--accent);
    margin-top: 3px;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-form {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
}

.contact-form h3 {
    margin-bottom: 15px;
    color: var(--text-primary);
    font-size: 20px;
}

.contact-form p {
    color: var(--text-secondary);
    margin-bottom: 15px;
    font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 12px;
    border: 2px solid var(--input-border);
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Footer */
.footer {
    background: linear-gradient(180deg, var(--graphite), var(--graphite-dark));
    color: #fff;
    padding: 35px 0 15px;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
}

.footer-logo h2 {
    color: var(--accent);
    margin: 0;
    font-size: 28px;
    text-shadow: 0 0 15px rgba(78, 225, 147, 0.4);
    line-height: 1;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    margin: 0;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-nav {
    display: flex;
    gap: 25px;
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

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

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

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

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(78, 225, 147, 0.1);
    border: 1px solid rgba(78, 225, 147, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 17px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: var(--accent);
    color: var(--graphite-dark);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(78, 225, 147, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 12px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

/* Modal Window */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-window {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 15px;
    width: 90%;
    max-width: 480px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-overlay.active .modal-window {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 22px;
    color: var(--text-primary);
    cursor: pointer;
    transition: color 0.3s, background 0.3s;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    color: var(--accent);
    background: rgba(78, 225, 147, 0.1);
}

.modal-window h2 {
    color: var(--text-primary);
    margin-bottom: 25px;
    text-align: center;
    font-size: 24px;
}

.modal-window form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.modal-window input,
.modal-window select,
.modal-window textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.modal-window input:focus,
.modal-window select:focus,
.modal-window textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(78, 225, 147, 0.2);
}

.modal-window textarea {
    height: 100px;
    resize: vertical;
}

.modal-window .btn-primary {
    margin-top: 8px;
    padding: 14px;
    font-size: 15px;
    width: 100%;
}

/* Appointment date/time picker */
.appointment-datetime {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.appointment-datetime .form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.appointment-datetime .form-group label i {
    color: var(--accent);
}

.appointment-datetime input[type="date"],
.appointment-datetime select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: border-color 0.3s;
}

.appointment-datetime input[type="date"]:focus,
.appointment-datetime select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(78, 225, 147, 0.2);
}

/* Combobox (searchable dropdown) */
.combobox-wrapper {
    position: relative;
}

.combobox {
    position: relative;
    width: 100%;
}

.combobox input {
    width: 100% !important;
    padding: 12px 45px 12px 15px !important;
    margin: 0 !important;
}

.combobox-toggle {
    position: absolute;
    right: 2px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 2;
}

.combobox-toggle:hover {
    background: rgba(78, 225, 147, 0.1);
    color: var(--accent);
}

.combobox-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 100%;
    background: var(--card-bg);
    border: 2px solid var(--input-border);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 100;
    display: none;
    max-height: 320px;
}

.combobox-dropdown.open {
    display: block;
    animation: dropdownFadeIn 0.2s ease;
}

@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.combobox-search {
    width: 100% !important;
    padding: 10px 15px !important;
    border: none !important;
    border-bottom: 1px solid var(--input-border) !important;
    border-radius: 8px 8px 0 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    background: var(--input-bg);
    color: var(--text-primary);
    font-size: 14px;
}

.combobox-search:focus {
    outline: none;
    border-bottom-color: var(--accent) !important;
    box-shadow: none !important;
}

.combobox-options {
    max-height: 240px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--accent) var(--input-bg);
}

.combobox-options::-webkit-scrollbar {
    width: 6px;
}

.combobox-options::-webkit-scrollbar-track {
    background: var(--input-bg);
}

.combobox-options::-webkit-scrollbar-thumb {
    background: var(--accent);
    border-radius: 3px;
}

.combobox-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--text-primary);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.combobox-option .brand-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    object-fit: contain;
    transition: filter 0.15s;
}

/* Dark theme: invert SVG so dark logos become visible */
[data-theme="dark"] .combobox-option .brand-logo {
    filter: invert(1) brightness(1.1);
    opacity: 0.9;
}

.combobox-option:hover .brand-logo,
.combobox-option.active .brand-logo {
    opacity: 1;
}

[data-theme="dark"] .combobox-option:hover .brand-logo,
[data-theme="dark"] .combobox-option.active .brand-logo {
    filter: invert(1) brightness(1.3);
}

.combobox-option .brand-name {
    font-weight: 500;
}

.combobox-option:hover {
    background: rgba(78, 225, 147, 0.1);
}

.combobox-option.active {
    background: rgba(78, 225, 147, 0.15);
    color: var(--accent);
    font-weight: 500;
}

.combobox-option .brand-country {
    font-size: 12px;
    color: var(--text-secondary);
    margin-left: auto;
}

.combobox-empty {
    padding: 20px 15px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ==================== Reviews ==================== */
.reviews {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.reviews-summary {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-average {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.average-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.average-stars {
    display: flex;
    gap: 4px;
}

.average-stars .star-display {
    font-size: 28px;
    color: var(--accent);
}

.average-count {
    font-size: 16px;
    color: var(--text-secondary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 50px;
}

.review-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.review-author {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 16px;
}

.review-date {
    font-size: 13px;
    color: var(--text-secondary);
}

.review-stars {
    margin-bottom: 12px;
    color: var(--accent);
    font-size: 18px;
    letter-spacing: 2px;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 14px;
}

.reviews-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.reviews-form-wrapper h3 {
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-primary);
    font-family: 'Montserrat', sans-serif;
}

.star-rating {
    display: flex;
    gap: 8px;
    direction: rtl;
    justify-content: center;
}

.star-rating .star {
    font-size: 36px;
    color: #ddd;
    cursor: pointer;
    transition: color 0.15s, transform 0.15s;
    user-select: none;
}

.star-rating .star:hover,
.star-rating .star.active {
    color: var(--accent);
    transform: scale(1.15);
}

.review-form .form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.review-form label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.review-form input,
.review-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--input-border);
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: border-color 0.3s;
}

.review-form input:focus,
.review-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(78, 225, 147, 0.15);
}

.review-form textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 16px;
}

.review-form .btn-primary {
    width: 100%;
}

.empty-reviews {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ==================== Gallery ==================== */
.gallery {
    padding: 80px 0;
    background: var(--bg-primary);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.gallery-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.gallery-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.gallery-comparison::after {
    content: '→';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--accent);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    z-index: 2;
}

.gallery-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}

.gallery-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

/* Clickable gallery images */
.gallery-img.clickable {
    cursor: pointer;
    position: relative;
}

.gallery-img.clickable:hover img {
    transform: scale(1.1);
}

.gallery-zoom-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.gallery-img.clickable:hover .gallery-zoom-icon {
    opacity: 1;
}

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

.gallery-img-label {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.gallery-info {
    padding: 20px;
}

.gallery-info h3 {
    margin-bottom: 8px;
    color: var(--text-primary);
    font-size: 18px;
}

.gallery-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 8px;
}

.gallery-meta {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--graphite-light);
}

.gallery-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.empty-gallery {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
    grid-column: 1 / -1;
}

/* ==================== Lightbox ==================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.lightbox-close {
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }
.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.lightbox-image-container {
    max-width: 80vw;
    max-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-info {
    text-align: center;
    color: white;
}

.lightbox-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lightbox-meta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.lightbox-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.lightbox-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    .lightbox-prev { left: 10px; }
    .lightbox-next { right: 10px; }
    .lightbox-close { top: 10px; right: 10px; width: 40px; height: 40px; }
    .lightbox-info h3 { font-size: 18px; }
    .lightbox-image-container { max-width: 95vw; }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #4ee193, #3dc980);
    z-index: 3000;
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(78, 225, 147, 0.5);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: #4ee193;
    color: #1a1a2e;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1500;
    box-shadow: 0 5px 20px rgba(78, 225, 147, 0.4);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #3dc980;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(78, 225, 147, 0.6);
}

/* Responsive */
@media (max-width: 1024px) {
    .header-wrapper {
        gap: 15px;
    }

    .nav-menu {
        gap: 15px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    .header-contacts {
        gap: 10px;
    }

    .contact-link {
        padding: 6px 10px;
        font-size: 12px;
    }

    .contact-link span {
        display: none;
    }

    .contact-link i {
        font-size: 18px;
    }

    .btn-appointment {
        padding: 9px 18px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 8px 0;
    }

    .header-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }

    .logo-text h1 {
        font-size: 22px;
    }

    .logo-text p {
        font-size: 8px;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: flex-start;
    }

    .burger-menu {
        display: flex;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--graphite);
        flex-direction: column;
        padding: 80px 30px;
        gap: 25px;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu a {
        font-size: 18px;
    }

    .header-contacts {
        order: 2;
    }

    .contact-link {
        padding: 6px 10px;
    }

    .contact-link span {
        display: inline;
        font-size: 11px;
    }

    .contact-link i {
        font-size: 14px;
    }

    .btn-appointment {
        display: none;
    }

    .nav-menu li:last-child {
        margin-top: 20px;
    }

    .nav-menu li:last-child a {
        background: var(--accent);
        color: var(--graphite-dark);
        padding: 12px 25px;
        border-radius: 8px;
        display: block;
        text-align: center;
        font-weight: 700;
    }

    .nav-menu li:last-child a::after {
        display: none;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero {
        margin-top: 50px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .section-title {
        font-size: 26px;
    }

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

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

    .theme-toggle {
        top: 80px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 18px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 50px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .section-title {
        font-size: 22px;
    }

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

    .pricing-grid,
    .team-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}