/* Leak Detection Pros - Emerald/Teal Color Scheme */
/* Modern gradient design with diagonal elements */

:root {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10b981;
    --secondary: #0d9488;
    --accent: #f97316;
    --accent-dark: #ea580c;
    --text: #0f172a;
    --text-light: #475569;
    --text-muted: #94a3b8;
    --bg: #ffffff;
    --bg-light: #f0fdf4;
    --bg-dark: #064e3b;
    --border: #d1d5db;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --radius: 16px;
    --radius-sm: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header - Transparent overlap */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 20px 0;
    background: transparent;
    transition: var(--transition);
}

.header.scrolled {
    position: fixed;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    padding: 12px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

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

.logo svg {
    width: 44px;
    height: 44px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav a {
    font-weight: 500;
    color: white;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
}

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

.nav a:not(.header-phone):hover {
    color: var(--primary-light);
}

.header.scrolled .nav a:not(.header-phone):hover {
    color: var(--primary);
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white !important;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.05rem;
    text-shadow: none !important;
    box-shadow: 0 4px 14px rgba(249, 115, 22, 0.4);
    text-shadow: none;
}

.header-phone:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.5);
    color: white !important;
}

.header-phone svg {
    width: 20px;
    height: 20px;
}

.mobile-menu-btn {
    display: none;
    background: rgba(255,255,255,0.2);
    border: none;
    cursor: pointer;
    padding: 12px;
    border-radius: 8px;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
    color: white;
}

.header.scrolled .mobile-menu-btn {
    background: var(--bg-light);
}

.header.scrolled .mobile-menu-btn svg {
    color: var(--text);
}

/* Hero - Diagonal split design */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 30%, var(--primary-dark) 60%, var(--primary) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.3) 0%, rgba(6, 78, 59, 0.5) 100%);
    clip-path: polygon(30% 0, 100% 0, 100% 100%, 60% 100%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, rgba(255,255,255,0.1), transparent);
}

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

.hero-content {
    max-width: 650px;
    padding: 100px 0 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-badge svg {
    width: 18px;
    height: 18px;
}

.hero h1 {
    color: white;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 18px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.hero-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
    color: white;
}

.hero-cta svg {
    width: 24px;
    height: 24px;
}

/* Stats bar */
.stats-bar {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sections */
.section {
    padding: 100px 0;
}

.section-alt {
    background: var(--bg-light);
}

.section-dark {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--bg-dark) 100%);
    color: white;
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
    color: white;
}

.section-dark p {
    color: rgba(255,255,255,0.8);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto;
}

.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--secondary) 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

/* Services Grid - Card style with hover effects */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--bg);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover img {
    transform: scale(1.05);
}

.service-card-content {
    padding: 28px;
}

.service-card h3 {
    color: var(--text);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-light);
    margin-bottom: 16px;
    line-height: 1.7;
}

.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.service-card a:hover {
    gap: 12px;
    color: var(--primary-dark);
}

/* Features - Icon boxes */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.feature-box {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-box:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
}

.feature-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 36px;
    height: 36px;
    color: white;
}

.feature-box h4 {
    color: var(--text);
    margin-bottom: 12px;
}

.feature-box p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Cities Grid */
.cities-section {
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--bg) 100%);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    margin-top: 32px;
}

.city-link {
    display: block;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    color: var(--text);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.city-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary);
    transform: scaleY(0);
    transition: var(--transition);
}

.city-link:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateX(4px);
}

.city-link:hover::before {
    transform: scaleY(1);
}

/* FAQ - Accordion style */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: var(--primary);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 28px;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-question svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question.active svg {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-content {
    padding: 0 28px 24px;
    color: var(--text-light);
    line-height: 1.8;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1.5" fill="white" opacity="0.08"/><circle cx="40" cy="70" r="2.5" fill="white" opacity="0.05"/></svg>');
    background-size: 200px 200px;
}

.cta-section h2 {
    position: relative;
    z-index: 2;
    margin-bottom: 1rem;
}

.cta-section p {
    position: relative;
    z-index: 2;
    opacity: 0.9;
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.cta-phone {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 20px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.4rem;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.4);
}

.cta-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(249, 115, 22, 0.5);
    color: white;
}

