/* ========================================
   Norwalk Plumbing CA - Stylesheet
   Color Scheme: Slate Professional
   Fonts: Outfit (headings) + Inter (body)
   ======================================== */

/* CSS Variables */
:root {
    /* Slate Professional Color Scheme */
    --primary: #475569;
    --primary-dark: #334155;
    --primary-light: #64748B;
    --accent: #94A3B8;
    --accent-light: #CBD5E1;
    --accent-lighter: #E2E8F0;
    --bg-primary: #F8FAFC;
    --bg-secondary: #FFFFFF;
    --bg-dark: #1E293B;
    --text-primary: #1E293B;
    --text-secondary: #475569;
    --text-light: #64748B;
    --text-white: #FFFFFF;
    --border: #E2E8F0;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1280px;
    --border-radius: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition: 300ms ease;
    --transition-slow: 500ms ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.5rem, 3vw, 1.875rem); }
h4 { font-size: 1.25rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--border-radius);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--text-white);
    border: 2px solid var(--primary);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

.btn-white {
    background-color: var(--bg-secondary);
    color: var(--primary);
    border: 2px solid var(--bg-secondary);
}

.btn-white:hover {
    background-color: transparent;
    color: var(--text-white);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--primary);
    transition: all var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 160px 0 120px;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--accent-lighter) 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(71, 85, 105, 0.05) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(148, 163, 184, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background-color: rgba(71, 85, 105, 0.1);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-icon {
    color: #F59E0B;
}

.hero-title {
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-title .highlight {
    color: var(--primary);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    right: 0;
    height: 8px;
    background-color: rgba(71, 85, 105, 0.2);
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 540px;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.feature-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(71, 85, 105, 0.1);
    border-radius: 50%;
    font-size: 0.75rem;
    color: var(--primary);
}

.hero-illustration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-svg {
    width: 100%;
    max-width: 500px;
    height: auto;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 60px;
}

/* Animations */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards;
}

/* Trust Bar */
.trust-bar {
    padding: 40px 0;
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.trust-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.trust-item {
    padding: 16px;
}

.trust-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.trust-label {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9375rem;
}

/* Section Styles */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 8px 16px;
    background-color: rgba(71, 85, 105, 0.1);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.section-title {
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Services Section */
.services {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.services-scroll-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
}

.services-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 16px 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.services-scroll::-webkit-scrollbar {
    display: none;
}

.scroll-btn {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--primary);
    transition: all var(--transition);
    box-shadow: var(--shadow);
    z-index: 10;
}

.scroll-btn:hover {
    background-color: var(--primary);
    color: var(--text-white);
    transform: scale(1.1);
}

.scroll-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.service-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    border: 2px solid transparent;
    transition: all var(--transition);
    box-shadow: var(--shadow);
}

.service-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(71, 85, 105, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary);
    margin-bottom: 24px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}

.service-link:hover {
    gap: 8px;
}

.scroll-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}

.scroll-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent-light);
    cursor: pointer;
    transition: all var(--transition);
}

.scroll-dot.active {
    background-color: var(--primary);
    width: 24px;
    border-radius: 4px;
}

/* Why Us Section */
.why-us {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-us-content .section-tag {
    margin-bottom: 16px;
}

.why-us-content .section-title {
    margin-bottom: 20px;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(71, 85, 105, 0.1);
    border-radius: var(--border-radius);
    color: var(--primary);
}

.benefit-text h4 {
    font-size: 1.125rem;
    margin-bottom: 4px;
}

.benefit-text p {
    color: var(--text-light);
    font-size: 0.9375rem;
}

.why-us-visual {
    position: relative;
}

.visual-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--border-radius-xl);
    padding: 48px;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.visual-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.visual-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
}

.badge-star {
    color: #F59E0B;
}

