/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; scroll-padding-top: 80px; }
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; line-height: 1.6; color: #1e293b; background: #ffffff; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ========== VARIABLES ========== */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --accent: #eab308;
    --accent-dark: #ca8a04;
    --text: #1e293b;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-alt: #f8fafc;
    --bg-dark: #0f172a;
    --border: #e2e8f0;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========== HEADER ========== */
.header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.header.hidden { transform: translateY(-100%); }

.header-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 12px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon { width: 40px; height: 40px; flex-shrink: 0; }
.logo-text h1 { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); line-height: 1.2; }
.logo-text span { font-size: 0.7rem; color: var(--text-light); letter-spacing: 0.05em; }

.nav { display: flex; gap: 8px; }
.nav a {
    padding: 8px 16px; border-radius: 8px;
    font-size: 0.9rem; font-weight: 500; color: var(--text);
    transition: background var(--transition), color var(--transition);
}
.nav a:hover { background: var(--bg-alt); color: var(--primary); }

.header-cta { display: flex; align-items: center; gap: 12px; }
.header-phone {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.9rem; font-weight: 600; color: var(--primary-dark);
}
.header-phone svg { flex-shrink: 0; }

.header-btn {
    display: inline-flex; align-items: center;
    padding: 0.5rem 1rem; border-radius: 8px;
    background: var(--primary); color: white;
    font-size: 0.85rem; font-weight: 600;
    transition: background var(--transition), transform var(--transition);
    white-space: nowrap; min-width: max-content;
}
.header-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }

.mobile-menu-btn { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.mobile-menu-btn span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }
.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); }

.mobile-menu {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: white; border-bottom: 1px solid var(--border);
    padding: 16px 24px; box-shadow: var(--shadow-lg);
}
.mobile-menu.active { display: block; }
.mobile-menu a { display: block; padding: 12px 0; font-size: 1rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }
.mobile-cta { display: flex; gap: 12px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); }
.mobile-cta .btn { flex: 1; text-align: center; justify-content: center; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 28px; border-radius: 10px;
    font-size: 0.95rem; font-weight: 600;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
    background: var(--accent); color: var(--bg-dark);
    box-shadow: 0 4px 14px rgba(234, 179, 8, 0.4);
}
.btn-primary:hover { background: var(--accent-dark); box-shadow: 0 6px 20px rgba(234, 179, 8, 0.5); }

.btn-secondary {
    background: rgba(255,255,255,0.15); color: white;
    border: 2px solid rgba(255,255,255,0.3); backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.5); }

.btn-blue {
    background: var(--primary); color: white;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}
.btn-blue:hover { background: var(--primary-dark); }

/* ========== HERO SECTION ========== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -2;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(30, 64, 175, 0.7) 100%);
}

.hero-content {
    max-width: 700px; position: relative; z-index: 1;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; border-radius: 100px;
    background: rgba(234, 179, 8, 0.15); border: 1px solid rgba(234, 179, 8, 0.3);
    color: var(--accent); font-size: 0.85rem; font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800;
    color: white; line-height: 1.1; margin-bottom: 20px;
    text-wrap: balance;
}

.hero p {
    font-size: 1.15rem; color: rgba(255,255,255,0.85);
    line-height: 1.7; margin-bottom: 32px; max-width: 600px;
}

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

.hero-features {
    display: flex; gap: 32px; flex-wrap: wrap;
    padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-feature { display: flex; align-items: center; gap: 12px; }
.hero-feature-icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15);
    display: grid; place-items: center; color: var(--accent);
}
.hero-feature-text strong { display: block; color: white; font-size: 0.95rem; }
.hero-feature-text span { color: rgba(255,255,255,0.7); font-size: 0.8rem; }

/* Service Hero */
.service-hero { min-height: 70vh; }
.service-hero .hero-content { max-width: 800px; }
.back-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: rgba(255,255,255,0.8); font-size: 0.9rem; font-weight: 500;
    margin-bottom: 20px; transition: color var(--transition);
}
.back-link:hover { color: white; }