.cta-phone svg {
    width: 28px;
    height: 28px;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    line-height: 1.8;
}

.footer-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-light);
    font-size: 1.25rem;
    font-weight: 700;
    transition: var(--transition);
}

.footer-phone:hover {
    color: white;
}

.footer-phone svg {
    width: 24px;
    height: 24px;
}

.footer h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    color: var(--primary-light);
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 14px;
}

.footer ul a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer ul a:hover {
    color: white;
    padding-left: 8px;
}

.disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 24px;
    border-radius: var(--radius);
    margin-top: 32px;
}

.disclaimer p {
    color: rgba(255,255,255,0.6);
    font-size: 0.875rem;
    line-height: 1.8;
    margin: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
    margin-top: 32px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Mobile Sticky Bar */
.mobile-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    padding: 12px 16px;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.mobile-sticky-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: white;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-sticky-bar a svg {
    width: 22px;
    height: 22px;
}

/* Page Hero for inner pages */
.page-hero {
    background: linear-gradient(135deg, #064e3b 0%, var(--primary-dark) 50%, var(--primary) 100%);
    color: white;
    padding: 140px 0 80px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, transparent 100%);
    clip-path: polygon(50% 0, 100% 0, 100% 100%, 0 100%);
}

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

.page-hero h1 {
    color: white;
    margin-bottom: 1rem;
}

.page-hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    margin: 0;
}

/* Content Section */
.content-section {
    padding: 80px 0;
}

.content-section h2 {
    color: var(--text);
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.content-section h2:first-child {
    margin-top: 0;
}

.content-section ul {
    list-style: none;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

.content-section li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--text-light);
}

.content-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* Service Rows with Images */
.services-with-images {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.service-row {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: center;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid transparent;
}

.service-row:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-row:nth-child(even) {
    direction: rtl;
}

.service-row:nth-child(even) > * {
    direction: ltr;
}

.service-img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    border-radius: var(--radius-sm);
}

.service-content h3 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

/* City Intro */
.city-intro {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.city-intro p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.city-intro p:last-child {
    margin-bottom: 0;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    text-align: center;
}

.contact-section h1 {
    margin-bottom: 1rem;
}

.availability {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
    color: white;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    margin: 1.5rem 0;
}

.phone-large {
    font-size: 3rem;
    font-weight: 800;
    margin: 2rem 0;
}

.phone-large a {
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.phone-large a:hover {
    opacity: 0.85;
}

/* Responsive */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
    
    .service-row {
        grid-template-columns: 1fr;
    }
    
    .service-row:nth-child(even) {
        direction: ltr;
    }
    
    .service-img {
        height: 200px;
    }
    
    .hero-content {
        padding: 80px 0 60px;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 24px;
    }
    
    .nav {
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 0;
    }
    
    .nav {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        z-index: 1000;
    }
    
    .nav.active {
        display: flex;
    }
    
    .nav a {
        color: white !important;
        font-size: 1.25rem;
        text-shadow: none;
    }
    
    .nav .header-phone {
        margin-top: 16px;
    }
    
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }
    
    .mobile-sticky-bar {
        display: block;
    }
    
    body {
        padding-bottom: 72px;
    }
    
    .hero {
        min-height: auto;
        padding: 120px 0 80px;
    }
    
    .hero::before,
    .hero::after {
        display: none;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-cta {
        padding: 16px 28px;
        font-size: 1rem;
        width: 100%;
        justify-content: center;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .stat-item {
        text-align: left;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-box {
        padding: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero {
        padding: 100px 0 60px;
    }
    
    .phone-large {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-phone {
        padding: 16px 28px;
        font-size: 1.1rem;
    }
    
    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 20px 20px;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.25rem;
    }
    
    .logo svg {
        width: 36px;
        height: 36px;
    }
    
    .service-card-content {
        padding: 20px;
    }
    
    .service-row {
        padding: 20px;
    }
    
    .service-img {
        height: 180px;
    }
}