/* CSS Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
    background-color: #f8fafc;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow { flex-grow: 1; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }

@media (min-width: 640px) {
    .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .sm\:flex-row { flex-direction: row; }
}

@media (min-width: 768px) {
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:col-span-3 { grid-column: span 3 / span 3; }
    .md\:text-4xl { font-size: 2.25rem; }
    .md\:text-5xl { font-size: 3rem; }
    .md\:p-12 { padding: 3rem; }
    .md\:mt-0 { margin-top: 0; }
    .md\:w-auto { width: auto; }
    .md\:text-left { text-align: left; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lg\:text-6xl { font-size: 3.75rem; }
    .lg\:block { display: block; }
}

/* Spacing */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.ml-2 { margin-left: 0.5rem; }
.mr-1 { margin-right: 0.25rem; }
.-mr-8 { margin-right: -2rem; }
.-mt-8 { margin-top: -2rem; }
.-ml-8 { margin-left: -2rem; }
.-mb-6 { margin-bottom: -1.5rem; }

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-3 { padding-left: 0.75rem; }
.pl-10 { padding-left: 2.5rem; }
.pr-3 { padding-right: 0.75rem; }

/* Typography */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-6xl { font-size: 3.75rem; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.uppercase { text-transform: uppercase; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* Colors */
.text-white { color: #ffffff; }
.text-slate-50 { color: #f8fafc; }
.text-slate-200 { color: #e2e8f0; }
.text-slate-300 { color: #cbd5e1; }
.text-slate-400 { color: #94a3b8; }
.text-slate-500 { color: #64748b; }
.text-slate-600 { color: #475569; }
.text-slate-700 { color: #334155; }
.text-slate-800 { color: #1e293b; }
.text-slate-900 { color: #0f172a; }
.text-brand-50 { color: #eff6ff; }
.text-brand-100 { color: #dbeafe; }
.text-brand-200 { color: #bfdbfe; }
.text-brand-201 { color: #2e3361; }
.text-brand-300 { color: #93c5fd; }
.text-brand-400 { color: #60a5fa; }
.text-brand-500 { color: #3b82f6; }
.text-brand-600 { color: #2563eb; }
.text-brand-700 { color: #1d4ed8; }
.text-brand-800 { color: #1e40af; }
.text-brand-900 { color: #1e3a8a; }
.text-red-500 { color: #ef4444; }
.text-red-600 { color: #dc2626; }
.text-orange-600 { color: #ea580c; }
.text-yellow-400 { color: #facc15; }
.text-green-400 { color: #4ade80; }
.text-green-500 { color: #22c55e; }

.bg-white { background-color: #ffffff; }
.bg-slate-50 { background-color: #f8fafc; }
.bg-slate-100 { background-color: #f1f5f9; }
.bg-slate-200 { background-color: #e2e8f0; }
.bg-slate-900 { background-color: #0f172a; }
.bg-brand-50 { background-color: #eff6ff; }
.bg-brand-100 { background-color: #dbeafe; }
.bg-brand-500 { background-color: #3b82f6; }
.bg-brand-600 { background-color: #2563eb; }
.bg-brand-700 { background-color: #1d4ed8; }
.bg-brand-800 { background-color: #1e40af; }
.bg-brand-900 { background-color: #1e3a8a; }
.bg-red-100 { background-color: #fee2e2; }
.bg-orange-100 { background-color: #ffedd5; }
.bg-green-100 { background-color: #dcfce7; }

/* Borders */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-slate-100 { border-color: #f1f5f9; }
.border-slate-200 { border-color: #e2e8f0; }
.border-slate-300 { border-color: #cbd5e1; }
.border-slate-800 { border-color: #1e293b; }
.border-brand-200 { border-color: #bfdbfe; }
.border-brand-400 { border-color: #60a5fa; }
.border-brand-700 { border-color: #1d4ed8; }
.border-brand-800 { border-color: #1e40af; }
.border-red-500 { border-color: #ef4444; }
.border-white { border-color: #ffffff; }
.border-white\/20 { border-color: rgba(255,255,255,0.2); }

/* Border Radius */
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadows */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px 0 rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-y-0 { top: 0; bottom: 0; }
.top-0 { top: 0; }
.top-3 { top: 0.75rem; }
.top-10 { top: 2.5rem; }
.top-20 { top: 5rem; }
.right-0 { right: 0; }
.right-10 { right: 2.5rem; }
.bottom-0 { bottom: 0; }
.bottom-6 { bottom: 1.5rem; }
.bottom-8 { bottom: 2rem; }
.bottom-10 { bottom: 2.5rem; }
.left-0 { left: 0; }
.left-3 { left: 0.75rem; }
.left-10 { left: 2.5rem; }
.-top-20 { top: -5rem; }
.-right-20 { right: -5rem; }
.-left-6 { left: -1.5rem; }
.-left-8 { left: -2rem; }

.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Width & Height */
.w-full { width: 100%; }
.w-2 { width: 0.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-32 { width: 8rem; }
.w-64 { width: 16rem; }
.w-72 { width: 18rem; }
.w-96 { width: 24rem; }
.w-auto { width: auto; }
.min-w-0 { min-width: 0; }
.max-w-xs { max-width: 20rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }

.h-full { height: 100%; }
.h-1 { height: 0.25rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-32 { height: 8rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-96 { height: 24rem; }
.h-\[500px\] { height: 500px; }
.min-h-screen { min-height: 100vh; }

/* Display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }

/* Transform */
.transform { transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1); }
.translate-x-0 { transform: translateX(0); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-full { transform: translateY(100%); }
.rotate-3 { transform: rotate(3deg); }
.hover\:-translate-y-0\.5:hover { transform: translateY(-0.125rem); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }

/* Scroll indicator centering */
.scroll-indicator {
    position: absolute;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin-left: 0 !important;
    right: auto !important;
}

/* Transitions */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: background-color, border-color, color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-1000 { transition-duration: 1000ms; }

/* Cursor */
.cursor-pointer { cursor: pointer; }
.cursor-not-allowed { cursor: not-allowed; }

/* Opacity */
.opacity-20 { opacity: 0.2; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-75 { opacity: 0.75; }
.hover\:opacity-75:hover { opacity: 0.75; }

/* Pointer Events */
.pointer-events-none { pointer-events: none; }

/* Backdrop Filter */
.backdrop-blur-sm { backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); }

/* Hover States */
.hover\:bg-brand-50:hover { background-color: #eff6ff; }
.hover\:bg-brand-600:hover { background-color: #2563eb; }
.hover\:bg-brand-700:hover { background-color: #1d4ed8; }
.hover\:bg-slate-50:hover { background-color: #f8fafc; }
.hover\:text-brand-200:hover { color: #bfdbfe; }
.hover\:text-brand-400:hover { color: #60a5fa; }
.hover\:text-brand-600:hover { color: #2563eb; }
.hover\:text-brand-700:hover { color: #1d4ed8; }
.hover\:text-brand-800:hover { color: #1e40af; }
.hover\:text-slate-300:hover { color: #cbd5e1; }
.hover\:text-white:hover { color: #ffffff; }
.hover\:shadow-lg:hover { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05); }
.hover\:shadow-2xl:hover { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.hover\:border-brand-200:hover { border-color: #bfdbfe; }

/* Focus States */
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #2563eb; }
.focus\:border-brand-500:focus { border-color: #3b82f6; }
.focus\:bg-white:focus { background-color: #ffffff; }

/* Active States */
.active\:scale-95:active { transform: scale(0.95); }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8, 0, 1, 1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0, 0, 0.2, 1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-in-up { animation: fadeInUp 0.8s ease-out forwards; }
.animate-bounce { animation: bounce 1s infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

/* Form Styles */
input, textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0;
}

input:focus, textarea:focus {
    outline: none;
}

/* Mobile Menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Sticky CTA Animation */
#mobile-sticky-cta {
    transition: transform 0.3s ease;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9; 
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}

/* Remove all underlines from links */
a {
    text-decoration: none !important;
}

a:hover {
    text-decoration: none;
}

a:link, a:visited, a:hover, a:active {
    text-decoration: none !important;
}

/* ===== SEO CONTENT BLOCK - MINIMALIST CARDS ===== */
.seo-content-block {
    background: linear-gradient(to bottom, #ffffff, #fafbfc);
}

.seo-main-title {
    position: relative;
    display: inline-block;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.seo-title-underline {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    margin: 0.75rem auto 0;
    border-radius: 4px;
}

/* Main Cards */
.seo-card {
    background: white;
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
    height: fit-content;
}

.seo-card:hover {
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.05);
    border-color: #e0e7ff;
    transform: translateY(-2px);
}

.seo-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #f0f2f5;
    padding-bottom: 1rem;
}

.seo-card-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.seo-card-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: -0.01em;
}

.seo-card-body {
    padding: 0 0.25rem;
}

.seo-card-description {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

/* Mini Cards Grid for Areas */
.seo-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.seo-mini-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
}

.seo-mini-card-item {
    background: #f8fafc;
    padding: 0.6rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #334155;
    font-weight: 500;
    border: 1px solid #f0f2f5;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.seo-mini-card-item:hover {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #2563eb;
    transform: translateX(3px);
}

/* Services List - Mini Card Style */
.seo-services-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    list-style: none;
    padding: 0;
}

.seo-service-item {
    background: #f8fafc;
    padding: 0.9rem 1rem;
    border-radius: 14px;
    border: 1px solid #f0f2f5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.seo-service-item:hover {
    background: white;
    border-color: #e0e7ff;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.06);
}

.service-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.emergency-bg { background: #ef4444; box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.1); }
.inspection-bg { background: #3b82f6; box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1); }
.storm-bg { background: #f59e0b; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.1); }
.leak-bg { background: #06b6d4; box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.1); }
.replacement-bg { background: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, 0.1); }
.insurance-bg { background: #10b981; box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.1); }

.service-title {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
    min-width: 140px;
}

.service-desc {
    color: #64748b;
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

/* FAQ Mini Card */
.seo-faq-card {
    background: white;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    border: 1px solid #f0f2f5;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
    transition: all 0.2s ease;
}

.seo-faq-card:hover {
    border-color: #e0e7ff;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.04);
}

.seo-faq-content {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.seo-faq-icon {
    font-size: 1.4rem;
    background: #f0f7ff;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    flex-shrink: 0;
}

.seo-faq-text {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #64748b;
}

.seo-faq-title {
    color: #1e293b;
    font-weight: 600;
    margin-right: 0.5rem;
}

.seo-faq-desc {
    color: #64748b;
}