/**
 * Theme Name: ezPool HTX
 * Theme URI: https://ezpoolhtx.com
 * Author: Mason for ezPool HTX
 * Author URI: https://ezpoolhtx.com
 * Description: Professional high-converting pool service website for Houston. Clean, modern, local.
 * Version: 2.1.5
 * License: GPL v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Text Domain: ezpool-htx
 * Tags: pool-service, responsive, custom-colors, conversion-optimized
 */

/* ════════════════════════════════════════════════════════
   TABLE OF CONTENTS
   1. CSS Custom Properties
   2. Reset & Base
   3. Typography
   4. Layout (Container, Sections)
   5. Buttons
   6. Header & Navigation
   7. Hero Section
   8. Offer Banner
   9. Trust Bar
   10. Services Section
   11. Emotional Benefit
   12. What's Included
   13. Pricing
   14. Signs You Need
   15. Why DIY Costs More
   16. How It Works
   17. Before & After
   18. Why Choose Us
   19. Comparison Table
   20. Service Areas
   21. Equipment
   22. Reviews
   23. FAQ
   24. Tips
   25. Guarantee
   26. Final CTA
   27. Footer
   28. Sticky Mobile CTA
   29. Floating Desktop Buttons
   30. Animations
   31. Responsive
   ════════════════════════════════════════════════════════ */

/* ───── 1. CSS CUSTOM PROPERTIES ───── */
:root {
    /* Colors */
    --navy:          #0B1627;
    --navy-light:    #162744;
    --pool-blue:     #1856A0;
    --pool-blue-light:#4A90E2;
    --deep-water:    #003A98;
    --gold:          #E9AF02;
    --gold-dark:     #C89300;
    --off-white:     #EFF0F1;
    --white:         #ffffff;
    --gray-bg:       #F5F7FA;
    --gray-border:   #E2E8F0;
    --text-dark:     #1a2332;
    --text-body:     #374151;
    --text-muted:    #6B7280;
    --text-on-dark:  #CBD5E1;
    --success:       #10B981;
    --danger:        #EF4444;
    --warning:       #F59E0B;

    /* Shadows */
    --shadow-sm:     0 1px 2px rgba(0,0,0,0.05);
    --shadow-md:     0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg:     0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl:     0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --shadow-gold:   0 4px 14px rgba(233,175,2,0.35);
    --shadow-gold-lg:0 8px 30px rgba(233,175,2,0.4);

    /* Spacing */
    --max-width:     1150px;
    --section-pad-y: 80px;
    --section-pad-y-mobile: 48px;
    --card-radius:   16px;
    --btn-radius:    10px;

    /* Typography */
    --font-body:     'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --h1-size:       3.2rem;
    --h2-size:       2.4rem;
    --h3-size:       1.5rem;
    --body-size:     1.05rem;
    --small-size:    0.9rem;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

p:empty { margin: 0; padding: 0; }

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

a { text-decoration: none; transition: all 0.25s ease; }

/* ───── 3. TYPOGRAPHY ───── */
h1, h2, h3, h4 { font-weight: 700; line-height: 1.25; }

h1 { font-size: var(--h1-size); }
h2 { font-size: var(--h2-size); }
h3 { font-size: var(--h3-size); }

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

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-white  { color: #fff; }
.text-muted  { color: var(--text-muted); }
.text-success{ color: var(--success); }

.mb-0 { margin-bottom: 0 !important; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

/* ───── 4. LAYOUT ───── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: var(--section-pad-y) 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px;
}

.section-header h2 {
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    font-size: 1.0rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* Section backgrounds */
.bg-white       { background: var(--white); }
.bg-gray        { background: var(--gray-bg); }
.bg-navy        { background: var(--navy); color: var(--off-white); }
.bg-navy .section-header h2 { color: #fff; }
.bg-navy .section-header p { color: var(--text-on-dark); }
.bg-gradient-blue {
    background: linear-gradient(135deg, var(--pool-blue) 0%, var(--deep-water) 100%);
    color: #fff;
}
.bg-gradient-blue .section-header h2 { color: #fff; }

/* ───── 5. BUTTONS ───── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 36px;
    border-radius: var(--btn-radius);
    font-weight: 700;
    font-size: 1.05rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1.0rem;
    border-radius: 12px;
}

.btn-primary {
    background: var(--gold);
    color: var(--navy);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold-lg);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--gray-border);
}
.btn-secondary:hover {
    border-color: var(--pool-blue);
    color: var(--pool-blue);
    background: rgba(24,86,160,0.04);
}

.btn-outline-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

.btn-green {
    background: var(--success);
    color: #fff;
    box-shadow: 0 4px 14px rgba(16,185,129,0.35);
}
.btn-green:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16,185,129,0.4);
}

.btn-full { width: 100%; }

/* ───── 6. HEADER & NAVIGATION ───── */
.site-header {
    position: sticky;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-brand a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}
.site-brand a span {
    color: var(--pool-blue);
}

.main-nav { display: flex; gap: 32px; list-style: none; margin: 0; }
.main-nav li { margin: 0; position: relative; }
.main-nav a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
}
.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--pool-blue);
    transition: width 0.3s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--pool-blue); }

.header-cta .btn {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-dark);
    font-size: 1.5rem;
    cursor: pointer;
}

