/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --primary: 210 40% 20%;
    --primary-foreground: 210 40% 98%;
    --secondary: 210 40% 96%;
    --secondary-foreground: 210 40% 10%;
    --accent: 210 40% 94%;
    --accent-foreground: 210 40% 10%;
    --destructive: 0 84% 60%;
    --destructive-foreground: 210 40% 98%;
    --muted: 210 40% 96%;
    --muted-foreground: 215 16% 47%;
    --card: 0 0% 100%;
    --card-foreground: 210 40% 15%;
    --popover: 0 0% 100%;
    --popover-foreground: 210 40% 15%;
    --border: 210 40% 80%;
    --input: 210 40% 80%;
    --ring: 210 40% 20%;
    --background: 60 9% 98%; /* #FAFAF9 */
    --foreground: 210 40% 15%;
    
    /* Theme Colors */
    --urgent: 0 91% 55%;
    --success: 120 50% 45%;
    --warning: 45 93% 47%;
    --trust: 210 50% 30%;
    --surface: 210 40% 98%;
    
    /* Gradients */
    --gradient-hero: linear-gradient(135deg, hsl(var(--trust)), hsl(var(--primary)));
    --gradient-trust: linear-gradient(135deg, hsl(var(--trust)), hsl(var(--primary)));
    --gradient-urgent: linear-gradient(135deg, hsl(var(--urgent)), hsl(var(--destructive)));
    
    /* Shadows */
    --shadow-card: 0 4px 20px -4px hsl(var(--primary) / 0.1);
    --shadow-elevated: 0 10px 40px -10px hsl(var(--primary) / 0.2);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: hsl(var(--foreground));
    background-color: hsl(var(--background));
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

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

.icon {
    flex-shrink: 0;
}

.star {
    color: #fbbf24;
}

/* Button Styles */
.btn-urgent {
    background: linear-gradient(135deg, hsl(var(--urgent)), hsl(var(--destructive)));
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-urgent:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

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

.btn-xl {
    padding: 1.5rem 3rem;
    font-size: 1.5rem;
}

.btn-secondary {
    background: hsl(var(--secondary));
    color: hsl(var(--secondary-foreground));
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: hsl(var(--accent));
}

/* Animations */
.bounce {
    animation: bounce 2s infinite;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -15px, 0);
    }
    70% {
        transform: translate3d(0, -5px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

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

/* Sticky Header */
.sticky-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
    background: #1d4ed8 !important;
    color: white !important;
    padding: 4px 0 !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    display: block !important;
    visibility: visible !important;
    width: 100% !important;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0;
}

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

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-trust);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
}

.logo-text h1 {
    font-size: 1.125rem;
    font-weight: 700;
    color: white !important;
    line-height: 1.2;
}

.logo-text p {
    font-size: 0.75rem;
    color: hsl(var(--muted-foreground));
    line-height: 1;
}

.header-btn {
    font-size: 0.875rem;
    padding: 0.5rem 0.5rem;
}

.btn-text-mobile {
    display: none;
}

@media (max-width: 640px) {
    .sticky-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 99999 !important;
        display: block !important;
        visibility: visible !important;
        background: #1d4ed8 !important;
        
    }
    
    .logo-text h1 {
        font-size: 1.05rem !important;
        color: #ffffff !important;
        font-weight: 700 !important;
        margin: 0 !important;
        text-shadow: none !important;
        z-index: 99999 !important;
        position: relative !important;
        display: block !important;
        visibility: visible !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
    }
    
    .logo {
        flex-shrink: 0 !important;
    }
    
    .logo-text {
        display: block !important;
        visibility: visible !important;
    }
    
    .logo {
        display: flex !important;
        visibility: visible !important;
    }
    
    
}

/* Hero Section */
.hero {
    position: relative;
    padding: 5rem 0 4rem;
    background: var(--gradient-hero); 
    color: white;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('pexels-marcus-aurelius-6787959.jpg');
  background-size: contain; /* Show the whole image */
  background-repeat: no-repeat;
  background-position: center 0%;
  opacity: 0.6;
  height: 100%;
  width: 100%;
  z-index: 1;
}




.hero-content {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    z-index: 3;
}


@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* On larger screens, show quiz below the call button */
    .hero-text {
        order: 1;
    }
    
    .hero-quiz {
        order: 2;
    }
}

.hero-text {
    text-align: center;
    space-y: 1.5rem;
}

@media (min-width: 1024px) {
    .hero-text {
        text-align: center;
    }
}

.hero-badge {
    display: inline-block;
    background: hsla(var(--urgent), 0.2);
    color: hsl(var(--urgent));
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 1.8rem; /* <-- This is the smaller size for mobile */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

/* For screens that are 768px wide and up (tablets) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 2.2rem; /* A slightly larger size for tablets */
  }
}

/* For screens that are 1024px wide and up (desktops) */
@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.0rem; /* The large size for desktops */
  }
}

.text-urgent {
    color: hsl(var(--urgent));
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    }

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.5rem;
    }
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

@media (min-width: 1024px) {
    .hero-cta {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
}

.phone-info {
    text-align: center;
}

@media (min-width: 1024px) {
    .phone-info {
        text-align: center;
    }
}

.phone-number {
    color: hsl(var(--urgent));
    font-weight: 700;
    font-size: 1.125rem;
}

.phone-subtext {
    font-size: 0.875rem;
    opacity: 0.75;
}

.trust-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

@media (min-width: 1024px) {
    .trust-indicator {
        justify-content: flex-start;
    }
}

/* Quiz Styles */
.hero-quiz {
    padding-left: 0;
    margin-top: -40px; /* pull up — adjust value as needed */
}

@media (min-width: 1024px) {
    .hero-quiz {
        padding-left: 2rem;
        margin-top: -40px; /* keep the same lift on desktop */
    }
}




.quiz-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.quiz-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
}

.quiz-header p {
    color: rgba(255, 255, 255, 0.9);
}

.quiz-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

@media (min-width: 768px) {
    .quiz-form {
        gap: 2.5rem;
    }
}

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

.question label {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    border: 2px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
    appearance: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.select-wrapper select:hover {
    border-color: hsl(var(--primary));
}

.select-wrapper select:focus {
    border-color: hsl(var(--primary));
    outline: none;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: hsl(var(--muted-foreground));
    pointer-events: none;
}

.button-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.quiz-option {
    padding: 1rem;
    border: 2px solid hsl(var(--border));
    border-radius: 0.5rem;
    background: hsl(var(--background));
    cursor: pointer;
    transition: var(--transition-smooth);
    font-weight: 500;
    font-size: 1.25rem;
}

.quiz-option:hover {
    border-color: hsl(var(--primary));
    background: hsla(var(--primary), 0.05);
}

.quiz-option.selected {
    border-color: hsl(var(--primary));
    background: hsl(var(--primary));
    color: white;
    font-weight: 600;
}

.quiz-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.quiz-submit:disabled {
    background: hsl(var(--muted));
    color: hsl(var(--muted-foreground));
    cursor: not-allowed;
}

.quiz-submit:not(:disabled) {
    background: var(--gradient-urgent);
    color: white;
    animation: pulse 2s infinite;
}

/* Urgent Strip */
.urgent-strip {
    background: hsl(var(--urgent));
    color: white;
    padding: 1rem 0;
}

.urgent-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .urgent-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.urgent-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.urgent-btn {
    background: white;
    color: hsl(var(--urgent));
    padding: 0.5rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.urgent-btn:hover {
    background: hsl(var(--muted));
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }
}

.section-header p {
    font-size: 1.25rem;
    color: hsl(var(--muted-foreground));
    max-width: 42rem;
    margin: 0 auto;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background: hsl(var(--surface));
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
        max-width: 900px;
        margin: 0 auto;
    }
}
@media only screen and (min-width: 769px) {
  .desktop-call-display {
    display: block !important;
  }
}

