/**
 * FQRS Roof Waterproofing Stylesheet
 *
 * Dedicated styling for Roof Waterproofing service page (GAF Surface Seal SB).
 * Color Palette: Deep Pure Black (#05070a, #0c0f17), Warm Gold (#e5a93c, #f59e0b).
 * Strict Rules: NO navy blue (#0b132b), BBB horizontal badge card, 1-row continuous trust strip on desktop.
 *
 * @package FQRS_Theme
 */

/* ==========================================================================
   1. HERO SECTION & BADGES
   ========================================================================== */
.waterproofing-hero-section {
    position: relative;
    padding: 7.5rem 0 5.5rem;
    background-color: #05070a;
    color: #ffffff;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.waterproofing-hero-bg-wrap {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.waterproofing-hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    filter: brightness(0.95) contrast(1.05);
}

.waterproofing-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: 
      linear-gradient(90deg, #05070a 0%, rgba(5, 7, 10, 0.96) 38%, rgba(5, 7, 10, 0.75) 58%, rgba(5, 7, 10, 0.2) 82%, rgba(5, 7, 10, 0.05) 100%),
      linear-gradient(180deg, rgba(5, 7, 10, 0.5) 0%, transparent 25%, transparent 75%, #05070a 100%);
}

.waterproofing-hero-container {
    position: relative;
    z-index: 2;
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Breadcrumbs */
.waterproofing-breadcrumbs {
    margin-bottom: 2rem;
}

.waterproofing-bc-list {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.825rem;
    color: #94a3b8;
}

.waterproofing-bc-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.waterproofing-bc-item a:hover {
    color: #e5a93c;
}

.waterproofing-bc-sep {
    color: #64748b;
}

.waterproofing-bc-current {
    color: #e5a93c;
    font-weight: 600;
}

/* Hero Grid Layout */
.waterproofing-hero-grid {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 3.5rem;
    align-items: center;
}

.waterproofing-hero-eyebrow-wrap {
    margin-bottom: 0.85rem;
}

.waterproofing-hero-eyebrow,
.waterproofing-eyebrow {
    display: inline-block;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #e5a93c;
    text-transform: uppercase;
}

.waterproofing-hero-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: clamp(2.35rem, 4.5vw, 3.75rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin-bottom: 1.15rem;
    letter-spacing: -0.02em;
}

.waterproofing-hero-subhead {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
    color: #f1f5f9;
    margin-bottom: 1.15rem;
}

.waterproofing-hero-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-bottom: 2.25rem;
    max-width: 640px;
}

/* Hero CTAs */
.waterproofing-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    align-items: center;
    margin-bottom: 1rem;
}

.waterproofing-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.05rem 1.75rem;
    border-radius: 6px;
    background: linear-gradient(135deg, #e5a93c 0%, #d4982f 100%);
    color: #05070a;
    border: 2px solid #e5a93c;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.waterproofing-btn-primary:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #e5a93c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 169, 60, 0.35);
}

.waterproofing-btn-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 1.05rem 1.75rem;
    border-radius: 6px;
    background: #0c0f17;
    color: #ffffff;
    border: 2px solid #e5a93c;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}

.waterproofing-btn-phone:hover {
    background: #e5a93c;
    color: #05070a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(229, 169, 60, 0.35);
}

.waterproofing-btn-phone-icon,
.waterproofing-btn-icon {
    flex-shrink: 0;
}

/* Floating "IDEAL FOR" Card */
.waterproofing-ideal-card {
    background: rgba(12, 15, 23, 0.85);
    border: 1px solid rgba(229, 169, 60, 0.35);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    position: relative;
}

.waterproofing-ideal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2rem;
    right: 2rem;
    height: 3px;
    background: linear-gradient(90deg, #e5a93c 0%, transparent 100%);
    border-radius: 3px 3px 0 0;
}

.waterproofing-ideal-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.15rem;
}

.waterproofing-ideal-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.waterproofing-ideal-label {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #e5a93c;
}

.waterproofing-ideal-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #f1f5f9;
    margin: 0;
}

