/* 
=====================================================
FRISCO WATER HEATER HELP - Premium Design System
===================================================== 
*/

:root {
    /* Color Palette */
    --color-primary: #1e3a8a; /* Deep Trust Blue */
    --color-primary-dark: #152960;
    --color-accent: #ea580c; /* Emergency Orange */
    --color-accent-dark: #c2410c; 
    --color-danger: #ef4444; /* Red for replacement */
    --color-success: #22c55e; /* Green for repair */
    --color-text-main: #334155;
    --color-text-light: #64748b;
    --color-bg-main: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-dark: #0f172a;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Spacing & Layout */
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 2rem;
    --space-xl: 4rem;
    
    /* Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 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);
    --radius-md: 8px;
    --radius-lg: 12px;
    --transition-fast: 0.2s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 60px; /* Space for mobile sticky CTA */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

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

ul {
    list-style: none;
}

/* ==================================================
   Utility Classes
   ================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.container-sm {
    max-width: 800px;
}

.section {
    padding: var(--space-xl) 0;
}

.bg-light { background-color: var(--color-bg-alt); }
.bg-dark { background-color: var(--color-bg-dark); }
.text-center { text-align: center; }
.text-white { color: #ffffff; }
.text-accent { color: var(--color-accent); font-weight: 600; }
.w-full { width: 100%; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* Screen Reader Only - Utility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

.d-mobile { display: none; }
.d-desktop { display: inline-flex; }

@media (max-width: 768px) {
    .d-mobile { display: inline-flex; }
    .d-desktop { display: none; }
}

/* ==================================================
   Buttons
   ================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--radius-md);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-accent {
    background-color: var(--color-accent);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-accent:hover {
    background-color: var(--color-accent-dark);
    transform: translateY(-2px);
}

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

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

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-icon {
    padding: 0.5rem;
    border-radius: 50%;
}

/* ==================================================
   Focus-Visible States (Accessibility)
   ================================================== */
.btn:focus-visible {
    outline: 3px solid var(--color-primary);
    outline-offset: 3px;
}

.btn-accent:focus-visible {
    outline-color: var(--color-accent);
}

.btn-outline:focus-visible {
    outline-color: var(--color-primary);
    background-color: rgba(30, 58, 138, 0.05);
}

.card-cta:focus-visible,
.card-link-secondary:focus-visible,
.hero-scroll-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.faq-item summary:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: -2px;
    border-radius: var(--radius-md);
}

.quiz-btn:focus-visible {
    outline: 3px solid var(--color-accent);
    outline-offset: 2px;
}

.footer-links a:focus-visible,
.footer-phone:focus-visible {
    outline: 2px solid var(--color-accent);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ==================================================
   1. Header & Top Trust Bar
   ================================================== */
.top-trust-bar {
    background-color: var(--color-bg-dark);
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    z-index: 1001;
}

.trust-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.trust-rating .stars {
    color: var(--color-accent);
}

.trust-availability {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--color-accent);
}

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-fast);
    padding: 1rem 0;
    will-change: padding, box-shadow;
}

.header.scrolled {
    padding: 0.5rem 0;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.site-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--color-primary);
}

.header-logo {
    height: 65px;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ==================================================
   2. Hero Section
   ================================================== */
.hero {
    position: relative;
    padding: 6rem 0 4rem; /* Adjusted since header is now sticky */
    min-height: 80vh;
    display: flex;
    align-items: center;
    background-color: var(--color-bg-dark); /* fallback */
    overflow: hidden; /* prevents scaled BG from bleeding outside */
}

.hero-bg-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-bg-dark); /* Prevents white flash before image loads */
    background-image: url('assets/1 imagen de fondo principal (hero).jpg');
    background-size: cover;
    background-position: center 30%;
    z-index: 1;
    transform: scale(1.03);
    transition: transform 8s ease-out;
    /* GPU acceleration: prevents repaint during animation */
    will-change: transform;
    backface-visibility: hidden;
}

.hero:hover .hero-bg-placeholder {
    transform: scale(1);
}

/* Overlay dark gradient to make text visible */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(10, 20, 50, 0.92) 0%,
        rgba(10, 20, 50, 0.65) 60%,
        rgba(10, 20, 50, 0.3) 100%
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
}

.hero-text-box {
    max-width: 600px;
}

.hero-title {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    /* Visibility by default, animation is progressive enhancement */
    animation: fadeSlideUp 0.8s ease backwards;
}

.hero-subtitle {
    color: #cbd5e1;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    animation: fadeSlideUp 0.8s 0.15s ease backwards;
}

