/* CSS Reset & Cross-browser Normalization */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Firefox-specific normalization */
html {
    -moz-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

/* Prevent Firefox from adding outline on focus */
::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/* Fix SVG rendering in Firefox */
svg {
    overflow: visible;
}

svg:not(:root) {
    overflow: hidden;
}

/* CSS Variables - Brand Colors */
:root {
    --color-primary: #8B1C23;
    --color-primary-dark: #6B161B;
    --color-black: #1a1a1a;
    --color-white: #ffffff;
    --color-gray-light: #f5f5f5;
    --color-gray: #666666;
    --color-text: #333333;
    --gradient-primary: linear-gradient(135deg, #8B1C23 0%, #5a1015 100%);
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Firefox-specific fixes */
@-moz-document url-prefix() {
    /* Fix for smooth scrolling */
    html {
        scroll-behavior: smooth;
    }

    /* Fix for flexbox gap */
    .logo,
    .header-cta,
    .btn,
    .footer-links {
        gap: 0.5rem;
    }

    /* Fix for filter rendering */
    .logo-img {
        filter: invert(1) brightness(2);
        -webkit-filter: invert(1) brightness(2);
    }

    /* Fix gradient rendering */
    header,
    footer {
        background: linear-gradient(180deg, #8B1C23 0%, #1a1a1a 100%);
    }

    /* Fix sticky positioning */
    header {
        position: -webkit-sticky;
        position: sticky;
    }

    /* Fix for clamp() font sizes */
    h1 {
        font-size: 3rem;
    }

    .hero .phone-number {
        font-size: 2rem;
    }

    /* Fix for background-attachment */
    .hero-bg-img,
    .cta-bg-img {
        background-attachment: scroll;
    }

    /* Fix for grid gap */
    .danger-grid,
    .money-grid,
    .mission-grid,
    .process-grid,
    .gallery-grid,
    .benefits-grid,
    .footer-content {
        gap: 2rem;
    }
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-gray-light);
}

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

a {
    color: inherit;
    text-decoration: none;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    font-weight: 700;
}

h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--color-primary);
}

/* Header / Navbar */
header {
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-black) 100%);
    padding: 0.75rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.5px;
}

.logo-img {
    height: 40px;
    width: auto;
    filter: invert(1) brightness(2);
}

.header-nav {
    display: none;
    align-items: center;
    gap: 1.5rem;
}

