/* ===================================
   FRONTIER SITE OPERATIONS - STYLES
   Brand Colors: #C13516 (Allis Chalmers Orange), #5A5A5A (Massey Ferguson Gray), #1A1A1A (Low Gloss Black)
   =================================== */

/* CSS Variables */
:root {
    /* FSO Brand Colors */
    --brand-orange: #C13516;
    --brand-orange-dark: #A12D13;
    --massey-gray: #5A5A5A;
    --low-gloss-black: #1A1A1A;

    /* Supporting Colors */
    --warm-white: #F8F6F3;
    --off-white: #F2EDE8;
    --light-gray: #E8E6E3;
    --gray-light: #E8E6E3;
    --mid-gray: #9A9A9A;
    --charcoal: #2D3748;
    --white: #FFFFFF;

    /* Typography */
    --font-display: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;

    /* Transitions & Shadows */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--low-gloss-black);
    background-color: var(--warm-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.05em;
    color: var(--low-gloss-black);
}

h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--massey-gray);
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Buttons */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, #C13516 0%, #A32D13 100%);
    color: var(--white);
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    box-shadow: 0 2px 4px rgba(193, 53, 22, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(193, 53, 22, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #5A5A5E;
    border: 2px solid #5A5A5E;
    border-radius: 8px;
    padding: 0.875rem 1.75rem;
    font-weight: 600;
}

.btn-secondary:hover {
    background: #5A5A5E;
    color: var(--white);
}

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

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

.nav.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

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

.nav-logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    position: relative;
    font-weight: 600;
    text-decoration: none;
    color: var(--charcoal);
    transition: color 0.2s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #C13516;
    transition: width 0.2s ease;
}

.nav-menu a:hover {
    color: var(--brand-orange);
}

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

.btn-nav {
    padding: 0.75rem 1.5rem;
    background: var(--brand-orange);
    color: var(--white) !important;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-nav:hover {
    background: var(--brand-orange-dark);
}

.btn-nav::after {
    display: none !important;
}

/* Hide duplicate CTA on desktop - the in-menu Join Waitlist button is sufficient */
.btn-nav-cta {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--charcoal);
    border-radius: 2px;
    transition: var(--transition);
}

@media (max-width: 968px) {
    .btn-nav-cta {
        display: inline-flex;
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }

    .mobile-menu-toggle {
        display: flex;
        padding: 0.5rem;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
        margin-left: auto;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        gap: 0.5rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition);
        align-items: stretch;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--gray-light);
    }

    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 1rem;
    }

    .nav-menu a {
        font-size: 1.1rem;
        display: block;
        padding: 1rem 0;
        min-height: 48px;
    }

    .nav-menu .btn-nav {
        text-align: center;
        background: var(--brand-orange);
        color: var(--white);
        border-radius: 8px;
        padding: 1rem;
        margin-top: 0.5rem;
    }
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--low-gloss-black);
}

.hero-bg {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100% - 80px);
    background: #1A1A1A;
    z-index: 0;
    overflow: hidden;
    transition: background 3s ease-in-out;
}

.hero-bg.light {
    background: var(--warm-white) !important;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-video.fade-in {
    opacity: 1;
}

.hero-video.fade-out {
    opacity: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
    transition: background-color 3s ease-in-out;
}

.hero-bg.light::after {
    background-color: rgba(0, 0, 0, 0);
}

.hero-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem;
    padding-bottom: calc(8rem + 40px);
    min-height: 100vh;
}

.hero-content {
    animation: fadeInUp 0.8s ease-out;
    max-width: 900px;
    color: var(--white);
    transition: color 3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-content.light-text {
    color: var(--charcoal);
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--brand-orange);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
}

.hero-title {
    margin-bottom: 1.5rem;
    color: var(--white);
    transition: color 3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-title.light-text {
    color: var(--charcoal);
}

.hero-title .highlight {
    color: var(--brand-orange);
    position: relative;
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9);
    transition: color 3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.hero-subtitle.light-text {
    color: var(--massey-gray);
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
    justify-content: center;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--white);
    transition: color 3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.feature-item.light-text {
    color: var(--charcoal);
}

.feature-item svg {
    color: var(--brand-orange);
    flex-shrink: 0;
}

.hero-image {
    display: none;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-truck {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

.hero-truck-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 8px rgba(0, 0, 0, 0.06);
}

.hero-truck-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at center,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 60%,
        rgba(255, 255, 255, 0.9) 100%
    );
    pointer-events: none;
}

.hero-truck-image::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.15) 0%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}

.hero-scroll {
    position: absolute;
    bottom: 10rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    opacity: 0;
    z-index: 2;
    transition: color 3s cubic-bezier(0.4, 0.0, 0.2, 1), opacity 1s ease-out;
}