.hero-actions {
    animation: fadeSlideUp 0.8s 0.3s ease backwards;
}

.hero-microcopy {
    animation: fadeSlideUp 0.8s 0.45s ease backwards;
}

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


.hero-btn {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background-color: var(--color-accent);
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.5);
    /* Smoother pulse starting with 0s delay to avoid jump */
    animation: heroPulse 3s ease-in-out infinite;
    will-change: box-shadow;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 0; height: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.hero-btn:hover::before {
    width: 300px;
    height: 300px;
}

.hero-btn:hover {
    background-color: var(--color-accent-dark);
    box-shadow: 0 8px 25px rgba(234,88,12,0.45);
}

@keyframes heroPulse {
    0%   { box-shadow: 0 0 0 0   rgba(234, 88, 12, 0.5); }
    70%  { box-shadow: 0 0 0 14px rgba(234, 88, 12, 0); }
    100% { box-shadow: 0 0 0 0   rgba(234, 88, 12, 0); }
}

.btn-subtext {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.9;
}

.btn-maintext {
    font-size: 1.5rem;
    font-weight: 800;
}

.hero-microcopy ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.hero-microcopy li {
    color: #f1f5f9;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.hero-microcopy svg {
    color: var(--color-accent);
    width: 20px;
    height: 20px;
}

.hero-scroll-link {
    color: #94a3b8;
    font-size: 0.875rem;
}

.hero-scroll-link:hover {
    color: white;
}

/* ==================================================
   3. Urgency Strip
   ================================================== */
.urgency-strip {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 10;
    margin-top: -2rem;
    border-radius: var(--radius-lg);
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.strip-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 1rem;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.strip-icon {
    width: 40px;
    height: 40px;
    background-color: #eff6ff;
    color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strip-text {
    font-weight: 600;
    font-family: var(--font-heading);
}

/* ==================================================
   4. Problem Matcher
   ================================================== */
.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

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

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.problem-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    height: 3px;
    width: 0;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    transition: width 0.35s ease;
}

.problem-card:hover::after {
    width: 100%;
}

.problem-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
}

.urgent-card {
    border-color: var(--color-accent);
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.1);
}

.card-icon-placeholder {
    width: 72px;
    height: 72px;
    background-color: var(--color-bg-alt);
    border: 1px dashed var(--color-text-light);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    color: var(--color-text-light);
    text-align: center;
}

