/* ================================================================
   Austin Pool Times — Main Stylesheet
   ================================================================ */

:root {
    --navy:       #0d2b4e;
    --navy-mid:   #1b3d6e;
    --teal:       #206880;
    --red:        #76161C;
    --red-hover:  #5a1015;
    --white:      #ffffff;
    --light-bg:   #edf3fa;
    --dark-bg:    #0a1628;
    --text-dark:  #1a2744;
    --text-mid:   #374151;
    --text-muted: #6b7280;
    --border:     #e5e7eb;
    --gold:       #f59e0b;
    --shadow-sm:  0 2px 8px rgba(0,0,0,0.08);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.12);
    --shadow-lg:  0 8px 40px rgba(0,0,0,0.2);
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  14px;
}

/* ── Reset ───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; }
body  {
    font-family: 'Montserrat', 'Segoe UI', -apple-system, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 500;
    background: var(--white);
}
img   { max-width: 100%; height: auto; display: block; }
a     { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
input, select, textarea, button { font-family: inherit; }
h1, h2, h3, h4 { line-height: 1.2; }

/* ── Container ───────────────────────────────── */
.container {
    width: 100%;
    max-width: 1631px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
    text-align: center;
}
input#gform_submit_button_1 {
    background-color: #76161c !important;
    display: flex;
    justify-content: center;
    width: auto !important;
    margin: auto;
}
.btn-red          { background: var(--red); color: #FFF; border-color: var(--red); font-family: 'Montserrat', sans-serif; font-size: 18.174px; font-style: normal; font-weight: 700; line-height: normal; text-transform: capitalize; }
.btn-red:hover    { background: var(--red-hover); border-color: var(--red-hover); }
.btn-navy         { background: var(--navy);  color: var(--white); border-color: var(--navy); }
.btn-navy:hover   { background: var(--navy-mid); border-color: var(--navy-mid); }
.btn-outline-white          { background: #0D2B4E; color: var(--white); border-color: #0D2B4E; }
.btn-tel { color: #FFF !important; font-family: 'Montserrat', sans-serif !important; font-size: 18.174px !important; font-style: normal !important; font-weight: 700 !important; line-height: normal !important; }
.btn-outline-white:hover    { background: #185a6e; border-color: #185a6e; }
.btn-outline-dark           { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-dark:hover     { background: var(--navy); color: var(--white); }
.btn-phone {
    background: #061B3E;
    color: #fff;
    border-color: #061B3E;
    border-radius: 4px;
    padding: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}
.btn-phone:hover { background: #0a2a5e; border-color: #0a2a5e; }

/* ================================================================
   HEADER
   ================================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.site-logo { display: flex; align-items: center; }
.logo-img  { height: 56px; width: auto; }
.footer-logo-img { height: 48px; width: auto; }
.logo-text {
    display: flex;
    align-items: center;
    gap: 12px;
}
.logo-icon-svg { flex-shrink: 0; }
.logo-words {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}
.logo-brand   { font-size: 20px; font-weight: 900; color: var(--navy); letter-spacing: 2px; }
.logo-sub     { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: 1px; }
.logo-tagline { font-size: 9px;  font-weight: 500; color: var(--text-muted); letter-spacing: 1px; text-transform: uppercase; }

.logo-text--light .logo-brand,
.logo-text--light .logo-sub     { color: var(--white); }
.logo-text--light .logo-tagline { color: rgba(255,255,255,0.55); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: var(--radius-sm);
}
.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
}
.primary-nav { display: flex; align-items: center; }

/* ================================================================
   HERO SECTION
   ================================================================ */
   p.maroon-text {
    color: #76161C;
    margin-bottom: 20px;
    font-weight: bold;
}
   #estimate-form-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:20px;
}
/* ── Form Card ── */
.hero-form-card {
    background: #fff;
    border-radius: 12px;
    padding: 40px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
    text-align:center;
}

/* ── Title (eyebrow) ── */
.form-card-title {
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #206880;
    margin: 0 0 10px;
}

/* ── H1 Headline ── */
.form-card-headline {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0d1e37;
    margin: 0 0 24px;
}

/* ── H2 Pitch ── */
.form-card-pitch {
    font-size: 1.125rem;
    font-weight: 700;
    color: #0d1e37;
    margin: 0 0 10px;
}

/* ── Body copy ── */
.form-card-body {
    font-size: 19px;
    line-height: 1.65;
    color: #444;
    margin: 0 0 28px;
}

/* ── Guarantee (bottom H2) ── */
.form-card-guarantee {
    font-size: 1rem;
    font-weight: 700;
    color: #206880;
    border-top: 1px solid #e5e7eb;
    padding-top: 20px;
    margin: 24px 0 16px;
    line-height: 1.5;
}

/* ── Privacy note ── */
.form-privacy {
    font-size: 0.8125rem;
    color: #888;
    margin: 0;
    text-align: center;
}

/* ── Phone link below card ── */
.form-phone {
    margin-top: 20px;
}

/* ── Centering wrapper ── */
#estimate-form-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#estimate-form-wrap .btn-tel {
    display: flex;
    justify-content: center;
}

#estimate-form-wrap .btn-tel {
    display: flex;
    justify-content: center;
}

.hero-section {
    position: relative;
    min-height: 829px;
    background: linear-gradient( 135deg, #0a1e3c 0%, #0d4a8a 60%, #0097a7 100% );
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(8, 18, 35, 0.78) 0%,
        rgba(8, 18, 35, 0.60) 50%,
        rgba(8, 18, 35, 0.30) 100%
    );
    pointer-events: none;
}
.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 234px;
    pointer-events: none;
    z-index: 2;
}
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
}
.hero-wave--1 { animation: hero-wave-flow 14s linear infinite; }
.hero-wave--2 { animation: hero-wave-flow 10s linear infinite reverse; }
.hero-wave--3 { animation: hero-wave-flow 12s linear infinite; animation-delay: -4s; }
.hero-wave--4 { animation: hero-wave-flow 8s linear infinite reverse; animation-delay: -2s; }

@keyframes hero-wave-flow {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.form-card-body {
    font-size: 19px;
    line-height: 1.65;
    color: #444;
    margin: 0 0 28px;
    padding-left: 20px;
    list-style: disc;
    text-align: left;
}

.form-card-body li {
    margin-bottom: 8px;
}

.hero-inner {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: start;
    padding-top: 60px;
    padding-bottom: 120px;
    width: 100%;
}
.hero-content { color: var(--white); align-self: center; }
.hero-form-wrap { align-self: start; }
.hero-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
}
.stars { color: var(--gold); font-size: 20px; letter-spacing: 3px; }
.hero-reviews span { font-size: 14px; font-weight: 600; }
.hero-headline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(32px, 4.8vw, 59.73px);
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    color: #ffffff;
    margin-bottom: 16px;
    letter-spacing: normal;
    max-width: 676px;
}
.hero-subtext {
    font-size: 16px;
    opacity: 0.88;
    margin-bottom: 28px;
    max-width: 520px;
    line-height: 1.65;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 36px;
}
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(255,255,255,0.45);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--white);
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
}
.badge::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('/wp-content/uploads/2026/05/small-logo.png') center / contain no-repeat;
    flex-shrink: 0;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero Form Card */