@media only screen and (max-width: 768px) {
  .desktop-call-display {
    display: none !important;
  }
}


.feature-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    transition: var(--transition-smooth);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated);
}

.feature-icon {
    width: 4rem;
    height: 4rem;
    background: var(--gradient-trust);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: hsl(var(--muted-foreground));
}

/* Problem Solution Section */
.problem-solution {
    padding: 4rem 0;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.content-text h2 {
    font-size: 2rem;
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .content-text h2 {
        font-size: 2.5rem;
    }
}

.problem-list {
    space-y: 1rem;
    margin-bottom: 2rem;
}

.problem-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
}

.alert-icon {
    width: 2rem;
    height: 2rem;
    background: hsl(var(--urgent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.urgent-card {
    background: hsla(var(--urgent), 0.1);
    border: 2px solid hsla(var(--urgent), 0.3);
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.urgent-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: hsl(var(--urgent));
    margin-bottom: 0.75rem;
}

.urgent-card p {
    margin-bottom: 1rem;
}

.content-image img {
    width: 100%;
    max-width: 28rem;
    margin: 0 auto;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-card);
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: hsl(var(--surface));
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 80rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: hsl(var(--card));
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: var(--shadow-card);
    font-size: 1.125rem;
    font-weight: 500;
}

.check-icon {
    color: hsl(var(--success));
    flex-shrink: 0;
}

.benefits-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Social Proof */
.social-proof {
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-card {
    background: hsl(var(--card));
    padding: 2rem;
    border-radius: 0.75rem;
    text-align: center;
    box-shadow: var(--shadow-card);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: hsl(var(--urgent));
    margin-bottom: 0.5rem;
}

.stat-label {
    color: hsl(var(--muted-foreground));
}

/* Final CTA */
.final-cta {
    padding: 5rem 0;
    background: var(--gradient-hero);
    color: white;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .final-cta h2 {
        font-size: 3rem;
    }
}

.final-cta p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .final-cta p {
        font-size: 1.5rem;
    }
}

.final-cta-content {
    space-y: 1.5rem;
}

.hours-info {
    font-size: 1.125rem;
}

.hours-title {
    font-weight: 700;
}

/* Footer */
.footer {
    background: hsl(var(--primary));
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.footer-content {
    margin-bottom: 1rem;
}

.footer-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.footer-content p {
    font-size: 0.875rem;
    opacity: 0.75;
}

.footer-legal {
    font-size: 0.75rem;
    opacity: 0.75;
    space-y: 0.25rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-content {
    background: hsl(var(--background));
    border-radius: 0.75rem;
    box-shadow: var(--shadow-elevated);
    max-width: 28rem;
    width: 100%;
    animation: scaleIn 0.2s ease-out;
}

@keyframes scaleIn {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-header {
    background: var(--gradient-trust);
    color: white;
    padding: 1.5rem;
    border-radius: 0.75rem 0.75rem 0 0;
    text-align: center;
}

.modal-check-icon {
    width: 4rem;
    height: 4rem;
    background: hsla(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.modal-header p {
    font-size: 1.125rem;
}

.modal-body {
    padding: 1.5rem;
    space-y: 1rem;
}

.quote-card {
    background: hsla(var(--urgent), 0.1);
    border: 2px solid hsla(var(--urgent), 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    space-y: 0.75rem;
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.125rem;
}

.quote-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    text-align: center;
}

.quote-item {
    background: hsl(var(--background));
    border-radius: 0.5rem;
    padding: 0.75rem;
    border: 1px solid hsla(var(--urgent), 0.3);
}

.quote-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: hsl(var(--urgent));
}

.quote-label {
    font-size: 0.875rem;
    color: hsl(var(--muted-foreground));
}

.benefits-list h3 {
    font-weight: 700;
    color: hsl(var(--primary));
    margin-bottom: 0.5rem;
}

.benefits-list ul {
    list-style: none;
    space-y: 0.25rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.limited-offer {
    background: hsla(var(--urgent), 0.1);
    border: 1px solid hsla(var(--urgent), 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    text-align: center;
}

.offer-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    color: hsl(var(--urgent));
    margin-bottom: 0.5rem;
}

.limited-offer p {
    font-size: 0.875rem;
}

.modal-actions {
    padding: 1.5rem;
    space-y: 0.75rem;
}

.modal-actions .btn-urgent {
    width: 100%;
    font-size: 1.125rem;
    padding: 1rem;
    justify-content: center;
}

.modal-actions .btn-secondary {
    width: 100%;
    font-size: 0.875rem;
    padding: 0.5rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 3rem 0 2rem;
    text-align: center;
}

.footer-links {
    margin: 1rem 0;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
    margin: 0 1rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Legal Pages */
.simple-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem 0;
    color: white;
}

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

.simple-header .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: white;
}

.simple-header .logo h1 {
    font-size: 1.5rem;
    margin: 0;
}

.back-link {
    color: #bbb;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: white;
}

.legal-page {
    min-height: 80vh;
    padding: 2rem 0;
    background-color: #f9f9f9;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.last-updated {
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-content h2 {
    color: #1a1a2e;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.legal-content h3 {
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #333;
}

.legal-content ul, .legal-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.legal-content a {
    color: #007bff;
    text-decoration: none;
}
@media (min-width: 1024px) {
  .hero-content {
    gap: 6rem; /* was 2rem — pushes the quiz down cleanly */
  }
}
/* Fix modal text color */
.modal-content {
  background: #ffffff; /* white background */
  color: #222; /* dark text for readability */
  border-radius: 8px;
  max-width: 500px;
  margin: auto;
  padding: 20px;
}


.modal-overlay {
  position: fixed;
  inset: 0;
  display: none;               /* you toggle to flex in JS */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6); /* visible click area */
  z-index: 9999;               /* above sticky header */
}
/* Hide the submit button until it's enabled */
#qualifying-quiz .quiz-submit:disabled { 
  display: none; 
}


.modal-content {
  max-width: 520px;
  width: 92%;
  background: #fff;            /* readable body */
  color: #222;
  border-radius: 8px;
  overflow: hidden;
  pointer-events: auto;
}


.modal-header h2 {
  margin: 0;
}

/* Lists and strong text */
.modal-body,
.modal-body p,
.modal-body li {
  color: #222;
}

.modal-body ul {
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 5px;
}


.legal-content a:hover {
    text-decoration: underline;
}
/* Tablet breakpoint (adjust min-width and max-width as needed for your definition of tablet) */
@media (min-width: 768px) and (max-width: 1024px) {
    .hero-cta {
        /* Ensure the parent container uses flexbox to manage its children */
        display: flex;
        flex-direction: column; /* Stack items vertically within this container */
        align-items: center;   /* Center items horizontally along the cross-axis (which is now horizontal) */
        width: 100%;           /* Ensure this container takes full available width */
        box-sizing: border-box; /* Good practice to include, prevents padding/border from adding to total width */
    }

    .hero-cta .btn-urgent {
        /* Make the button a block element so it takes its own line and can be centered */
        display: block;
        
        /* If the button has a specific width defined elsewhere,
           ensure it's not too wide for the tablet screen.
           You might need a max-width here if it's overflowing.
           Example: max-width: 350px;
        */
        
        /* Apply auto margins for centering if flexbox alone isn't sufficient
           due to inherited button styles, but flexbox should handle it. */
        margin-left: auto;
        margin-right: auto;

        /* Add or adjust horizontal padding if the text isn't fitting well inside the button */
        padding-left: 20px; /* Adjust as needed */
        padding-right: 20px; /* Adjust as needed */
        /* If you're using fixed px values in your btn-large, ensure they are not too large */
    }

    /* Ensure the paragraph below the button also behaves as a block element */
    .hero-cta + p { /* This targets a <p> tag that directly follows .hero-cta */
        display: block;
        /* You might want to center its text too if it's currently left-aligned */
        text-align: center;
        width: 100%; /* Ensure it also takes full width to center its text */
    }
    
    /* If the "licensed agents standing by" text is part of a P tag *inside* the .hero-cta,
       we need to be careful with its specific element.
       Based on your original HTML, it's a <p> tag *outside* the button but inside the main div.
       Let's confirm the exact structure:
    */
    /*
    <div class="text-center py-6"> // This is the main container, NOT necessarily .hero-cta
        ...
        <p class="text-xl font-bold mb-6">Licensed agents are standing by to lock in your benefit.</p>
        <div class="hero-cta"> // THIS IS THE BUTTON'S PARENT
            <a href="tel:+18663462926" class="btn-urgent btn-large">
                ...
            </a>
        </div>
    </div>
    */
    /* Okay, if `hero-cta` is the parent of the BUTTON, and that P is *outside* the hero-cta,
       then my initial understanding of your HTML structure from the snippet was a bit off.

       Let's re-evaluate based on the full snippet you provided earlier, where the button was
       directly inside the main "text-center py-6" div, and the "Licensed agents..." p tag was *above* it.
       If that's the case, then this section is the relevant one:
    */
    /* If "Licensed agents standing by" is the <p> directly before the button,
       and that <p> is inside the main container that holds the button,
       then the flexbox on the main container will naturally handle it. */
    .text-center.py-6 { /* Assuming this is the main parent div that contains ALL these elements */
        display: flex;
        flex-direction: column; /* Stack children vertically */
        align-items: center;   /* Center children horizontally */
        width: 100%;
    }

    /* The button itself might still need to break out of any inline behavior */
    .text-center.py-6 .btn-urgent {
        display: block; /* Ensure the button takes its own line */
        margin-left: auto;
        margin-right: auto;
        /* Potentially adjust width or max-width here if the button is too wide */
        /* Example: max-width: 90%; or max-width: 400px; */
    }

    /* Any <p> tags *within* this flex container will also be centered due to align-items: center */
    /* If the text inside the p tags is not centering, you might need text-align: center on them too */
    .text-center.py-6 p {
        text-align: center;
        width: 100%; /* Ensure it spans full width to allow text-align to center */
    }
}
/* Desktop tweaks so the hero image isn't gigantic/cropped */
@media (min-width: 1024px) {
  .hero {
    min-height: 90vh; /* optional, adjust if needed */
  }
  .hero-bg {
    /* Fit the image to the viewport height instead of letting it scale wildly */
    background-size: auto 70vh;   /* height ≈ 80% of viewport */
    background-position: center 0%; /* nudge the subject into view */
    opacity: 0.6; /* keep as-is, or adjust */
  }
}
@media (min-width: 1024px) {
  .hero-bg {
    display: none;
  }
}
/* Line under quiz header */
.quiz-header {
  text-align: center;
  border-bottom: 2px solid #000;   /* black */
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
}

/* Bigger & centered questions */
.quiz-form .question {
  text-align: center;
  font-size: 1.25rem; /* make question text bigger */
  margin-bottom: 2rem; /* extra spacing between questions */
}

/* Make the answer buttons larger and more centered */
.quiz-form .button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem; /* spacing between buttons */
}

.quiz-form .quiz-option {
  font-size: 1.1rem; /* bigger button text */
  padding: 1rem 2rem;
}
/* Thin line under the quiz header */
#qualifying-quiz .quiz-header {
  text-align: center;
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  position: relative;
}
#qualifying-quiz .quiz-header::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  max-width: 420px;          /* keeps the line a nice width */
  margin: 0.75rem auto 0;    /* centers it */
  background:#000;
  border-radius: 999px;
}

/* Bigger, centered question text (labels only) */
#qualifying-quiz .question > label {
  display: block;
  text-align: center;
  font-size: 1.5rem;         /* increase size here */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 12px;
}

/* Make the answer buttons larger WITHOUT changing your layout */
#qualifying-quiz .quiz-option {
  font-size: 1.1rem;         /* bigger button text */
  padding: 14px 18px;        /* taller/wider buttons */
  border-radius: 10px;
}