.card-icon-wrap {
    width: 110px;
    height: 110px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: background 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-icon-wrap--urgent {
    background: linear-gradient(135deg, #fff7ed 0%, #fed7aa 100%);
}

.problem-card:hover .card-icon-wrap {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    transform: scale(1.08);
}

.urgent-card:hover .card-icon-wrap {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.card-icon {
    width: 110px;
    height: 110px;
    object-fit: contain;
}

.problem-card h3 {
    margin-bottom: 0.5rem;
}

.problem-card p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-cta:hover {
    text-decoration: underline;
}

.card-link-secondary {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-decoration: underline;
}

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

.callback-action-wrap {
    margin-top: 2rem;
}

.callback-note {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-top: 1.5rem;
    font-style: italic;
}




/* ==================================================
   5. Urgency Checker
   ================================================== */
.checker-box {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    border: 1px solid #e2e8f0;
}

.checker-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.quiz-container {
    min-height: 250px;
    position: relative;
}

.quiz-step {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.quiz-step.active {
    display: block;
}

.quiz-step h3 {
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.quiz-btn {
    text-align: left;
    justify-content: flex-start;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.quiz-btn:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateX(4px);
}

.result-step {
    text-align: center;
}

.result-step h3 {
    font-size: 2rem;
    color: var(--color-primary);
}

.result-step p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

/* ==================================================
   6. Repair vs Replace
   ================================================== */
.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.comparison-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e2e8f0;
}

.comparison-header {
    padding: 1.5rem;
    text-align: center;
}

.comparison-header h3 {
    color: white;
    margin: 0;
}

.bg-repair { background-color: var(--color-success); }
.bg-replace { background-color: var(--color-danger); }

.comparison-list {
    padding: 1.5rem;
}

.comparison-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.comparison-list svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

/* ==================================================
   7. Trust / Publisher Section
   ================================================== */
.trust-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trust-step {
    text-align: center;
}

.step-num {
    width: 48px;
    height: 48px;
    background-color: var(--color-primary);
    color: white;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

/* ==================================================
   8. Area Proof
   ================================================== */
.area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.area-text h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.area-text p {
    color: #cbd5e1;
    margin-bottom: 1rem;
}

.sub-areas, .sub-zipcodes {
    font-size: 0.875rem;
    opacity: 0.8;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #1e293b;
    border: 2px dashed #334155;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* ==================================================
   9. FAQ Section
   ================================================== */
.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item {
    transition: box-shadow 0.25s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-item[open] {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

.faq-item summary {
    padding: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    position: relative;
    transition: color 0.2s ease;
}

.faq-item[open] summary {
    color: var(--color-primary);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--color-primary);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item[open] summary {
    border-bottom: 1px solid #e2e8f0;
    background-color: #f8fafc;
}

.faq-content {
    padding: 1.5rem;
    color: var(--color-text-main);
    animation: faqOpen 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    border-top: 1px solid #e2e8f0;
}

@keyframes faqOpen {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================================================
   10. Callback Fallback
   ================================================== */
.callback-box {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.callback-form {
    margin-top: 2rem;
    text-align: left;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* ==================================================
   12. Footer
   ================================================== */
.main-footer {
    background-color: #0f172a;
    color: #cbd5e1;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-title {
    color: white;
    display: block;
    margin-bottom: 1rem;
}

.footer-links h4, .footer-contact h4 {
    color: white;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: #cbd5e1;
}

.footer-links a:hover {
    color: white;
}

.footer-phone {
    font-size: 1.5rem;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--color-accent);
}

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

.footer-legal {
    border-top: 1px solid #334155;
    padding-top: 2rem;
    font-size: 0.75rem;
    text-align: center;
}

.footer-legal p {
    margin-bottom: 1rem;
}

/* ==================================================
   11. Sticky Mobile CTA
   ================================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    padding: 0.75rem;
    box-shadow: 0 -4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-sticky-cta .btn {
    flex-direction: column;
    padding: 0.5rem;
    font-size: 0.875rem;
    border-radius: var(--radius-md);
}

.mobile-sticky-cta strong {
    font-size: 1.25rem;
}

/* ==================================================
   Media Queries
   ================================================== */
@media (max-width: 992px) {
    .hero-title { font-size: 2.5rem; }
    .area-content { grid-template-columns: 1fr; }
    .hero { min-height: 60vh; }
}

@media (max-width: 768px) {
  /* 1) Quitamos la barra superior para liberar altura */
  .top-trust-bar {
    display: none;
  }

  /* 2) Header más compacto */
  .header {
    padding: 0.5rem 0;
    backdrop-filter: none;
  }

  .header-container {
    gap: 0.75rem;
  }

  /* 3) Logo un poco más pequeño */
  .header-logo {
    height: 46px;
  }

  /* 4) Asegurar que en móvil NO salga el botón grande del header */
  .header-cta .d-desktop {
    display: none !important;
  }

  /* 5) Dejar solo el botón circular */
  .header-cta .d-mobile {
    display: inline-flex !important;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
  }

  /* 6) Ajustar el hero porque el header ya es más bajito */
  .hero {
    padding: 5rem 0 3rem;
    min-height: auto;
  }

  /* Existing fixes to keep */
  .hero-title { font-size: 1.75rem; }
  .hero-subtitle { font-size: 1rem; margin-bottom: 1.5rem; }
  .section-title { font-size: 1.75rem; }
  .strip-grid { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .urgency-strip { max-width: 100%; border-radius: 0; margin-top: 0; }
  .area-map iframe { height: 250px; }
  .comparison-grid { grid-template-columns: 1fr; }
  body { padding-bottom: 90px; }
  .btn-maintext { font-size: 1.25rem; }
  .btn-subtext { font-size: 0.75rem; }
}

/* ==================================================
   5. Accessibility: Reduced Motion Support
   ================================================== */
@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation-delay: -1ms !important;
        animation-duration: 1ms !important;
        animation-iteration-count: 1 !important;
        background-attachment: initial !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        transition-delay: -1ms !important;
    }

    /* Disable specific decorative transforms */
    .btn:hover, 
    .btn-primary:hover, 
    .btn-accent:hover,
    .problem-card:hover,
    .problem-card:hover .card-icon-wrap {
        transform: none !important;
    }

    /* Remove the pulsing effect from hero button */
    .hero-btn {
        animation: none !important;
    }

    /* Skip entrance animations for immediate visibility */
    .hero-title, 
    .hero-subtitle, 
    .hero-actions, 
    .hero-microcopy,
    .quiz-results,
    .faq-item[open] summary ~ * {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}