.hero-scroll.visible {
    opacity: 1;
    animation: bounce 2s ease-in-out infinite;
}

.hero-scroll.light-text {
    color: var(--massey-gray);
}

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

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

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scrollFadeIn {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@media (max-width: 968px) {
    .hero {
        min-height: 100vh;
        padding-top: 70px;
        padding-bottom: 5rem;
        align-items: center;
    }

    .hero-container {
        padding: 2rem 1.5rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        margin-bottom: 0;
    }

    .hero-image-wrapper {
        height: auto;
    }

    .hero-truck-image {
        max-width: 100%;
    }

    .hero-bg {
        width: 100%;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-features {
        justify-content: center;
    }
}

/* Section Styles */
section {
    padding: 5rem 0;
}

section:nth-child(even) {
    background-color: var(--warm-white);
}

section:nth-child(odd) {
    background-color: var(--white);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--light-gray);
    color: var(--brand-orange);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-title {
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray-dark);
}

/* Services Section */
.services {
    background: var(--gray-lighter);
}

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

.service-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.12), 0 4px 8px -2px rgba(0, 0, 0, 0.06);
}

.service-card.featured {
    border-color: var(--brand-orange);
    background: linear-gradient(135deg, var(--white) 0%, #FFF5F0 100%);
}

.service-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gray-lighter);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--brand-orange);
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.service-card > p {
    margin-bottom: 1.5rem;
    color: var(--gray-dark);
}

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

.service-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-light);
    color: var(--gray-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.service-features li:before {
    content: '→';
    color: var(--brand-orange);
    font-weight: 700;
}

.service-features li:last-child {
    border-bottom: none;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--brand-orange);
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.service-link:hover {
    gap: 1rem;
}

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

.why-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-intro {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    color: var(--gray-dark);
}

.why-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.why-item {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.why-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--brand-orange);
    font-family: var(--font-mono);
    line-height: 1;
    opacity: 0.3;
    min-width: 4.5rem;
}

.why-text h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.why-text p {
    color: var(--gray-dark);
}

.why-visual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--gray-lighter);
    padding: 2.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--brand-orange);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-md);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #C13516;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 968px) {
    .why-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* CTA Section */
.cta-section {
    background: var(--low-gloss-black) !important;
    background-color: #1A1A1A !important;
    color: var(--white);
    text-align: center;
    padding: 5rem 0;
}

.cta-content h2 {
    color: var(--white) !important;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: var(--light-gray) !important;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--low-gloss-black);
    color: var(--light-gray);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-col p {
    color: var(--gray-medium);
    font-size: 0.95rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col ul li a {
    color: var(--gray-light);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--brand-orange);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--gray-dark);
    text-align: center;
}

.footer-bottom p {
    color: var(--gray-medium);
    font-size: 0.875rem;
}

/* Page Header */
.page-header {
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--gray-lighter) 0%, var(--white) 100%);
    text-align: center;
}

.page-header h1 {
    margin-bottom: 1rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-header p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto;
}

/* About Page */
.about-content {
    padding: 6rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text h3 {
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.value-card {
    background: var(--gray-lighter);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--brand-orange);
}

.value-card h3 {
    margin-bottom: 0.75rem;
    color: var(--brand-orange);
}

.value-card p {
    color: var(--gray-dark);
}

/* Contact Page */
.contact-section {
    padding: 6rem 0;
}

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

.contact-info {
    padding-top: 3rem;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
}

.contact-info > p {
    margin-bottom: 3rem;
    font-size: 1.125rem;
    color: var(--gray-dark);
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-method {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.method-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--gray-lighter);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-orange);
}

.method-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.method-content p {
    margin-bottom: 0.25rem;
    color: var(--gray-dark);
}

.method-content a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 600;
}

.method-content a:hover {
    text-decoration: underline;
}

.method-note {
    font-size: 0.875rem;
    color: var(--gray-medium);
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--gray-lighter);
    padding: 3rem;
    border-radius: 8px;
}

.contact-form-wrapper h2 {
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--charcoal);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--mid-gray);
    border-radius: 4px;
    font-family: var(--font-display);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

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

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

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
    color: var(--massey-gray);
    opacity: 1;
}

@media (max-width: 968px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-values,
    .contact-info {
        position: static;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

/* Service Area Page */
.service-area-content {
    padding: 6rem 0;
}

.area-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.area-intro h2 {
    margin-bottom: 1.5rem;
}

.area-intro p {
    font-size: 1.25rem;
    color: var(--gray-dark);
}

/* Service Area Map */
.service-map-section {
    margin-bottom: 5rem;
}

.service-map-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.map-container {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-light);
    position: relative;
}

#service-area-map {
    width: 100%;
    height: 500px;
    min-height: 500px;
    background: var(--off-white);
    z-index: 1;
}

/* Map legend */
.map-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray-light);
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--massey-gray);
}