/* If your .button-group uses CSS Grid already, center items nicely */
#qualifying-quiz .button-group {
  justify-items: center;     /* has effect if it's display:grid */
}

/* Optional: on small screens make answers full-width for easy tapping */
@media (max-width: 640px) {
  #qualifying-quiz .quiz-option {
    width: 100%;
  }
}
/* Kill any existing border-bottom on the header */
#qualifying-quiz .quiz-header {
  border-bottom: none !important;
}
@media (min-width: 1024px) {
  #qualifying-quiz .quiz-option {
    font-size: 1.25rem;      /* bigger text */
    padding: 16px 24px;      /* more clickable area */
  }
}
#qualifying-quiz .quiz-header::after {
  content: "";
  display: block;
  height: 2px;
  width: 100%;
  max-width: 420px;
  margin: 0.75rem auto 0;
  background: #000;
  border-radius: 999px;
}
#pre-approved-modal .modal-body p {
  text-align: center;
}

#pre-approved-modal .quote-text {
  text-align: center;
  font-size: 1.4em;     /* bigger */
  font-weight: bold;
  margin-top: 20px;
  color: #ef4444;       /* urgent red */
}

#pre-approved-modal .modal-body p:first-of-type {
  font-size: 1.2em;     /* slightly bigger than default */
  font-weight: 600;
  margin-bottom: 20px;
}
@media (min-width: 1024px) {
  /* Stack buttons vertically instead of side-by-side */
  #qualifying-quiz .button-group {
    flex-direction: column;
    align-items: center; /* center them horizontally */
    gap: 1rem; /* space between buttons */
  }

  /* Make each button wider and taller */
  #qualifying-quiz .quiz-option {
    font-size: 1.25rem;    /* bigger text */
    padding: 1rem 2rem;    /* taller buttons */
    width: 100%;           /* take full width of container */
    max-width: 320px;      /* but don't get ridiculously wide */
  }
}
@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 2rem; /* bigger text on desktop */
    color: #ef4444;    /* urgent red */
    font-weight: bold; /* make it pop */
  }
}
/* Callout stripe under the hero subtitle */
.hero-text  .fact-callout {
  background: transparent;        /* no background fill */
  border: 2px solid #dc2626;      /* red border */
  color: #000;                    /* black text */
  padding: 1rem;
  border-radius: 0.5rem;          /* rounded corners */
  display: flex;
  align-items: center;
  gap: 0.75rem;                   /* space between icon & text */
  font-weight: 600;
  width: 100%;                    /* stretch if you like, remove if not */
}

.fact-callout p {
  margin: 0;
  color: #000 !important;         /* force black text */
}

.fact-callout svg {
  flex-shrink: 0;
  color: #dc2626;                 /* red icon to match border */
}



.hero-text .fact-callout svg {
  stroke: #ef4444;
  flex: 0 0 auto;
  width:48px;        /* bigger “!” icon */
  height: 48px;
}

.hero-text .fact-callout p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.4;
}