.hero-form-wrap { }
.hero-form-card {
    width: 800px;
    height: auto;
    flex-shrink: 0;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-lg);
    box-sizing: border-box;
    overflow: hidden;
}
.form-card-title {
    color: #206880;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.form-card-subtitle {
    color: #000;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 200.007%;
    margin-bottom: 00px;
}

/* Gravity Forms — Hero Card Styling */
.hero-form-card .gform_wrapper { margin: 0; }
.hero-form-card .gform-theme--foundation .gform_fields { row-gap: 20px !important; }
.hero-form-card .gform_heading,
.hero-form-card .gform_required_legend { display: none; }
.hero-form-card .gform_fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 20px;
    column-gap: 12px;
}
.hero-form-card .gfield { margin: 0; padding: 0; }
.hero-form-card .gfield--width-half { grid-column: span 1; }
.hero-form-card .gfield--width-full { grid-column: span 2; }
.hero-form-card .gfield_label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    color: #206880 !important;
    line-height: 200.007%;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 0;
    display: block;
}
.hero-form-card .gfield_required { color: var(--red); }

/* Inputs & Textarea */
.hero-form-card .ginput_container input,
.hero-form-card .ginput_container textarea {
    width: 100%;
    height: 42px;
    padding: 0 12px;
    border: 1px solid #dde2ea !important;
    border-radius: 6px !important;
    background: #f8f9fb !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #112337;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    box-shadow: none !important;
}
.hero-form-card .ginput_container input:focus,
.hero-form-card .ginput_container textarea:focus {
    border-color: #206880 !important;
    box-shadow: 0 0 0 3px rgba(32,104,128,0.12) !important;
    background: #fff !important;
}