/* ========== SECTION DEFAULTS ========== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    display: inline-block; padding: 6px 16px; border-radius: 100px;
    background: rgba(37, 99, 235, 0.08); color: var(--primary);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800;
    color: var(--text); line-height: 1.2; margin-bottom: 12px;
}
.section-title span { color: var(--primary); }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); }
.about-image-badge {
    position: absolute; bottom: -20px; right: -20px;
    background: var(--primary); color: white; padding: 20px;
    border-radius: var(--radius); box-shadow: var(--shadow-lg);
    text-align: center;
}
.about-image-badge strong { display: block; font-size: 2rem; font-weight: 800; }
.about-image-badge span { font-size: 0.8rem; opacity: 0.9; }

.about-content h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
    color: var(--text); line-height: 1.2; margin-bottom: 16px;
}
.about-content h2 span { color: var(--primary); }
.about-content > p { color: var(--text-light); margin-bottom: 32px; line-height: 1.7; }

.about-features { display: flex; flex-direction: column; gap: 20px; }
.about-feature { display: flex; gap: 16px; align-items: flex-start; }
.about-feature-icon {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: rgba(37, 99, 235, 0.08); color: var(--primary);
    display: grid; place-items: center;
}
.about-feature h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.about-feature p { font-size: 0.9rem; color: var(--text-light); }

/* ========== SERVICES SECTION ========== */
.services { background: var(--bg-alt); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.service-card {
    background: white; border-radius: var(--radius-lg); padding: 32px;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }

.service-icon {
    width: 56px; height: 56px; border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white; display: grid; place-items: center; margin-bottom: 20px;
}
.service-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.service-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; margin-bottom: 16px; }

.service-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--primary); font-weight: 600; font-size: 0.9rem;
    transition: gap var(--transition);
}
.service-link:hover { gap: 10px; }

/* ========== SERVICE BENEFITS BAR ========== */
.service-benefits { background: var(--bg-alt); padding: 48px 0; }
.benefits-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px;
}
.benefit-card {
    text-align: center; padding: 24px 16px;
    background: white; border-radius: var(--radius); border: 1px solid var(--border);
}
.benefit-icon {
    width: 56px; height: 56px; border-radius: 12px; margin: 0 auto 12px;
    background: rgba(37, 99, 235, 0.08); color: var(--primary);
    display: grid; place-items: center;
}
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.benefit-card p { font-size: 0.85rem; color: var(--text-light); }

/* ========== SERVICE DETAILS ========== */
.service-details { padding: 80px 0; }
.details-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }

.details-section h2 {
    font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: 24px;
    padding-bottom: 12px; border-bottom: 3px solid var(--primary);
}

.details-list { display: flex; flex-direction: column; gap: 16px; }
.details-item { display: flex; gap: 12px; align-items: flex-start; }
.details-item svg { flex-shrink: 0; color: var(--primary); margin-top: 2px; }
.details-item p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }
.details-item strong { color: var(--text); }

.process-list { display: flex; flex-direction: column; gap: 24px; }
.process-item { display: flex; gap: 16px; align-items: flex-start; }
.process-number {
    width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0;
    background: var(--primary); color: white;
    display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
}
.process-item h4 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.process-item p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

/* ========== WHY REGLAZE / WHY CHOOSE ========== */
.why-reglaze, .why-choose { padding: 80px 0; }
.why-reglaze { background: var(--bg-dark); }
.why-reglaze .section-title, .why-reglaze .section-subtitle { color: white; }
.why-reglaze .section-subtitle { opacity: 0.8; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.why-card {
    padding: 32px; border-radius: var(--radius-lg);
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    transition: transform var(--transition), border-color var(--transition);
}
.why-card:hover { transform: translateY(-4px); border-color: var(--primary-light); }

.why-reglaze .why-card h3 { color: white; font-size: 1.1rem; margin-bottom: 8px; }
.why-reglaze .why-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; line-height: 1.6; }

.why-choose { background: var(--bg-alt); }
.why-choose .why-card {
    background: white; border-color: var(--border);
}
.why-choose .why-card h3 { color: var(--text); font-size: 1.1rem; margin-bottom: 8px; }
.why-choose .why-card p { color: var(--text-light); font-size: 0.9rem; line-height: 1.6; }

/* ========== GALLERY SECTION ========== */
.gallery { background: var(--bg-alt); }
.gallery-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px;
}

