:root {
    --primary: #4f46e5;
    --primary-dark: #3730a3;
    --secondary: #ef4444;
    --whatsapp: #25D366;
    --dark: #0f172a;
    --light: #f8fafc;
    --white: #ffffff;
    --text: #334155;
    --text-muted: #64748b;
    --border: #e2e8f0;
}

* { box-sizing: border-box; }

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    background-color: var(--light);
    margin: 0;
    line-height: 1.6;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

h1, h2, h3, h4 { color: var(--dark); font-weight: 800; line-height: 1.2; margin-top: 0; }
a { text-decoration: none; transition: 0.3s; }
.text-center { text-align: center; }
.text-white { color: white; }
.bg-white { background-color: var(--white); }
.bg-light { background-color: #f1f5f9; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

.btn-sm { padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.125rem; }
.btn-block { width: 100%; }

.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: var(--primary-dark); transform: translateY(-2px); }

.btn-outline { border: 2px solid var(--white); color: var(--white); background: transparent; }
.btn-outline:hover { background: var(--white); color: var(--dark); }

.btn-white { background: white; color: var(--primary); }

/* Header */
header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; }
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.slogan { font-size: 0.875rem; color: var(--secondary); font-weight: 700; margin-top: 2px; }
.nav-links { display: none; }
.nav-links a { font-weight: 500; color: var(--text); margin: 0 1rem; }
.nav-links a:hover { color: var(--primary); }
.header-cta { display: flex; align-items: center; gap: 1.5rem; }
.phone-link { font-weight: 700; color: var(--dark); }

.mobile-menu-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: white;
    color: var(--dark);
    border-radius: 0.5rem;
    width: 42px; height: 42px;
    align-items: center; justify-content: center; font-size: 1.25rem; font-weight: 900;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 10rem 0;
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.4));
}