/* Desktop: a touch larger */
@media (min-width: 1024px) {
  .hero-text .fact-callout {
    padding: 16px 20px;
    text-align: center;
  }
  .hero-text .fact-callout p {
    font-size: 1.5rem;
  }
}
@media (max-width: 640px) {
  .hero {
    padding-top: 3.5rem; /* adjust this number to fine-tune */
  }
}
/* Show the phone number block on tablets too */
@media (min-width: 640px) and (max-width: 1023px) {
  #pre-approved-modal .desktop-call-display {
    display: block !important;   /* override the inline display:none */
    margin-top: 12px;
    text-align: center;
  }
  #pre-approved-modal .desktop-call-display h2 {
    font-size: 1.4rem;           /* a bit smaller than desktop if you want */
    margin: 0;
  }
}
/* Mobile: show the number, hide the "CALL" label */

  .header-btn .btn-text { 
    display: inline !important;   /* force the number to show */
    white-space: nowrap;          /* keep it on one line */
  }
  .header-btn .btn-text-mobile {
    display: none !important;     /* hide "CALL" */
  }
  .header-btn .icon {
    margin-right: 6px;            /* small spacing before number */
  }
/* FINAL OVERRIDE: always show the phone number, hide "CALL" */
header .header-btn .btn-text {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: nowrap;
}

header .header-btn .btn-text-mobile {
  display: none !important;
}

header .header-btn .icon {
  margin-right: 6px;
}

/* Force the header to show the phone number on all devices */
header .header-btn .btn-text {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  white-space: nowrap;
  font-weight: 700;
}

header .header-btn .btn-text-mobile {
  display: none !important;
}

header .header-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.5rem; /* tweak if needed */
}

header .header-btn .icon { margin-right: 6px; }

.quiz-phone-number {
  text-align: center;
  font-size: 1.25rem;  /* adjust size */
  font-weight: bold;
  margin-top: 8px;     /* space from button */
  color: #fff;         /* match your design */
}
.btn-stacked {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem; /* adjust to taste */
  line-height: 1.2;      /* tighten vertical spacing */
}

.btn-stacked .btn-main-text {
  font-size: 1.2rem;      /* main label size */
  font-weight: bold;
}

.btn-stacked .btn-sub-text {
  font-size: 1rem;        /* phone number size */
  font-weight: normal;
  margin-top: 2px;        /* small gap from main text */
}
/* Stack quiz options vertically on tablets (iPad) */
@media (min-width: 641px) and (max-width: 1023px) {
  #qualifying-quiz .button-group {
    display: flex;            /* override any grid/flex-wrap */
    flex-direction: column;   /* stack */
    align-items: center;      /* center the buttons */
    gap: 1rem;
  }
  #qualifying-quiz .quiz-option {
    width: 100%;
    max-width: 360px;         /* nice readable width */
    padding: 14px 20px;
    font-size: 1.2rem;
  }
}
@media (max-width: 640px) {
  h2.quiz-headline {
    font-size: 1.35rem;
    white-space: normal;
  }
}
/* This adds space to the top of your hero section to clear the fixed header */
.hero {
  padding-top: 5rem; /* Adjust this value as needed */
}

/* You might want a different padding for mobile to avoid a huge gap */
@media (max-width: 768px) {
  .hero {
    padding-top: 4.5rem; /* A smaller value for mobile devices */
  }
}
.final-cta-content .btn-urgent {
  margin-bottom: 16px; /* adjust to your liking */
}
#preapproved-inline .modal-actions,
#disqualified-inline .modal-actions { padding-top: 0.75rem; }
#cta-urgency { font-size: 0.95rem; opacity: 0.95; }

.question {
  display: flex;   /* <-- makes every question visible */
  flex-direction: column;
  gap: 1rem;
}

/* Quiz: one step at a time */
#qualifying-quiz .question { 
  display: none; 
}

#qualifying-quiz .question.active { 
  display: flex;   /* keep your layout */
}
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  background-color: #0B5FFF !important;
  color: #fff !important;
}

#preapproved-inline,
#disqualified-inline {
  background-color: #fff !important;
}
#preapproved-inline .quiz-header,
#disqualified-inline .quiz-header {
  display: none;
}
.btn-urgent.btn-xl {
  display: inline-flex;
  flex-direction: row;       /* icon left, text right */
  align-items: center;
  gap: 10px;
  text-align: left;
}

.btn-urgent.btn-xl .cta-text {
  display: flex;
  flex-direction: column;    /* stack Call Now + number */
  line-height: 1.2;
}

.btn-urgent.btn-xl .cta-line-1 {
  font-size: 1.4rem;          /* bigger for emphasis */
  font-weight: bold;
}

.btn-urgent.btn-xl .cta-line-2 {
  font-size: 1rem;
  font-weight: normal;
}
.cta-text {
  display: flex;
  flex-direction: column;
  align-items: center;     /* center horizontally */
  text-align: center;
}

.cta-line-1 {
  font-size: 1.4rem;       /* bigger "Call Now" */
  font-weight: 700;
  line-height: 1.2;
}

.cta-line-2 {
  font-size: 1rem;         /* smaller phone number */
  line-height: 1.2;
}
#qualifying-quiz .question { display: none; }


/* ===== Lovable Color-Scheme Overrides (paste at end) ===== */