.gallery-item {
    background: white; border-radius: var(--radius-lg); overflow: hidden;
    box-shadow: var(--shadow); border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.gallery-item-title {
    padding: 16px 20px; font-weight: 600; color: var(--text);
    text-align: center; font-size: 0.95rem;
}

/* Before-After Slider */
.before-after-slider {
    position: relative; width: 100%; aspect-ratio: 4/3; overflow: hidden;
    cursor: col-resize; user-select: none;
}
.before-after-slider .after-img,
.before-after-slider .before-img {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.before-after-slider .before-img {
    clip-path: inset(0 50% 0 0);
}
.before-after-slider .label {
    position: absolute; top: 12px; padding: 4px 12px;
    background: rgba(0,0,0,0.6); color: white;
    font-size: 0.75rem; font-weight: 600; border-radius: 100px;
    z-index: 2;
}
.label-before { left: 12px; }
.label-after { right: 12px; }

.slider-line {
    position: absolute; top: 0; bottom: 0; left: 50%; width: 3px;
    background: white; z-index: 2; transform: translateX(-50%);
    box-shadow: 0 0 8px rgba(0,0,0,0.3);
}
.slider-handle {
    position: absolute; top: 50%; left: 50%; z-index: 3;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: white; box-shadow: var(--shadow-lg);
    display: grid; place-items: center; color: var(--primary);
}

.gallery-hint {
    text-align: center; margin-top: 24px; color: var(--text-light);
    font-size: 0.9rem; display: flex; align-items: center; justify-content: center; gap: 8px;
}

/* ========== TESTIMONIALS ========== */
.testimonials { background: white; }
.testimonials-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 24px;
}

.testimonial-card {
    background: var(--bg-alt); border-radius: var(--radius-lg); padding: 28px;
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }

.testimonial-quote {
    font-size: 3rem; color: var(--primary); font-weight: 800;
    line-height: 1; margin-bottom: -8px;
}
.testimonial-stars {
    display: flex; gap: 2px; margin-bottom: 12px;
}
.testimonial-stars svg { width: 18px; height: 18px; color: var(--accent); }
.testimonial-text { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 16px; }

.testimonial-author { display: flex; align-items: center; justify-content: space-between; }
.testimonial-author-info strong { display: block; font-size: 0.95rem; color: var(--text); }
.testimonial-author-info span { font-size: 0.8rem; color: var(--text-light); }
.testimonial-badge {
    font-size: 0.75rem; padding: 4px 10px; border-radius: 100px;
    background: rgba(37, 99, 235, 0.08); color: var(--primary); font-weight: 600;
}

/* ========== FAQ SECTION ========== */
.faq { background: white; }
.faq-grid, .faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border); border-radius: var(--radius);
    margin-bottom: 12px; overflow: hidden;
    transition: border-color var(--transition);
}
.faq-item:hover { border-color: var(--primary-light); }

.faq-question {
    width: 100%; padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    font-size: 1rem; font-weight: 600; color: var(--text);
    text-align: left; background: white;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question svg { flex-shrink: 0; color: var(--primary); transition: transform var(--transition); }
.faq-item.active .faq-question svg { transform: rotate(180deg); }

.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer p {
    padding: 0 24px 20px; font-size: 0.95rem;
    color: var(--text-light); line-height: 1.7;
}

/* ========== QUOTE SECTION ========== */
.quote-section { background: var(--bg-alt); }
.quote-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
}

.quote-info h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
    color: var(--text); line-height: 1.2; margin-bottom: 12px;
}
.quote-info h2 span { color: var(--primary); }
.quote-info > p { color: var(--text-light); line-height: 1.7; margin-bottom: 24px; }

.quote-contact-cards { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
.quote-contact-card {
    display: flex; align-items: center; gap: 16px;
    padding: 16px 20px; border-radius: var(--radius);
    background: white; border: 1px solid var(--border);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.quote-contact-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow); }
.quote-contact-card .icon {
    width: 44px; height: 44px; border-radius: 10px;
    background: rgba(37, 99, 235, 0.08); color: var(--primary);
    display: grid; place-items: center; flex-shrink: 0;
}
.quote-contact-card span { font-size: 0.8rem; color: var(--text-light); }
.quote-contact-card strong { display: block; font-size: 1rem; color: var(--text); }

.quote-badge {
    display: inline-flex; align-items: center; gap: 8px;
    color: var(--primary); font-size: 0.9rem; font-weight: 600;
}

/* Quote Form */
.quote-form {
    background: white; padding: 32px; border-radius: var(--radius-lg);
    border: 1px solid var(--border); box-shadow: var(--shadow);
}
.quote-form h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.quote-form > p { color: var(--text-light); font-size: 0.9rem; margin-bottom: 24px; }

.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 12px 16px; border: 1px solid var(--border);
    border-radius: 8px; font-size: 0.95rem; font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group textarea { resize: vertical; min-height: 100px; }

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

