/* =========================
   VÁRIOS CASA - STYLE.CSS
   Booking-inspired clean tech style
   Mobile-first
========================= */

:root {
    --primary: #003580;      /* Booking dark blue */
    --secondary: #009fe3;    /* light blue accent */
    --accent: #febb02;       /* yellow CTA */
    --text: #1a1a1a;
    --muted: #666;
    --bg: #ffffff;
    --light: #f5f7fa;
    --border: #e6e6e6;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

/* =========================
   UTILITIES
========================= */

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

.section-padding {
    padding: 60px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-tag {
    display: inline-block;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 10px;
}

h1, h2, h3 {
    color: var(--primary);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

p {
    color: var(--muted);
    line-height: 1.6;
    font-size: 15px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 12px 18px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.25s ease;
    text-align: center;
}

.btn:active {
    transform: scale(0.97);
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: #002a66;
}

.btn-secondary {
    background: var(--secondary);
    color: white;
}

.btn-secondary:hover {
    background: #0088cc;
}

.btn-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-large {
    padding: 16px 22px;
    font-size: 16px;
}

/* =========================
   HEADER
========================= */

.header {
    position: sticky;
    top: 0;
    background: white;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.logo {
    font-size: 18px;
    font-weight: 800;
    color: var(--primary);
}

.language-switcher {
    display: flex;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    align-items: center;
}

/* Для очень маленьких экранов можно уменьшить шрифт и отступы */
@media (max-width: 480px) {
    .language-switcher {
        font-size: 12px;
        gap: 4px;
    }
    .language-switcher span {
        margin: 0 2px;
    }
}
.language-switcher a {
    text-decoration: none;
    color: var(--muted);
    cursor: pointer;
}

.language-switcher a.active {
    color: var(--primary);
    font-weight: 700;
}

.nav {
    display: none;
    gap: 20px;
}

.nav a {
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    transition: color 0.2s;
}

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

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

.header-buttons {
    display: none;
    gap: 10px;
}

.burger {
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
}

/* Mobile menu active */
.nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    border-bottom: 1px solid #eee;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 999;
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    min-height: 90vh;
    background: url("images/hero-main.jpg") center/cover no-repeat;
    display: flex;
    align-items: center;
    color: white;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 53, 128, 0.7);
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 16px;
    font-size: 14px;
}

.hero h1 {
    font-size: 32px;
    color: white;
    margin-bottom: 16px;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero p {
    color: #e6e6e6;
    margin-bottom: 20px;
    font-size: 18px;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 14px;
}

/* =========================
   URGENT SECTION
========================= */

.urgent-service {
    background: var(--light);
    padding: 40px 0;
}

.urgent-grid {
    display: grid;
    gap: 16px;
}

.urgent-card {
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.urgent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   SERVICES
========================= */

.services-grid {
    display: grid;
    gap: 16px;
}

.service-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.service-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}

.service-content {
    padding: 14px;
}

/* =========================
   CLIENTS
========================= */

.clients-grid {
    display: grid;
    gap: 16px;
}

.client-card {
    padding: 16px;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: white;
    transition: 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.client-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* =========================
   GALLERY
========================= */

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gallery-grid img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    transition: 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* =========================
   TESTIMONIALS
========================= */

.testimonials-grid {
    display: grid;
    gap: 16px;
}

.testimonial-card {
    background: white;
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    transition: 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.stars {
    color: var(--accent);
    margin-bottom: 8px;
}

/* =========================
   WORKERS
========================= */

.workers-container {
    display: grid;
    gap: 20px;
}

.workers-image img {
    width: 100%;
    border-radius: 12px;
}

/* =========================
   TECHNICIANS
========================= */

.technicians {
    background: var(--light);
}

/* =========================
   CONTACT
========================= */

.contact-grid {
    display: grid;
    gap: 16px;
}

.contact-card {
    border: 1px solid var(--border);
    padding: 16px;
    border-radius: 12px;
    background: white;
    text-align: center;
    transition: 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

.contact-info {
    margin-top: 20px;
    text-align: center;
    color: var(--muted);
}

/* =========================
   REQUEST FORM
========================= */

.request-form-wrap {
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px 20px;
    margin-bottom: 16px;
}

.form-heading {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 6px;
}

.form-subheading {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 20px;
}

.form-grid {
    display: grid;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: white;
    outline: none;
    transition: border-color 0.2s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,159,227,0.12);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.btn-submit {
    width: 100%;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.form-success {
    background: #e6f9ee;
    border: 1px solid #52c97a;
    color: #1a7a3c;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
    font-weight: 500;
}

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr 1fr;
    }

    .form-group-full {
        grid-column: 1 / -1;
    }

    .request-form-wrap {
        padding: 36px 32px;
    }
}

/* =========================
   FOOTER
========================= */

.footer {
    background: var(--primary);
    color: white;
    padding: 30px 0;
    margin-top: 40px;
}

.footer-container {
    display: grid;
    gap: 12px;
    text-align: center;
}

.footer-links a {
    color: white;
    margin: 0 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 0.8;
}

/* =========================
   FLOATING WHATSAPP
========================= */

.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 14px 16px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: 0.2s ease;
    z-index: 100;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
    background: #20b859;
}

/* =========================
   ANIMATIONS
========================= */

.hidden {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}

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

/* =========================
   DESKTOP
========================= */

@media (min-width: 768px) {
    .nav {
        display: flex;
    }

    .header-buttons {
        display: flex;
    }

    .language-switcher {
        display: flex;
    }

    .burger {
        display: none;
    }

    .hero h1 {
        font-size: 48px;
    }

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

    .hero-features {
        flex-direction: row;
        gap: 20px;
    }

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

    .clients-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .urgent-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .workers-container {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

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

    .footer-container {
        grid-template-columns: repeat(3, 1fr);
        text-align: left;
        align-items: center;
    }
}

/* =========================
   MOBILE ADJUSTMENTS
========================= */

@media (max-width: 768px) {
    .hero h1 {
        font-size: 28px;
    }

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

    .section-padding {
        padding: 40px 0;
    }

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

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

/* =========================
   SCROLL EFFECT
========================= */

.header.scrolled {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

* {
    scroll-behavior: smooth;
}

img {
    display: block;
}
.dual-buttons {
    background: #f8f9fa;
    text-align: center;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.dual-buttons .hero-buttons {
    justify-content: center;
    gap: 1.5rem;
}
@media (max-width: 640px) {
    .dual-buttons .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
}