/* Header → light */
.sticky-header { 
  background: #ffffff !important; 
  color: #333 !important; 
}
.logo-text h1 { color: #333 !important; }
@media (max-width: 640px) {
  .sticky-header { background: #ffffff !important; }
  .logo-text h1 { color: #333 !important; }
}

/* Hero → light gradient + dark text */
.hero {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0) !important;
  color: #333 !important;
}
/* Neutralize dark overlay and photo tint */
.hero-overlay { background: transparent !important; }
.hero-bg { opacity: 0 !important; }  /* keep your image tag but hide its tint */

/* Optional: headline sizing to match Lovable */
.hero-title {
  line-height: 1.1 !important;
}
@media (min-width: 768px) { 
  .hero-title { font-size: 3rem !important; } 
}
@media (min-width: 1024px) { 
  .hero-title { font-size: 3.75rem !important; } 
}


.quiz-header h2,
.question label { color: #fff !important; }
.quiz-header p   { color: #E5E7EB !important; } /* light gray on blue */

/* Sections → lighter surfaces */
.features { background: #FAFAF9 !important; }
.benefits { background: #FAFAF9 !important; }

/* Final CTA → light gradient */
.final-cta {
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0) !important;
  color: #333 !important;
}

/* Feature icon pills → blue gradient accent (unchanged brand hues) */
.feature-icon {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8) !important;
}

/* Keep urgent brand color behavior as-is (buttons/strips stay vibrant) */
/* ========================================================== */

.quiz-option {
  font-weight: 700;       /* make text bold */
  font-size: 1.6rem;     /* bump size (20px approx) */
}

.quiz-option span {
  font-weight: 700;       /* ensure the inner <span> is bold too */
}

/* Off-white page canvas + sections (override Lovable backgrounds) */
body { background-color: #FAFAF9 !important; }

/* These were gradients in the Lovable block */
.hero,
.final-cta { background: #FAFAF9 !important; }

/* You tried these earlier—make sure they come AFTER the Lovable rules */
.features,
.benefits { background: #FAFAF9 !important; }

/* 1) Fix the missing semicolon */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: none;   /* <-- semicolon added */
  z-index: 2;
  pointer-events: none;
}

/* 2) Fix the malformed mobile media block (flatten + add selector) */
@media (max-width: 640px) {
  h2.quiz-headline {
    font-size: 1.35rem;
    white-space: normal;  /* moved from stray line to a selector */
  }
}

/* 3) Keep quiz steps using flex when active (matches your spacing) */
#qualifying-quiz .question { display: none; }
#qualifying-quiz .question.active { display: flex; }

/* 4) Off-white canvas and kill gradients where needed */
html, body {
  background: #FAFAF9 !important;
}

.hero,
.final-cta {
  background: #FAFAF9 !important;
  background-image: none !important;
}

.features,
.benefits {
  background: #FAFAF9 !important;
}

/* Force a pure white canvas everywhere */
html, body {
  background: #ffffff !important;
}

/* Kill gradients/tints on these sections */
.hero,
.final-cta,
.features,
.benefits {
  background: #ffffff !important;
  background-image: none !important;
}

/* Make sure any hero image overlay/tint can't show */
.hero-bg { display: none !important; }

.header-hours {
  font-size: 0.75rem;
  line-height: 1;
  color: #555 !important;
  white-space: nowrap;      /* never wrap */
}

.header-hours .hours-short { display: none; }  /* desktop default */
.header-hours .hours-full  { display: inline; }

/* On narrow screens, swap to short label */
@media (max-width: 420px) {
  .header-hours { font-size: 0.7rem; }
  .header-hours .hours-full  { display: none; }
  .header-hours .hours-short { display: inline; }
}

/* Optional: if it *still* feels tight on very small devices, hide it */
@media (max-width: 340px) {
  .header-hours { display: none; }
}

/* Hours toggle (desktop vs mobile) */
.header-hours { 
  font-size: 0.8rem;
  line-height: 1;
  white-space: nowrap;   /* keep it on one line */
}

/* Hide both by default, then enable per breakpoint */
.header-hours .hours-full,
.header-hours .hours-short { 
  display: none !important; 
}

@media (min-width: 641px) {   /* tablet/desktop */
  .header-hours .hours-full { display: inline !important; }
}

@media (max-width: 640px) {   /* mobile */
  .header-hours .hours-short { display: inline !important; }
}
/* Force the short hours to show on all breakpoints */
.header-call .header-hours .hours-short { 
  display: inline !important; 
  font-size: .8rem; 
  white-space: nowrap;
}
/* Center hours under the call button */
.header-call {
  display: inline-flex;        /* shrink-wrap to the button width */
  flex-direction: column;      /* stack button then hours */
  align-items: center;         /* center the hours under the button */
  gap: 4px;                    /* small space between them */
}

.header-call .header-hours {
  font-size: .8rem;
  line-height: 1;
  white-space: nowrap;         /* keep it on one line */
  text-align: center;
}

/* Trust Signals */
.trust-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  background-color: hsl(var(--section-bg));
  border-top: 1px solid hsl(var(--section-border));
  border-bottom: 1px solid hsl(var(--section-border));
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--warm-gray-dark));
  font-weight: 500;
}

.trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--trust-blue));
}

/* Trust Signals – make the inner wrapper a flex row */
.trust-row {
  padding: 2rem 0;
  background-color: hsl(var(--section-bg));
  border-top: 1px solid hsl(var(--section-border));
  border-bottom: 1px solid hsl(var(--section-border));
}

.trust-row .container-custom > div {
  display: flex;            /* the wrapper div becomes the flex row */
  flex-wrap: wrap;          /* let them wrap on small screens */
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

/* keep icon + text inline */
.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: hsl(var(--warm-gray-dark));
  font-weight: 500;
}

.trust-icon {
  width: 1.5rem;
  height: 1.5rem;
  color: hsl(var(--trust-blue));
}

/* Center inline result cards and keep them narrow */
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  max-width: 640px;
  margin: 1rem auto !important; /* center horizontally */
}

/* Prevent any accidental horizontal scroll shifts */
html, body { overflow-x: hidden; }

/* Optional: reserve scrollbar space to avoid slight horizontal nudge on some browsers */
html { scrollbar-gutter: stable both-edges; }

/* Fix mobile right-shift caused by 100vw header */
@media (max-width: 640px) {
  .sticky-header {
    width: 100% !important;   /* instead of 100vw */
    left: 0 !important;
    right: 0 !important;
  }
}

/* Keep result cards centered on all screens */
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  max-width: 640px;
  margin: 1rem auto !important;
}

/* Belt-and-suspenders: kill horizontal overflow just in case */
html, body { overflow-x: hidden; }

/* Mobile right-shift hard fix */
@media (max-width: 640px) {
  /* 100vw is the usual offender — force to 100% */
  .sticky-header { width: 100% !important; left: 0 !important; right: 0 !important; }

  /* Make sure nothing else uses viewport width */
  .hero,
  .final-cta,
  .footer { width: 100% !important; }

  /* Keep the result cards truly centered and within viewport */
  #checking-inline .quiz-container,
  #preapproved-inline .quiz-container,
  #disqualified-inline .quiz-container {
    max-width: 640px;
    margin: 1rem auto !important;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  /* Prevent any horizontal overflow from rogue children */
  html, body { overflow-x: hidden !important; }
  img, svg, video { max-width: 100% !important; height: auto; }
}

/* If any global rule sets width:100vw anywhere, neutralize it */
*[style*="100vw"],
[class*="vw"] { width: 100% !important; }

/* 1) Fix mobile header overflow: never use 100vw on fixed headers */
@media (max-width: 640px) {
  .sticky-header {
    width: 100% !important;      /* instead of 100vw */
    left: 0 !important;
    right: 0 !important;
    box-sizing: border-box;       /* include padding in width */
  }
}

/* 2) Let the trust items wrap on small screens */
.trust-row {
  flex-wrap: wrap !important;     /* override earlier nowrap */
}

/* 3) Belt-and-suspenders: prevent any rogue child from overflowing */
html, body { overflow-x: hidden !important; }
img, svg, video, canvas { max-width: 100% !important; height: auto; }

/* Let header flex children actually shrink */
.sticky-header .header-content { display: flex; }
.sticky-header .logo,
.sticky-header .header-call { min-width: 0; }  /* critical: allow shrink */
.sticky-header .header-call { max-width: 100%; }

/* Keep the number on one line but never overflow the viewport */
header .header-btn .btn-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip; /* avoid ellipsis on a phone number */
}

/* On ultra-narrow phones, reduce button text size slightly */
@media (max-width: 360px) {
  .header-btn { font-size: 0.85rem; }
}
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  max-width: 600px;
  width: calc(100% - 32px);
  margin: 1rem auto !important;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
/* --- Fix 1: Allow long headings to wrap + size responsively --- */
#preapproved-inline .modal-header h2,
#disqualified-inline .modal-header h2,
#checking-inline .modal-header h2,
#preapproved-inline .quiz-container h2,
#disqualified-inline .quiz-container h2,
#checking-inline .quiz-container h2 {
  font-size: clamp(1.125rem, 6vw, 1.75rem);
  line-height: 1.15;
  overflow-wrap: anywhere;   /* modern wrap */
  word-break: break-word;    /* fallback */
  hyphens: auto;             /* optional soft hyphenation */
  text-align: center;
}

/* Keep the result card inside the viewport on every phone width */
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  width: min(600px, calc(100vw - 32px)); /* never exceed viewport */
  margin: 1rem auto !important;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

/* --- Fix 2: Use ONE rule for active quiz step (remove the other) --- */
#qualifying-quiz .question { display: none; }
#qualifying-quiz .question.active {
  display: flex;             /* keep flex for spacing */
  flex-direction: column;
  gap: 1rem;
}