.hero-content { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; }
.trust-pill {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    padding: 0.5rem 1.25rem;
    border-radius: 999px;
    font-size: 0.875rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-section h1 { font-size: clamp(2.5rem, 5vw, 4rem); color: white; margin-bottom: 1.5rem; }
.hero-section p { font-size: 1.25rem; opacity: 0.9; margin-bottom: 3rem; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.hero-image { margin-bottom: 1rem; }
.hero-image img { width: 100%; max-height: 360px; object-fit: cover; border-radius: 1rem; box-shadow: 0 8px 24px rgba(0,0,0,0.25); }

/* Grid System */
.grid { display: grid; gap: 2rem; }
.services-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.why-us-grid { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.process-grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 4rem; }
.pricing-grid { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.footer-grid { grid-template-columns: 2fr 1fr 1.5fr; }

/* Sections Styling */
section { padding: 8rem 0; }
.section-header { max-width: 600px; margin: 0 auto 4rem; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 1rem; }

/* Cards */
.card { background: white; padding: 2rem; border-radius: 1rem; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.05); }

.service-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    transition: 0.4s;
    border: 1px solid var(--border);
}

.service-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.service-icon { font-size: 3rem; margin-bottom: 1.5rem; background: #eff6ff; width: 80px; height: 80px; display: inline-flex; align-items: center; justify-content: center; border-radius: 1rem; }

/* Why Us */
.why-item { text-align: center; padding: 2rem; background: white; border-radius: 1rem; }
.why-item span { font-size: 2.5rem; display: block; margin-bottom: 1rem; }
.why-item h4 { margin: 0; font-size: 1.125rem; }

/* Process */
.process-card { position: relative; padding-top: 2rem; }
.step {
    width: 50px; height: 50px; background: var(--primary); color: white; 
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.25rem; font-weight: 900; margin: 0 auto 1.5rem;
}

/* Pricing */
.pricing-card { border: 1px solid var(--border); padding: 2rem; text-align: center; border-radius: 1rem; }
.price { font-size: 2rem; font-weight: 800; color: var(--primary); margin: 1rem 0 0; }

/* Quote Section */
.quote-section { background: linear-gradient(to bottom, #f8fafc 50%, #eff6ff 100%); }
.quote-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 3rem; overflow: hidden; }
.check-list { list-style: none; padding: 0; margin-top: 2rem; }
.check-list li::before { content: '✅'; margin-right: 0.75rem; }
.check-list li { margin-bottom: 1rem; font-weight: 600; }

.form-group { margin-bottom: 1rem; }
.form-control { width: 100%; padding: 1rem; border: 1px solid var(--border); border-radius: 0.5rem; font-family: inherit; font-size: 1rem; }
textarea.form-control { height: 120px; resize: vertical; }

/* Emergency Banner */
.emergency-banner { background-color: var(--secondary); color: white; padding: 6rem 0; }
.emergency-banner h3 { color: white; font-size: 2.5rem; margin-bottom: 1rem; }
.huge-phone { font-size: 3.5rem; font-weight: 900; margin: 2rem 0; }

/* FAQ */
.faq-grid { max-width: 800px; margin: 0 auto; }
.faq-item { background: white; margin-bottom: 1rem; border-radius: 0.5rem; padding: 1.25rem; border: 1px solid var(--border); }
.faq-item summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; }
.faq-item[open] summary::after { content: '-'; }
.faq-item p { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); color: var(--text-muted); }

/* Footer */
footer { background: var(--dark); color: #94a3b8; padding: 6rem 0 2rem; }
.footer-grid h4 { color: white; margin-bottom: 1.5rem; font-size: 1.25rem; }
.footer-links a { display: block; color: inherit; margin-bottom: 0.75rem; }
.footer-links a:hover { color: white; padding-left: 0.5rem; }
.footer-bottom { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); text-align: center; }

@media (max-width: 768px) {
    .header-cta { display: none; }
    .nav-links { display: none; }
    .mobile-menu-toggle { display: inline-flex; }
    .hero-section { padding: 6rem 0; }
    .quote-container { grid-template-columns: 1fr; padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .huge-phone { font-size: 2rem; }
    section { padding: 4rem 0; }
}

.mobile-call-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    display: none;
    background: var(--primary);
    color: #ffffff;
    font-weight: 800;
    text-align: center;
    padding: 1rem 1.5rem;
    z-index: 1001;
    box-shadow: 0 -6px 18px rgba(0,0,0,0.15);
}

.legal-page .content-body { white-space: pre-line; line-height: 1.85; color: var(--text); }
.legal-page .content-body h1,
.legal-page .content-body h2,
.legal-page .content-body h3,
.legal-page .content-body h4,
.legal-page .content-body h5,
.legal-page .content-body h6 { margin: 1.25rem 0 0.75rem; }
.legal-page .content-body p { margin: 0 0 1rem; }
.legal-page .content-body ul, .legal-page .content-body ol { margin: 0.75rem 0 1rem 1.5rem; }
.legal-page .content-body li { margin: 0.25rem 0; }
.legal-page .content-body a { color: var(--primary); text-decoration: underline; }
.legal-page .content-body blockquote { margin: 1rem 0; padding: 0.75rem 1rem; border-left: 4px solid var(--primary); background: #f8fafc; }
.legal-page .content-body hr { border: none; border-top: 1px solid var(--border); margin: 2rem 0; }
.legal-page .content-body pre, .legal-page .content-body code { background: #f1f5f9; padding: 0.5rem 0.75rem; border-radius: 0.5rem; }
.legal-page .content-body table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.legal-page .content-body th, .legal-page .content-body td { border: 1px solid var(--border); padding: 0.5rem 0.75rem; text-align: left; }
.mobile-call-bar:hover { background: var(--primary-dark); color: #ffffff; }
@media (max-width: 1024px) {
    .mobile-call-bar { display: block; }
    body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

.whatsapp-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1002;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--whatsapp);
    color: #ffffff;
    font-weight: 800;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
}
.whatsapp-fab svg { display: inline-block; vertical-align: middle; }
.whatsapp-fab span { line-height: 1; }
.whatsapp-fab:hover { filter: brightness(0.95); transform: translateY(-2px); }
@media (max-width: 1024px) { .whatsapp-fab { bottom: 6.5rem; } }

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
}
.modal-overlay.show { display: flex; }
.modal-card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem;
    max-width: 420px;
    width: calc(100% - 2rem);
    text-align: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.modal-card h3 { margin: 0 0 0.75rem; }
.modal-actions { margin-top: 1rem; display: flex; gap: 0.75rem; justify-content: center; }

.mobile-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: none; z-index: 1200; }
.mobile-overlay.show { display: block; }
.mobile-sidebar { position: fixed; top: 0; right: 0; width: 280px; height: 100vh; background: #ffffff; box-shadow: -12px 0 24px rgba(0,0,0,0.15); transform: translateX(100%); transition: transform 0.3s ease; z-index: 1201; padding: 1.25rem; display: flex; flex-direction: column; }
.mobile-sidebar.open { transform: translateX(0); }
.mobile-sidebar .top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.mobile-sidebar .menu { display: flex; flex-direction: column; gap: 0.75rem; }
.mobile-sidebar .menu a { font-weight: 700; color: var(--text); }
.mobile-sidebar .menu a:hover { color: var(--primary); }
.mobile-close { border: none; background: #f1f5f9; width: 36px; height: 36px; border-radius: 0.5rem; font-size: 1.25rem; }

.mobile-menu { position: fixed; right: 1rem; top: 64px; width: 240px; background: #ffffff; border: 1px solid var(--border); box-shadow: 0 12px 28px rgba(0,0,0,0.15); border-radius: 0.75rem; padding: 0.75rem; display: none; z-index: 1201; }
.mobile-menu.show { display: block; }
.mobile-menu a { display: block; padding: 0.5rem 0.75rem; border-radius: 0.5rem; font-weight: 700; color: var(--text); }
.mobile-menu a:hover { background: #f8fafc; color: var(--primary); }

@media (max-width: 768px) {
  .mobile-menu { left: 0; right: 0; width: auto; top: 58px; }
}
