:root {
    --primary-color: #FFD700;
    --primary-dark: #FFC000;
    --secondary-color: #1a1a1a;
    --accent-color: #3498db;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f9f9f9;
    --bg-white: #ffffff;
    --container-width: 1200px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.08);
    --shadow-lg: 0 15px 40px rgba(0,0,0,0.12);
}

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

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

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: var(--transition);
    padding: 1.2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    padding: 0.7rem 0;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid #eee;
}

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

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

.logo-icon {
    font-size: 2rem;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.logo-text {
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--bg-white);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

header.scrolled .logo-text {
    color: var(--secondary-color);
}

nav {
    display: flex;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--bg-white);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

header.scrolled nav a {
    color: var(--secondary-color);
    text-shadow: none;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background-color: var(--primary-color);
    transition: var(--transition);
    border-radius: 2px;
}

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

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

.phone {
    font-weight: 700;
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 1.05rem;
    background: var(--primary-color);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: var(--primary-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    position: relative;
    color: var(--bg-white);
    padding-top: 80px;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1621905251189-08b45d6a269e?q=80&w=2069&auto=format&fit=crop') center/cover;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.feature-icon {
    background: var(--primary-color);
    color: var(--secondary-color);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

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

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

.service-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    transition: var(--transition);
    border-bottom: 4px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--text-light);
}

/* Prices */
.prices {
    padding: 100px 0;
}

.prices-note {
    text-align: center;
    color: var(--text-light);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.price-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
}

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

.price-category {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 20px;
}

.price-category h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
}

.price-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.price-dots {
    flex: 1;
    border-bottom: 1px dotted #ccc;
    margin: 0 10px;
}

.price-value {
    font-weight: 700;
    color: var(--secondary-color);
    white-space: nowrap;
}

/* Stats */
.stats {
    padding: 80px 0;
    background: var(--secondary-color);
    color: var(--bg-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* Calculator Redesign */
.calculator {
    padding: 100px 0;
    background: #fdfdfd;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-top: -2rem;
    margin-bottom: 4rem;
    font-size: 1.1rem;
}

.calc-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: start;
}

.calc-settings {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
}

.calc-group {
    margin-bottom: 3rem;
}

.calc-group:last-child {
    margin-bottom: 0;
}

.calc-group-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

/* Room Cards */
.room-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
}

.room-card {
    background: #f8f9fa;
    border: 2px solid #f0f0f0;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.room-card:hover {
    border-color: var(--primary-color);
    background: #fffdf0;
}

.room-card.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.3);
}

.room-icon {
    font-size: 2rem;
}

.room-name {
    font-weight: 600;
    font-size: 0.95rem;
}

