/* ================================================
   Pure Septic Pros — Main Stylesheet
   Mobile-first, clean, conversion-focused
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Open+Sans:wght@400;600&display=swap');

/* --- RESET & BASE --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a4a7a;
    --primary-dark: #0f2d4a;
    --accent: #e8a020;
    --accent-dark: #c47d0a;
    --text: #222222;
    --text-light: #555555;
    --bg-light: #f5f7fa;
    --bg-grey: #ebebeb;
    --white: #ffffff;
    --border: #dddddd;
    --success: #2d7a2d;
    --font-main: 'Open Sans', Arial, sans-serif;
    --font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
    --max-width: 1140px;
    --radius: 4px;
    --shadow: 0 2px 12px rgba(0,0,0,0.10);
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--white);
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--primary-dark); }

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: 1.25;
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.4rem; }

p { margin-bottom: 1rem; }

ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
li { margin-bottom: 0.4rem; }

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER --- */
.psp-header {
    background: var(--primary-dark);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

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

.psp-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.psp-logo span { color: var(--accent); }

.psp-header-phone {
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.2s;
}

.psp-header-phone:hover {
    background: var(--accent-dark);
    text-decoration: none;
    color: var(--white);
}

/* --- NAV --- */
.psp-nav { display: none; }

.psp-nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 4px;
}

.psp-nav a {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background 0.2s;
}

.psp-nav a:hover {
    background: rgba(255,255,255,0.15);
    text-decoration: none;
}

.psp-nav .has-dropdown { position: relative; }

.psp-nav .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    z-index: 100;
}

.psp-nav .has-dropdown:hover .dropdown { display: block; }

.psp-nav .dropdown a {
    display: block;
    padding: 8px 16px;
    border-radius: 0;
    font-size: 0.9rem;
}

/* --- HERO SECTION --- */
.psp-hero {
    background: var(--bg-light);
    padding: 40px 0;
    border-bottom: 3px solid var(--primary);
}

.psp-hero .container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.psp-hero-full {
    grid-column: span 2;
}

.psp-hero-content h1 {
    font-size: 2rem;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.psp-hero-content .subheading {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.psp-trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.psp-badge {
    background: var(--primary);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-family: var(--font-heading);
}

.psp-cta-btn {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background 0.2s, transform 0.1s;
    text-align: center;
}

.psp-cta-btn:hover {
    background: var(--accent-dark);
    text-decoration: none;
    color: var(--white);
    transform: translateY(-1px);
}

.psp-cta-btn.secondary {
    background: var(--primary);
    font-size: 1rem;
    padding: 12px 24px;
}

.psp-cta-btn.secondary:hover { background: var(--primary-dark); }

/* --- LEAD FORM --- */
.psp-form-box {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.psp-form-box h3 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 16px;
    text-align: center;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
}

.psp-form-box .free-quote-img {
    display: block;
    max-width: 200px;
    margin: 0 auto 16px;
}

.psp-form input,
.psp-form textarea,
.psp-form select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 1rem;
    font-family: var(--font-main);
    margin-bottom: 12px;
    color: var(--text);
}

.psp-form input:focus,
.psp-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(26,74,122,0.15);
}

.psp-form label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 4px;
    color: var(--text);
}

.psp-form .required { color: #cc0000; }

.psp-form textarea { height: 90px; resize: vertical; }

.psp-form-submit {
    width: 100%;
    background: var(--accent);
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    transition: background 0.2s;
}

.psp-form-submit:hover { background: var(--accent-dark); }

.psp-form-success {
    background: #e8f5e8;
    border: 1px solid var(--success);
    color: var(--success);
    padding: 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    text-align: center;
    font-weight: 600;
}

.psp-form-error {
    background: #fdecec;
    border: 1px solid #cc0000;
    color: #cc0000;
    padding: 14px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    text-align: center;
}

/* --- SECTIONS --- */
.psp-section { padding: 60px 0; }
.psp-section-alt { background: var(--bg-light); padding: 60px 0; }
.psp-section-dark { background: var(--primary-dark); color: var(--white); padding: 60px 0; }
.psp-section-dark h2 { color: var(--white); }

.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { margin-bottom: 10px; }
.section-title p {
    color: var(--text-light);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- SERVICE BLOCKS --- */
.psp-service-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 50px;
}

.psp-service-block:last-child { margin-bottom: 0; }

.psp-service-block img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.psp-service-block h2 { margin-bottom: 12px; }

.psp-service-block .read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 600;
    color: var(--primary);
    font-family: var(--font-heading);
}

/* --- SERVICE GRID (3 col) --- */
.psp-services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.psp-service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-top: 4px solid var(--primary);
    border-radius: var(--radius);
    padding: 28px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.2s;
}

.psp-service-card:hover { transform: translateY(-3px); }

.psp-service-card h3 { margin-bottom: 10px; }

.psp-service-card .card-link {
    display: inline-block;
    margin-top: 14px;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--accent-dark);
}

/* --- TRUST BAR --- */
.psp-trust-bar { background: var(--primary); padding: 20px 0; }

