/* ══════════════════════════════════════════════════════════════════
   Sonners Contracting — Main Stylesheet
   Mobile-first responsive design
   ══════════════════════════════════════════════════════════════════ */

/* ─── CSS VARIABLES ─── */
:root {
    --primary: #2274c6;
    --primary-dark: #1b5fa3;
    --primary-light: #e8f2fc;
    --primary-glow: rgba(34, 116, 198, 0.15);
    --gold: #d4af37;
    --gold-dark: #b8941f;
    --gold-light: #faf3d8;

    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-700: #334155;
    --gray-800: #1e293b;
    --gray-900: #0f172a;

    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;

    --font: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);

    --ease: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
    --transition: 0.3s var(--ease);

    --header-h: 72px;
    --mobile-nav-h: 64px;
    --container: 1200px;
    --container-sm: 900px;
    --container-lg: 1400px;
}

/* ─── RESET ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--primary-dark); }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }
ul, ol { list-style: none; }
input, textarea, select { font-family: var(--font); font-size: 16px; }

/* ─── UTILITIES ─── */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container-sm { max-width: var(--container-sm); }
.container-lg { max-width: var(--container-lg); }
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.text-gray { color: var(--gray-500); }
.bg-primary { background-color: var(--primary); }
.bg-gray { background-color: var(--gray-50); }
.bg-dark { background-color: var(--gray-900); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--gray-900);
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: clamp(1.1rem, 2.5vw, 1.35rem); }
p { margin-bottom: 1rem; }
.lead { font-size: 1.2rem; color: var(--gray-600); line-height: 1.7; }
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 0.75rem;
}
.section-label-gold { color: var(--gold); }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius);
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
    line-height: 1;
}
.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(34, 116, 198, 0.35);
}
.btn-primary:hover {
    background: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 116, 198, 0.45);
}
.btn-gold {
    background: var(--gold);
    color: var(--gray-900);
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}
.btn-gold:hover {
    background: var(--gold-dark);
    color: var(--gray-900);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}
.btn-white {
    background: var(--white);
    color: var(--primary);
}
.btn-white:hover {
    background: var(--gray-100);
    color: var(--primary-dark);
    transform: translateY(-2px);
}
.btn-lg { padding: 18px 40px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }
.btn-icon { width: 48px; height: 48px; padding: 0; border-radius: var(--radius-full); }
.btn-phone {
    background: var(--success);
    color: var(--white);
}
.btn-phone:hover {
    background: #16a34a;
    color: var(--white);
    transform: translateY(-2px);
}

/* ─── HEADER ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-h);
    background: var(--primary);
    z-index: 1000;
    transition: all var(--transition);
}
.site-header.scrolled {
    background: var(--primary);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
/* White text on dark blue header — always */
.site-header .main-nav a,
.site-header .header-phone { color: rgba(255,255,255,0.9); }

.header-phone svg {
  width: 30px;
  height: 30px;
    width: 12.6px !important;  /* 30% smaller than original 18px */
    height: 12.6px !important;
    animation: phonePulse 2s ease-in-out infinite;
}

@keyframes phonePulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Social media icons styling */


/* Social Icons */
.social-icons {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
}

.social-icon {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: rgba(255,255,255,0.7);
    transition: all var(--transition);
    border-radius: var(--radius-sm);
}

.social-icon:hover {
    color: var(--white);
    background: rgba(255,255,255,0.1);
    transform: translateY(-2px);
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Header Social Media Buttons */
.header-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
}

.header-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.2s ease;
    text-decoration: none;
    padding: 6px;
    border-radius: 4px;
}

.header-social-btn:hover {
    opacity: 1;
    transform: translateY(-1px);
    color: white !important;
}

.header-social-btn svg {
    width: 48px;
    height: 48px;
    fill: white !important;
    stroke: white !important;
}

.site-header.scrolled .main-nav a,
.site-header.scrolled .header-phone { color: rgba(255,255,255,0.9); }
.site-header .main-nav a:hover,
.site-header .main-nav a.active { color: white; background: rgba(255,255,255,0.15); }
.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active { color: white; background: rgba(255,255,255,0.15); }
.site-header .mobile-menu-btn span { background: white; }
.site-header.scrolled .mobile-menu-btn span { background: white; }
/* Logo stays light */
.header-logo img { transition: filter 0.3s ease; }
.site-header.scrolled .header-logo img { filter: none; }
/* Dropdown menu always readable */
.nav-dropdown-menu a { color: var(--gray-700) !important; background: transparent !important; }
.nav-dropdown-menu a:hover { color: var(--primary) !important; background: var(--primary-light) !important; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 20px;
}
.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.header-logo img {
    height: 44px;
    width: auto;
}
.header-logo-text {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.01em;
    line-height: 1.15;
}
.header-logo-text span {
    display: block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
}