/* --- Dropdown Menus --- */
.main-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 999;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav .sub-menu li { padding: 0; }
.main-nav .sub-menu a {
    display: block;
    padding: 10px 20px;
    font-size: 0.9rem;
    color: var(--text-dark);
    white-space: nowrap;
    border-bottom: 1px solid var(--gray-border);
}
.main-nav .sub-menu li:last-child a { border-bottom: none; }
.main-nav .sub-menu a:hover {
    color: var(--pool-blue);
    background: rgba(37, 99, 235, 0.04);
}
.main-nav .sub-menu a::after { display: none; }
/* ───── 7. HERO SECTION ───── */
.hero {
    position: relative;
    min-height: 62vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 24px 48px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-image: url("/wp-content/uploads/2026/06/hero-bright.png");
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(11,22,39,0.45) 0%, rgba(11,22,39,0.65) 50%, rgba(11,22,39,0.85) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.2rem;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.92);
    margin-bottom: 28px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Trust badges: single row on desktop */
.hero-trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
    margin-bottom: 32px;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    background: rgba(255,255,255,0.12);
    padding: 7px 14px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
    white-space: nowrap;
}

.hero-trust-icon { font-size: 1.1rem; }

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.hero-ctas .btn { min-width: 220px; }

.hero-phone {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    margin-top: 8px;
}

/* ───── 8. OFFER BANNER ───── */
.offer-banner {
    background: linear-gradient(135deg, var(--pool-blue) 0%, var(--deep-water) 100%);
    padding: 36px 24px;
    text-align: center;
    color: #fff;
}

.offer-banner-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.offer-banner h3 {
    font-size: 1.5rem;
    color: var(--gold);
    margin-bottom: 4px;
}

.offer-banner p {
    color: rgba(255,255,255,0.85);
    margin-bottom: 0;
    font-size: 1.05rem;
}

.offer-banner .btn {
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    padding: 14px 32px;
    flex-shrink: 0;
}
.offer-banner .btn:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

/* ───── 9. TRUST BAR ───── */
.trust-bar {
    padding: 40px 24px;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
}

.trust-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.trust-bar-item {
    padding: 16px 12px;
}

.trust-bar-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.trust-bar-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pool-blue);
    line-height: 1;
    margin-bottom: 6px;
}

.trust-bar-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ───── 10. SERVICES SECTION ───── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex-wrap: nowrap;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--card-radius);
    overflow: hidden;
    transition: all 0.35s ease;
    box-shadow: var(--shadow-sm);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(233,175,2,0.3);
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card-body {
    padding: 28px 24px 32px;
}

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