.legend-marker {
    display: inline-block;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.legend-marker--hq {
    width: 16px;
    height: 16px;
    background: var(--brand-orange);
}

.legend-marker--coverage {
    width: 16px;
    height: 16px;
    background: var(--brand-orange);
    opacity: 0.15;
    border: 2px solid var(--brand-orange);
    box-shadow: none;
}

/* Leaflet tooltip customization */
.city-tooltip {
    background: white;
    border: none;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    padding: 8px 12px;
    font-family: var(--font-body);
}

.city-tooltip::before {
    border-top-color: white;
}

/* Leaflet controls styling */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.leaflet-control-zoom a {
    background: white !important;
    color: var(--charcoal) !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
}

.leaflet-control-zoom a:hover {
    background: var(--off-white) !important;
    color: var(--brand-orange) !important;
}

.leaflet-control-zoom-in {
    border-radius: 6px 6px 0 0 !important;
}

.leaflet-control-zoom-out {
    border-radius: 0 0 6px 6px !important;
}

/* Attribution styling */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8) !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
}

.leaflet-control-attribution a {
    color: var(--massey-gray) !important;
}

@media (max-width: 768px) {
    #service-area-map {
        height: 400px;
    }

    .map-legend {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }
}

@media (max-width: 480px) {
    #service-area-map {
        height: 350px;
    }
}

.area-features {
    margin-bottom: 5rem;
}

.area-features h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.area-feature {
    text-align: center;
    padding: 2rem;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--brand-orange);
    display: flex;
    justify-content: center;
}

.area-feature h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.area-feature p {
    color: var(--gray-dark);
}

.coverage-details h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

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

.coverage-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--brand-orange);
}

.coverage-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
    color: var(--brand-orange);
}

.coverage-card > p {
    color: var(--gray-medium);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.coverage-card ul {
    list-style: none;
}

.coverage-card ul li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--gray-dark);
}

.coverage-card ul li:before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 700;
}

@media (max-width: 768px) {
    .cities-list {
        grid-template-columns: 1fr;
    }
    
    .feature-grid,
    .coverage-cards {
        grid-template-columns: 1fr;
    }
}

/* Service Detail Pages */
.service-detail {
    padding: 6rem 0;
}

.service-detail.alt {
    background: var(--gray-lighter);
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.service-detail-grid.reverse {
    grid-template-columns: 1fr 1.5fr;
}

.service-detail-grid.reverse .service-detail-visual {
    order: -1;
}

.service-detail-content .lead {
    font-size: 1.35rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.service-detail-content h2 {
    margin-bottom: 1.5rem;
}

.service-detail-content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

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

.detail-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--gray-dark);
    border-bottom: 1px solid var(--gray-light);
}

.detail-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--brand-orange);
    font-weight: 700;
    font-size: 1.25rem;
}

.detail-list li:last-child {
    border-bottom: none;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 2.5rem 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.step-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--brand-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    font-family: var(--font-mono);
}

.step-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.step-content p {
    color: var(--gray-dark);
    font-size: 1rem;
}

.service-cta {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.service-detail-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: sticky;
    top: 100px;
}

.service-visual-img {
    display: block;
    width: 100%;
    height: auto;
    min-height: 200px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    margin-bottom: 0.5rem;
    background: white; /* Fallback/Safety */
    border: 1px solid rgba(0,0,0,0.05);
}

.detail-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--brand-orange);
    position: relative;
}

.service-detail.alt .detail-card {
    background: var(--white);
}

.service-detail.alt .detail-card.featured,
.detail-card.featured {
    background: linear-gradient(135deg, var(--brand-orange) 0%, var(--brand-orange-dark) 100%) !important;
    color: var(--white);
    border-left: 4px solid var(--low-gloss-black);
}

.detail-card.featured h4,
.detail-card.featured p {
    color: var(--white) !important;
}