/* Desktop nav */
.main-nav {
    display: none;
    align-items: center;
    gap: 4px;
}
.main-nav a {
    position: relative;
    padding: 10px 18px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.main-nav a:hover,
.main-nav a.active {
    color: var(--primary);
    background: var(--primary-light);
}
/* Dropdown */
.nav-dropdown {
    position: relative;
}
.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
}
.nav-dropdown-trigger::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    transition: transform var(--transition);
}
.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: rotate(180deg);
}
.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 240px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    padding: 8px;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}
.nav-dropdown-menu a:hover {
    background: var(--primary-light);
}

/* Header CTA */
.header-cta {
    display: none;
    align-items: center;
    gap: 12px;
}
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary);
}
.header-phone svg {
  width: 30px;
  height: 30px;
    width: 35px;
    height: 35px;
}

/* Language toggle */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    border: 1.5px solid rgba(255,255,255,0.4);
    background: transparent;
    color: rgba(255,255,255,0.9);
    font-size: 0.75rem;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
}
.lang-toggle:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
}
.site-header.scrolled .lang-toggle {
    border-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.9);
}
.site-header.scrolled .lang-toggle:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.6);
    color: white;
}
.lang-toggle svg { width: 16px; height: 16px; }
/* Hide Google Translate bar */
.goog-te-banner-frame, .skiptranslate { display: none !important; }
body { top: 0 !important; }

/* Mobile hamburger */
.mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
}
.mobile-menu-btn span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: all var(--transition);
}
.mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile slide-out menu */
.mobile-menu {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    transform: translateX(100%);
    transition: transform 0.35s var(--ease);
    overflow-y: auto;
    padding: 20px;
    padding-bottom: calc(var(--mobile-nav-h) + 40px);
}
.mobile-menu.open {
    transform: translateX(0);
}
.mobile-menu a {
    display: block;
    padding: 14px 16px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-100);
    transition: all var(--transition);
}
.mobile-menu a:hover,
.mobile-menu a.active {
    color: var(--primary);
    background: var(--primary-light);
    border-radius: var(--radius-sm);
}
.mobile-menu .submenu {
    padding-left: 20px;
}
.mobile-menu .submenu a {
    font-size: 0.9rem;
    font-weight: 500;
}
.mobile-menu-cta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ─── MOBILE BOTTOM NAV ─── */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-h);
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    display: flex;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.mobile-bottom-nav a {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--gray-500);
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition);
    -webkit-tap-highlight-color: transparent;
}
.mobile-bottom-nav a:active {
    transform: scale(0.92);
}
.mobile-bottom-nav a.active,
.mobile-bottom-nav a:hover {
    color: var(--primary);
}
.mobile-bottom-nav a.nav-call {
    background: var(--success);
    color: var(--white);
    border-radius: 0;
    font-weight: 700;
}
.mobile-bottom-nav a.nav-call:hover { color: var(--white); }
.mobile-bottom-nav a.nav-quote {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}
.mobile-bottom-nav a.nav-quote:hover { color: var(--white); }
.mobile-bottom-nav svg {
    width: 22px;
    height: 22px;
}

/* ─── HERO SPLIT LAYOUT (title left, form right) ─── */
.hero-split-layout {
    display: flex;
    align-items: center;
    gap: 40px;
}
.hero-split-layout .hero-content { flex: 1; }
.hero-form { flex: 0 0 380px; position: relative; z-index: 3; }
.hero-form-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-xl);
}
.hero-form-card .form-control {
    padding: 11px 14px;
    font-size: 0.9rem;
    border: 1.5px solid var(--gray-200);
}
.hero-form-card .form-group { margin-bottom: 12px; }
@media (max-width: 768px) {
    .hero-split-layout { flex-direction: column; gap: 24px; }
    .hero-form { flex: none; width: 100%; }
}

/* ─── HERO SECTION ─── */
.hero {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    margin-top: var(--header-h);
    overflow: hidden;
    padding: 40px 0;
}
.hero-home {
    min-height: 85vh;
    padding: 0;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.85) 0%, rgba(34, 116, 198, 0.7) 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 700px;
    padding: 60px 0;
}
.hero h1 {
    color: var(--white);
    margin-bottom: 20px;
}
.hero h1 .highlight {
    color: var(--gold);
}
.hero p {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.7;
}
.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}
.hero-badge svg {
    width: 16px;
    height: 16px;
    color: var(--gold);
}