.service-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 0.98rem;
}

.service-card ul {
    list-style: none;
    margin: 0 0 20px;
}

.service-card li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.service-card-check {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
    font-size: 1rem;
}

/* ───── 11. EMOTIONAL BENEFIT ───── */
.emotion-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.emotion-image img {
    width: 100%;
    border-radius: var(--card-radius);
    box-shadow: var(--shadow-lg);
}

.emotion-content h2 {
    color: var(--text-dark);
    margin-bottom: 20px;
}

.emotion-content p {
    color: var(--text-body);
    font-size: 1.08rem;
    margin-bottom: 16px;
}

.emotion-content .btn { margin-top: 12px; }

/* ───── 12. WHAT'S INCLUDED ───── */
.included-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.included-item {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--card-radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
}
.included-item:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-4px);
    border-color: rgba(233,175,2,0.2);
}

.included-icon {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}

.included-item h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.included-item p {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    margin: 0;
}

/* ───── 13. PRICING ───── */
.pricing-card {
    max-width: 560px;
    margin: 0 auto;
    background: var(--white);
    border: 2px solid var(--pool-blue);
    border-radius: var(--card-radius);
    padding: 48px 36px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.pricing-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: var(--gold);
    color: var(--navy);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 6px 40px;
    transform: rotate(45deg);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--pool-blue);
    line-height: 1;
    margin-bottom: 8px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.pricing-card p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.pricing-card .btn { min-width: 240px; }

/* ───── 14. SIGNS YOU NEED ───── */
.problems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto 32px;
}

.problem-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--card-radius);
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.problem-card:hover {
    border-color: var(--danger);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.problem-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.problem-card h4 {
    color: var(--text-dark);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0;
}

/* ───── 15. WHY DIY COSTS MORE ───── */
.diy-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    max-width: var(--max-width);
    margin: 0 auto 36px;
}

.diy-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--card-radius);
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.diy-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--danger);
}

.diy-cost-icon {
    width: 56px;
    height: 56px;
    background: rgba(239,68,68,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.6rem;
}

.diy-card h4 {
    color: var(--text-dark);
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.diy-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.5;
}

.diy-conclusion {
    max-width: 650px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--navy) 0%, var(--pool-blue) 100%);
    color: #fff;
    padding: 28px 36px;
    border-radius: var(--card-radius);
    text-align: center;
    font-size: 1.0rem;
    line-height: 1.7;
}
.diy-conclusion strong { color: var(--gold); }

/* ───── 16. HOW IT WORKS ───── */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.step-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--card-radius);
    padding: 44px 32px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}
.step-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-4px);
    border-color: rgba(233,175,2,0.2);
}

.step-number {
    width: 68px;
    height: 68px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 auto 24px;
    box-shadow: var(--shadow-gold);
}

.step-card h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 12px;
}

.step-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.98rem;
    margin: 0;
}

/* ───── 17. BEFORE & AFTER ───── */
.ba-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto 36px;
}

.ba-card {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.ba-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}

.ba-label {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-md);
}
.ba-label.before { background: var(--danger); color: #fff; }
.ba-label.after  { background: var(--success); color: #fff; }

.ba-caption {
    text-align: center;
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ───── 18. WHY CHOOSE US ───── */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--card-radius);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}
.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(24,86,160,0.2);
}

.why-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--pool-blue) 0%, var(--deep-water) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(24,86,160,0.25);
}

.why-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.55;
}

/* ───── 19. COMPARISON TABLE ───── */
.compare-wrap {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--card-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th {
    background: linear-gradient(135deg, var(--pool-blue) 0%, var(--deep-water) 100%);
    color: #fff;
    padding: 18px 24px;
    text-align: left;
    font-weight: 700;
    font-size: 1rem;
}

.compare-table td {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-border);
    color: var(--text-body);
    font-size: 1rem;
}