/* ==========================================================================
   2. WHY WATERPROOFING MATTERS (PREVENTIVE ANGLE)
   ========================================================================== */
.waterproofing-why-section {
    padding: 6.5rem 0;
    background-color: #ffffff;
    color: #05070a;
}

.waterproofing-why-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-why-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.waterproofing-section-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: #05070a;
    margin-top: 0.65rem;
    margin-bottom: 1.35rem;
    letter-spacing: -0.02em;
}

.waterproofing-body-text {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 2rem;
}

.waterproofing-why-cta-wrap {
    margin-top: 2rem;
}

.waterproofing-media-frame {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 45px rgba(5, 7, 10, 0.15);
}

.waterproofing-media-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.waterproofing-media-frame:hover .waterproofing-media-img {
    transform: scale(1.03);
}

.waterproofing-media-tag {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(5, 7, 10, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(229, 169, 60, 0.45);
    border-radius: 8px;
    padding: 0.95rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.waterproofing-tag-icon {
    color: #e5a93c;
    font-size: 1.1rem;
    font-weight: 800;
}

.waterproofing-tag-text {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

/* ==========================================================================
   3. OUR APPROACH (3-STEP INSPECT, PREPARE, APPLY & SEAL) - LIGHT THEME
   ========================================================================== */
.waterproofing-approach-section {
    padding: 6.5rem 0;
    background-color: #f8fafc;
    color: #05070a;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.waterproofing-approach-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-section-header-center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 3.5rem;
}

.waterproofing-approach-section .waterproofing-section-title {
    color: #05070a;
}

.waterproofing-specs-section .waterproofing-section-title,
.waterproofing-expect-section .waterproofing-section-title {
    color: #ffffff;
}

.waterproofing-approach-section .waterproofing-section-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #475569;
    margin-top: 0.85rem;
}

.waterproofing-specs-lead {
    font-size: 1.15rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin-top: 0.85rem;
}

.waterproofing-approach-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.waterproofing-approach-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 2.5rem 2rem;
    position: relative;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.waterproofing-approach-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 169, 60, 0.6);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

.waterproofing-approach-num {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 2.25rem;
    font-weight: 800;
    color: #e5a93c;
    line-height: 1;
    margin-bottom: 1.25rem;
}

.waterproofing-approach-icon {
    margin-bottom: 1.25rem;
}

.waterproofing-card-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.waterproofing-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   4. THE SYSTEM WE USE (GAF SURFACE SEAL SB SPEC CARDS)
   ========================================================================== */
.waterproofing-specs-section {
    padding: 6.5rem 0;
    background-color: #05070a;
    color: #ffffff;
}

.waterproofing-specs-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.waterproofing-spec-card {
    background: #0c0f17;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2.25rem 2rem;
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    transition: all 0.3s ease;
}

.waterproofing-spec-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 169, 60, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.waterproofing-spec-badge {
    background: rgba(229, 169, 60, 0.12);
    border: 1px solid rgba(229, 169, 60, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
    flex-shrink: 0;
}

.waterproofing-spec-content {
    flex: 1;
}

.waterproofing-spec-label {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: #e5a93c;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.45rem;
}

.waterproofing-spec-val {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.45;
    color: #ffffff;
    margin: 0;
}

.waterproofing-specs-footnote {
    text-align: center;
    font-size: 0.825rem;
    color: #94a3b8;
    margin-top: 1.5rem;
}

/* ==========================================================================
   5. TRUSTED MANUFACTURERS (GAF) - LIGHT THEME
   ========================================================================== */
.waterproofing-manufacturers-section {
    padding: 4.5rem 0;
    background-color: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.waterproofing-manufacturers-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-manufacturers-box {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 3.5rem;
    align-items: center;
}

.waterproofing-manufacturers-section .waterproofing-section-title {
    color: #05070a;
}

.waterproofing-manufacturers-section .waterproofing-body-text {
    color: #334155;
    margin-bottom: 0.65rem;
}

.waterproofing-mfg-support {
    font-size: 0.885rem;
    color: #64748b;
    font-style: italic;
    margin: 0;
}

.waterproofing-mfg-logo-wrap {
    display: flex;
    justify-content: flex-end;
}

.waterproofing-logo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 1.5rem 2.5rem;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.waterproofing-mfg-logo {
    max-width: 170px;
    height: auto;
    display: block;
}

/* ==========================================================================
   6. GOOD TO KNOW (DISCREET CARD) - LIGHT THEME
   ========================================================================== */
.waterproofing-good-know-section {
    padding: 3.5rem 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.waterproofing-good-know-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-good-know-card {
    background: #ffffff;
    border: 1px solid rgba(229, 169, 60, 0.45);
    border-radius: 10px;
    padding: 2rem 2.25rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.waterproofing-good-know-icon {
    flex-shrink: 0;
}

.waterproofing-good-know-content {
    flex: 1;
}

.waterproofing-good-know-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.waterproofing-discreet-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.85rem;
    font-weight: 700;
    color: #b45309;
    text-decoration: none;
    transition: color 0.2s ease;
}

.waterproofing-discreet-link:hover {
    color: #92400e;
    text-decoration: underline;
}

.waterproofing-link-arrow {
    transition: transform 0.2s ease;
}

.waterproofing-discreet-link:hover .waterproofing-link-arrow {
    transform: translateX(3px);
}

/* ==========================================================================
   7. WHAT TO EXPECT (01 ASSESS, 02 RECOMMEND, 03 PROTECT)
   ========================================================================== */
.waterproofing-expect-section {
    padding: 6.5rem 0;
    background-color: #0c0f17;
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.waterproofing-expect-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.waterproofing-step-card {
    background: #111622;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.waterproofing-step-card:hover {
    transform: translateY(-4px);
    border-color: rgba(229, 169, 60, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

.waterproofing-step-highlight {
    border-color: rgba(229, 169, 60, 0.5);
    background: linear-gradient(180deg, #131b2c 0%, #111622 100%);
    box-shadow: 0 8px 26px rgba(229, 169, 60, 0.12);
}

.waterproofing-step-header {
    margin-bottom: 1.25rem;
}

.waterproofing-step-num {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 2.15rem;
    font-weight: 800;
    color: #e5a93c;
    line-height: 1;
}

.waterproofing-step-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #ffffff;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.waterproofing-step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #94a3b8;
    margin: 0;
}

/* ==========================================================================
   8. OUR WARRANTY (10-YR LABOR + UP TO 20-YR MANUFACTURER)
   ========================================================================== */
.waterproofing-warranty-section {
    padding: 6.5rem 0;
    background-color: #ffffff;
    color: #05070a;
}

.waterproofing-warranty-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-warranty-grid {
    display: grid;
    grid-template-columns: 1.05fr 1.35fr;
    gap: 4rem;
    align-items: center;
}

.waterproofing-warranty-section .waterproofing-section-title {
    color: #05070a;
}

.waterproofing-warranty-lead {
    font-size: 1.15rem;
    line-height: 1.7;
    color: #334155;
    margin-bottom: 1.75rem;
}

.waterproofing-warranty-footnote {
    font-size: 0.885rem;
    line-height: 1.6;
    color: #64748b;
    border-left: 2px solid #e5a93c;
    padding-left: 1rem;
}

.waterproofing-warranty-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

.waterproofing-wcard {
    background: #0c0f17;
    border: 1px solid rgba(229, 169, 60, 0.35);
    border-radius: 12px;
    padding: 2.25rem 1.85rem;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.waterproofing-wcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.waterproofing-wcard-icon {
    margin-bottom: 1.25rem;
}

.waterproofing-wcard-badge {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    background: linear-gradient(135deg, #e5a93c 0%, #d4982f 100%);
    color: #05070a;
    border-radius: 6px;
    padding: 0.45rem 0.85rem;
    margin-bottom: 1rem;
}

.wcard-badge-num {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.65rem;
    font-weight: 800;
    line-height: 1;
}

.wcard-badge-unit {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.waterproofing-wcard-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 1.15rem;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 0.65rem;
}

.waterproofing-wcard-desc {
    font-size: 0.925rem;
    line-height: 1.55;
    color: #cbd5e1;
    margin: 0;
}

/* ==========================================================================
   9. REAL RESULTS (SPLIT 0.9fr / 1.6fr, 2/3 ASPECT-RATIO)
   ========================================================================== */
.waterproofing-results-section {
    padding: 6.5rem 0;
    background-color: #05070a;
    color: #ffffff;
}

.waterproofing-results-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-results-split {
    display: grid;
    grid-template-columns: 0.9fr 1.6fr;
    gap: 3.5rem;
    align-items: center;
}

.waterproofing-results-intro .waterproofing-section-title {
    color: #ffffff;
}

.waterproofing-results-intro .waterproofing-body-text {
    color: #cbd5e1;
}

.waterproofing-btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background-color: #111622;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: 0.885rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.95rem 1.65rem;
    border-radius: 6px;
    transition: all 0.25s ease;
}

.waterproofing-btn-dark:hover {
    background-color: #1c2438;
    border-color: #e5a93c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.waterproofing-btn-arrow {
    color: #e5a93c;
    font-size: 1.15rem;
    transition: transform 0.25s ease;
}

.waterproofing-btn-dark:hover .waterproofing-btn-arrow {
    transform: translateX(4px);
}

.waterproofing-results-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.waterproofing-gallery-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    background-color: #0c0f17;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.35);
}

.waterproofing-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.waterproofing-gallery-card:hover .waterproofing-gallery-img {
    transform: scale(1.05);
}

.waterproofing-gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 0.85rem;
    background: linear-gradient(180deg, transparent 0%, rgba(5, 7, 10, 0.95) 100%);
}

.waterproofing-gallery-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #f1f5f9;
    letter-spacing: 0.02em;
}

/* ==========================================================================
   10. FINAL CTA & BBB HORIZONTAL CARD
   ========================================================================== */
.waterproofing-final-cta-section {
    padding: 6.5rem 0;
    background: linear-gradient(180deg, #0c0f17 0%, #05070a 100%);
    color: #ffffff;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.waterproofing-final-cta-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-final-cta-split {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
    align-items: center;
}

.waterproofing-final-title {
    font-family: var(--font-heading, 'Outfit', sans-serif);
    font-size: clamp(2rem, 3.5vw, 2.85rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    margin-top: 0.65rem;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.waterproofing-final-body {
    font-size: 1.1rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
}

.waterproofing-final-buttons-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.waterproofing-reassurance-line {
    font-size: 0.925rem;
    line-height: 1.55;
    color: #94a3b8;
    margin: 0 0 1.5rem 0;
    max-width: 480px;
    font-style: italic;
}

/* BBB Official Accredited Badge Card - Standardized with Metal & Tile */
.waterproofing-final-bbb-card {
    display: inline-flex;
    align-self: flex-start;
    width: auto;
    max-width: fit-content;
    background: #ffffff;
    border-radius: 8px;
    padding: 0.65rem 1.35rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.waterproofing-final-bbb-card .bbb-card-inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 1rem !important;
}

.waterproofing-final-bbb-card .bbb-official-logo {
    height: 38px !important;
    width: auto !important;
    max-width: none !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 !important;
}

.waterproofing-final-bbb-card .bbb-card-text {
    border-left: 1px solid #e2e8f0 !important;
    padding-left: 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.waterproofing-final-bbb-card .bbb-accredited-label {
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    letter-spacing: 0.05em !important;
    text-transform: uppercase !important;
    display: block !important;
    line-height: 1.2 !important;
}

.waterproofing-final-bbb-card .bbb-rating-label {
    font-size: 0.9rem !important;
    font-weight: 900 !important;
    color: #0f172a !important;
    display: block !important;
    line-height: 1.2 !important;
}

/* ==========================================================================
   11. TRUST STRIP (1 ROW CONTINUOUS FLEX IN DESKTOP)
   ========================================================================== */
.waterproofing-trust-strip-section {
    padding: 2.25rem 0;
    background-color: #0c0f17;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.waterproofing-trust-strip-container {
    max-width: var(--container-max, 1320px);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.waterproofing-trust-strip-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.waterproofing-trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.waterproofing-trust-icon svg {
    display: block;
}

.waterproofing-trust-text {
    font-size: 0.885rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

/* ==========================================================================
   12. WATERPROOFING CONTACT SECTION OVERRIDES
   ========================================================================== */
.waterproofing-contact-section {
    position: relative;
    background-image: linear-gradient(135deg, rgba(5, 7, 10, 0.94) 0%, rgba(12, 15, 23, 0.97) 100%), url(../images/hero-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
    padding: 5.5rem 0;
}

.waterproofing-contact-section .contact-eyebrow {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #e5a93c;
    text-transform: uppercase;
    margin-bottom: 0.6rem;
    display: block;
}

.waterproofing-contact-section .contact-main-heading {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.15;
    margin: 0 0 1.25rem 0;
}

.waterproofing-contact-section .contact-lead-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0 0 2.25rem 0;
}

.waterproofing-contact-section .contact-points-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin-bottom: 2rem;
}

.waterproofing-contact-section .contact-trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.waterproofing-contact-section .trust-tag-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(229, 169, 60, 0.3);
    padding: 0.5rem 0.85rem;
    border-radius: 6px;
    color: #e2e8f0;
    font-size: 0.82rem;
    font-weight: 700;
}

/* Hide global bottom-cta banner on dedicated waterproofing page */
.page-template-page-waterproofing .bottom-cta-banner-section {
    display: none !important;
}

/* ==========================================================================
   13. RESPONSIVE DESIGN (TABLET & MOBILE BREAKPOINTS)
   ========================================================================== */
@media (max-width: 1024px) {
    .waterproofing-hero-grid,
    .waterproofing-why-grid,
    .waterproofing-warranty-grid,
    .waterproofing-final-cta-split,
    .waterproofing-manufacturers-box {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .waterproofing-mfg-logo-wrap {
        justify-content: flex-start;
    }

    .waterproofing-approach-grid,
    .waterproofing-specs-grid,
    .waterproofing-steps-grid {
        grid-template-columns: 1fr;
    }

    .waterproofing-results-split {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .waterproofing-trust-strip-grid {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1.75rem 2.5rem;
    }
}

@media (max-width: 768px) {
    .waterproofing-hero-section {
        padding: 5.5rem 0 3.5rem;
        min-height: auto;
    }

    .waterproofing-hero-title {
        font-size: 2.2rem;
    }

    .waterproofing-hero-subhead {
        font-size: 1.1rem;
    }

    .waterproofing-hero-ctas,
    .waterproofing-final-buttons-row {
        flex-direction: column;
        width: 100%;
    }

    .waterproofing-btn-primary,
    .waterproofing-btn-phone {
        width: 100%;
        text-align: center;
    }

    .waterproofing-warranty-cards-grid {
        grid-template-columns: 1fr;
    }

    .waterproofing-results-gallery {
        grid-template-columns: 1fr;
    }

    .waterproofing-gallery-card {
        aspect-ratio: 1 / 1;
    }

    .waterproofing-media-img {
        height: 320px;
    }

    .waterproofing-good-know-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .waterproofing-trust-strip-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.15rem;
    }

    .waterproofing-trust-item {
        width: 100%;
    }

    .waterproofing-trust-text {
        white-space: normal;
        font-size: 0.85rem;
    }
}

@media (max-width: 390px) {
    .waterproofing-hero-title {
        font-size: 1.95rem;
    }

    .waterproofing-btn-primary,
    .waterproofing-btn-phone {
        font-size: 0.85rem;
        padding: 0.95rem 1.25rem;
    }

    .waterproofing-ideal-card {
        padding: 1.5rem 1.25rem;
    }
}