/* ─── STATS BAR ─── */
.stats-bar {
    background: var(--primary-dark);
    padding: 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}
.stat-item {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.stat-item:nth-child(odd) {
    border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 6px;
}
.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
}

/* ─── SECTIONS ─── */
.section {
    padding: 60px 0;
}
.section-lg { padding: 80px 0; }
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}
.section-header h2 {
    margin-bottom: 16px;
}
.section-header p {
    color: var(--gray-500);
    font-size: 1.1rem;
}

/* ─── SERVICE CARDS ─── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all var(--transition);
    text-align: center;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}
.service-card-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}
.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}
.service-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 16px;
}
.service-card .btn {
    width: 100%;
}

/* ─── PORTFOLIO / GALLERY ─── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.gallery-item:hover img {
    transform: scale(1.08);
}
.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 50%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay {
    opacity: 1;
}
.gallery-overlay h4 {
    color: var(--white);
    font-size: 0.95rem;
}
.gallery-overlay span {
    color: var(--gray-300);
    font-size: 0.8rem;
}

/* ─── LEAD FORM ─── */
.lead-form-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 60px 0;
}
.lead-form-section.alt {
    background: var(--gray-50);
}
.lead-form-section.alt .lead-form-title { color: var(--gray-900); }
.lead-form-section.alt .lead-form-subtitle { color: var(--gray-500); }
.lead-form-title {
    font-size: clamp(1.5rem, 4vw, 2.25rem);
    color: var(--white);
    text-align: center;
    margin-bottom: 8px;
}
.lead-form-subtitle {
    text-align: center;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
    font-size: 1.05rem;
}
.lead-form {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-xl);
}
.form-group {
    margin-bottom: 16px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--gray-700);
    background: var(--white);
    transition: all var(--transition);
    -webkit-appearance: none;
}
.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}
.form-control::placeholder {
    color: var(--gray-400);
}
textarea.form-control {
    resize: vertical;
    min-height: 100px;
}
select.form-control {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2364748b'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
    padding-right: 40px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-submit {
    margin-top: 8px;
}
.form-submit .btn {
    width: 100%;
    padding: 16px;
    font-size: 1.05rem;
}
.form-success {
    text-align: center;
    padding: 40px 20px;
    display: none;
}
.form-success svg {
    width: 64px;
    height: 64px;
    color: var(--success);
    margin-bottom: 16px;
}
.form-success h3 {
    margin-bottom: 8px;
}

/* ─── REVIEWS ─── */
.reviews-section {
    background: var(--gray-50);
}
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
.review-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
}
.review-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}
.review-stars svg {
    width: 35px;
    height: 35px;
    fill: var(--gold);
}
.review-text {
    color: var(--gray-600);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 16px;
    font-style: italic;
}
.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.review-avatar {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    font-size: 1rem;
}
.review-name {
    font-weight: 600;
    color: var(--gray-900);
    font-size: 0.9rem;
}
.review-location {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ─── CTA SECTION ─── */
.cta-section {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(34, 116, 198, 0.92) 0%, rgba(15, 23, 42, 0.92) 100%);
}
.cta-content {
    position: relative;
    z-index: 2;
}
.cta-content h2 {
    color: var(--white);
    margin-bottom: 16px;
}
.cta-content p {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 30px;
}
.cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand {
    max-width: 320px;
}
.footer-brand img {
    height: 40px;
    margin-bottom: 16px;
}
.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--gray-400);
}
.footer-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--white);
    margin-bottom: 16px;
}
.footer-links a {
    display: block;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--gray-400);
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--white);
}
.footer-contact a,
.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    font-size: 0.9rem;
    color: var(--gray-400);
}
.footer-contact a:hover {
    color: var(--gold);
}
.footer-contact svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--primary);
}
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}
.footer-social a {
    width: 24px;
    height: 24px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    transition: all var(--transition);
}
.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
}
.footer-social svg {
    width: 14px;
    height: 14px;
}
.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
    padding-bottom: calc(20px + var(--mobile-nav-h));
}
.footer-bottom a {
    color: var(--gray-500);
}
.footer-bottom a:hover {
    color: var(--white);
}