.compare-table tr:last-child td { border-bottom: none; }

.compare-table tr:nth-child(even) { background: var(--gray-bg); }

.compare-check { color: var(--success); font-weight: 700; font-size: 1.1rem; }
.compare-x     { color: var(--danger); font-weight: 700; font-size: 1.1rem; }

.compare-highlight {
    background: linear-gradient(135deg, var(--pool-blue), var(--deep-water));
    color: #fff;
    text-align: center;
    font-weight: 700;
}

/* ───── 20. SERVICE AREAS ───── */
.areas-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    max-width: var(--max-width);
    margin: 0 auto 24px;
}

.area-chip {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 50px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}
.area-chip:hover {
    background: var(--pool-blue);
    color: #fff;
    border-color: var(--pool-blue);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.areas-note {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ───── 21. EQUIPMENT ───── */
.equip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.equip-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--card-radius);
    padding: 24px 20px;
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.equip-card:hover {
    border-color: var(--pool-blue);
    color: var(--pool-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.equip-check { color: var(--success); font-weight: 700; font-size: 1.1rem; }

/* ───── 22. REVIEWS ───── */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.review-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    transition: all 0.3s ease;
}
.review-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-4px);
    border-color: rgba(233,175,2,0.2);
}

.review-stars {
    color: var(--gold);
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-bottom: 16px;
}

.review-card p {
    color: rgba(255,255,255,0.85);
    font-size: 1rem;
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 16px;
}

.review-author {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ───── 23. FAQ ───── */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: 12px;
    padding: 24px 28px;
    margin-bottom: 16px;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
}
.faq-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--pool-blue);
}

.faq-q {
    color: var(--pool-blue);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.faq-q::before {
    content: 'Q.';
    background: var(--pool-blue);
    color: #fff;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.75rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.faq-a {
    color: var(--text-body);
    font-size: 0.98rem;
    line-height: 1.7;
    padding-left: 36px;
}

/* ───── 24. TIPS ───── */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.tip-card {
    background: var(--white);
    border: 1px solid var(--gray-border);
    border-radius: var(--card-radius);
    padding: 36px 28px;
    display: block;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
}
.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--pool-blue);
}

.tip-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--pool-blue), var(--deep-water));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 10px rgba(24,86,160,0.2);
}

.tip-card h4 {
    color: var(--text-dark);
    font-size: 1.0rem;
    margin-bottom: 10px;
}

.tip-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 16px;
}

.tip-link {
    color: var(--pool-blue);
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tip-link:hover { gap: 10px; }

/* ───── 25. GUARANTEE ───── */
.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.guarantee-card {
    background: var(--navy-light);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--card-radius);
    padding: 44px 32px;
    text-align: center;
    transition: all 0.3s ease;
}
.guarantee-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-4px);
    border-color: rgba(233,175,2,0.2);
}

.guarantee-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-gold);
}