/* Range Slider */
.range-wrapper {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.calc-range {
    flex: 1;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.calc-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 4px solid var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.range-value {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--secondary-color);
    min-width: 80px;
}

/* Work Selection */
.work-selection {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.work-toggle {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #f8f9fa;
    border: 2px solid #f0f0f0;
    border-radius: 15px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.work-toggle:hover {
    border-color: var(--primary-color);
}

.work-toggle.active {
    background: #fffdf0;
    border-color: var(--primary-color);
}

.hidden-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.work-check {
    width: 24px;
    height: 24px;
    border: 2px solid #ddd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    background: white;
}

.work-toggle.active .work-check {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.work-toggle.active .work-check::after {
    content: '✓';
    color: var(--primary-color);
    font-weight: 900;
    font-size: 0.9rem;
}

.work-icon {
    font-size: 1.5rem;
}

.work-name {
    font-weight: 600;
    color: var(--secondary-color);
}

/* Summary Card */
.calc-summary {
    position: sticky;
    top: 100px;
}

.summary-card {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 40px;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.summary-header h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.summary-header p {
    opacity: 0.6;
    font-size: 0.9rem;
}

.summary-details {
    margin: 30px 0;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
}

.summary-item span {
    opacity: 0.7;
}

.summary-price {
    text-align: center;
    margin-bottom: 30px;
}

.summary-price .price-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 10px;
}

.summary-price .price-label {
    font-size: 0.9rem;
    opacity: 0.6;
}

.summary-actions .cta-button {
    width: 100%;
    justify-content: center;
    padding: 1.2rem;
}

.summary-note {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.5;
    margin-top: 15px;
}

/* Forms */
input[type="text"], input[type="tel"], input[type="number"], select {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
    background: var(--bg-white);
    font-family: inherit;
}

input:focus, select:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* FAQ */
.faq {
    padding: 100px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: var(--bg-white);
    margin-bottom: 15px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 30px 25px;
    color: var(--text-light);
}

/* Advantages */
.advantages {
    padding: 100px 0;
}

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

.advantage-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.advantage-number {
    position: absolute;
    top: -20px;
    right: -10px;
    font-size: 8rem;
    font-weight: 900;
    color: rgba(0,0,0,0.03);
    line-height: 1;
}

/* Process */
.process {
    padding: 100px 0;
    background: var(--secondary-color);
    color: var(--bg-white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.process-step h3 {
    margin-bottom: 1rem;
}

.process-step p {
    opacity: 0.8;
}

/* Contact Section Redesign */
.contact {
    padding: 100px 0;
    background: var(--bg-light);
}

.contact-card {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px 40px;
    border-radius: 40px;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.contact .section-title {
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 3rem;
}

.contact-main {
    margin-bottom: 3.5rem;
}

.phone-hero {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    background: var(--secondary-color);
    color: var(--bg-white);
    text-decoration: none;
    padding: 25px 50px;
    border-radius: 100px;
    transition: var(--transition);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.phone-hero:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    background: #000;
}

.phone-hero-icon {
    font-size: 2.5rem;
    background: var(--primary-color);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--secondary-color);
}

.phone-hero-content {
    text-align: left;
}

.phone-label {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.7;
    font-weight: 700;
    margin-bottom: 5px;
}

.phone-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.contact-extra {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 3.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--secondary-color);
}

.contact-icon {
    font-size: 1.5rem;
}

.contact-messengers {
    padding-top: 3rem;
    border-top: 1px solid #eee;
}

.contact-messengers p {
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.messenger-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.messenger-btn {
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    color: var(--bg-white);
}

.messenger-btn.wa {
    background: #25D366;
}

.messenger-btn.tg {
    background: #0088cc;
}

.messenger-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Footer */
footer {
    background: var(--secondary-color);
    color: var(--bg-white);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 50px;
    margin-bottom: 50px;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-section p, .footer-section a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-phone {
    color: var(--primary-color) !important;
    font-weight: 700;
    font-size: 1.1rem;
}

.footer-phone:hover {
    color: var(--bg-white) !important;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.9rem;
}

/* Utilities */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    z-index: 999;
}

/* Animations */
.fade-in {
    animation: fadeIn 1s ease-out;
}

.fade-in-delay {
    animation: fadeIn 1s ease-out 0.3s backwards;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

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

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--bg-white);
    margin: 5px 0;
    transition: var(--transition);
}

header.scrolled .mobile-menu-btn span {
    background: var(--secondary-color);
}

/* Responsive Adaptation */

/* Laptops & Tablets (1200px and down) */
@media (max-width: 1200px) {
    :root {
        --container-width: 960px;
    }
    
    .hero h1 { font-size: 3.5rem; }
}

/* Tablets & Small Laptops (992px and down) */
@media (max-width: 992px) {
    :root {
        --container-width: 720px;
    }

    .hero h1 { font-size: 3rem; }
    
    .calc-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .calc-summary {
        position: static;
    }

    .contact-card {
        padding: 40px 20px;
    }

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

/* Tablets (768px and down) */
@media (max-width: 768px) {
    :root {
        --container-width: 100%;
    }

    .section-title { font-size: 2rem; }

    header { 
        background: rgba(255, 255, 255, 0.95); 
        padding: 0.8rem 0; 
    }
    
    .logo-text {
        color: var(--secondary-color);
        font-size: 1.3rem;
    }
    
    .header-content .phone {
        display: none; /* Hide phone in header on mobile to save space */
    }

    .mobile-menu-btn {
        display: block;
    }
    
    .mobile-menu-btn span {
        background: var(--secondary-color);
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-white);
        padding: 20px;
        flex-direction: column;
        gap: 15px;
        box-shadow: var(--shadow-md);
        border-top: 1px solid #eee;
        z-index: 1000;
    }
    
    nav a {
        color: var(--secondary-color);
        text-shadow: none;
        font-size: 1.1rem;
        padding: 10px 0;
    }

    nav.mobile-open { 
        display: flex; 
    }
    
    .hero {
        text-align: center;
        padding-top: 60px;
    }

    .hero h1 { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1.1rem; }
    
    .hero-features {
        align-items: center;
    }

    .services-grid, .advantages-grid, .process-steps, .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .price-categories {
        grid-template-columns: 1fr;
    }

    .contact-extra {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }

    .phone-hero {
        padding: 20px 30px;
        width: 100%;
        justify-content: center;
    }

    .phone-number {
        font-size: 1.8rem;
    }

    .summary-price .price-value {
        font-size: 2.8rem;
    }
}

/* Mobile Phones (480px and down) */
@media (max-width: 480px) {
    .section-title { font-size: 1.8rem; }
    
    .hero h1 { font-size: 1.8rem; }
    
    .calc-settings, .summary-card {
        padding: 25px 15px;
    }

    .room-cards {
        grid-template-columns: 1fr 1fr;
    }

    .price-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .price-dots {
        display: none;
    }

    .messenger-links {
        flex-direction: column;
        width: 100%;
    }

    .messenger-btn {
        width: 100%;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .scroll-top {
        bottom: 30px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
}

