/* ==========================================================================
   1. CSS Custom Properties & Reset
   ========================================================================== */

/* Skip to main content (a11y) */
.skip-link {
    position: absolute; left: -9999px; top: 8px;
    background: var(--navy); color: #fff; padding: 12px 18px;
    text-decoration: none; font-weight: 700; z-index: 9999;
    border-radius: 4px; font-size: 14px;
}
.skip-link:focus { left: 8px; outline: 3px solid #fff; outline-offset: 2px; }

/* Footer column heading visual style (was h4, now h2 for proper outline) */
.footer-col-heading {
    color: #fff; font-size: 15px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px;
}

/* Focus-visible (keyboard nav) */
*:focus-visible {
    outline: 3px solid #1e73be;
    outline-offset: 2px;
    border-radius: 2px;
}
.btn-cta:focus-visible, .btn-secondary:focus-visible, .btn-primary:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 0;
    box-shadow: 0 0 0 6px #1e73be;
}
.nav-list > li > a:focus-visible {
    outline: 3px solid #fff; outline-offset: -3px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --blue: #1e73be;
    --blue-dark: #165a96;
    --navy: #0c1a2a;
    --text: #1c2833;
    --text-light: #4a5568;
    --light-bg: #f5f7f9;
    --white: #ffffff;
}

/* ==========================================================================
   2. Typography & Base Elements
   ========================================================================== */

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text);
    line-height: 1.65;
    background: var(--white);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

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

/* ==========================================================================
   3. Header — Top Bar, Logo, Main Nav
   ========================================================================== */