.guarantee-card h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.guarantee-card p {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.guarantee-tagline {
    text-align: center;
    margin-top: 40px;
    color: var(--gold);
    font-size: 1.2rem;
    font-weight: 600;
}

/* ───── 26. FINAL CTA ───── */
.final-cta {
    background: linear-gradient(135deg, var(--pool-blue) 0%, var(--deep-water) 100%);
    padding: 80px 24px;
    text-align: center;
    color: #fff;
}

.final-cta h2 {
    font-size: 2.6rem;
    color: #fff;
    margin-bottom: 16px;
}

.final-cta p {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 12px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .offer-note {
    color: var(--gold);
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.final-cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.final-cta-btns .btn { min-width: 240px; }

/* ───── 27. FOOTER ───── */
.site-footer {
    background: var(--navy);
    padding: 48px 24px 24px;
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
.site-footer p { margin-bottom: 12px; }
.site-footer a { color: var(--pool-blue-light); }
.site-footer a:hover { color: var(--gold); }

/* ───── 28. STICKY MOBILE CTA ───── */
.sticky-mobile-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    padding: 10px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
}

.sticky-mobile-inner {
    display: flex;
    gap: 10px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.sticky-mobile-cta .btn {
    flex: 1;
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 8px;
}

/* ───── 29. FLOATING DESKTOP BUTTONS ───── */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.float-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
    opacity: 1;
}

.float-call { background: var(--success); }
.float-text { background: var(--pool-blue); }

/* ───── 30. ANIMATIONS ───── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ───── 31. RESPONSIVE ───── */
@media (max-width: 1024px) {
    .emotion-grid { grid-template-columns: 1fr; text-align: center; }
    .emotion-image { order: -1; max-width: 500px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .diy-grid { grid-template-columns: repeat(3, 1fr); }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .tips-grid { grid-template-columns: repeat(2, 1fr); }
    .areas-grid { max-width: 600px; }
    .equip-grid { grid-template-columns: repeat(3, 1fr); }
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .included-grid { grid-template-columns: repeat(3, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantee-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { gap: 20px; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    :root {
        --h1-size: 2.2rem;
        --h2-size: 1.8rem;
        --h3-size: 1.25rem;
        --section-pad-y: var(--section-pad-y-mobile);
    }

    .hero { min-height: 480px; padding: 90px 20px 40px; }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.05rem; }
    .hero-trust { flex-wrap: wrap; gap: 10px; }
    .hero-trust-item { font-size: 0.8rem; padding: 6px 10px; }
    .hero-ctas .btn { min-width: 100%; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: 1fr; }
    .ba-grid { grid-template-columns: 1fr; }
    .diy-grid { grid-template-columns: repeat(2, 1fr); }
    .reviews-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    .areas-grid { gap: 8px; }
    .area-chip { padding: 8px 16px; font-size: 0.85rem; }
    .equip-grid { grid-template-columns: repeat(2, 1fr); }
    .problems-grid { grid-template-columns: repeat(2, 1fr); }
    .included-grid { grid-template-columns: repeat(2, 1fr); }
    .guarantee-grid { grid-template-columns: 1fr; }

    .compare-table th,
    .compare-table td { padding: 14px 16px; font-size: 0.9rem; }

    .main-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--gray-border); box-shadow: var(--shadow-lg); gap: 0; }
    .main-nav.active { display: flex; }
    .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--gray-border); }
    .main-nav a:last-child { border-bottom: none; }
    .menu-toggle { display: block; }
    .header-cta { display: none; }

    .floating-actions { display: none; }
    .sticky-mobile-cta { display: block; }

    .offer-banner-inner { flex-direction: column; gap: 16px; }
    .offer-banner h3 { font-size: 1.25rem; }

    .pricing-card { padding: 36px 24px; }
    .pricing-price { font-size: 2.4rem; }

    .final-cta h2 { font-size: 2rem; }
    .final-cta-btns .btn { min-width: 100%; }

    body { padding-bottom: 70px; }
}

@media (max-width: 480px) {
    .diy-grid { grid-template-columns: 1fr; }
    .problems-grid { grid-template-columns: 1fr; }
    .included-grid { grid-template-columns: 1fr; }
    .equip-grid { grid-template-columns: 1fr; }
    .tips-grid { grid-template-columns: 1fr; }
    .trust-bar-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .trust-bar-number { font-size: 1.4rem; }
}

/* ───── BLOG CARD GRID ───── */
.blog-cards-section {
    background: #f8fafc;
    padding: 60px 0 80px;
}

.blog-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0B1627;
    margin-bottom: 36px;
    text-align: center;
}

.blog-card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    flex-wrap: nowrap;
}

.blog-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.10);
}

.blog-card-image-link {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #e9edf2;
}

.blog-card-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.blog-card:hover .blog-card-image-link img {
    transform: scale(1.05);
}

.blog-card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 0.78rem;
    color: #6B7B8D;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 8px;
    display: block;
}

