/* ===== CSS VARIABLES ===== */
:root {
    --primary: #0077B6;
    --primary-dark: #005A8C;
    --primary-light: #0096E6;
    --secondary: #90E0EF;
    --secondary-light: #CAF0F8;
    --accent: #00B4D8;
    --dark: #0B1426;
    --dark-alt: #1B2A4A;
    --text: #333740;
    --text-light: #6B7280;
    --text-muted: #9CA3AF;
    --bg: #FFFFFF;
    --bg-alt: #F7FAFC;
    --bg-card: #FFFFFF;
    --border: #E5E7EB;
    --border-light: #F0F2F5;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute; top: -100%; left: 16px; z-index: 10000;
    background: var(--primary); color: white; padding: 12px 24px;
    border-radius: var(--radius); font-weight: 600;
}
.skip-link:focus { top: 16px; }

/* ===== LAYOUT ===== */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }
p { margin-bottom: 1rem; }
.section-title { text-align: center; margin-bottom: 16px; }
.section-subtitle { text-align: center; color: var(--text-light); font-size: 1.125rem; max-width: 640px; margin: 0 auto 48px; }
.section-label { display: inline-block; background: var(--secondary-light); color: var(--primary); font-size: 0.875rem; font-weight: 600; padding: 6px 16px; border-radius: 50px; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.05em; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: var(--radius);
    font-weight: 600; font-size: 1rem; transition: all var(--transition);
    border: 2px solid transparent; cursor: pointer; text-align: center;
    justify-content: center;
}
.btn-primary { background: var(--primary); color: white; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: white; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-secondary { background: white; color: var(--primary); border-color: var(--primary); }
.btn-secondary:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn-ghost:hover { background: white; color: var(--primary); border-color: white; }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 36px; font-size: 1.125rem; }
.btn i { width: 18px; height: 18px; }

/* ===== HEADER ===== */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(255,255,255,0.95); backdrop-filter: blur(12px);
    border-bottom: 1px solid transparent; transition: all var(--transition);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; color: var(--dark); }
.logo:hover { color: var(--dark); }
.logo-icon {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; background: var(--primary); color: white;
    border-radius: 10px; font-weight: 800; font-size: 0.875rem;
    font-family: var(--font-heading);
}
.logo-text { font-family: var(--font-heading); font-weight: 600; }
.logo-text strong { color: var(--primary); }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link { padding: 8px 16px; color: var(--text); font-weight: 500; font-size: 0.9375rem; border-radius: var(--radius); transition: all var(--transition); display: flex; align-items: center; gap: 4px; }
.nav-link:hover { color: var(--primary); background: var(--bg-alt); }
.nav-icon { width: 14px; height: 14px; }
.header-cta { display: none; }
@media (min-width: 1024px) { .header-cta { display: inline-flex; } }

/* Dropdown */
.has-dropdown { position: relative; }
.dropdown {
    position: absolute; top: 100%; left: 0; min-width: 220px;
    background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg);
    padding: 8px; opacity: 0; visibility: hidden; transform: translateY(8px);
    transition: all var(--transition); border: 1px solid var(--border);
}
.has-dropdown.dropdown-open .dropdown,
.has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 16px; color: var(--text); font-size: 0.9375rem; border-radius: 6px; transition: all var(--transition); }
.dropdown a:hover { background: var(--bg-alt); color: var(--primary); }

/* Burger */
.burger { display: none; width: 32px; height: 24px; position: relative; flex-direction: column; justify-content: center; gap: 6px; }
.burger span { display: block; width: 100%; height: 2px; background: var(--dark); border-radius: 2px; transition: all var(--transition); }
.burger.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }

/* ===== MOBILE NAV ===== */
@media (max-width: 1023px) {
    .burger { display: flex; }
    .main-nav {
        position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
        background: white; padding: 24px;
        transform: translateX(100%); transition: transform var(--transition);
        overflow-y: auto;
    }
    .main-nav.open { transform: translateX(0); }
    .nav-list { flex-direction: column; gap: 0; }
    .nav-link { padding: 16px; font-size: 1.125rem; width: 100%; border-bottom: 1px solid var(--border-light); }
    .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; }
    .dropdown a { font-size: 1rem; }
    body.nav-open { overflow: hidden; }
}

/* ===== HERO ===== */
.hero {
    padding: 140px 0 80px; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    color: white; min-height: 600px; display: flex; align-items: center;
}
.hero::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.pexels.com/photos/574069/pexels-photo-574069.jpeg?auto=compress&cs=tinysrgb&h=650&w=940') center/cover;
    opacity: 0.12;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; }
@media (min-width: 768px) { .hero-grid { grid-template-columns: 1.2fr 1fr; gap: 60px; } }
.hero h1 { color: white; margin-bottom: 20px; }
.hero h1 span { color: var(--secondary); }
.hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; margin-bottom: 32px; max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-stat-number { font-size: 2rem; font-weight: 800; color: var(--secondary); font-family: var(--font-heading); }
.hero-stat-label { font-size: 0.875rem; color: rgba(255,255,255,0.6); }

