/* ============================================
   Tulsa Sewer and Drain - Master Stylesheet
   Human First, Google Second
   ============================================ */

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

:root {
    --primary: #1a3a5c;
    --primary-dark: #0f2338;
    --primary-light: #2c5282;
    --accent: #e8640a;
    --accent-dark: #c45208;
    --accent-light: #f6ad55;
    --text: #2d3748;
    --text-light: #4a5568;
    --gray: #6b7280;
    --light-bg: #f4f7fa;
    --white: #ffffff;
    --success: #10b981;
    --border: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Arial Narrow', sans-serif;
    font-weight: 600;
    line-height: 1.25;
    color: var(--primary);
}

a { color: var(--accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--accent-dark); }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Top Bar */
.topbar {
    background: var(--primary-dark);
    color: #cbd5e0;
    padding: 8px 0;
    font-size: 14px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.topbar a { color: var(--accent-light); font-weight: 600; }
.topbar a:hover { color: var(--white); }
.topbar-left { display: flex; gap: 20px; flex-wrap: wrap; }
.topbar-left span { display: flex; align-items: center; gap: 5px; }

/* Header */
.header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header .container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-icon {
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 24px;
}
.logo-text { font-family: 'Oswald', sans-serif; font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1; }
.logo-text small { display: block; font-size: 11px; color: var(--gray); font-weight: 400; letter-spacing: 1px; }

.nav { display: flex; gap: 30px; align-items: center; }
.nav a { color: var(--text); font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a.active { color: var(--accent); }
.nav-cta {
    background: var(--accent);
    color: var(--white) !important;
    padding: 10px 22px;
    border-radius: 6px;
    transition: all 0.2s;
}
.nav-cta:hover { background: var(--accent-dark); color: var(--white) !important; transform: translateY(-1px); }

.mobile-toggle { display: none; background: none; border: none; font-size: 28px; color: var(--primary); cursor: pointer; }

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 60px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.2fr 1fr; gap: 50px; align-items: center; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(232, 100, 10, 0.15);
    color: var(--accent-light);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(232, 100, 10, 0.3);
}
.hero h1 { color: var(--white); font-size: 48px; line-height: 1.15; margin-bottom: 20px; }
.hero h1 span { color: var(--accent-light); }
.hero p { font-size: 18px; color: #cbd5e0; margin-bottom: 25px; }
.hero-features { display: flex; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.hero-features div { display: flex; align-items: center; gap: 8px; color: #e2e8f0; font-size: 15px; }
.hero-features div::before { content: '✓'; background: var(--accent); color: var(--white); width: 22px; height: 22px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 13px; }
.hero-buttons { display: flex; gap: 15px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
    justify-content: center;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 8px 16px rgba(232, 100, 10, 0.3); }
.btn-secondary { background: var(--white); color: var(--primary); }
.btn-secondary:hover { background: var(--light-bg); color: var(--primary); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

/* Hero Form Card */
.hero-form-card {
    background: var(--white);
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    color: var(--text);
}
.hero-form-card h3 { color: var(--primary); font-size: 24px; margin-bottom: 8px; }
.hero-form-card p.lead { color: var(--gray); font-size: 14px; margin-bottom: 20px; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(232, 100, 10, 0.1);
}
.form-group textarea { min-height: 90px; resize: vertical; }
.form-trust { text-align: center; font-size: 12px; color: var(--gray); margin-top: 10px; }
.form-trust strong { color: var(--success); }

/* Trust Bar */
.trust-bar {
    background: var(--white);
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
}
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.trust-item { text-align: center; }
.trust-icon {
    width: 60px; height: 60px;
    background: var(--light-bg);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 12px;
    font-size: 28px;
    color: var(--accent);
}
.trust-item h4 { font-size: 17px; margin-bottom: 5px; color: var(--primary); }
.trust-item p { font-size: 14px; color: var(--gray); }

/* Sections */
section { padding: 70px 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 50px; }
.section-tag {
    display: inline-block;
    background: rgba(232, 100, 10, 0.1);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 15px;
}
.section-header h2 { font-size: 38px; margin-bottom: 15px; }
.section-header p { font-size: 17px; color: var(--text-light); }

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

/* Services Grid */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.service-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transition: all 0.3s;
    border: 1px solid var(--border);
    text-align: center;
}
.service-card:hover { transform: translateY(-5px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); border-color: var(--accent-light); }
.service-icon {
    width: 70px; height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 32px;
}
.service-card h3 { font-size: 20px; margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-light); margin-bottom: 15px; }
.service-card a { font-weight: 600; font-size: 14px; }
.service-card a::after { content: ' →'; }

/* Two Column */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.two-col img { border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }
.feature-list { list-style: none; margin-top: 20px; }
.feature-list li {
    padding: 12px 0 12px 35px;
    position: relative;
    font-size: 16px;
    border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0; top: 12px;
    width: 24px; height: 24px;
    background: var(--accent);
    color: var(--white);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px;
    font-weight: bold;
}

/* Stats */
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.stat-box {
    background: var(--white);
    padding: 30px 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-top: 4px solid var(--accent);
}
.stat-box .num { font-family: 'Oswald', sans-serif; font-size: 42px; font-weight: 700; color: var(--accent); line-height: 1; }
.stat-box .label { font-size: 14px; color: var(--text-light); margin-top: 5px; text-transform: uppercase; letter-spacing: 1px; }

/* Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.review-card {
    background: var(--white);
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent);
}
.stars { color: #f6ad55; font-size: 18px; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { font-size: 15px; color: var(--text); margin-bottom: 15px; font-style: italic; line-height: 1.7; }
.reviewer { display: flex; align-items: center; gap: 12px; }
.reviewer-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-weight: 700; font-size: 18px;
}
.reviewer-info strong { display: block; color: var(--primary); font-size: 15px; }
.reviewer-info small { color: var(--gray); font-size: 13px; }

/* Service Areas */
.areas-wrap { text-align: center; max-width: 950px; margin: 0 auto; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 25px; }
.area-tag {
    background: var(--white);
    color: var(--primary);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    border: 2px solid var(--border);
    transition: all 0.2s;
}
.area-tag:hover { border-color: var(--accent); color: var(--accent); background: var(--white); }

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: var(--white);
    text-align: center;
}
.cta-section h2 { color: var(--white); font-size: 36px; margin-bottom: 15px; }
.cta-section p { font-size: 18px; color: #cbd5e0; margin-bottom: 30px; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* FAQ */
.faq-wrap { max-width: 850px; margin: 0 auto; }
.faq-item {
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 17px;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--white);
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
}
.faq-question::after { content: '+'; font-size: 24px; color: var(--accent); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.7;
}
.faq-item.open .faq-answer { padding: 0 25px 20px; max-height: 500px; }

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    color: var(--white);
    padding: 60px 0 50px;
    text-align: center;
}
.page-banner h1 { color: var(--white); font-size: 42px; margin-bottom: 10px; }
.page-banner .breadcrumb { font-size: 14px; color: #cbd5e0; }
.page-banner .breadcrumb a { color: var(--accent-light); }

/* Service Page */
.service-content { max-width: 1100px; margin: 0 auto; }
.service-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.service-main h2 { font-size: 30px; margin: 30px 0 15px; }
.service-main h3 { font-size: 22px; margin: 25px 0 10px; }
.service-main p { margin-bottom: 15px; font-size: 16px; color: var(--text); }
.service-main ul { margin: 15px 0 15px 25px; }
.service-main li { margin-bottom: 8px; font-size: 16px; }

.sidebar { position: sticky; top: 100px; align-self: start; }
.sidebar-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    margin-bottom: 20px;
    border-top: 4px solid var(--accent);
}
.sidebar-card h3 { font-size: 20px; margin-bottom: 15px; color: var(--primary); }
.sidebar-card .btn { width: 100%; }
.sidebar-phone { font-size: 28px; font-weight: 700; color: var(--accent); display: block; text-align: center; margin: 15px 0; font-family: 'Oswald', sans-serif; }

/* Price Box */
.price-box {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    padding: 25px;
    border-radius: 12px;
    margin: 25px 0;
}
.price-box h3 { color: var(--white); margin-bottom: 10px; }
.price-box .price { font-size: 36px; font-weight: 700; font-family: 'Oswald', sans-serif; color: var(--accent-light); }
.price-box small { display: block; color: #cbd5e0; }

/* Footer */
.footer {
    background: var(--primary-dark);
    color: #cbd5e0;
    padding: 60px 0 25px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--white); font-size: 16px; margin-bottom: 20px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #cbd5e0; font-size: 14px; }
.footer-col a:hover { color: var(--accent-light); }
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 15px; }
.footer-bottom { border-top: 1px solid #2c3e50; padding-top: 25px; text-align: center; font-size: 13px; color: #8b95a3; }

/* Mobile Sticky Call */
.mobile-call {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--accent);
    color: var(--white);
    text-align: center;
    padding: 16px;
    font-size: 18px;
    font-weight: 700;
    z-index: 999;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.2);
}
.mobile-call:hover { color: var(--white); background: var(--accent-dark); }

/* Emergency Banner */
.emergency-banner {
    background: #dc2626;
    color: var(--white);
    text-align: center;
    padding: 12px;
    font-weight: 600;
    font-size: 15px;
}
.emergency-banner a { color: var(--white); text-decoration: underline; font-weight: 700; }

/* Responsive */
@media (max-width: 968px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero h1 { font-size: 36px; }
    .two-col { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .service-layout { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; gap: 15px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
    .nav.active { display: flex; }
    .mobile-toggle { display: block; }
    .mobile-call { display: block; }
    .section-header h2 { font-size: 30px; }
    body { padding-bottom: 60px; }
}

@media (max-width: 568px) {
    .services-grid { grid-template-columns: 1fr; }
    .trust-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 30px; }
    .section-header h2 { font-size: 26px; }
    .page-banner h1 { font-size: 30px; }
    .topbar-left { font-size: 12px; gap: 12px; }
}