.blog-card-title {
    font-size: 1.0rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 10px;
}

.blog-card-title a {
    color: #0B1627;
    text-decoration: none;
}

.blog-card-title a:hover {
    color: #1856A0;
}

.blog-card-excerpt {
    font-size: 0.92rem;
    color: #4a5568;
    line-height: 1.55;
    margin: 0 0 16px;
    flex: 1;
}

.blog-card-readmore {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1856A0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    transition: color 0.2s ease;
}

.blog-card-readmore:hover {
    color: #E9AF02;
}

@media (max-width: 900px) {
    .blog-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 600px) {
    .blog-card-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .blog-section-title {
        font-size: 1.5rem;
    }
    .blog-cards-section {
        padding: 40px 0 60px;
    }
}

/* ───── BLOG PAGINATION ───── */
.blog-pagination { text-align:center; margin-top:48px; }
.blog-pagination a, .blog-pagination span {
  display:inline-block; padding:10px 18px; margin:4px 3px; font-size:0.88rem;
  font-weight:600; color:#0B1627; background:#ffffff; border:1px solid #e2e8f0;
  border-radius:8px; text-decoration:none; transition:all 0.2s ease;
}
.blog-pagination a:hover { background:#1856A0; color:#ffffff; border-color:#1856A0; }
.blog-pagination .current { background:#E9AF02; color:#0B1627; border-color:#E9AF02; }

/* ───── SINGLE ARTICLE ───── */
.article-hero {
    position: relative;
    min-height: 380px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    padding: 0 0 40px 0;
}
.article-hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11,22,39,0.15);
}
.article-hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    color: #ffffff;
}
.article-date {
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.75;
    display: block;
    margin-bottom: 8px;
}
.article-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin: 0;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 32px 20px 80px;
}
.article-breadcrumb a {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1856A0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 20px;
    transition: color 0.2s;
}
.article-breadcrumb a:hover { color: #E9AF02; }

.article-body {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #1a2332;
}
.article-body h2,
.article-body h3 {
    color: #0B1627;
    margin-top: 36px;
    margin-bottom: 14px;
}
.article-body h2 { font-size: 1.5rem; }
.article-body h3 { font-size: 1.25rem; }
.article-body p { margin-bottom: 16px; }
.article-body ul,
.article-body ol { margin-bottom: 16px; padding-left: 24px; }
.article-body li { margin-bottom: 6px; }
.article-body a { color: #1856A0; font-weight: 600; text-decoration: none; }
.article-body a:hover { color: #E9AF02; text-decoration: underline; }

@media (max-width: 600px) {
    .article-hero { min-height: 260px; padding-bottom: 28px; }
    .article-container { padding: 24px 16px 60px; }
    .article-body { font-size: 1rem; }
}
.article-featured-image { margin:0 0 28px; border-radius:12px; overflow:hidden; box-shadow:0 4px 20px rgba(0,0,0,0.08); }
.article-featured-image img { width:100%; height:auto; display:block; border-radius:12px; }
.article-h1 { font-size:2.2rem; font-weight:700; color:#0B1627; margin:0 0 24px; line-height:1.25; }
.article-breadcrumb { margin:0 0 20px; }
.article-breadcrumb a { color:#1856A0; text-decoration:none; font-size:0.9rem; }
.article-breadcrumb a:hover { text-decoration:underline; }
.article-hero { position:relative; width:100%; min-height:340px; max-height:480px; display:flex; align-items:center; justify-content:center; overflow:hidden; }
.article-hero-bg { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:1; }
.article-hero-overlay { position:absolute; inset:0; background:linear-gradient(180deg, rgba(11,22,39,0.45) 0%, rgba(11,22,39,0.65) 100%); z-index:2; }
.article-hero-content { position:relative; z-index:3; max-width:800px; text-align:center; padding:60px 20px; color:#fff; }
.article-hero-title { font-size:clamp(1.8rem,4vw,2.8rem); font-weight:700; color:#fff; margin:0 0 12px; line-height:1.15; text-shadow:0 2px 8px rgba(0,0,0,0.35); }
.article-hero-date { font-size:0.9rem; color:rgba(255,255,255,0.75); font-weight:400; }
.article-hero .article-breadcrumb { margin:0 0 16px; }
.article-hero .article-breadcrumb a { color:#E9AF02; text-decoration:none; font-size:0.85rem; font-weight:500; text-shadow:0 1px 4px rgba(0,0,0,0.3); }
.article-hero .article-breadcrumb a:hover { text-decoration:underline; }

/* ───── GLOBAL SPACING FIXES ───── */

/* 1. Stacked button rows need breathing room (Service Areas CTA) */
.wp-block-buttons + .wp-block-buttons {
    margin-top: 12px;
}

/* 2. Dark CTA sections that look cramped get minimum padding */
.wp-block-group.has-background[style*='#0B1627'],
.wp-block-group.has-background[style*='#162744'],
.wp-block-group.has-background[style*='#1856A0'] {
    padding-top: max(var(--section-pad-y), 60px) !important;
    padding-bottom: max(var(--section-pad-y), 60px) !important;
}

/* 3. Light gray FAQ / content sections: slightly more breathing room */
.wp-block-group.has-background[style*='#EFF0F1'],
.wp-block-group.has-background[style*='#F5F7FA'] {
    padding-top: max(var(--section-pad-y), 70px) !important;
    padding-bottom: max(var(--section-pad-y), 70px) !important;
}

/* 4. White background groups with very small padding get a floor */
.wp-block-group.has-background[style*='#ffffff'],
.wp-block-group.has-background[style*='#fff'] {
    padding-top: max(var(--section-pad-y), 40px) !important;
    padding-bottom: max(var(--section-pad-y), 40px) !important;
}

/* 5. Headings inside groups reset top margin */
.wp-block-group .wp-block-heading {
    margin-top: 0;
}

/* 6. Paragraphs inside groups: consistent bottom spacing */
.wp-block-group p {
    margin-bottom: 1rem;
}

/* 7. Light-background column cards get more internal padding */
.wp-block-column.has-background[style*='#f8fafb'],
.wp-block-column.has-background[style*='#F5F7FA'],
.wp-block-column.has-background[style*='#EFF0F1'] {
    padding: 32px 28px !important;
}

/* 8. Service cards (3-col grid) */
.wp-block-columns[style*='3fr'] .wp-block-column.has-background,
.wp-block-columns[style*='repeat(3'] .wp-block-column.has-background {
    padding: 32px 24px !important;
}

/* 9. FAQ items: consistent vertical spacing */
.wp-block-details {
    margin-bottom: 16px;
}

/* 10. Spacer blocks minimum effective height */
.wp-block-spacer {
    min-height: 16px;
}

/* 11. Hero / offer banner: keep original generous padding */
.hero,
.article-hero,
.offer-banner {
    padding-top: inherit !important;
    padding-bottom: inherit !important;
}

/* 12. Stacked columns on About page */
.wp-block-columns + .wp-block-columns {
    margin-top: 24px;
}

/* 13. Dark section column cards breathing room */
.wp-block-group.has-background[style*='#0B1627'] .wp-block-column.has-background,
.wp-block-group.has-background[style*='#162744'] .wp-block-column.has-background {
    padding: 32px 28px !important;
}

/* 14. Column gap */
.wp-block-columns {
    gap: 16px;
}

/* ───── HEADING SPACING FIX ───── */

/* Flat content sections (like Pricing) need breathing room between h2 headings */
.entry-content h2.wp-block-heading:not(:first-child) {
    margin-top: 48px;
}

/* Also ensure h3 sections inside flat layouts have some separation */
.entry-content h3.wp-block-heading:not(:first-child) {
    margin-top: 36px;
}