/* ─── BREADCRUMBS ─── */
.breadcrumbs {
    padding: 16px 0;
    font-size: 0.8rem;
    text-align: center;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
}
.breadcrumbs li::after {
    content: '/';
    margin-left: 8px;
    color: var(--gray-400);
}
.breadcrumbs li:last-child::after {
    display: none;
}
.breadcrumbs a {
    color: var(--gray-500);
}
.breadcrumbs a:hover {
    color: var(--primary);
}
.breadcrumbs li:last-child span {
    color: var(--gray-700);
    font-weight: 600;
}

/* ─── NEIGHBORHOODS / CITY PAGES ─── */
.neighborhoods-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.neighborhood-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    transition: all var(--transition);
}
.neighborhood-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}
.neighborhood-card h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
}
.neighborhood-card p {
    font-size: 0.8rem;
    color: var(--gray-500);
    margin-bottom: 0;
}

/* Hail info card */
.hail-card {
    background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
    border-radius: var(--radius-lg);
    padding: 40px;
    color: var(--white);
}
.hail-card h3 { color: var(--white); margin-bottom: 16px; }
.hail-card p { color: var(--gray-300); }
.hail-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 24px;
}
.hail-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}
.hail-stat-label {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ─── FAQ ACCORDION ─── */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: color var(--transition);
}
.faq-question:hover {
    color: var(--primary);
}
.faq-question svg {
    width: 24px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition);
    color: var(--gray-400);
}
.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease);
}
.faq-answer-inner {
    padding-bottom: 20px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ─── LIGHTBOX ─── */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.lightbox.active { display: flex; }
.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius);
}
.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--white);
    padding: 8px;
}
.lightbox-close svg {
    width: 28px;
    height: 28px;
}
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    padding: 16px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    transition: background var(--transition);
}
.lightbox-nav:hover {
    background: rgba(255,255,255,0.2);
}
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }

/* ─── SCROLL ANIMATIONS ─── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ─── CONTENT PAGES ─── */
.page-content {
    padding: 48px 0 80px;
    margin-top: var(--header-h);
}
.page-content h2 { margin: 48px 0 20px; }
.page-content h3 { margin: 40px 0 16px; }
.page-content p { margin-bottom: 20px; line-height: 1.8; font-size: 1.05rem; color: var(--gray-600); }
.page-content ul, .page-content ol {
    margin: 0 0 28px 28px;
    list-style: disc;
}
.page-content li {
    margin-bottom: 14px;
    line-height: 1.75;
    font-size: 1.05rem;
    color: var(--gray-600);
}
.page-content li strong { color: var(--gray-800); }
.page-content img {
    border-radius: var(--radius);
    margin: 32px 0;
}

/* ─── BLOG ─── */
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all var(--transition);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.blog-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}
.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card-image img {
    transform: scale(1.05);
}
.blog-card-body {
    padding: 24px;
}
.blog-card-meta {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 8px;
}
.blog-card h3 {
    font-size: 1.15rem;
    margin-bottom: 8px;
}
.blog-card p {
    color: var(--gray-500);
    font-size: 0.9rem;
}

/* ─── SERVICE DETAIL PAGE ─── */
.service-page {
    margin-top: var(--header-h);
}
.service-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 60px;
}
.service-main h2 { margin: 40px 0 20px; font-size: 1.6rem; }
.service-main h3 { margin: 36px 0 16px; font-size: 1.25rem; }
.service-main p { margin-bottom: 20px; line-height: 1.8; font-size: 1.05rem; color: var(--gray-600); }
.service-main ul, .service-main ol { margin: 0 0 28px 28px; list-style: disc; }
.service-main li { margin-bottom: 14px; line-height: 1.75; font-size: 1.05rem; color: var(--gray-600); }
.service-main li strong { color: var(--gray-800); }
.service-sidebar {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 28px;
}
.service-sidebar h4 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
}
.service-sidebar a {
    display: block;
    padding: 10px 12px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-600);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    margin-bottom: 2px;
}
.service-sidebar a:hover,
.service-sidebar a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

/* ─── CITY LANDING PAGES ─── */
.nearby-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.nearby-city-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gray-600);
    transition: all var(--transition);
}
.nearby-city-link:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ═══════════════════════════════════════════════════════════════════ */