/* Select dropdown */
.hero-form-card .ginput_container_select {
    position: relative;
}
.hero-form-card .ginput_container_select::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 6px;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23206880' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}
.hero-form-card .ginput_container select {
    width: 100%;
    height: 42px;
    padding: 0 36px 0 12px;
    border: 1px solid #dde2ea !important;
    border-radius: 6px !important;
    background: #f8f9fb !important;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #112337;
    outline: none;
    appearance: none !important;
    -webkit-appearance: none !important;
    box-sizing: border-box;
    box-shadow: none !important;
    cursor: pointer;
}
.hero-form-card .ginput_container select:focus {
    border-color: #206880 !important;
    box-shadow: 0 0 0 3px rgba(32,104,128,0.12) !important;
    background: #fff !important;
}

/* Submit button — override GF orbital theme variables */
.hero-form-card .gform-footer,
.hero-form-card .gform_footer {
    margin-top: 12px;
    padding: 0;
}
.hero-form-card .gform_button,
.hero-form-card input[type="submit"].gform_button {
    width: 100% !important;
    height: 48px !important;
    background: var(--navy) !important;
    background-color: var(--navy) !important;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    border: none !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    transition: background 0.2s !important;
    letter-spacing: 0.3px !important;
    box-shadow: none !important;
}
.hero-form-card .gform_button:hover,
.hero-form-card input[type="submit"].gform_button:hover {
    background: #061B3E !important;
    background-color: #061B3E !important;
}
.hero-form-card .gform_ajax_spinner { display: none; }
.hero-form-card .gfield_validation_message,
.hero-form-card .gform_validation_errors { font-size: 11px; color: var(--red); margin-top: 3px; }
.hero-form-card .gform_confirmation_message {
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #206880;
    padding: 24px 0;
}
.estimate-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}
.form-group--full { grid-column: 1 / -1; }
.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.req { color: var(--red); margin-left: 1px; }
.form-group input,
.form-group select {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: border-color 0.2s;
    background: var(--white);
    width: 100%;
    appearance: auto;
}
.form-group input:focus,
.form-group select:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(13,43,78,0.08); }
.form-submit-btn { width: 100%; justify-content: center; margin-top: 4px; padding: 14px 20px; font-size: 15px; border-radius: var(--radius-sm); }
.form-privacy {
    color: #B5B3B3;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 200.007%;
    margin-top: 10px;
}
.form-success { text-align: center; padding: 24px 0; }
.form-success h3 { color: var(--navy); font-size: 22px; margin-bottom: 8px; }
.form-success p  { color: var(--text-mid); }

/* ================================================================
   SHARED SECTION STYLES
   ================================================================ */
.section-header  { text-align: center; margin-bottom: 52px; }

.section-label   {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    letter-spacing: normal;
    text-transform: uppercase;
    color: #76161C;
    margin-bottom: 10px;
}

.section-title   {
    font-family: 'Montserrat', sans-serif;
    font-size: 35px;
    font-weight: 700;
    font-style: normal;
    line-height: normal;
    text-align: center;
    text-transform: uppercase;
    color: #206880;
    margin-bottom: 16px;
}

.section-desc    {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 500;
    font-style: normal;
    line-height: 200.007%;
    text-align: center;
    max-width: 1222px;
    margin: 0 auto;
    color: var(--text-mid);
}

/* ================================================================
   SERVICES SECTION
   ================================================================ */