/* ========== TOP CONTACT BAR ========== */
.top-bar {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    letter-spacing: 0.3px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 8px;
    padding-bottom: 8px;
}
.top-bar a { color: rgba(255,255,255,0.9); font-weight: 600; }
.top-bar a:hover { color: #fff; }
.top-bar-left, .top-bar-right { display: flex; align-items: center; gap: 6px; }
.top-bar-right { gap: 20px; }

/* ========== LOGO IN NAV ========== */
.logo-link { display: flex; align-items: center; margin-right: auto; }
.logo-link img { height: 40px; width: auto; filter: brightness(0) invert(1); }

/* ========== BLUE NAV BAR ========== */
.main-nav {
    background: var(--blue);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.main-nav .container { display: flex; justify-content: flex-start; align-items: stretch; }
.nav-list { list-style: none; display: flex; align-items: stretch; gap: 0; }
.nav-list > li { position: relative; }
.nav-list > li > a {
    display: flex; align-items: center; padding: 14px 18px;
    color: #fff; font-size: 14px; font-weight: 600;
    text-transform: uppercase; letter-spacing: 0.5px; transition: background 0.2s;
}
.nav-list > li > a:hover, .nav-list > li:hover > a { background: rgba(255,255,255,0.15); color: #fff; }
.nav-list > li > a.nav-cta { background: var(--navy); margin-left: 4px; }
.nav-list > li > a.nav-cta:hover { background: #162d46; }
.nav-dropdown {
    list-style: none; position: absolute; top: 100%; left: 0;
    background: var(--white); min-width: 260px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12); border-top: 3px solid var(--blue);
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.2s; z-index: 100;
}
.nav-list > li:hover .nav-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown li a {
    display: block; padding: 12px 20px; color: var(--text);
    font-size: 13.5px; font-weight: 500; border-bottom: 1px solid #f0f0f0;
}
.nav-dropdown li:last-child a { border-bottom: none; }
.nav-dropdown li a:hover { background: var(--light-bg); color: var(--blue); }
.nav-toggle {
    display: none; background: none; border: none;
    color: #fff; font-size: 26px; cursor: pointer; padding: 12px 18px;
}

/* ==========================================================================
   4. Hero (homepage + inner pages)
   ========================================================================== */

.hero { position: relative; width: 100%; height: 650px; overflow: hidden; }
.hero-video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center center;
}
.hero-img {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 35%;
    animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns {
    0%   { transform: scale(1); }
    100% { transform: scale(1.08); }
}
.hero-content {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; padding: 40px 24px; background: rgba(0,0,0,0.18);
}
.hero h1 {
    color: #fff; font-size: 58px; font-weight: 900; line-height: 1.1;
    max-width: 900px; margin-bottom: 18px;
    text-shadow: 0 3px 16px rgba(0,0,0,0.5), 0 1px 4px rgba(0,0,0,0.3);
}
.hero-sub {
    color: #fff; font-size: 18px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 34px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5), 0 1px 3px rgba(0,0,0,0.3);
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
    display: inline-block; background: var(--blue); color: #fff;
    padding: 14px 32px; font-size: 15px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    border: none; cursor: pointer; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }

/* ========== TORN PAPER EDGE ========== */
.hero-edge {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 10;
    line-height: 0;
    pointer-events: none;
}
.hero-edge img {
    width: 100%;
    height: auto;
    display: block;
}

/* PAGE HERO */
.page-hero { position: relative; width: 100%; height: 420px; overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; animation: slowzoom 22s ease-in-out infinite alternate; }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(12,26,42,0.55) 0%, rgba(30,115,190,0.35) 100%); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; }
.page-hero-content { max-width: 860px; }
.page-hero h1 { font-size: 46px; font-weight: 800; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4); margin-bottom: 14px; }
.page-hero .hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.94); font-weight: 500; line-height: 1.5; text-shadow: 0 1px 6px rgba(0,0,0,0.3); }
@keyframes slowzoom { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ==========================================================================
   5. Homepage Sections (services grid, marquees, parallax, blog, map, FAQ)
   ========================================================================== */

/* ========== IMMERSIVE SERVICE CARDS ========== */
.services { padding: 10px 0 60px; background: var(--white); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 34px; color: var(--text); margin-bottom: 12px; }
.section-title p { font-size: 17px; color: var(--text-light); max-width: 640px; margin: 0 auto; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.service-card {
    position: relative;
    height: 520px;
    overflow: hidden;
    cursor: pointer;
}
.service-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.6s ease;
}
.service-card:hover img { transform: scale(1.06); }
.service-card-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    padding: 40px 28px 32px;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
    transition: padding-bottom 0.3s ease;
}
.service-card:hover .service-card-overlay { padding-bottom: 40px; }
.service-card h3 {
    color: #fff; font-size: 24px; font-weight: 900;
    margin-bottom: 8px; text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.service-card-overlay p {
    color: rgba(255,255,255,0.9); font-size: 14.5px; line-height: 1.65;
    margin-bottom: 14px; max-height: 0; overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease; opacity: 0;
}
.service-card:hover .service-card-overlay p { max-height: 120px; opacity: 1; }
.card-link {
    color: #fff; font-size: 13px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
    border-bottom: 2px solid var(--blue); padding-bottom: 2px;
}
.card-link:hover { color: #fff; border-color: #fff; }

/* ========== SCROLLING PHOTO MARQUEE ========== */
.marquee-section { overflow: hidden; padding: 6px 0; background: var(--navy); }
.marquee-track {
    display: flex; gap: 6px; width: max-content;
    animation: marquee-scroll 40s linear infinite;
}
.marquee-track img {
    height: 220px; width: auto; min-width: 320px;
    object-fit: cover; flex-shrink: 0;
}
@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-section:hover .marquee-track { animation-play-state: paused; }

/* ========== ABOUT SECTION ========== */
.about { padding: 80px 0; background: var(--white); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 60px; align-items: center;
}
.about-text h2 { font-size: 32px; margin-bottom: 20px; color: var(--text); }
.about-text p { font-size: 16px; color: var(--text-light); margin-bottom: 18px; line-height: 1.8; }
.about-img { width: 100%; height: 480px; object-fit: cover; }
.about-video {
    width: 100%; height: 480px; object-fit: cover;
    background: var(--navy); border-radius: 4px;
}

/* ========== PARALLAX TRUST SECTION ========== */
.trust-parallax {
    position: relative;
    background-image: url('https://aquanaturetexas.com/wp-content/uploads/2025/04/Large-21x26-Pond_03-1536x1024.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    padding: 100px 0;
}
.trust-parallax::before {
    content: ""; position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.15);
}
.trust-parallax .container { position: relative; z-index: 1; }
.trust-parallax h2 {
    color: #fff; font-size: 34px; text-align: center; margin-bottom: 50px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.trust-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 24px; text-align: center;
}
.trust-item {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 36px 24px;
    transition: background 0.3s;
}
.trust-item:hover {
    background: rgba(255, 255, 255, 0.28);
}
.trust-number {
    font-size: 42px; font-weight: 900; color: #fff;
    margin-bottom: 8px; line-height: 1;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.trust-item h3 {
    font-size: 15px; font-weight: 800; color: #fff;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 10px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.trust-item p {
    font-size: 14px; color: rgba(255,255,255,0.92); line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0,0,0,0.25);
}

/* ========== SCROLLING GALLERY (reverse direction) ========== */
.gallery-marquee { overflow: hidden; padding: 6px 0; background: var(--navy); }
.gallery-track {
    display: flex; gap: 6px; width: max-content;
    animation: gallery-scroll 50s linear infinite;
}
.gallery-track img {
    height: 280px; width: auto; min-width: 400px;
    object-fit: cover; flex-shrink: 0;
}
@keyframes gallery-scroll {
    0%   { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}
.gallery-marquee:hover .gallery-track { animation-play-state: paused; }
.section-divider {
    padding: 20px 0;
    background: var(--blue);
}
.gallery-label {
    text-align: center; padding: 20px 0;
    background: var(--navy); color: rgba(255,255,255,0.78);
    font-size: 12px; font-weight: 600; text-transform: uppercase;
    letter-spacing: 2px;
}

/* ========== FULL-BLEED PHOTO BREAK ========== */
.photo-break {
    position: relative; height: 400px; overflow: hidden;
}
.photo-break img {
    width: 100%; height: 100%; object-fit: cover;
    object-position: center 60%;
}
.photo-break-content {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 40px;
    background: rgba(0,0,0,0.2);
}
.photo-break-content blockquote {
    color: #fff; font-size: 32px; font-weight: 800;
    max-width: 700px; line-height: 1.3;
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.photo-break-content cite {
    display: block; margin-top: 14px;
    font-size: 15px; font-weight: 600; font-style: normal;
    color: rgba(255,255,255,0.85); letter-spacing: 1px; text-transform: uppercase;
}

/* ========== BLOG PREVIEW ========== */
.blog-section { padding: 70px 0; background: var(--white); }
.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.blog-card {
    border: 1px solid #e8ecf0;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}
.blog-card img {
    width: 100%; height: 200px; object-fit: cover;
}
.blog-card-body { padding: 24px; }
.blog-card-date {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px; color: var(--blue); margin-bottom: 8px;
}
.blog-card h3 {
    font-size: 18px; font-weight: 800; margin-bottom: 10px;
    color: var(--text); line-height: 1.35;
}
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--blue); }
.blog-card p {
    font-size: 14px; color: var(--text-light); line-height: 1.65;
}
.blog-more { text-align: center; margin-top: 40px; }
.blog-more a {
    font-weight: 700; font-size: 15px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* ========== SERVICE AREA ========== */
.service-area { padding: 70px 0; background: var(--light-bg); }
#service-map {
    width: 100%; height: 480px; margin-top: 36px;
    border: 1px solid #dce1e6; z-index: 1;
}
.area-text {
    margin-top: 32px; text-align: center;
    font-size: 14.5px; color: var(--text-light); line-height: 2;
}
.area-text strong {
    color: var(--blue); font-weight: 800;
    text-transform: uppercase; font-size: 13px; letter-spacing: 0.4px;
}

/* ========== FAQ ========== */
.faq { padding: 70px 0; background: var(--white); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-list details { border-bottom: 1px solid #e0e4e8; }
.faq-list summary {
    padding: 20px 0; font-size: 17px; font-weight: 700; color: var(--text);
    cursor: pointer; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
    content: "+"; font-size: 22px; font-weight: 300; color: var(--blue);
    flex-shrink: 0; margin-left: 16px;
}
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list .faq-answer { padding: 0 0 22px; font-size: 15px; color: var(--text-light); line-height: 1.8; }
.faq-more { text-align: center; margin-top: 36px; }
.faq-more a { font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; }

/* ==========================================================================
   6. Inner Page Layout (breadcrumb, page-hero, page-content, container-narrow)
   ========================================================================== */

/* BREADCRUMB */
.breadcrumb { background: var(--light-bg); padding: 14px 0; border-bottom: 1px solid #e8ecf0; }
.breadcrumb-list { list-style: none; display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-light); }
.breadcrumb-list li::after { content: '/'; margin-left: 8px; color: #ccc; }
.breadcrumb-list li:last-child::after { content: ''; margin-left: 0; }
.breadcrumb-list li:last-child { color: var(--text); font-weight: 600; }
.breadcrumb-list a { color: var(--text-light); font-weight: 500; }
.breadcrumb-list a:hover { color: var(--blue); }

/* CONTENT */
.page-content { padding: 64px 0; }
h2.section-h2 { font-size: 30px; color: var(--navy); margin-bottom: 18px; position: relative; padding-bottom: 12px; }
h2.section-h2::after { content: ''; position: absolute; bottom: 0; left: 0; width: 50px; height: 3px; background: var(--blue); }
.page-content p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 20px; }
.section-block { margin-bottom: 52px; }

/* BUTTONS */
.btn-cta { display: inline-block; background: var(--blue); color: #fff; padding: 14px 32px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px; transition: background 0.2s; cursor: pointer; border: none; }
.btn-cta:hover { background: var(--blue-dark); color: #fff; }
.btn-secondary { display: inline-block; background: transparent; color: var(--blue); border: 2px solid var(--blue); padding: 12px 30px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 6px; transition: all 0.2s; }
.btn-secondary:hover { background: var(--blue); color: #fff; }

/* TWO-COL CONTENT */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.two-col.tight { gap: 36px; }
.two-col img { border-radius: 10px; }

/* SERVICE CARDS GRID */
.services-grid.inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 32px 0; }
.services-grid.three-up { grid-template-columns: repeat(3, 1fr); max-width: none; }
.svc-card { display: block; background: var(--white); border: 1px solid #e8ecf0; border-radius: 10px; overflow: hidden; transition: all 0.25s; text-decoration: none; }
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.1); border-color: var(--blue); }
.svc-card-img { width: 100%; height: 200px; object-fit: cover; }
.svc-card-body { padding: 22px 24px 26px; }
.svc-card-body h3 { font-size: 19px; color: var(--navy); margin-bottom: 8px; }
.svc-card-body p { font-size: 14px; color: var(--text-light); line-height: 1.6; margin-bottom: 12px; }
.svc-card-body .svc-link { font-size: 13px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 0.5px; }

/* FORM */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.4px; }
.form-group input, .form-group select, .form-group textarea { padding: 12px 14px; font-size: 15px; font-family: inherit; border: 1px solid #d0d7de; border-radius: 6px; background: var(--white); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30,115,190,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* FAQ */
.faq-list.inner { max-width: 820px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #e8ecf0; }
.faq-item summary { padding: 22px 40px 22px 0; font-size: 16px; font-weight: 700; color: var(--navy); cursor: pointer; position: relative; list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 300; color: var(--blue); transition: transform 0.2s; }
.faq-item[open] summary::after { content: '-'; }
.faq-item .faq-answer { padding: 0 0 22px; font-size: 15px; color: var(--text-light); line-height: 1.7; }

/* ==========================================================================
   7. Service Page Sections (intro, benefits, process, gallery, pricing, faq)
   ========================================================================== */

/* MAIN CONTENT */
.content-grid { display: grid; grid-template-columns: 1fr 380px; gap: 48px; align-items: start; }
.main-column h2 {
    font-size: 30px; color: var(--navy); margin-bottom: 18px;
    position: relative; padding-bottom: 12px;
}
.main-column h2::after {
    content: ''; position: absolute; bottom: 0; left: 0;
    width: 50px; height: 3px; background: var(--blue);
}
.main-column p { font-size: 15.5px; line-height: 1.75; color: var(--text); margin-bottom: 20px; }
.main-column .section-block { margin-bottom: 52px; }

/* BENEFITS GRID */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.benefit-item { display: flex; align-items: flex-start; gap: 12px; padding: 18px; background: var(--light-bg); border-radius: 8px; }
.benefit-icon {
    width: 36px; height: 36px; min-width: 36px; background: var(--blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 16px; font-weight: 700;
}
.benefit-text { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; }
.benefit-text span { display: block; font-weight: 400; color: var(--text-light); font-size: 13px; margin-top: 4px; }

/* PROCESS STEPS */
.process-steps { display: flex; flex-direction: column; gap: 0; margin: 24px 0; position: relative; }
.process-steps::before { content: ''; position: absolute; left: 22px; top: 30px; bottom: 30px; width: 2px; background: #d6eaf8; }
.process-step { display: flex; align-items: flex-start; gap: 18px; padding: 18px 0; position: relative; }
.step-number {
    width: 44px; height: 44px; min-width: 44px; background: var(--blue);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 18px; font-weight: 800; z-index: 1;
}
.step-content h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.step-content p { font-size: 14px; margin-bottom: 0; color: var(--text-light); }

/* PHOTO STRIP */
.photo-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 24px 0; }
.photo-strip img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px; }

/* SIDEBAR */
.sidebar { position: sticky; top: 80px; }
.sidebar-cta { background: var(--navy); color: #fff; padding: 36px 28px; border-radius: 12px; text-align: center; margin-bottom: 24px; }
.sidebar-cta h3 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.sidebar-cta p { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 20px; line-height: 1.5; }
.sidebar-cta .cta-phone { display: block; font-size: 24px; font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: 0.5px; }
.sidebar-cta .cta-phone:hover { color: #d6eaf8; }

.sidebar-services { background: var(--light-bg); padding: 28px; border-radius: 12px; margin-bottom: 24px; }
.sidebar-services h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--blue); }
.sidebar-services ul { list-style: none; }
.sidebar-services li a {
    display: block; padding: 11px 14px; font-size: 14px; font-weight: 500;
    color: var(--text); border-bottom: 1px solid #e8ecf0; transition: all 0.15s;
}
.sidebar-services li:last-child a { border-bottom: none; }
.sidebar-services li a:hover { color: var(--blue); padding-left: 20px; background: rgba(30,115,190,0.05); }
.sidebar-services li a.active { color: var(--blue); font-weight: 700; background: rgba(30,115,190,0.08); border-left: 3px solid var(--blue); }

.sidebar-trust { background: var(--light-bg); padding: 24px; border-radius: 12px; }
.sidebar-trust h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.sidebar-trust .trust-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; color: var(--text); font-weight: 500; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; border: 0; border-radius: 0; padding: 0; }
.sidebar-trust .trust-item:last-child { margin-bottom: 0; }
.sidebar-trust .trust-icon { color: var(--blue); font-size: 16px; }

/* SERVICE AREAS BAND */
.service-areas-band { background: var(--light-bg); padding: 56px 0; }
.service-areas-band h2 { font-size: 28px; color: var(--navy); text-align: center; margin-bottom: 12px; }
.service-areas-band .section-subtitle { text-align: center; color: var(--text-light); font-size: 15px; margin-bottom: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }
.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
.city-link {
    background: var(--white); padding: 18px 14px; text-align: center;
    border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    font-weight: 600; color: var(--navy); font-size: 15px; transition: all 0.2s;
}
.city-link:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.1); color: var(--blue); }

/* NEARBY AREAS */
.nearby-section {
    background: var(--light-bg);
    padding: 48px 0;
}
.nearby-section h2 {
    font-size: 28px;
    color: var(--navy);
    text-align: center;
    margin-bottom: 12px;
}
.nearby-section .section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 15px;
    margin-bottom: 32px;
}
.nearby-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.nearby-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.2s;
}
.nearby-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}
.nearby-card a {
    color: var(--navy);
    font-weight: 600;
    font-size: 15px;
}
.nearby-card a:hover { color: var(--blue); }
.nearby-card .nearby-distance {
    font-size: 12px;
    color: var(--text-light);
    margin-top: 4px;
}

/* FAQ SECTION */
.faq-section { padding: 64px 0; }
.faq-section h2 { font-size: 30px; color: var(--navy); text-align: center; margin-bottom: 36px; }

/* ==========================================================================
   8. City / Service Area Page Sections
   ========================================================================== */

/* Unique content indicator (for developer reference) */
.unique-content {
    border-left: 3px solid var(--blue);
    padding-left: 20px;
}
.template-content {
    /* No special styling - just a class marker for dev reference */
}

/* ==========================================================================
   9. Forms (contact, schedule-a-consultation)
   ========================================================================== */

.contact-form { width: 100%; }

/* ==========================================================================
   10. Flipbook (design-services page)
   ========================================================================== */

/* FLIPBOOK SECTION */
.flipbook-section { background: var(--light-bg); padding: 70px 0; }
.flipbook-intro { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.flipbook-intro h2 { font-size: 32px; color: var(--navy); margin-bottom: 14px; }
.flipbook-intro p { font-size: 16px; color: var(--text-light); line-height: 1.7; }
.flipbook-tabs { display: flex; justify-content: center; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.flipbook-tab { padding: 12px 24px; background: var(--white); border: 2px solid #d0d7de; border-radius: 6px; font-size: 14px; font-weight: 700; color: var(--text); text-transform: uppercase; letter-spacing: 0.4px; cursor: pointer; transition: all 0.2s; }
.flipbook-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.flipbook-tab:hover:not(.active) { border-color: var(--blue); color: var(--blue); }
.flipbook-stage { display: flex; flex-direction: column; align-items: center; }
.flipbook-stage.flipbook-hidden { display: none; }
.flipbook-wrap { position: relative; width: 100%; max-width: 1100px; user-select: none; -webkit-user-select: none; }
.flipbook-wrap img { pointer-events: none; -webkit-touch-callout: none; }
.flipbook-controls { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.flipbook-btn { background: var(--navy); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer; transition: background 0.2s; display: flex; align-items: center; justify-content: center; }
.flipbook-btn:hover { background: var(--blue); }
.flipbook-counter { font-size: 14px; font-weight: 600; color: var(--navy); min-width: 100px; text-align: center; }
.flipbook-hint { font-size: 13px; color: var(--text-light); margin-top: 12px; font-style: italic; }

/* ==========================================================================
   11. CTA Banner + Footer
   ========================================================================== */

/* ========== CTA BANNER ========== */
.cta-banner { position: relative; padding: 80px 0; text-align: center; overflow: hidden; }
.cta-banner-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: rgba(30,115,190,0.82); z-index: 1; }
.cta-banner .container { position: relative; z-index: 2; }
.cta-banner h2 { color: #fff; font-size: 36px; margin-bottom: 14px; }
.cta-banner p { color: rgba(255,255,255,0.9); font-size: 18px; margin-bottom: 30px; }
.btn-white {
    display: inline-block; background: #fff; color: var(--blue);
    padding: 16px 40px; font-size: 15px; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    transition: background 0.2s, transform 0.15s;
}
.btn-white:hover { background: #f0f0f0; color: var(--blue-dark); transform: translateY(-1px); }
.cta-banner .cta-phone-big { display: block; font-size: 32px; font-weight: 800; color: #fff; margin-bottom: 20px; letter-spacing: 1px; }

/* ========== FOOTER ========== */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.75); padding: 60px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-col h4 {
    color: #fff; font-size: 15px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 18px;
}
.footer-col p { margin-bottom: 10px; line-height: 1.7; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { padding: 4px 0; }
.footer-logo { width: 220px; margin-bottom: 18px; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-cert {
    display: flex; align-items: center; gap: 12px; margin-top: 16px;
    padding: 12px; background: #fff; border-radius: 6px;
    max-width: 260px;
}
.footer-cert .cac-logo { width: 56px; height: auto; flex-shrink: 0; }
.footer-cert span {
    color: var(--navy); font-size: 12px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.3px; line-height: 1.3;
}
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0; font-size: 13px; color: rgba(255,255,255,0.45);
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
}
.footer-bottom .site-credit a { color: rgba(255,255,255,0.65); font-weight: 600; }
.footer-bottom .site-credit a:hover { color: #fff; }

/* ==========================================================================
   12. Utility Classes + A11y (skip-link, focus-visible)
   ========================================================================== */

/* Utility classes are defined throughout the file */

/* ==========================================================================
   13. Responsive (@media queries — consolidated by breakpoint)
   ========================================================================== */

@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .service-card { height: 440px; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    #service-map { height: 400px; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; }
    .about-img { height: 360px; }
    .about-video { height: 360px; }
    .content-grid { grid-template-columns: 1fr; }
    .sidebar { position: static; }
    .city-grid { grid-template-columns: repeat(3, 1fr); }
    .nearby-grid { grid-template-columns: repeat(3, 1fr); }
    .two-col { grid-template-columns: 1fr; }
    .services-grid.inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-list { display: none; }
    .nav-toggle { display: block; }
    .main-nav .container { justify-content: space-between; flex-wrap: wrap; }
    .logo-link { margin-right: 0; }
    .logo-link img { height: 32px; }
    .main-nav.open .nav-list {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--blue); box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    }
    .main-nav.open .nav-list > li > a { padding: 14px 24px; }
    .nav-dropdown {
        position: static; box-shadow: none; border: none;
        opacity: 1; visibility: visible; transform: none;
        background: rgba(0,0,0,0.1);
    }
    .nav-dropdown li a { color: #fff; border-color: rgba(255,255,255,0.1); }
    .hero { height: 460px; }
    .hero h1 { font-size: 36px; }
    .hero-sub { font-size: 13px; letter-spacing: 1.5px; }
    .services-grid { grid-template-columns: 1fr; }
    .service-card { height: 400px; }
    .blog-grid { grid-template-columns: 1fr; }
    .service-card-overlay p { max-height: 120px; opacity: 1; }
    .marquee-track img { height: 160px; min-width: 240px; }
    .gallery-track img { height: 200px; min-width: 300px; }
    .photo-break { height: 300px; }
    .photo-break-content blockquote { font-size: 24px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-parallax { background-attachment: scroll; padding: 70px 0; }
    #service-map { height: 360px; }
    .section-title h2 { font-size: 26px; }
    .about-text h2 { font-size: 26px; }
    .cta-banner h2 { font-size: 26px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .page-hero { height: 320px; }
    .page-hero h1 { font-size: 30px; }
    .benefits-grid { grid-template-columns: 1fr; }
    .photo-strip { grid-template-columns: 1fr; }
    .photo-strip img { height: 220px; }
    .city-grid { grid-template-columns: 1fr 1fr; }
    .nearby-grid { grid-template-columns: 1fr 1fr; }
    .cta-banner .cta-phone-big { font-size: 26px; }
    .form-grid { grid-template-columns: 1fr; }
    .flipbook-intro h2 { font-size: 24px; }
    .services-grid.inner { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .top-bar .container { flex-direction: column; gap: 4px; }
    .hero { height: 380px; }
    .hero h1 { font-size: 28px; }
    .hero-buttons { flex-direction: column; }
    .service-card { height: 360px; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-parallax { padding: 50px 0; }
    .trust-number { font-size: 32px; }
    #service-map { height: 300px; }
    .city-grid { grid-template-columns: 1fr; }
    .nearby-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   14. Related Projects (Service pages) + Fallback state
   ========================================================================== */
.related-projects { margin-top: 40px; }
.related-projects h2 {
    font-size: 28px; color: var(--text); margin-bottom: 8px;
}
.related-projects > p {
    color: var(--text-light); font-size: 15.5px;
    margin-bottom: 24px;
}
.project-grid--related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    columns: auto; /* Override the masonry columns from gallery.css when on service pages. */
}
.project-grid--related .project-card {
    break-inside: auto;
    margin-bottom: 0;
    border: 1px solid #e8ecf0;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.project-grid--related .project-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,0,0,0.10);
}
.project-grid--related .project-card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.project-grid--related .project-card-img img {
    width: 100%; height: 100%; object-fit: cover;
}
.see-all-projects {
    text-align: center; margin-top: 24px;
}
.see-all-projects a {
    font-weight: 700; font-size: 14px;
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* Empty/fallback state — turns absence into a CTA */
.related-projects--empty {
    background: var(--light-bg);
    padding: 44px 40px;
    text-align: center;
    border: 1px dashed #c4d2e0;
}
.related-projects--empty h2 { font-size: 26px; margin-bottom: 10px; }
.related-projects--empty p {
    font-size: 16px; color: var(--text-light);
    max-width: 560px; margin: 0 auto 20px;
}
.related-projects--empty .cta-row {
    display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
    margin-top: 8px;
}
.btn-secondary {
    display: inline-block; background: transparent; color: var(--blue);
    padding: 14px 28px; font-size: 15px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    border: 2px solid var(--blue);
    transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--blue); color: #fff; }

@media (max-width: 1024px) {
    .project-grid--related { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
    .project-grid--related { grid-template-columns: 1fr; }
    .related-projects--empty { padding: 32px 20px; }
}

/* ==========================================================================
   15. Contact / Consultation page utility classes
   (Extracted from inline styles for v1.5.2 — addresses audit finding F-17.)
   ========================================================================== */

/* ===== Left-column contact info block (Contact page) ===== */
.contact-info-block { margin-top: 32px; }
.contact-info-label {
    font-size: 13px; font-weight: 700; color: var(--navy);
    text-transform: uppercase; letter-spacing: 0.4px; margin-bottom: 6px;
}
.contact-info-phone {
    font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 28px;
}
.contact-info-phone a { color: var(--navy); }
.contact-info-email { font-size: 17px; margin-bottom: 28px; }
.contact-info-text { font-size: 15px; color: var(--text); margin-bottom: 28px; }

/* ===== Right-column form wrap (Contact + Consultation pages) ===== */
.contact-form-wrap {
    background: var(--light-bg);
    padding: 32px;
    border-radius: 10px;
}
.contact-form-heading {
    font-size: 22px; color: var(--navy); margin-bottom: 8px;
}
.contact-form-sub {
    font-size: 14px; color: var(--text-light); margin-bottom: 22px;
}

/* ===== "Prefer to call?" panel (Consultation page) ===== */
.contact-call-block {
    margin-top: 32px; padding: 24px;
    background: var(--light-bg); border-radius: 10px;
}
.contact-call-block h3 {
    font-size: 18px; color: var(--navy); margin-bottom: 14px;
}
.contact-call-block p {
    font-size: 14px; color: var(--text-light); margin-bottom: 12px;
}
.contact-call-number {
    font-size: 24px; font-weight: 800; color: var(--navy);
}

/* ===== CF7 form styling (renders inside .contact-form-wrap) ===== */
.contact-form-wrap .wpcf7 { font-size: 15px; }
.contact-form-wrap .wpcf7-form p { margin-bottom: 14px; }
.contact-form-wrap label {
    display: block; font-size: 13px; font-weight: 700;
    color: var(--text); margin-bottom: 6px;
}
.contact-form-wrap .wpcf7-form-control:not([type="submit"]):not([type="checkbox"]):not([type="radio"]) {
    width: 100%; padding: 12px 14px; font: inherit;
    border: 1px solid #d4dae0; border-radius: 6px; background: #fff;
    color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form-wrap .wpcf7-form-control:focus {
    outline: none; border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(30,115,190,0.18);
}
.contact-form-wrap .wpcf7-textarea { min-height: 120px; resize: vertical; }
.contact-form-wrap .wpcf7-submit {
    display: inline-block; background: var(--blue); color: #fff;
    padding: 14px 32px; font-size: 14px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.5px;
    border-radius: 6px; border: none; cursor: pointer;
    transition: background 0.2s;
}
.contact-form-wrap .wpcf7-submit:hover { background: var(--blue-dark); }
.contact-form-wrap .wpcf7-not-valid-tip {
    color: var(--blue); font-size: 13px; font-weight: 600; margin-top: 4px;
}
.contact-form-wrap .wpcf7-response-output {
    margin-top: 16px; padding: 12px 16px; border-radius: 6px;
    font-size: 14px;
}

/* ==========================================================================
   16. Privacy Policy template utilities
   (Extracted from inline styles for v1.5.2 — addresses audit finding F-17.)
   ========================================================================== */
.privacy-meta {
    font-size: 13px; color: var(--text-light); margin-bottom: 32px;
}
.privacy-list { padding-left: 24px; margin-bottom: 20px; }
.privacy-list li { margin-bottom: 8px; }
.privacy-address {
    font-style: normal; line-height: 1.8;
    margin-top: 12px; margin-bottom: 16px;
}
.privacy-address strong { display: inline-block; margin-bottom: 4px; }

/* ==========================================================================
   17. Reduced-motion accessibility
   (WCAG 2.2.2 / 2.3.3 — addresses audit finding F-04.)
   Users with the prefers-reduced-motion: reduce setting see no continuous
   animations: marquees freeze, hero ken-burns disables, hover transforms
   disable, page-flip transitions become instant.
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
    .marquee-track,
    .gallery-track {
        animation: none !important;
    }
    .hero-img,
    .page-hero img {
        animation: none !important;
        transform: none !important;
    }
    .service-card img,
    .service-card:hover img {
        transition: none !important;
        transform: none !important;
    }
    .service-card-overlay,
    .service-card-overlay p {
        transition: none !important;
        max-height: none !important;
        opacity: 1 !important;
    }
    *,
    *::before,
    *::after {
        animation-duration: 0.001s !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001s !important;
        scroll-behavior: auto !important;
    }
}