/* Tablet */
@media (min-width: 768px) {
    .container { padding: 0 32px; }
    .section { padding: 80px 0; }
    .section-lg { padding: 100px 0; }

    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .stat-item { border-bottom: none; }
    .stat-item:nth-child(odd) { border-right: none; }
    .stat-item:not(:last-child) { border-right: 1px solid rgba(255,255,255,0.1); }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
    .reviews-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid { grid-template-columns: repeat(2, 1fr); }
    .neighborhoods-grid { grid-template-columns: repeat(3, 1fr); }
    .hail-stats { grid-template-columns: repeat(4, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }

    .hero-home { min-height: 80vh; }
}

/* Desktop */
@media (min-width: 1024px) {
    .mobile-menu-btn { display: none; }
    .mobile-bottom-nav { display: none; }

    .main-nav { display: flex; }
    .header-cta { display: flex; }

    .footer-bottom { padding-bottom: 20px; }

    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .neighborhoods-grid { grid-template-columns: repeat(5, 1fr); }

    .service-content { grid-template-columns: 1fr 300px; }

    .hero { background-attachment: fixed; }

    .hero-home { min-height: 85vh; }
}

/* Large desktop */
@media (min-width: 1280px) {
    .container { padding: 0 40px; }
}

/* ─── PRINT ─── */
@media print {
    .site-header, .mobile-bottom-nav, .site-footer,
    .lead-form-section, .cta-section, .chat-widget { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; }
}

/* ─── MOBILE CTA & NAV FIXES ─── */
@media (max-width: 768px) {
    .mobile-menu-cta {
        padding: 16px 20px 100px;
        gap: 10px;
    }
    .mobile-menu-cta .btn {
        padding: 14px 20px;
        font-size: 0.95rem;
        border-radius: 12px;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    .mobile-menu-cta .btn-phone {
        background: linear-gradient(135deg, #22c55e, #16a34a);
        border-radius: 12px;
    }
    .mobile-menu-cta .btn-primary {
        border-radius: 12px;
    }
    .mobile-menu-cta .btn svg {
        width: 20px;
        height: 20px;
    }
    /* Prevent overlap with bottom nav */
    .mobile-menu {
        padding-bottom: 80px;
    }
    /* Chat widget above bottom nav */
    .chat-widget,
    [id*="chat"] {
        bottom: 80px !important;
    }
}

/* ─── PHONE ICON PULSE & GLOW ─── */
.phone-pulse {
    animation: phoneGlow 2.5s ease-in-out infinite;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.3));
}
@keyframes phoneGlow {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,0.2)); }
    50% { transform: scale(1.2); filter: drop-shadow(0 0 8px rgba(255,255,255,0.6)); }
}
.header-phone:hover .phone-pulse {
    animation: phoneRing 0.5s ease-in-out;
}
@keyframes phoneRing {
    0% { transform: rotate(0deg); }
    15% { transform: rotate(15deg); }
    30% { transform: rotate(-15deg); }
    45% { transform: rotate(10deg); }
    60% { transform: rotate(-10deg); }
    75% { transform: rotate(5deg); }
    100% { transform: rotate(0deg); }
}

/* H1 highlight: block by default (4+ word titles), inline for short titles */
.hero h1 .highlight,
.hero-content h1 .highlight {
    display: block;
}
.hero h1 .highlight-inline,
.hero-content h1 .highlight-inline {
    display: inline !important;
}

/* ─── HERO TEXT & BUTTON CENTERING ─── */
.hero-content {
    text-align: center;
}
.hero-actions {
    justify-content: center !important;
    display: flex;
}
.hero-content h1 {
    text-align: center;
}

/* Override: short titles (3 words or less) stay inline */
.page-our-work .hero h1 .highlight,
.page-about .hero h1 .highlight,
.page-about-us .hero h1 .highlight,
.page-our-services .hero h1 .highlight,
.page-service-areas .hero h1 .highlight,
.page-contact .hero h1 .highlight,
.page-contact-us .hero h1 .highlight {
    display: inline !important;
}
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(4, 1fr); }
    .reviews-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; }
    .neighborhoods-grid { grid-template-columns: repeat(5, 1fr); }

    .service-content { grid-template-columns: 1fr 300px; }

    .hero { background-attachment: fixed; }

    .hero-home { min-height: 85vh; }
}

/* Large desktop */
@media (min-width: 1280px) {
    .container { padding: 0 40px; }
}