.visual-card h3 {
    color: var(--text-white);
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.visual-card p {
    opacity: 0.9;
    margin-bottom: 32px;
}

.visual-stats {
    display: flex;
    gap: 48px;
}

.v-stat {
    text-align: center;
}

.v-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.v-label {
    font-size: 0.875rem;
    opacity: 0.8;
}

/* Service Areas Section */
.areas {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.areas-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: start;
}

.areas-map iframe {
    width: 100%;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow);
}

.areas-list-container {
    background-color: var(--bg-secondary);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    box-shadow: var(--shadow);
}

.areas-list-title {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--primary);
}

.areas-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.area-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--border-radius);
    transition: all var(--transition);
}

.area-item:hover {
    background-color: rgba(71, 85, 105, 0.05);
}

.area-marker {
    color: var(--primary);
    font-size: 0.5rem;
}

.areas-note {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 0.875rem;
    color: var(--text-light);
    font-style: italic;
}

/* Emergency CTA Section */
.emergency-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
}

.emergency-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin: 0 auto 24px;
    color: var(--text-white);
}

.cta-title {
    color: var(--text-white);
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 16px;
}

.cta-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 32px;
}

/* FAQ Section */
.faq {
    padding: var(--section-padding) 0;
    background-color: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.faq-tab {
    padding: 12px 24px;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    transition: all var(--transition);
}

.faq-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.faq-tab.active {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-white);
}

.faq-panel {
    display: none;
}

.faq-panel.active {
    display: block;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.0625rem;
    text-align: left;
    color: var(--text-primary);
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: transform var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-slow), padding var(--transition);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-cta {
    text-align: center;
    margin-top: 48px;
    padding: 32px;
    background-color: var(--bg-primary);
    border-radius: var(--border-radius-lg);
}

.faq-cta p {
    margin-bottom: 16px;
    font-size: 1.125rem;
    color: var(--text-secondary);
}

/* Content Section */
.content-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 64px;
}

.content-block h2,
.content-block h3 {
    margin-bottom: 20px;
    color: var(--primary);
}

.content-block p {
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Footer */
.footer {
    padding: 80px 0 32px;
    background-color: var(--bg-dark);
    color: var(--text-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 64px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
    line-height: 1.7;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-phone {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-white);
    transition: color var(--transition);
}

.footer-phone:hover {
    color: var(--accent);
}

.footer-address,
.footer-hours {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

.footer-links h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a,
.footer-links li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--text-white);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer-note {
    margin-top: 8px;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary);
    padding: 16px 0;
    transform: translateY(100%);
    transition: transform var(--transition);
    z-index: 999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sticky-text {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--text-white);
    font-size: 1.0625rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-illustration {
        order: 1;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-cta,
    .hero-features {
        justify-content: center;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .areas-content {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-cta {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .hero {
        padding: 120px 0 80px;
    }
    
    .trust-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .trust-number {
        font-size: 2rem;
    }
    
    .scroll-btn {
        display: none;
    }
    
    .service-card {
        flex: 0 0 280px;
    }
    
    .visual-stats {
        gap: 24px;
    }
    
    .v-number {
        font-size: 2rem;
    }
    
    .areas-list {
        grid-template-columns: 1fr;
    }
    
    .faq-tabs {
        gap: 8px;
    }
    
    .faq-tab {
        padding: 10px 16px;
        font-size: 0.875rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .sticky-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .sticky-text {
        font-size: 0.9375rem;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .trust-items {
        grid-template-columns: 1fr;
    }
    
    .visual-card {
        padding: 32px 24px;
    }
    
    .faq-question {
        font-size: 0.9375rem;
        padding: 20px 0;
    }
}

/* Border Highlight Animation */
.service-card,
.benefit-item,
.area-item,
.faq-item {
    position: relative;
}

.service-card::before,
.benefit-item::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--transition);
}

.service-card:hover::before,
.benefit-item:hover::before {
    opacity: 1;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .navbar,
    .sticky-cta,
    .scroll-btn,
    .emergency-cta,
    .hero-illustration {
        display: none !important;
    }
    
    .hero {
        padding: 40px 0;
        background: white;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    a {
        text-decoration: underline;
    }
}