.services-section { padding: 88px 0; background: var(--white); }

/* 6-column grid so 3 cards fill row 1, 2 cards center in row 2 */
.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}
.service-card                 { grid-column: span 2; }
.service-card:nth-child(4)    { grid-column: 2 / 4;  }
.service-card:nth-child(5)    { grid-column: 4 / 6;  }

.service-card {
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
}
.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/wp-content/uploads/2026/05/cards-bg-scaled.jpg') center / cover no-repeat;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 0;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(6, 27, 62, 0.78);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
}
.service-card > * { position: relative; z-index: 2; }
.service-card:hover::before,
.service-card:hover::after { opacity: 1; }
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:nth-child(3):hover .service-title,
.service-card:nth-child(3):hover .service-desc { color: var(--white); }
.service-card:hover .service-icon {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
}

.service-card--featured {
    background: var(--navy);
    border-color: var(--navy);
    color: var(--white);
}
.service-card--featured::before { opacity: 1; }
.service-card--featured::after  { opacity: 1; }
.service-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 5.456px;
    background: #A6DCE33D;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.service-card--featured .service-icon,
.service-card:hover .service-icon {
    background: #fff;
    border: none;
}
.service-icon svg { width: 30px; height: 30px; color: var(--navy); }
.service-card--featured .service-icon svg { color: var(--white); }
.service-title {
    font-size: 17px;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--navy);
}
.service-card--featured .service-title { color: var(--white); }
.service-desc {
    font-size: 19px;
    color: var(--text-mid);
    line-height: 1.65;
}
.service-card--featured .service-desc { color: rgba(255,255,255,0.82); }

/* ================================================================
   WHY CHOOSE US SECTION
   ================================================================ */
.why-section { padding: 88px 0; background: var(--light-bg); }
.why-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.why-section .section-label,
.why-section .section-title { text-align: left; }