/* Mobile: form first */
@media (max-width: 767px) {
    .hero-grid { display: flex; flex-direction: column-reverse; }
}

/* ===== CARDS ===== */
.card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: var(--radius-lg); padding: 32px; transition: all var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--secondary); }
.card-icon {
    width: 56px; height: 56px; background: var(--secondary-light);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--primary);
}
.card-icon i { width: 28px; height: 28px; }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--text-light); margin-bottom: 16px; }

/* Card Grid */
.card-grid { display: grid; gap: 24px; }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* ===== PRICING / SIMULATOR ===== */
.simulator-wrapper {
    background: white; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg);
    padding: 40px; max-width: 800px; margin: 0 auto; border: 1px solid var(--border);
}
.simulator-option {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px; border: 2px solid var(--border); border-radius: var(--radius);
    margin-bottom: 12px; cursor: pointer; transition: all var(--transition);
}
.simulator-option:hover { border-color: var(--secondary); }
.simulator-option.selected { border-color: var(--primary); background: var(--secondary-light); }
.simulator-option label { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 500; flex: 1; }
.simulator-option input[type="radio"],
.simulator-option input[type="checkbox"] { accent-color: var(--primary); width: 20px; height: 20px; }
.simulator-price { font-weight: 700; color: var(--primary); font-size: 1.125rem; white-space: nowrap; }
.simulator-total {
    background: var(--dark); color: white; border-radius: var(--radius-lg);
    padding: 32px; margin-top: 24px; text-align: center;
}
.simulator-total-amount { font-size: 3rem; font-weight: 800; color: var(--secondary); font-family: var(--font-heading); }
.simulator-total p { color: rgba(255,255,255,0.7); margin-bottom: 20px; }

/* ===== Z-PATTERN SECTIONS ===== */
.z-section { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: center; padding: 60px 0; }
@media (min-width: 768px) { .z-section { grid-template-columns: 1fr 1fr; gap: 60px; } }
.z-section.reverse .z-image { order: -1; }
@media (max-width: 767px) { .z-section.reverse .z-image { order: 0; } }
.z-image { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.z-image img { width: 100%; height: 360px; object-fit: cover; }
.z-content .section-label { text-align: left; }
.z-content h2 { text-align: left; margin-bottom: 16px; }
.z-content p { color: var(--text-light); }
.z-content ul { margin: 20px 0; }
.z-content ul li { padding: 8px 0; padding-left: 28px; position: relative; color: var(--text-light); }
.z-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== PORTFOLIO / REALISATIONS ===== */
.portfolio-card {
    position: relative; overflow: hidden; border-radius: var(--radius-lg);
    aspect-ratio: 16/10;
}
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.portfolio-card:hover img { transform: scale(1.05); }
.portfolio-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 40px 24px 24px; color: white;
}
.portfolio-overlay h3 { color: white; font-size: 1.25rem; margin-bottom: 4px; }
.portfolio-overlay p { color: rgba(255,255,255,0.8); font-size: 0.875rem; margin-bottom: 0; }

/* ===== FAQ ===== */
.faq-item { border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq-question {
    width: 100%; padding: 20px 24px; text-align: left; font-weight: 600;
    font-size: 1rem; display: flex; justify-content: space-between; align-items: center;
    background: white; color: var(--dark); cursor: pointer; transition: all var(--transition);
}
.faq-question:hover { background: var(--bg-alt); }
.faq-question i { width: 20px; height: 20px; transition: transform var(--transition); color: var(--primary); }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: all 0.35s; }
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { color: var(--text-light); margin-bottom: 0; }

/* ===== TALLY FORM CONTAINER ===== */
.form-container { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); border: 1px solid var(--border); }
.form-container iframe { border-radius: var(--radius); }

/* ===== BREADCRUMB ===== */
.breadcrumb { padding: 16px 0; font-size: 0.875rem; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { color: var(--text-muted); margin: 0 8px; }
.breadcrumb strong { color: var(--text); font-weight: 500; }

/* ===== VILLE PAGE ===== */
.ville-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 100%);
    color: white;
}
.ville-hero h1 { color: white; margin-bottom: 16px; }
.ville-hero h1 span { color: var(--secondary); }
.ville-hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; max-width: 700px; }
.ville-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.ville-tag { background: rgba(255,255,255,0.15); color: white; padding: 6px 16px; border-radius: 50px; font-size: 0.8125rem; }
.nearby-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 24px; }
.nearby-city-link {
    display: block; padding: 16px; background: white; border: 1px solid var(--border);
    border-radius: var(--radius); color: var(--text); transition: all var(--transition);
    font-weight: 500;
}
.nearby-city-link:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.nearby-city-link small { display: block; color: var(--text-muted); font-weight: 400; font-size: 0.8125rem; margin-top: 4px; }