/* ─── PRINT ─── */
@media print {
    .site-header, .mobile-bottom-nav, .site-footer,
    .lead-form-section, .cta-section, .chat-widget { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a { color: #000; }
}

/* ══════════════════════════════════════════════════════════════════
 * SERVICES OVERVIEW — 2026 Redesign (specificity overrides inline)
 * ══════════════════════════════════════════════════════════════════ */
.homepage-content .services-overview,
body .services-overview {
    padding: 80px 0;
    position: relative;
}
body .services-overview h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    text-align: left !important;
    max-width: 640px;
    margin-bottom: 12px !important;
    color: #0f172a !important;
    position: relative;
    padding-bottom: 20px;
}
body .services-overview h2::after {
    content: '';
    display: block;
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    margin-top: 18px;
    border-radius: 2px;
}
body .services-overview > h2 + .services-grid { margin-top: 48px !important; }

body .services-overview .services-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
    margin-top: 48px !important;
}

body .services-overview .service-card {
    position: relative !important;
    background: linear-gradient(155deg, #ffffff 0%, #f8fafc 100%) !important;
    padding: 36px 28px 32px !important;
    border-radius: 4px !important;
    box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 0 0 1px rgba(15,23,42,0.05) !important;
    overflow: hidden !important;
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s, background .35s !important;
    isolation: isolate;
}
body .services-overview .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2274c6, #0f172a);
    transform-origin: left;
    transform: scaleX(1);
    transition: background .35s;
}
body .services-overview .service-card::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(34,116,198,0.08) 0%, transparent 70%);
    z-index: -1;
    transition: transform .5s cubic-bezier(.4,0,.2,1);
}
body .services-overview .service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 24px 48px -12px rgba(15,23,42,0.18), 0 0 0 1px rgba(34,116,198,0.15) !important;
    background: linear-gradient(155deg, #ffffff 0%, #eff6ff 100%) !important;
}
body .services-overview .service-card:hover::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}
body .services-overview .service-card:hover::after {
    transform: scale(1.4);
}
body .services-overview .service-card:nth-child(2)::before {
    background: linear-gradient(90deg, #0ea5e9, #2274c6);
}
body .services-overview .service-card:nth-child(3)::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}
body .services-overview .service-card:nth-child(4)::before {
    background: linear-gradient(90deg, #10b981, #059669);
}
body .services-overview .service-card h3 {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.01em !important;
    margin: 0 0 14px !important;
    position: relative;
    padding-left: 0 !important;
}
body .services-overview .service-card h3 a {
    color: #0f172a !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color .25s, gap .25s;
}
body .services-overview .service-card h3 a::after {
    content: '→';
    font-weight: 500;
    color: #2274c6;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity .25s, transform .25s;
    font-size: 1.1em;
}
body .services-overview .service-card:hover h3 a {
    color: #2274c6 !important;
    gap: 14px;
}
body .services-overview .service-card:hover h3 a::after {
    opacity: 1;
    transform: translateX(0);
}
body .services-overview .service-card p {
    color: #475569 !important;
    line-height: 1.65 !important;
    font-size: 0.95rem !important;
    margin: 0 !important;
}

/* Stagger card entrance */
@keyframes sv-rise {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
body .services-overview .service-card {
    animation: sv-rise .6s cubic-bezier(.4,0,.2,1) backwards;
}
body .services-overview .service-card:nth-child(1) { animation-delay: .05s; }
body .services-overview .service-card:nth-child(2) { animation-delay: .15s; }
body .services-overview .service-card:nth-child(3) { animation-delay: .25s; }
body .services-overview .service-card:nth-child(4) { animation-delay: .35s; }

@media (max-width: 720px) {
    body .services-overview { padding: 56px 0; }
    body .services-overview h2 { text-align: left !important; }
    body .services-overview .service-card { padding: 28px 24px 26px !important; }
}

/* ══════════════════════════════════════════════════════════════════
 * TEXT BLOCK REFINEMENT — fixes raw-content dump look on service pages
 * ══════════════════════════════════════════════════════════════════ */

/* Better max-width + balanced headings */
.section > .container > .reveal {
    max-width: 920px !important;
}
.section .reveal h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em !important;
    line-height: 1.15 !important;
    text-wrap: balance;
    margin: 0 0 18px !important;
    position: relative;
    padding-bottom: 16px;
}
.section .reveal h2::after {
    content: '';
    display: block;
    width: 56px;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #ef4444);
    margin-top: 14px;
    border-radius: 2px;
}
.section .reveal > p,
.section .reveal p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #334155;
    margin: 0 0 18px;
    max-width: 72ch;
}
.section .reveal h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin: 32px 0 16px !important;
    color: #0f172a;
}