.psp-trust-bar .container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.psp-trust-item {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.psp-trust-item::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

/* --- FAQ --- */
.psp-faq { margin-top: 20px; }

.psp-faq-item {
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
}

.psp-faq-item:first-child { border-top: 1px solid var(--border); }

.psp-faq-question {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.psp-faq-question::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--primary);
}

.psp-faq-answer {
    padding-top: 12px;
    color: var(--text-light);
    display: none;
}

.psp-faq-item.open .psp-faq-answer { display: block; }
.psp-faq-item.open .psp-faq-question::after { content: "−"; }

/* --- TESTIMONIALS --- */
.psp-testimonials-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.psp-testimonial {
    background: var(--white);
    border-left: 4px solid var(--accent);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    font-style: italic;
}

.psp-testimonial .reviewer {
    font-style: normal;
    font-weight: 600;
    margin-top: 12px;
    color: var(--primary);
    font-family: var(--font-heading);
}

/* --- SERVICE AREAS --- */
.psp-areas-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

.psp-area-link {
    background: var(--bg-light);
    border: 1px solid var(--border);
    padding: 10px 14px;
    border-radius: var(--radius);
    font-weight: 600;
    color: var(--primary);
    text-align: center;
    font-size: 0.9rem;
}

.psp-area-link:hover {
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
}

/* --- MAP SECTION --- */
.psp-map-section { background: var(--bg-grey); padding: 50px 0; }

.psp-map-section iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: var(--radius);
}

/* --- CTA BANNER --- */
.psp-cta-banner {
    background: var(--accent);
    padding: 40px 0;
    text-align: center;
}

.psp-cta-banner h2 {
    color: var(--white);
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.psp-cta-banner p {
    color: var(--white);
    font-size: 1.05rem;
    margin-bottom: 24px;
}

.psp-cta-banner .psp-cta-btn {
    background: var(--white);
    color: var(--accent-dark);
    font-size: 1.2rem;
}

.psp-cta-banner .psp-cta-btn:hover {
    background: var(--primary-dark);
    color: var(--white);
}

/* --- DISCLAIMER --- */
.psp-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
    font-style: italic;
    text-align: center;
    padding: 16px 0 0;
    border-top: 1px solid var(--border);
    margin-top: 30px;
}

/* --- FOOTER --- */
.psp-footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    padding: 50px 0 24px;
}

.psp-footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    margin-bottom: 36px;
}

.psp-footer h4 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 8px;
    display: inline-block;
}

.psp-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.psp-footer ul a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
}

.psp-footer ul a:hover { color: var(--white); text-decoration: none; }

.psp-footer-nap { font-size: 0.9rem; line-height: 1.8; }

.psp-footer-nap strong {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1rem;
    display: block;
    margin-bottom: 6px;
}

.psp-footer-nap a { color: var(--accent); font-weight: 600; }

.psp-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.15);
    padding-top: 20px;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.psp-footer-bottom a { color: rgba(255,255,255,0.6); }

.psp-footer-disclaimer {
    background: rgba(0,0,0,0.2);
    padding: 16px 0;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    text-align: center;
}

.psp-footer-disclaimer p { margin-bottom: 8px; }
.psp-footer-disclaimer p:last-child { margin-bottom: 0; }

/* --- HAMBURGER MOBILE NAV --- */
.psp-hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    background: none;
    border: none;
}

.psp-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s;
}

.psp-mobile-nav {
    display: none;
    background: var(--primary-dark);
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.psp-mobile-nav.open { display: block; }

.psp-mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.psp-mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.1); }

.psp-mobile-nav ul a {
    display: block;
    color: var(--white);
    padding: 12px 0;
    font-family: var(--font-heading);
    font-size: 1rem;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* ================================================
   RESPONSIVE — TABLET 768px+
   ================================================ */
@media (min-width: 768px) {
    h1 { font-size: 2.6rem; }
    h2 { font-size: 2rem; }

    .psp-nav { display: flex; }
    .psp-hamburger { display: none; }

    .psp-hero .container {
        grid-template-columns: 1.8fr 1fr;
        align-items: start;
    }

    .psp-hero-content h1 { font-size: 2.4rem; }

    .psp-service-block { grid-template-columns: 1fr 1fr; }
    .psp-service-block.reverse > *:first-child { order: 2; }
    .psp-service-block.reverse > *:last-child { order: 1; }

    .psp-services-grid { grid-template-columns: repeat(2, 1fr); }
    .psp-testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .psp-areas-grid { grid-template-columns: repeat(3, 1fr); }
    .psp-footer-grid { grid-template-columns: repeat(2, 1fr); }
    .psp-map-section iframe { height: 380px; }
}

/* ================================================
   RESPONSIVE — DESKTOP 1024px+
   ================================================ */
@media (min-width: 1024px) {
    .psp-services-grid { grid-template-columns: repeat(3, 1fr); }
    .psp-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .psp-hero-content h1 { font-size: 2.8rem; }
}