.form-submit {
    width: 100%; padding: 14px; border-radius: 10px; border: none;
    background: var(--primary); color: white;
    font-size: 1rem; font-weight: 600;
    transition: background var(--transition), transform var(--transition);
}
.form-submit:hover { background: var(--primary-dark); transform: translateY(-1px); }

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

/* Deftform embed styling */
.deftform {
    min-height: 200px;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 64px 0; text-align: center;
}
.cta-content { max-width: 600px; margin: 0 auto; }
.cta-content h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: white; margin-bottom: 12px; }
.cta-content p { color: rgba(255,255,255,0.85); font-size: 1.05rem; margin-bottom: 28px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer {
    background: var(--bg-dark); color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px;
    padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-text h1 { color: white; }
.footer-brand > p { font-size: 0.9rem; line-height: 1.7; }

.footer-section h3 { color: white; font-size: 1rem; font-weight: 700; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.9rem; transition: color var(--transition); }
.footer-links a:hover { color: white; }

.footer-contact-item { display: flex; gap: 10px; margin-bottom: 12px; font-size: 0.9rem; }
.footer-contact-item svg { flex-shrink: 0; color: var(--primary-light); }
.footer-contact-item a:hover { color: white; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 0; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.85rem; transition: color var(--transition); }
.footer-legal a:hover { color: white; }

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed; bottom: 24px; right: 24px; z-index: 999;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--primary); color: white;
    display: grid; place-items: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(20px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); }

/* ========== LEGAL PAGES ========== */
.legal-page {
    padding: 120px 0 80px;
}
.legal-content {
    max-width: 800px; margin: 0 auto;
}
.legal-content h1 {
    font-size: 2rem; font-weight: 800; color: var(--text);
    margin-bottom: 8px;
}
.legal-content .last-updated {
    font-size: 0.9rem; color: var(--text-light); margin-bottom: 32px;
}
.legal-content h2 {
    font-size: 1.3rem; font-weight: 700; color: var(--text);
    margin-top: 32px; margin-bottom: 12px;
}
.legal-content p {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
    margin-bottom: 16px;
}
.legal-content ul {
    margin: 0 0 16px 24px;
}
.legal-content li {
    font-size: 0.95rem; color: var(--text-light); line-height: 1.7;
    margin-bottom: 4px;
}
.legal-content a {
    color: var(--primary); text-decoration: underline;
}

/* ========== SITE LINKS ========== */
.site-links {
    background: var(--bg-alt);
    padding: 40px 0;
    border-top: 1px solid var(--border);
}
.site-links-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}
.site-links-col h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
}
.site-links-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-links-col li {
    margin-bottom: 6px;
}
.site-links-col a {
    font-size: 0.85rem;
    color: var(--text-light);
    transition: color var(--transition);
}
.site-links-col a:hover {
    color: var(--primary);
}

/* ========== CHOOSE GRID (for some service pages) ========== */
.choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.choose-card {
    display: flex; gap: 16px; padding: 24px;
    background: white; border-radius: var(--radius); border: 1px solid var(--border);
}
.choose-card svg { width: 32px; height: 32px; color: var(--primary); flex-shrink: 0; }
.choose-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.choose-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.6; }

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

@media (max-width: 768px) {
    .nav { display: none; }
    .header-phone { display: none; }
    .mobile-menu-btn { display: flex; }

    .header-inner {
        padding: 10px 16px;
        gap: 8px;
    }

    .header-btn {
        padding: 0.45rem 0.75rem;
        font-size: 0.78rem;
        min-width: max-content;
    }

    .hero { padding: 100px 20px 60px; min-height: 80vh; }
    .service-hero { min-height: 60vh; }
    .hero h1 { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero-features { gap: 20px; }

    .section { padding: 60px 0; }
    .gallery-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .why-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .header-inner {
        padding: 8px 12px;
        gap: 6px;
    }

    .header-btn {
        padding: 0.4rem 0.65rem;
        font-size: 0.72rem;
    }

    .logo-icon { width: 32px; height: 32px; }
    .logo-text h1 { font-size: 0.95rem; }
    .logo-text span { display: none; }

    .hero { padding: 90px 16px 50px; }
    .hero-buttons { flex-direction: column; }
    .hero-features { flex-direction: column; gap: 16px; }

    .benefits-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .container { padding: 0 16px; }

    .service-hero .hero-content h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-in.visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}