.why-desc {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 500;
    line-height: 200.007%;
    color: var(--text-mid);
    margin-bottom: 32px;
}
.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 36px;
}
.feature-box {
    display: flex;
    align-items: center;
    gap: 46px;
    padding: 14px 16px;
    height: 101px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    box-sizing: border-box;
}
.feature-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: none;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.feature-icon img  { width: 40px; height: 40px; object-fit: contain; }
.feature-icon svg  { width: 20px; height: 20px; color: var(--navy); }
.feature-title {
    color: #206880;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.why-ctas          { display: flex; flex-wrap: wrap; gap: 12px; }

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: block;
}
.why-image-placeholder {
    width: 100%;
    height: 460px;
    background: linear-gradient( 135deg, #5fa8d3, #0d2b4e );
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    text-align: center;
    padding: 24px;
    line-height: 1.7;
}
.gfield select {
    text-align: left;
}
div .ti-widget.ti-goog .ti-review-item>.ti-inner, .ti-widget.ti-goog .ti-load-more-reviews-container .ti-load-more-reviews-button {
    border-top-width: 0px !important;
    border-bottom-width: 0px !important;
    border-left-width: 0px !important;
    border-right-width: 0px !important;
    background-color: #ffff !important;
    backdrop-filter: blur(0px);
}
/* ================================================================
   TESTIMONIALS SECTION
   ================================================================ */
.testimonials-section { padding: 88px 0; background: #EDF3FA }
.testimonials-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}
.testimonials-viewport { flex: 1; overflow: hidden; }
.testimonials-track {
    display: flex;
    gap: 24px;
    transition: transform 0.35s ease;
}
.testimonial-card {
    flex: 0 0 calc(33.333% - 16px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    background: var(--white);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
}
.testimonial-meta           { flex: 1; min-width: 0; }
.testimonial-meta strong    { display: block; font-size: 14px; color: var(--text-dark); font-weight: 700; }
.testimonial-meta span      { font-size: 12px; color: var(--text-muted); }
.google-icon                { margin-left: auto; flex-shrink: 0; }
.testimonial-stars          { color: var(--gold); font-size: 15px; letter-spacing: 2px; margin-bottom: 10px; }
.testimonial-text           { font-size: 14px; color: var(--text-mid); line-height: 1.65; }
.read-more                  { display: inline-block; font-size: 13px; color: var(--navy); font-weight: 700; margin-top: 8px; }
.read-more:hover            { color: var(--red); }

.testimonial-nav {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
}
.testimonial-nav:hover     { background: var(--navy); color: var(--white); border-color: var(--navy); }
.testimonial-nav:disabled  { opacity: 0.35; cursor: default; }

.testimonials-ctas {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 40px;
}


/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    position: relative;
    padding: 96px 0;
    background: linear-gradient( 135deg, #081428 0%, #0d4a8a 100% );
    background-size: cover;
    background-position: center center;
    text-align: center;
    overflow: hidden;
}
.cta-overlay {
    position: absolute;
    inset: 0;
    background: none;
    pointer-events: none;
}
.cta-inner    { position: relative; z-index: 1; color: var(--white); }
.cta-headline {
    color: #FFF;
    text-align: center;
    text-shadow: 0 0 210.1px #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.cta-desc {
    color: #FFF;
    text-align: center;
    text-shadow: 0 0 210.1px #000;
    font-family: 'Montserrat', sans-serif;
    font-size: 25px;
    font-style: normal;
    font-weight: 600;
    line-height: 177.444%;
    width: 1355px;
    max-width: 100%;
    margin: 0 auto 16px;
}
.cta-tagline {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 36px;
    opacity: 0.75;
}
.cta-buttons { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ================================================================
   FOOTER
   ================================================================ */
.pre-footer {
    position: relative;
    background-color: #76161c;
    color: #fff;
    text-align: center;
    padding: 10px;
}

.footer-inner.container {
    padding: 44px;
}
.site-footer { background: #206880;}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}
.footer-logo { display: flex; align-items: center; }
.footer-copy {
    color: #FFF;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.footer-link       { color: #FFF; font-family: 'Montserrat', sans-serif; font-size: 16px; font-style: normal; font-weight: 500; line-height: normal; transition: color 0.2s; }
.footer-link:hover { color: rgba(255,255,255,0.75); }

/* ================================================================
   GENERIC PAGES
   ================================================================ */
.page-main,
.blog-main   { padding: 64px 0; min-height: 400px; }
.page-main h1,
.blog-main h1 { font-size: 32px; font-weight: 900; color: var(--navy); margin-bottom: 24px; }
.page-content { font-size: 16px; line-height: 1.85; color: var(--text-mid); }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1080px) {
    .hero-inner {
        grid-template-columns: 1fr;
    }
    .hero-form-wrap {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    .why-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .why-image { order: -1; }
    .why-image img,
    .why-image-placeholder { height: 320px; }
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .primary-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 16px 24px;
        box-shadow: var(--shadow-md);
        z-index: 100;
    }
    .primary-nav.open { display: flex; }
    .site-header { position: relative; }

    .services-grid { grid-template-columns: 1fr; }
    .service-card,
    .service-card:nth-child(4),
    .service-card:nth-child(5) { grid-column: span 1; }

    .features-grid { grid-template-columns: 1fr; }

    .testimonial-card  { flex: 0 0 100%; }
    .testimonial-nav   { display: none; }
    .testimonials-wrapper { flex-direction: column; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-copy  { flex-direction: column; gap: 8px; justify-content: center; }

    .estimate-form .form-row { grid-template-columns: 1fr; }
    .form-group--full        { grid-column: span 1; }

      .hero-form-card {
        width: 100%;
        height: auto;
        flex-shrink: 0;
        background: var(--white);
        border-radius: var(--radius-lg);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        box-sizing: border-box;
        overflow: hidden;
    }

    .hero-inner {
        position: relative;
        z-index: 3;
        display: grid;
        grid-template-columns: 1fr;
        gap: 48px;
        align-items: start;
        padding-top: 60px;
        padding-bottom: 60px;
        width: 100%;
    }
}

@media (max-width: 520px) {
    .hero-ctas,
    .why-ctas,
    .cta-buttons,
    .testimonials-ctas { flex-direction: column; align-items: flex-start; }
    .cta-buttons,
    .testimonials-ctas { align-items: center; }
    .hero-ctas .btn    { width: 100%; justify-content: center; }
}