.header-nav a {
    color: var(--color-white);
    font-weight: 500;
    font-size: 0.95rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.header-nav a:hover {
    opacity: 1;
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-white);
    font-weight: 500;
    -webkit-transition: opacity 0.3s ease;
    -moz-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.header-cta:hover {
    opacity: 0.9;
}

.phone-icon {
    width: 24px;
    height: 24px;
    fill: var(--color-white);
}

/* Hero Section with Background Image */
.hero {
    color: var(--color-white);
    padding: 4rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    /* Firefox fix for image rendering */
    image-rendering: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 28, 35, 0.85) 0%, rgba(26, 26, 26, 0.9) 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero-tagline {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.hero h1 {
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

.hero .phone-number {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

.hero .phone-number a {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    /* Firefox fallback */
    -moz-text-decoration-line: underline;
    text-decoration-style: solid;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    -webkit-transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

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

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

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

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

.btn-lg {
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
}

/* Sections */
section {
    padding: 5rem 1.5rem;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header p {
    color: var(--color-gray);
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Danger Section */
.danger-section {
    background-color: var(--color-white);
}

.danger-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.danger-card {
    background-color: var(--color-gray-light);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.danger-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    -o-object-fit: cover;
}

.danger-card-content {
    padding: 1.5rem;
}

.danger-card-content h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.danger-card-content p {
    color: var(--color-gray);
}

.danger-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid var(--color-gray-light);
}

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

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    display: block;
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Money Section */
.money-section {
    background-color: var(--color-black);
    padding: 0;
    overflow: hidden;
}

.money-grid {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 600px;
}

.money-image {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.money-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    /* Firefox fix */
    min-height: 100%;
    min-width: 100%;
}

.money-content {
    padding: 4rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--color-white);
}

.money-content h2 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
}

.money-lead {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.money-list {
    list-style: none;
    margin-bottom: 2rem;
}

.money-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.money-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.money-list strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.money-list span {
    opacity: 0.8;
    font-size: 0.95rem;
}

/* Mission Section */
.mission {
    background-color: var(--color-gray-light);
}

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

.mission-content {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
}

.mission-content h2 {
    color: var(--color-white);
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.mission-content p {
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.mission-content p:last-child {
    margin-bottom: 0;
}

.mission-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.circle-accent {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background-color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
}

.circle-text {
    color: var(--color-white);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    line-height: 1.2;
}

/* Process Section */
.process-section {
    background-color: var(--color-white);
}

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

.process-card {
    background-color: var(--color-gray-light);
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    box-shadow: var(--shadow);
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.process-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-number {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 40px;
    height: 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    z-index: 1;
}

.process-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    -o-object-fit: cover;
}

.process-card h3 {
    color: var(--color-primary);
    margin: 1rem 0 0.5rem;
    font-size: 1.25rem;
}

.process-card p {
    color: var(--color-gray);
    padding: 0 1.5rem 1.5rem;
    font-size: 0.95rem;
}

/* Video Section */
.video-section {
    background-color: var(--color-gray-light);
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
    /* Firefox video rendering fix */
    object-fit: contain;
    -o-object-fit: contain;
}

/* Scroll Animations */
.slide-in-left,
.slide-in-right {
    opacity: 0;
    /* Use ease-out with overshoot for bounce - more compatible */
    -webkit-transition: opacity 1.5s ease-out, -webkit-transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    -moz-transition: opacity 1.5s ease-out, -moz-transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    transition: opacity 1.5s ease-out, transform 1.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Performance hints for Firefox */
    will-change: transform, opacity;
    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    backface-visibility: hidden;
}

.slide-in-left {
    -webkit-transform: translateX(-100px);
    -moz-transform: translateX(-100px);
    transform: translateX(-100px);
}

.slide-in-right {
    -webkit-transform: translateX(100px);
    -moz-transform: translateX(100px);
    transform: translateX(100px);
}

.slide-in-left.animate,
.slide-in-right.animate {
    opacity: 1;
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    transform: translateX(0);
}

.fade-in {
    opacity: 0;
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    transform: translateY(30px);
    -webkit-transition: opacity 0.8s ease, -webkit-transform 0.8s ease;
    -moz-transition: opacity 0.8s ease, -moz-transform 0.8s ease;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.animate {
    opacity: 1;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    transform: translateY(0);
}

/* Gallery Section */
.gallery {
    background-color: var(--color-gray-light);
}

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

.gallery-item {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow);
    background-color: var(--color-gray);
    position: relative;
    /* Firefox fallback for aspect-ratio */
    min-height: 200px;
}

/* Firefox aspect-ratio fallback using @supports */
@supports not (aspect-ratio: 4/3) {
    .gallery-item {
        padding-top: 75%; /* 3/4 = 75% */
        height: 0;
    }
    .gallery-item img {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    transition: transform 0.3s ease;
    -webkit-transition: transform 0.3s ease;
    -moz-transition: transform 0.3s ease;
}

.gallery-item:hover img {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    transform: scale(1.05);
}

/* Why Choose Section */
.why-choose {
    background-color: var(--color-white);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    text-align: center;
    padding: 2rem;
    background-color: var(--color-gray-light);
    border-radius: 12px;
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    -moz-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    -webkit-transform: translateY(-5px);
    -moz-transform: translateY(-5px);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    fill: var(--color-primary);
}

.benefit-card h3 {
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.benefit-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
}

/* Final CTA Section */
.cta-final {
    position: relative;
    padding: 6rem 1.5rem;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.cta-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -o-object-fit: cover;
    opacity: 0.15;
    /* Firefox fix */
    min-height: 100%;
    min-width: 100%;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 28, 35, 0.95) 0%, rgba(26, 26, 26, 0.98) 100%);
}

.cta-content {
    position: relative;
    z-index: 1;
    color: var(--color-white);
}

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.cta-phone a {
    color: var(--color-white);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

/* Footer */
footer {
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-black) 100%);
    color: var(--color-white);
    padding: 3rem 1.5rem 1.5rem;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.3), 0 -2px 6px rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.footer-section h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p,
.footer-section a {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.8;
}

.footer-section a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

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

/* Media Queries */
@media (min-width: 768px) {
    .header-nav {
        display: flex;
    }

    .danger-grid {
        grid-template-columns: 1fr 1fr;
    }

    .money-grid {
        grid-template-columns: 1fr 1fr;
    }

    .money-image {
        min-height: auto;
    }

    .mission-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 3rem 1rem;
        min-height: 50vh;
    }

    section {
        padding: 3rem 1rem;
    }

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

    .stat-number {
        font-size: 2.5rem;
    }

    .money-content {
        padding: 3rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ========================================
   Legal Pages (Terms of Service, Privacy Policy)
   ======================================== */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    background-color: var(--color-white);
}

.legal-content h1 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.legal-content .effective-date {
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--color-gray-light);
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

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

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

.legal-content a {
    color: var(--color-primary);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-primary-dark);
}

.legal-content .contact-box {
    background-color: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.legal-content .contact-box p {
    margin-bottom: 0.5rem;
}

.legal-content .contact-box p:last-child {
    margin-bottom: 0;
}

.legal-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
    padding: 0.75rem 1rem;
    text-align: left;
    border: 1px solid var(--color-gray-light);
}

.legal-content th {
    background-color: var(--color-gray-light);
    font-weight: 600;
    color: var(--color-primary);
}

.legal-content tr:nth-child(even) {
    background-color: #fafafa;
}

.legal-content .info-box {
    background-color: #fff8f8;
    border-left: 4px solid var(--color-primary);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 8px 8px 0;
}

.legal-content .info-box p {
    margin-bottom: 0;
}

.legal-content .definitions-list {
    background-color: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.legal-content .definitions-list dt {
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1rem;
}

.legal-content .definitions-list dt:first-child {
    margin-top: 0;
}

.legal-content .definitions-list dd {
    margin-left: 0;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--color-primary);
}

.legal-content .back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 2rem;
    text-decoration: none;
}

.legal-content .back-link:hover {
    text-decoration: underline;
}

.legal-content .back-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.legal-content .last-updated {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-gray-light);
    color: var(--color-gray);
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .legal-content table {
        font-size: 0.85rem;
    }

    .legal-content th,
    .legal-content td {
        padding: 0.5rem;
    }
}

/* ========================================
   Contact Page
   ======================================== */

.contact-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.contact-content h1 {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.contact-intro {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

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

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

.contact-info {
    background-color: var(--color-gray-light);
    padding: 1.5rem;
    border-radius: 12px;
}

.contact-info h2 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.contact-phone {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact-phone a {
    color: var(--color-primary);
    text-decoration: none;
}

.contact-phone a:hover {
    text-decoration: underline;
}

.hours-grid {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    margin-top: 1rem;
}

.hours-grid dt {
    font-weight: 500;
}

.hours-grid dd {
    margin: 0;
    color: var(--color-gray);
}

.contact-form {
    background-color: var(--color-white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.contact-form h2 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--color-gray-light);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--color-gray-light);
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: var(--color-white);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    margin-top: 1.5rem;
}

.form-submit .btn {
    width: 100%;
    justify-content: center;
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-primary);
    font-weight: 500;
    margin-bottom: 2rem;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.back-link svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* ========================================
   Pricing Page
   ======================================== */

.pricing-content {
    max-width: 600px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.pricing-content h1 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
}

.pricing-intro {
    color: var(--color-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.pricing-card {
    background-color: var(--color-white);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.pricing-header {
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 1.5rem;
    text-align: center;
}

.pricing-header h2 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-header p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.price-breakdown {
    padding: 1.5rem;
}

.price-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-gray-light);
}

.price-line:last-child {
    border-bottom: none;
}

.price-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.price-value {
    font-weight: 600;
    font-size: 1rem;
}

.price-line.original {
    padding-bottom: 1rem;
    margin-bottom: 0.5rem;
}

.price-line.original .price-value {
    text-decoration: line-through;
    color: var(--color-gray);
    font-size: 1.25rem;
}

.discount-section {
    background-color: #f0fff0;
    margin: 0 -1.5rem;
    padding: 1rem 1.5rem;
    border-top: 2px dashed #28a745;
    border-bottom: 2px dashed #28a745;
}

.discount-section h3 {
    font-size: 0.9rem;
    color: #28a745;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.price-line.discount {
    border-bottom: 1px solid rgba(40, 167, 69, 0.2);
}

.price-line.discount .price-value {
    color: #28a745;
}

.discount-badge {
    background-color: #28a745;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-line.total-savings {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 2px solid var(--color-gray-light);
    border-bottom: none;
}

.price-line.total-savings .price-label {
    font-weight: 600;
}

.price-line.total-savings .price-value {
    color: #28a745;
    font-size: 1.1rem;
}

.price-line.final {
    background-color: var(--color-primary);
    color: var(--color-white);
    margin: 1rem -1.5rem 0;
    padding: 1.25rem 1.5rem;
}

.price-line.final .price-label {
    font-size: 1.1rem;
    font-weight: 600;
}

.price-line.final .price-value {
    font-size: 2rem;
    font-weight: 700;
}

.pricing-includes {
    padding: 1.5rem;
    background-color: var(--color-gray-light);
}

.pricing-includes h3 {
    font-size: 1rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.pricing-includes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-includes li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text);
}

.pricing-includes li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.85rem;
    width: 8px;
    height: 8px;
    background-color: #28a745;
    border-radius: 50%;
}

.pricing-cta {
    padding: 1.5rem;
    text-align: center;
    background-color: var(--color-white);
}

.pricing-cta .urgency {
    color: var(--color-primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.pricing-cta .btn {
    margin-bottom: 0.75rem;
}

.pricing-cta .or-text {
    color: var(--color-gray);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.btn-outline-dark {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
}

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

.pricing-note {
    margin-top: 2rem;
    padding: 1.5rem;
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.pricing-note h3 {
    font-size: 1.1rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
}

.pricing-note p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}