/* Safety: header children can shrink on mobile to avoid overflow push */
.sticky-header .header-content { display: flex; }
.sticky-header .logo,
.sticky-header .header-call { min-width: 0; }
.sticky-header .header-call { max-width: 100%; }
header .header-btn .btn-text {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
}
/* Keep result headings on one line and scale down on small screens */
#preapproved-inline .quiz-container h2,
#checking-inline .quiz-container h2,
#disqualified-inline .quiz-container h2,
#pre-approved-modal .modal-header h2 {
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  overflow-wrap: normal;
  word-break: keep-all;
  white-space: nowrap;
  font-size: clamp(1.1rem, 6vw, 1.75rem); /* tweak as you like */
}
/* Center quiz/result headings without causing horizontal scroll */
#preapproved-inline .quiz-container h2,
#checking-inline .quiz-container h2,
#disqualified-inline .quiz-container h2,
#qualifying-quiz .quiz-header h2 {
  text-align: center;
  margin: 0 0 .5rem;
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: anywhere;   /* breaks if needed, no hyphen */
  word-break: normal;
  font-size: clamp(18px, 6.2vw, 28px);  /* gently scales down on small screens */
}
/* Center the result/quiz headline reliably */
h2.quiz-headline,
#preapproved-inline .quiz-container > h2,
#checking-inline .quiz-container > h2,
#disqualified-inline .quiz-container > h2 {
  display: inline-flex;          /* centers text + any icon as one unit */
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  margin: 0 0 .5rem;
  text-align: center !important;

  /* prevent hyphenation and still wrap on tiny screens */
  hyphens: none;
  -webkit-hyphens: none;
  overflow-wrap: anywhere;
  word-break: normal;
  /* optional: small responsive sizing */
  font-size: clamp(18px, 6vw, 28px);
}
/* Center the result heading only, no layout shifts */
#preapproved-inline .quiz-container > h2,
#checking-inline  .quiz-container > h2,
#disqualified-inline .quiz-container > h2,
h2.quiz-headline {
  display: block !important;      /* undo any flex/inline-flex */
  width: 100% !important;         /* span the card */
  text-align: center !important;  /* actually center the text */
  margin: 0 0 .5rem !important;

  /* keep it from breaking oddly */
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
  overflow-wrap: anywhere;
}


/* Optional: tiny phones — keep it on one line */
@media (max-width: 360px) {
  #preapproved-inline .quiz-container h1,
  #preapproved-inline .quiz-container h2,
  #checking-inline  .quiz-container h1,
  #checking-inline  .quiz-container h2,
  #disqualified-inline .quiz-container h1,
  #disqualified-inline .quiz-container h2 {
    font-size: 1.25rem !important;
  }
}
/* === INSURANCE BLUE THEME — paste LAST === */
:root { --insurance-blue: #0B63F6; }

/* Cards: quiz + checking + results */
#qualifying-quiz .quiz-container,
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  background: var(--insurance-blue) !important;
  border: 1px solid rgba(255,255,255,0.24) !important;
  box-shadow: 0 10px 30px -10px rgba(11,99,246,.45) !important;
}

/* Make ALL text inside those cards white by default */
#qualifying-quiz .quiz-container *,
#checking-inline .quiz-container *,
#preapproved-inline .quiz-container *,
#disqualified-inline .quiz-container * {
  color: #ffffff !important;
}

/* Headings: keep centered and un-hyphenated */
#qualifying-quiz .quiz-header h2,
#checking-inline .quiz-container h2,
#preapproved-inline .quiz-container h2,
#disqualified-inline .quiz-container h2 {
  text-align: center !important;
  hyphens: none !important;
  word-break: keep-all !important;
}

/* Progress % text */
#checking-inline #progress-percent { color: #ffffff !important; }

/* QUIZ ANSWER BUTTONS: white w/ black text; selected = blue/white */
#qualifying-quiz .quiz-option,
#qualifying-quiz .quiz-option * {
  background: #ffffff !important;
  color: #111111 !important;
  border: 2px solid rgba(0,0,0,0.15) !important;
}
#qualifying-quiz .quiz-option:hover,
#qualifying-quiz .quiz-option:focus {
  border-color: var(--insurance-blue) !important;
  outline: none;
}
#qualifying-quiz .quiz-option.selected,
#qualifying-quiz .quiz-option.selected * {
  background: var(--insurance-blue) !important;
  color: #ffffff !important;
  border-color: var(--insurance-blue) !important;
}

/* Make “inner cards” in results readable on the blue background */
#preapproved-inline .quote-card,
#preapproved-inline .quote-item,
#disqualified-inline .quote-card,
#disqualified-inline .quote-item,
#checking-inline .quote-card,
#checking-inline .quote-item {
  background: rgba(255,255,255,0.08) !important;
  border-color: rgba(255,255,255,0.25) !important;
}

/* Vibrant insurance blue gradient + white text */
:root {
  --blue-1: #0B5FFF;  /* vibrant */
  --blue-2: #0656D6;  /* slightly darker */
  --blue-3: #0843B6;  /* anchor */
  --ins-gradient: linear-gradient(135deg, var(--blue-2) 0%, var(--blue-1) 55%, var(--blue-3) 100%);
}

/* Apply to all three boxes */
#qualifying-quiz .quiz-container,
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  background: var(--ins-gradient) !important;
  color: #fff !important;
  border: none !important;
}

/* Make ALL text inside those cards white (defensive) */
#qualifying-quiz .quiz-container h1,
#qualifying-quiz .quiz-container h2,
#qualifying-quiz .quiz-container p,
#qualifying-quiz .quiz-container li,
#checking-inline .quiz-container h1,
#checking-inline .quiz-container h2,
#checking-inline .quiz-container p,
#checking-inline .quiz-container li,
#preapproved-inline .quiz-container h1,
#preapproved-inline .quiz-container h2,
#preapproved-inline .quiz-container p,
#preapproved-inline .quiz-container li,
#disqualified-inline .quiz-container h1,
#disqualified-inline .quiz-container h2,
#disqualified-inline .quiz-container p,
#disqualified-inline .quiz-container li {
  color: #fff !important;
}

/* Use the same gradient for the “CONGRATULATIONS!” header bar */
#preapproved-inline .modal-header,
#disqualified-inline .modal-header {
  background: var(--ins-gradient) !important;
  color: #fff !important;
}

/* Keep quiz answer buttons white with black text */
#qualifying-quiz .quiz-option {
  background: #fff !important;
  color: #111 !important;
  border: 2px solid rgba(255,255,255,0.0) !important;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
#qualifying-quiz .quiz-option:hover { border-color: rgba(0,0,0,.25) !important; }
#qualifying-quiz .quiz-option.selected {
  border-color: #0B5FFF !important;
}

/* Checking progress: keep readable on blue */
#checking-inline .progress-track {
  background: rgba(255,255,255,.25) !important;
}
#checking-inline #progress-fill {
  background: #fff !important;
}
#checking-inline #progress-percent,
#checking-inline h2 { color: #fff !important; }
/* Shared gradient + white text for all three cards */
#qualifying-quiz .quiz-container,
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  background: linear-gradient(135deg, #0B5FFF 0%, #0040FF 100%);
  color: #fff;
}

/* Let the headers inherit the gradient */
#preapproved-inline .modal-header,
#disqualified-inline .modal-header {
  background: transparent;
  color: #fff;
}

/* Make sure key text inside is white */
#checking-inline h2,
#checking-inline #progress-percent,
#preapproved-inline .prequal-text,
#preapproved-inline .quote-text,
#preapproved-inline ul,
#disqualified-inline .modal-body,
#disqualified-inline .modal-body p,
#disqualified-inline .modal-body ul {
  color: #fff;
}