.coming-soon-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background: rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.detail-card h4 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.detail-card p {
    font-size: 1rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 968px) {
    .service-detail-grid,
    .service-detail-grid.reverse {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .service-detail-grid.reverse .service-detail-visual {
        order: 0;
    }
    
    .service-detail-visual {
        position: static;
    }
    
    .process-steps {
        gap: 1.5rem;
    }
    
    .service-cta {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }

    .page-header {
        padding: 6rem 0 2rem;
    }

    .page-header h1 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }

    .hero-cta {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-large {
        width: 100%;
        justify-content: center;
        min-height: 48px;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 44px;
        padding: 0.75rem 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
    }

    .why-item {
        flex-direction: column;
        gap: 0.75rem;
    }

    .why-number {
        font-size: 2rem;
        min-width: auto;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.5rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.9rem;
    }

    .stat-card {
        padding: 1.5rem;
    }

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

    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
    }

    .footer-col {
        text-align: center;
    }

    .footer-logo {
        display: inline-block;
        margin-bottom: 1rem;
        height: 40px;
        width: auto;
    }

    .footer-col ul {
        margin-bottom: 0;
    }

    .footer-col ul li a {
        display: inline-block;
        padding: 0.5rem 0;
        min-height: 44px;
        line-height: 1.8;
    }

    .contact-form-wrapper {
        padding: 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-card {
        padding: 1.5rem;
    }

    .city-card {
        padding: 1.5rem;
    }

    .coverage-card {
        padding: 1.5rem;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.75rem 1rem;
        min-height: 70px;
    }

    .nav-logo img {
        height: 40px;
    }

    .hero-container {
        padding: 2rem 1rem;
    }

    .hero-badge {
        font-size: 0.7rem;
        padding: 0.4rem 0.75rem;
        margin-bottom: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-badge {
        font-size: 0.7rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .cta-section {
        padding: 3rem 0;
    }

    .cta-content h2 {
        font-size: 1.75rem;
    }

    .cta-content p {
        font-size: 1rem;
    }
}

/* ===================================
   FAQ PAGE STYLES
   =================================== */

.faq-content {
    padding: 4rem 0;
    background: var(--white);
}

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

.faq-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--light-gray);
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item h2 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    margin-bottom: 0.75rem;
    color: var(--low-gloss-black);
}

.faq-item p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--massey-gray);
}

.faq-item a {
    color: var(--brand-orange);
    text-decoration: none;
    font-weight: 500;
}

.faq-item a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .faq-content {
        padding: 2.5rem 0;
    }

    .faq-item {
        padding: 1.5rem 0;
    }

    .faq-item h2 {
        font-size: 1.15rem;
    }

    .faq-item p {
        font-size: 1rem;
    }
}

/* ===================================
   WAITLIST FORM STYLES
   =================================== */

.waitlist-card,
.detail-card.waitlist-card {
    background: var(--low-gloss-black) !important;
    border: 1px solid var(--massey-gray);
    padding: 2rem;
}

.waitlist-card h4 {
    color: var(--white);
    margin-bottom: 0.5rem;
}

.waitlist-card > p {
    color: var(--light-gray);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
}

.launch-badge {
    display: inline-block;
    background: var(--brand-orange-dark);
    color: var(--white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    border-radius: 3px;
    margin-bottom: 1rem;
}

.waitlist-form {
    margin-bottom: 0.75rem;
}

.waitlist-input-group {
    display: flex;
    gap: 0.5rem;
}

.waitlist-input-group input[type="email"] {
    flex: 1;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--massey-gray);
    border-radius: 4px;
    background: var(--white);
    color: var(--low-gloss-black);
}

.waitlist-input-group input[type="email"]:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 2px rgba(193, 53, 22, 0.2);
}

.waitlist-input-group input[type="email"]::placeholder {
    color: var(--massey-gray);
}

.btn-waitlist {
    padding: 0.85rem 1.25rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.waitlist-note {
    font-size: 0.8rem !important;
    color: var(--light-gray) !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .waitlist-card {
        padding: 1.5rem;
    }

    .waitlist-input-group {
        flex-direction: column;
    }

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

/* ===================================
   LAUNCH WAITLIST SECTION (Homepage)
   =================================== */

.launch-waitlist {
    padding: 5rem 0;
    background: var(--low-gloss-black) !important;
}

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

.launch-waitlist-text h2 {
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.launch-waitlist-text > p {
    color: var(--light-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.waitlist-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.waitlist-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.waitlist-benefits li svg {
    color: var(--brand-orange);
    flex-shrink: 0;
}

.launch-waitlist-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
}

.waitlist-signup-form .form-group {
    margin-bottom: 1.25rem;
}

.waitlist-signup-form label {
    display: block;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--low-gloss-black);
    margin-bottom: 0.5rem;
}

.waitlist-signup-form label .optional {
    font-weight: 400;
    color: var(--massey-gray);
}

.waitlist-signup-form input,
.waitlist-signup-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    border: 1px solid var(--mid-gray);
    border-radius: 4px;
    background: var(--white);
    color: var(--low-gloss-black);
    transition: var(--transition);
}

.waitlist-signup-form input:focus,
.waitlist-signup-form select:focus {
    outline: none;
    border-color: var(--brand-orange);
    box-shadow: 0 0 0 2px rgba(193, 53, 22, 0.2);
}

.waitlist-signup-form .btn-full {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.waitlist-signup-form .form-note,
.contact-form .form-note {
    font-size: 0.85rem;
    color: var(--massey-gray);
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .launch-waitlist-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .launch-waitlist {
        padding: 3rem 0;
    }

    .launch-waitlist-form {
        padding: 1.5rem;
    }

    .launch-waitlist-text h2 {
        font-size: 1.5rem;
    }
}