/* ===== VILLE LISTING ===== */
.region-section { margin-bottom: 48px; }
.region-title { font-size: 1.5rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--secondary); }
.dept-group { margin-bottom: 24px; }
.dept-title { font-size: 1.125rem; color: var(--primary); margin-bottom: 12px; }
.city-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.city-pill {
    display: inline-block; padding: 6px 14px; background: var(--bg-alt);
    border: 1px solid var(--border); border-radius: 50px; font-size: 0.8125rem;
    color: var(--text); transition: all var(--transition);
}
.city-pill:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white; padding: 80px 0; text-align: center;
}
.cta-section h2 { color: white; margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.85); font-size: 1.125rem; max-width: 580px; margin: 0 auto 32px; }

/* ===== STICKY CTA ===== */
.sticky-cta {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 999;
    background: var(--dark); color: white; padding: 12px 0;
    transform: translateY(100%); transition: transform var(--transition);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.sticky-cta-text { font-size: 0.9375rem; margin-bottom: 0; }
.sticky-cta-text strong { color: var(--secondary); }

/* ===== PAGE HERO (INNER) ===== */
.page-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-alt) 100%);
    color: white; text-align: center;
}
.page-hero h1 { color: white; margin-bottom: 16px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1.125rem; max-width: 640px; margin: 0 auto; }

/* ===== PROCESS STEPS ===== */
.process-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; counter-reset: step; }
.process-step { text-align: center; padding: 32px 24px; position: relative; }
.process-step::before {
    counter-increment: step; content: counter(step);
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px; background: var(--primary); color: white;
    border-radius: 50%; font-size: 1.5rem; font-weight: 800;
    margin: 0 auto 20px; font-family: var(--font-heading);
}
.process-step h3 { margin-bottom: 8px; font-size: 1.125rem; }
.process-step p { color: var(--text-light); font-size: 0.9375rem; margin-bottom: 0; }

/* ===== REVEAL ANIMATION ===== */
.reveal-on-scroll { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal-on-scroll.revealed { opacity: 1; transform: translateY(0); }

/* ===== FOOTER ===== */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 64px 0 0; margin-bottom: 56px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; margin-bottom: 48px; }
.footer-about { min-width: 260px; }
.footer-about p { font-size: 0.9375rem; margin-top: 16px; }
.footer-logo .logo-text { color: white; }
.site-footer h3 { color: white; font-size: 1rem; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 0.05em; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255,255,255,0.6); font-size: 0.9375rem; transition: color var(--transition); }
.site-footer ul a:hover { color: var(--secondary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 24px 0; text-align: center; font-size: 0.875rem; }
.footer-legal { color: rgba(255,255,255,0.4); font-size: 0.8125rem; margin-top: 4px; }

/* ===== CONTACT LAYOUT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) { .contact-form-col { order: -1; } }

/* ===== PAGE CONTENT ===== */
.page-content { padding: 60px 0; }
.page-content h2 { margin-top: 40px; margin-bottom: 16px; }
.page-content h3 { margin-top: 32px; margin-bottom: 12px; }
.page-content p { color: var(--text-light); }
.page-content ul { margin: 16px 0; padding-left: 0; }
.page-content ul li { padding: 8px 0 8px 28px; position: relative; color: var(--text-light); }
.page-content ul li::before { content: '→'; position: absolute; left: 0; color: var(--primary); font-weight: 700; }

/* ===== PRICING TABLE ===== */
.pricing-table { width: 100%; border-collapse: collapse; margin: 24px 0; }
.pricing-table th { background: var(--primary); color: white; padding: 16px 20px; text-align: left; font-weight: 600; }
.pricing-table td { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.pricing-table tr:hover td { background: var(--bg-alt); }
.pricing-table .price-cell { font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ===== SERVICE PAGE ===== */
.service-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin: 40px 0; }
.service-feature { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); }
.service-feature i { color: var(--primary); width: 32px; height: 32px; margin-bottom: 12px; }
.service-feature h4 { margin-bottom: 8px; }
.service-feature p { color: var(--text-light); margin-bottom: 0; font-size: 0.9375rem; }

/* ===== RESPONSIVE ===== */
@media (max-width: 767px) {
    .section { padding: 48px 0; }
    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-stats { flex-wrap: wrap; gap: 20px; }
    .hero-stat { flex: 1; min-width: 100px; }
    .sticky-cta-inner { justify-content: center; text-align: center; }
    .footer-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; }
    .container { padding: 0 16px; }
}

/* ===== PRINT ===== */
@media print {
    .site-header, .sticky-cta, .site-footer { display: none; }
    .hero { padding: 20px 0; min-height: auto; background: none; color: black; }
}