/* Quiz answer buttons: white with black text */
#qualifying-quiz .quiz-option {
  background: #fff;
  color: #111;
  border: 2px solid rgba(255,255,255,0.6);
}
#qualifying-quiz .quiz-option:hover {
  background: #F8FAFC;
}
#qualifying-quiz .quiz-option.selected {
  background: #fff;
  color: #000;
  border-color: #111;
}
/* === FINAL: Insurance blue for quiz + checking + results (paste LAST) === */
:root {
  --blue-1: #0B5FFF;
  --blue-2: #0656D6;
  --blue-3: #0843B6;
  --ins-gradient: linear-gradient(135deg, var(--blue-2) 0%, var(--blue-1) 55%, var(--blue-3) 100%);
}

/* The three cards */
.hero-quiz .quiz-container,
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  background: var(--ins-gradient) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 10px 30px -10px rgba(11, 99, 246, .45) !important;
}

/* Head bars on the result cards */
#preapproved-inline .modal-header,
#disqualified-inline .modal-header {
  background: var(--ins-gradient) !important;
  color: #fff !important;
}

/* Make sure important text stays white on those cards */
.hero-quiz .quiz-container h1,
.hero-quiz .quiz-container h2,
.hero-quiz .quiz-container p,
.hero-quiz .quiz-container li,
#checking-inline .quiz-container h1,
#checking-inline .quiz-container h2,
#checking-inline .quiz-container p,
#checking-inline .quiz-container li,
#preapproved-inline .quiz-container h1,
#preapproved-inline .quiz-container h2,
#preapproved-inline .quiz-container p,
#preapproved-inline .quiz-container li,
#disqualified-inline .quiz-container h1,
#disqualified-inline .quiz-container h2,
#disqualified-inline .quiz-container p,
#disqualified-inline .quiz-container li {
  color: #fff !important;
}

/* Checking progress legibility on blue */
#checking-inline .progress-track { background: rgba(255,255,255,.25) !important; }
#checking-inline #progress-fill { background: #fff !important; }
#checking-inline #progress-percent { color: #fff !important; }

/* Quiz buttons: white with black text (selected = white w/ blue outline) */
#qualifying-quiz .quiz-option,
#qualifying-quiz .quiz-option * {
  background: #fff !important;
  color: #111 !important;
  border: 2px solid rgba(0,0,0,.15) !important;
}
#qualifying-quiz .quiz-option:hover,
#qualifying-quiz .quiz-option:focus {
  border-color: #0B5FFF !important;
  outline: none;
}
#qualifying-quiz .quiz-option.selected,
#qualifying-quiz .quiz-option.selected * {
  background: #fff !important;
  color: #111 !important;
  border-color: #0B5FFF !important;
  box-shadow: 0 0 0 3px rgba(11,99,246,.22);
}
/* Patch: rounded cards + inner padding */
.hero-quiz .quiz-container,
#checking-inline .quiz-container,
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  border-radius: 12px !important;
  padding: 16px !important;
  overflow: hidden; /* clips the gradient to the rounded corners */
}

/* Buttons: keep clearance from the card edge + softer corners */
#qualifying-quiz .button-group {
  padding: 0 6px;   /* tiny inset so the grid never touches the border */
  gap: 12px;        /* a bit more space between YES/NO */
}

#qualifying-quiz .quiz-option {
  border-radius: 10px !important;
}
/* Fix: allow header to wrap & remove forced centering that causes clipping */
#preapproved-inline .modal-header h2,
#disqualified-inline .modal-header h2 {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;

  /* kill the old left:50% / transform / width:max-content hack */
  position: static !important;
  left: auto !important;
  transform: none !important;
  width: auto !important;

  /* comfy insets so text doesn’t touch edges */
  margin: 0 !important;
  padding: 0 12px !important;

  /* responsive but not huge */
  font-size: clamp(1.125rem, 6vw, 1.6rem) !important;
}

/* Ensure the card itself has room inside the border radius */
#preapproved-inline .quiz-container,
#disqualified-inline .quiz-container {
  padding: 16px !important;
  border-radius: 12px !important;
}

/* Header bar should not extend past the card gradient */
#preapproved-inline .modal-header,
#disqualified-inline .modal-header {
  background: transparent !important;
  margin: 0 !important;
  border-radius: 12px 12px 0 0 !important;
}
./* TRUST LINE — keep icon + “Talk” on the same baseline (mobile-safe) */
.trust-inline { 
  line-height: 1.25 !important;
}

.trust-inline > span:first-child {
  display: inline-flex !important;
  align-items: baseline !important;   /* “Talk” uses the same baseline as the next words */
  gap: 6px;
  vertical-align: baseline !important;
}

/* Override any inline vertical-align on the SVG and nudge slightly */
.trust-inline > span:first-child svg {
  vertical-align: baseline !important;
  position: relative !important;
  top: .18em !important;   /* tweak .12em–.22em to taste */
}

/* If a device still renders it weirdly, prefer a transform nudge */
@supports (transform: translateY(1px)) {
  .trust-inline > span:first-child svg {
    top: 0 !important;
    transform: translateY(.18em) !important;
  }
}

/* Keep "Check Eligibility for Benefits" on one line (mobile) */
@media (max-width: 420px) {
  #qualifying-quiz .quiz-header .quiz-headline {
    white-space: nowrap !important;
    font-size: clamp(14px, 6.6vw, 22px) !important; /* scales down to fit */
    letter-spacing: -0.2px; /* tiny tighten to help it fit */
  }

  /* Optional: give the heading a little more room */
  #qualifying-quiz .quiz-container {
    padding-left: 12px;
    padding-right: 12px;
  }
}
/* Tablet: center the last feature card on its own row */
@media (min-width: 768px) and (max-width: 1023px) {
  .features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-grid .feature-card:last-child {
    grid-column: 1 / -1;     /* span both columns */
    justify-self: center;     /* center the card */
    max-width: 420px;         /* optional: keep a nice width */
    place-self: center;       /* extra safety for some browsers */
  }
}
/* Tighten space between "No spam, no obligation" (trust-row) and "Why Seniors Choose" (features) */
.trust-row { padding-bottom: 2rem !important; }          /* was 2rem */
.trust-row + .features { padding-top: 3.5rem !important; } /* was 4rem */

/* Optional: even tighter on mobile */
@media (max-width: 640px) {
  .trust-row { padding-bottom: 0.5rem !important; }
  .trust-row + .features { padding-top: 1rem !important; }
}

/* Tighten gap between the 3 boxes (features) and "Don't Wait" (final-cta) */
.features {
  padding-bottom: 1.5rem !important;           /* was 4rem */
}

.features .section-header {
  margin-bottom: 1.25rem !important;           /* tighten header spacing inside features */
}

.features + .final-cta {
  padding-top: 1.5rem !important;              /* reduce top space on the CTA when following features */
  margin-top: 0 !important;                    /* guard against any stray margins */
}