/* Turn raw <ul><li><strong>Label</strong> — description</li></ul> into a feature grid */
.section .reveal ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 28px !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 14px !important;
}
.section .reveal ul li {
    position: relative;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px 16px 50px;
    font-size: 0.98rem;
    line-height: 1.55;
    color: #475569;
    transition: border-color .2s, background .2s, transform .2s;
}
.section .reveal ul li::before {
    content: '✓';
    position: absolute;
    top: 14px;
    left: 14px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2274c6, #1b5fa3);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(34,116,198,0.25);
}
.section .reveal ul li:hover {
    border-color: #2274c6;
    background: #fff;
    transform: translateX(2px);
}
.section .reveal ul li strong {
    display: block;
    color: #0f172a;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 2px;
}

/* Tighten spacing between consecutive text sections (kills the giant gap before next h2) */
.section + .section { padding-top: 40px; }
.section { padding: 56px 0; }

/* Highlight span in headings (e.g., "Fast, Reliable Roof Repairs") */
.section .reveal h1 .highlight,
.section .reveal h2 .highlight,
.hero-content h1 .highlight {
    background: linear-gradient(120deg, transparent 0%, transparent 30%, rgba(245,158,11,0.35) 30%, rgba(245,158,11,0.35) 100%);
    padding: 0 6px;
    color: inherit;
}

/* Better mobile */
@media (max-width: 640px) {
    .section .reveal ul { grid-template-columns: 1fr !important; }
    .section .reveal h2 { text-align: left !important; }
}

/* ══════════════════════════════════════════════════════════════════
 * SERVICE PAGE — cards-block + CTA-band + hero refinement
 * ══════════════════════════════════════════════════════════════════ */

/* Section headers */
.section .section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}
.section .section-header h2 {
    text-align: center !important;
    text-wrap: balance;
}
.section .section-header h2::after {
    margin-left: auto;
    margin-right: auto;
}