/* Optional: even tighter on small screens */
@media (max-width: 640px) {
  .features { padding-bottom: 1rem !important; }
  .features .section-header { margin-bottom: 0.75rem !important; }
  .features + .final-cta { padding-top: 1rem !important; }
}
/* Desktop: constrain & center the quiz card width */
@media (min-width: 1024px) {
  .hero-quiz {
    display: flex;                /* center its child */
    justify-content: center;
  }
  .hero-quiz .quiz-container {
    width: 100% !important;
    margin: 0 auto !important;    /* center within hero-quiz */
    border-radius: 12px !important;
    padding: 1.25rem !important;
  }
}
/* Desktop: make the quiz the same width as the benefits card AND truly centered */
@media (min-width: 1024px) {
  .hero-quiz {
    padding-left: 0 !important;     /* was 2rem; caused the right shift */
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    justify-content: center;
  }

  .hero-quiz .quiz-container {
    width: 100% !important;
    margin: 0 auto !important;      /* center it */
    border-radius: 12px !important;
    padding: 1.25rem !important;
  }

  /* Optional: center both rows inside the hero grid for perfect alignment */
  .hero-content { justify-items: center; }
}
/* === FINAL OVERRIDE: make the quiz card wider on desktop === */
@media (min-width: 1024px) {
  /* Let grid children stretch instead of being centered/shrunk */
  .hero-content { justify-items: stretch !important; }

  .hero-quiz { 
    padding-left: 0 !important; 
    display: block !important; 
  }

  /* Higher-specificity hard override for the card width */
  .hero .container .hero-quiz .quiz-container {
    max-width: 780px !important;  /* try 960–1100px to taste */
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
  }
}
/* Bulletproof underline that ignores text-decoration resets */
.fc-underline {
  font-weight: 800;
  position: relative;
  display: inline-block;     /* required so ::after positions correctly */
  padding-bottom: 2px;       /* space for the line */
  color: inherit;
}

/* Draw the line inside the element */
.fc-underline::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;                 /* sits on the text baseline area */
  height: 2px;
  background: #0B5FFF;       /* pick any visible color */
  pointer-events: none;
}

/* If wrapped by a link that nukes underlines, avoid double-handling */
a .fc-underline { text-decoration: none !important; }

<style>
  .header-call .header-btn{ display:inline-flex; align-items:center; gap:10px; }
  .header-call .btn-text-group{ display:flex; flex-direction:column; line-height:1.1; }

  .header-call .availability{
    display:inline-flex; align-items:center; gap:6px;
    margin-top:2px; font-size:12px; font-weight:700; color:#fff;
  }
  .header-call .availability .dot{
    width:8px; height:8px; border-radius:50%;
    background:#ef4444;
    animation: blink 1s steps(2,start) infinite; /* simple blink */
  }
  @keyframes blink { to { opacity:.25; } }

  /* Optional: hide the extra line on small screens to keep button compact */
  @media (max-width:768px){ .header-call .availability{ display:none; } }
</style>
/* Layout for number + availability line */
.header-call .header-btn{ display:inline-flex; align-items:center; gap:10px; }
.header-call .btn-text-group{ display:flex; flex-direction:column; line-height:1.1; }

/* Availability line (show on ALL breakpoints) */
.header-call .availability{
  display:inline-flex; align-items:center; gap:6px;
  margin-top:2px; font-size:12px; font-weight:700; color:#fff;
}

/* Brighter red + pulse + blink (very visible on mobile) */
.header-call .availability .dot{
  width:10px; height:10px; border-radius:50%;
  background:#ff1a1a;                /* brighter red */
  box-shadow: 0 0 0 2px rgba(255,255,255,.35);
  animation: blinkDot 1s steps(2,start) infinite, pulseDot 1.4s ease-out infinite;
}

@keyframes blinkDot { to { opacity:.35; } }
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(255,26,26,.7); }
  70%  { box-shadow: 0 0 0 10px rgba(255,26,26,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,26,26,0); }
}

/* Optional: slightly larger on small screens for visibility */
@media (max-width:768px){
  .header-call .availability{ font-size:13px; }
  .header-call .availability .dot{ width:12px; height:12px; }
}

/* IMPORTANT: if you still have a rule hiding availability on mobile, override it */
@media (max-width:768px){
  .header-call .availability{ display:inline-flex !important; }
}
/* Space between the 3 lines on the final CTA button */
#cta-call-final .cta-text {
  gap: 6px;            /* tweak to 4–10px to taste */
}

@media (min-width: 768px) {
  #cta-call-final .cta-text { gap: 8px; }
}
/* Remove the line above the first quiz question */
#qualifying-quiz .quiz-header {
  border-bottom: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
}

/* Kill the pseudo-element line */
#qualifying-quiz .quiz-header::after {
  content: none !important;
}
/* Final CTA — tighter line spacing and less vertical gap */
.final-cta { 
  padding: 1rem 0 !important;            /* was 5rem */
}

.final-cta h2 {
  line-height: 1.15 !important;          /* tighter lines */
  margin-bottom: 1..25rem !important;     /* was 1.5rem */
}

.final-cta p {
  line-height: 1.35 !important;          /* tighter paragraph */
  margin-top: 0.25rem !important;
  margin-bottom: 1rem !important;        /* was 2rem */
}
/* Final CTA button pulse (bottom of page only) */
.final-cta .btn-urgent {
  position: relative;
  animation: ctaPulse 2.6s ease-in-out infinite;
  will-change: transform, box-shadow;
  transform-origin: center;
}

/* pause the pulse on hover/focus so the hover lift feels crisp */
.final-cta .btn-urgent:hover,
.final-cta .btn-urgent:focus-visible {
  animation-play-state: paused;
  transform: translateY(-2px) scale(1.02); /* works with your existing hover */
}

/* the pulse animation */
@keyframes ctaPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(11, 99, 246, 0.35); /* soft blue glow */
  }
  50% {
    transform: scale(1.035);                      /* subtle grow */
    box-shadow: 0 0 0 14px rgba(11, 99, 246, 0);  /* fade ring */
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(11, 99, 246, 0);
  }
}

/* honor reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .final-cta .btn-urgent { animation: none !important; }
}

/* Hide the quiz temporarily */
.hero-quiz { display: none !important; }

/* Centered call block */
.hero-call-block { display:flex; justify-content:center; }

/* Stacked CTA text */
.call-cta .cta-stack{
  display:flex; flex-direction:column; align-items:center; line-height:1.2; gap:6px;
}
.call-cta .cta-line-1{ font-size:1.4rem; font-weight:700; }
.call-cta .cta-line-2{ font-size:1.4rem; font-weight:600; }
.call-cta .cta-line-3{ font-size:1.4rem; font-weight:700;
  display:inline-flex; align-items:center; gap:6px;
}

/* Attention pulse on the whole button */
@keyframes pulseSoft {
  0%{ transform:scale(1) }
  50%{ transform:scale(1.02) }
  100%{ transform:scale(1) }
}
.pulse-slow{ animation:pulseSoft 1.8s ease-in-out infinite; }

/* Blinking red availability dot */
.call-cta .dot{
  width:10px; height:10px; border-radius:50%;
  background:#ff1a1a;
  box-shadow:0 0 0 2px rgba(255,255,255,.35);
  animation: blinkDot 1s steps(2,start) infinite, pulseDot 1.4s ease-out infinite;
}
@keyframes blinkDot { to{ opacity:.35 } }
@keyframes pulseDot {
  0%{ box-shadow:0 0 0 0 rgba(255,26,26,.6) }
  70%{ box-shadow:0 0 0 10px rgba(255,26,26,0) }
  100%{ box-shadow:0 0 0 0 rgba(255,26,26,0) }
}
/* Space between the casket image and the CTA button */
.hero-text img[alt="Casket with flowers"] { 
  margin-bottom: 22px !important; 
}
.hero-text .hero-call-block { 
  margin-top: 18px !important; 
}
/* Tighten space between CTA and Trust row */
.hero { padding-bottom: 1.0rem !important; }
.trust-row { padding-top: .75rem !important; }

/* (Optional) Make desktop even tighter */
@media (min-width: 1024px){
  .hero { padding-bottom: .75rem !important; }
  .trust-row { padding-top: .5rem !important; }
}
/* TEMP: hide only the bottom CTA button, keep headline/paragraph/hours */
#cta-call-final { 
  display: none !important; 
}

/* tighten spacing since the button is gone */
.final-cta .final-cta-content { gap: 8px; }