/* Redesign generic .services-grid service cards (used on service detail pages) */
.section .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 12px;
}
.section .services-grid .service-card {
    position: relative;
    background: #fff;
    padding: 36px 26px 30px;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(15,23,42,0.06), 0 0 0 1px rgba(15,23,42,0.05);
    transition: transform .35s cubic-bezier(.4,0,.2,1), box-shadow .35s;
    overflow: hidden;
    isolation: isolate;
}
.section .services-grid .service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2274c6, #0f172a);
    transition: background .35s;
}
.section .services-grid .service-card::after {
    content: '';
    position: absolute;
    bottom: -80px; right: -80px;
    width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(34,116,198,0.08) 0%, transparent 70%);
    z-index: -1;
    transition: transform .5s;
}
.section .services-grid .service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -12px rgba(15,23,42,0.18), 0 0 0 1px rgba(34,116,198,0.15);
}
.section .services-grid .service-card:hover::before {
    background: linear-gradient(90deg, #f59e0b, #ef4444);
}
.section .services-grid .service-card:hover::after {
    transform: scale(1.4);
}
.section .services-grid .service-card:nth-child(2)::before { background: linear-gradient(90deg, #0ea5e9, #2274c6); }
.section .services-grid .service-card:nth-child(3)::before { background: linear-gradient(90deg, #f59e0b, #ef4444); }
.section .services-grid .service-card:nth-child(4)::before { background: linear-gradient(90deg, #10b981, #059669); }

.section .services-grid .service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 18px;
    transition: transform .3s;
}
.section .services-grid .service-card:hover .service-card-icon {
    transform: scale(1.08) rotate(-4deg);
}
.section .services-grid .service-card h3 {
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    margin: 0 0 10px !important;
    color: #0f172a !important;
    letter-spacing: -0.01em;
}
.section .services-grid .service-card p {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    color: #475569 !important;
    margin: 0 !important;
}

/* Staggered entrance */
.section .services-grid .service-card { animation: sv-rise .6s cubic-bezier(.4,0,.2,1) backwards; }
.section .services-grid .service-card:nth-child(1) { animation-delay: .05s; }
.section .services-grid .service-card:nth-child(2) { animation-delay: .15s; }
.section .services-grid .service-card:nth-child(3) { animation-delay: .25s; }
.section .services-grid .service-card:nth-child(4) { animation-delay: .35s; }

/* CTA section — dark band with accent */
.cta-section {
    position: relative;
    padding: 72px 0 !important;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #0f172a 100%) !important;
    color: #fff;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #ef4444, #f59e0b);
}
.cta-section::after {
    content: '';
    position: absolute;
    top: -80px; right: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(245,158,11,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section .cta-content { position: relative; z-index: 1; text-align: center; }
.cta-section h2 {
    color: #fff !important;
    font-size: clamp(1.8rem, 3.2vw, 2.6rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.02em !important;
    margin-bottom: 14px !important;
    text-wrap: balance;
}
.cta-section h2::after { display: none; }
.cta-section .cta-content > p {
    color: #cbd5e1 !important;
    font-size: 1.08rem !important;
    max-width: 580px;
    margin: 0 auto 28px !important;
}
.cta-section .cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-section .btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 30px -8px rgba(245,158,11,0.6), 0 0 0 1px rgba(245,158,11,0.3) inset;
    transition: transform .2s, box-shadow .2s;
}
.cta-section .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(245,158,11,0.75), 0 0 0 1px rgba(245,158,11,0.4) inset;
}
.cta-section .btn-outline {
    background: transparent !important;
    color: #fff !important;
    border: 2px solid rgba(255,255,255,0.35) !important;
    padding: 12px 26px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    transition: background .2s, border-color .2s;
}
.cta-section .btn-outline:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: #fff !important;
}

/* Hero on service pages (.hero with background image) */
.hero {
    position: relative;
    min-height: 440px;
    display: flex;
    align-items: center;
    background-size: cover !important;
    background-position: center !important;
    color: #fff;
    padding: 100px 0 80px;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.55) 60%, rgba(15,23,42,0.75) 100%);
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
    color: #fff !important;
    font-size: clamp(2rem, 4.5vw, 3.4rem) !important;
    font-weight: 900 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.1 !important;
    text-wrap: balance;
    margin-bottom: 18px !important;
}
.hero h1::after { display: none; }
.hero p {
    color: rgba(255,255,255,0.92) !important;
    font-size: 1.15rem !important;
    line-height: 1.55 !important;
    max-width: 620px;
    margin: 0 auto 28px !important;
}
.hero .hero-actions { margin-top: 28px; }
.hero .btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #0f172a !important;
    font-weight: 700 !important;
    padding: 14px 30px !important;
    border-radius: 8px !important;
    box-shadow: 0 12px 34px -8px rgba(245,158,11,0.65);
    transition: transform .2s, box-shadow .2s;
}
.hero .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 42px -8px rgba(245,158,11,0.8);
}

/* ══════════════════════════════════════════════════════════════════
 * PROCESS-STEP paragraphs — <p><strong>Step 1: ...</strong> body</p>
 * Turn runs of these into a connected numbered timeline.
 * ══════════════════════════════════════════════════════════════════ */
.section .reveal p:has(> strong:first-child) {
    position: relative;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #2274c6;
    border-radius: 0 10px 10px 0;
    padding: 20px 22px 20px 60px;
    margin: 10px 0;
    box-shadow: 0 1px 3px rgba(15,23,42,0.05);
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
    counter-increment: step-counter;
    transition: transform .2s, border-color .2s, box-shadow .2s;
}
.section .reveal p:has(> strong:first-child)::before {
    content: counter(step-counter);
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2274c6, #0f172a);
    color: #fff;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(34,116,198,0.35), 0 0 0 3px #fff;
}
.section .reveal p:has(> strong:first-child):hover {
    transform: translateX(3px);
    border-left-color: #f59e0b;
    box-shadow: 0 6px 18px rgba(15,23,42,0.08);
}
.section .reveal p:has(> strong:first-child) strong {
    display: block;
    color: #0f172a;
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}
.section .reveal { counter-reset: step-counter; }

/* Accent stripe color cycle for the step badges */
.section .reveal p:has(> strong:first-child):nth-of-type(4n+1)::before { background: linear-gradient(135deg, #2274c6, #0f172a); }
.section .reveal p:has(> strong:first-child):nth-of-type(4n+2)::before { background: linear-gradient(135deg, #0ea5e9, #2274c6); }
.section .reveal p:has(> strong:first-child):nth-of-type(4n+3)::before { background: linear-gradient(135deg, #f59e0b, #ef4444); }
.section .reveal p:has(> strong:first-child):nth-of-type(4n+4)::before { background: linear-gradient(135deg, #10b981, #059669); }

/* Extra left padding on the section container so step badges don't get clipped */
.section .reveal { padding-left: 22px; padding-right: 6px; }
@media (max-width: 640px) {
    .section .reveal p:has(> strong:first-child) { padding-left: 52px; }
    .section .reveal p:has(> strong:first-child)::before { left: 8px; width: 32px; height: 32px; font-size: 13px; }
}
