/* =============================================================================
   Lilypath - CSS Styles
   ============================================================================= */

/* -----------------------------------------------------------------------------
   CSS Variables
   ----------------------------------------------------------------------------- */
:root {
    /* WordPress Brand Colors */
    --color-primary: #5371A7;
    --color-primary-dark: #425d8a;
    --color-primary-light: #6a89bd;
    --color-secondary: #6a89bd;
    --color-accent: #f00069;

    --color-text: #111518;
    --color-text-light: #555555;
    --color-text-muted: #888888;

    --color-bg: #ffffff;
    --color-bg-alt: #f8f9fa;
    --color-bg-dark: #0f0e17;

    --color-border: #e0e0e0;
    --color-border-light: #f0f0f0;

    --color-success: #28a745;
    --color-warning: #ffc107;
    --color-error: #dc3545;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    --transition: 0.2s ease;
}

/* -----------------------------------------------------------------------------
   Accessibility Utilities
   ----------------------------------------------------------------------------- */

/* Skip navigation link - completely hidden until focused */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--color-bg-dark);
    color: #fff;
    padding: 8px 16px;
    z-index: 1000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 0 0 var(--radius-sm) 0;
    transition: top 0.2s ease;
    /* Extra hiding for browsers that might show it */
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
}

.skip-link:focus {
    top: 0;
    clip: auto;
    overflow: visible;
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

/* Visually hidden but accessible to screen readers */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Screen reader only text */
.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;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

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

/* -----------------------------------------------------------------------------
   Layout
   ----------------------------------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-narrow {
    max-width: 720px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    color: var(--color-text);
}

.section-subtitle {
    font-size: 1.125rem;
    text-align: center;
    color: var(--color-text-light);
    margin-bottom: 48px;
}

/* -----------------------------------------------------------------------------
   Header
   ----------------------------------------------------------------------------- */
.header {
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border-light);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

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

.logo-img {
    width: 200px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--color-text-light);
    font-weight: 500;
}

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

/* Accessible focus for nav links */
.nav a:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Mobile menu button - hidden on desktop */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    position: relative;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    left: 0;
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    bottom: -7px;
}

/* Mobile navigation - always hidden on desktop, toggle on mobile */
.mobile-nav {
    display: none !important;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-light);
    padding: 16px 24px;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    color: var(--color-text);
    font-weight: 500;
    border-bottom: 1px solid var(--color-border-light);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--color-primary);
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.footer {
    background: var(--color-bg-alt);
    color: var(--color-text);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border);
}

.footer-col p {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-logo {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
}

.footer-disclaimer {
    font-size: 0.8125rem !important;
    color: var(--color-text-muted) !important;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    margin-top: 0;
}

.footer-col .footer-heading:not(:first-child) {
    margin-top: 24px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--color-text-light);
    font-size: 0.9375rem;
    transition: color var(--transition);
}

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

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    color: var(--color-text-muted);
    font-size: 0.8125rem;
    margin: 4px 0;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-logo {
        margin-left: auto;
        margin-right: auto;
    }
}

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

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

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

.btn-secondary {
    background-color: var(--color-bg-alt);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.btn-secondary:hover {
    background-color: var(--color-border-light);
    color: var(--color-text);
}

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

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

.btn-dark {
    background-color: var(--color-bg-dark);
    color: #fffffe;
}

.btn-dark:hover {
    background-color: #1a1925;
    color: #fffffe;
}

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

.btn-block {
    display: flex;
    width: 100%;
}

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

/* Accessible focus states for buttons */
.btn:focus {
    outline: 3px solid var(--color-primary);
    outline-offset: 2px;
}

.btn:focus:not(:focus-visible) {
    outline: none;
}

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

/* -----------------------------------------------------------------------------
   Hero Section
   ----------------------------------------------------------------------------- */
.hero {
    background: var(--color-primary);
    color: #fffffe;
    padding: 100px 0 120px;
    text-align: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #fffffe;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* -----------------------------------------------------------------------------
   How It Works (Steps)
   ----------------------------------------------------------------------------- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 64px;
    height: 64px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 24px;
}

.step h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.step p {
    color: var(--color-text-light);
}

/* -----------------------------------------------------------------------------
   Track Cards
   ----------------------------------------------------------------------------- */
.tracks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.track-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    box-shadow: var(--shadow-md);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}

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

.track-card.featured {
    border: 2px solid var(--color-primary);
}

.track-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.track-icon {
    color: var(--color-primary);
    margin-bottom: 24px;
}

.track-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.track-description {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

.track-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.track-features li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    color: var(--color-text-light);
}

.track-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--color-success);
    font-weight: 700;
}

.track-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 24px;
}

.track-card .btn {
    margin-top: auto;
}

/* -----------------------------------------------------------------------------
   Features Grid
   ----------------------------------------------------------------------------- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature {
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border-light);
    background: var(--color-bg-alt);
}

.feature h4 {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--color-primary);
}

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

/* -----------------------------------------------------------------------------
   CTA Section
   ----------------------------------------------------------------------------- */
.section-cta {
    background: var(--color-bg-dark);
    color: #fffffe;
    text-align: center;
}

.section-cta h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 16px;
    color: #fffffe;
}

.section-cta p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

/* -----------------------------------------------------------------------------
   Intake Form
   ----------------------------------------------------------------------------- */
.intake-header {
    text-align: center;
    margin-bottom: 48px;
}

.back-link {
    display: inline-block;
    margin-bottom: 24px;
    color: var(--color-text-light);
    font-size: 0.875rem;
}

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

.intake-header h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 8px;
}

.intake-subtitle {
    color: var(--color-text-light);
}

.intake-form {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--color-border-light);
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-section h2 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: var(--color-primary);
}

.section-description {
    color: var(--color-text-light);
    margin-bottom: 24px;
    margin-top: -16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

.required {
    color: var(--color-error);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 1rem;
    font-family: var(--font-family);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(83, 113, 167, 0.15);
}

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

.form-help {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 6px;
}

.help-link {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Button styled as link for accessibility (toggle instructions) */
.help-link-btn {
    background: none;
    border: none;
    color: var(--color-primary);
    text-decoration: underline;
    font-size: inherit;
    font-family: inherit;
    cursor: pointer;
    padding: 0;
}

.help-link-btn:hover {
    color: var(--color-primary-dark);
}

.help-link-btn:focus {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Consent Checkbox */
.consent-group {
    margin-top: 0;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.checkbox-text {
    font-size: 0.9375rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

/* Instructions Box */
.instructions-box {
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-md);
    padding: 20px;
    margin-bottom: 24px;
}

.instructions-box h4 {
    margin-bottom: 12px;
    font-size: 1rem;
}

.instructions-box ol {
    margin-left: 20px;
    color: var(--color-text-light);
}

.instructions-box li {
    margin-bottom: 8px;
}

/* File Upload */
.file-upload {
    position: relative;
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
}

.file-upload:hover,
.file-upload.dragover {
    border-color: var(--color-primary);
    background-color: rgba(83, 113, 167, 0.04);
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-content {
    color: var(--color-text-light);
}

.file-upload-content svg {
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.file-upload-content p {
    margin-bottom: 8px;
}

.file-hint {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.file-selected {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.file-selected svg {
    color: var(--color-primary);
}

.file-name {
    font-weight: 500;
}

.file-remove {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 0 8px;
}

.file-remove:hover {
    color: var(--color-error);
}

/* Additional Files List */
.additional-files-list {
    margin-top: 16px;
    padding: 16px;
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
}

.files-list-label {
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 12px;
}

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

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    background: white;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border: 1px solid var(--color-border-light);
}

.file-item:last-child {
    margin-bottom: 0;
}

.file-info {
    font-size: 0.9375rem;
    color: var(--color-text);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 12px;
}

.file-remove-btn {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    flex-shrink: 0;
}

.file-remove-btn:hover {
    color: var(--color-error);
    background: #fee2e2;
}

/* Multi-file upload area styling */
.file-upload-multi {
    padding: 32px;
}

/* Form Actions */
.form-actions {
    margin-top: 40px;
    text-align: center;
}

.form-disclaimer {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 16px;
}

/* Form States */
.form-loading {
    text-align: center;
    padding: 40px;
}

.form-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius-md);
    padding: 16px;
    margin-top: 24px;
}

.error-message {
    color: var(--color-error);
    margin: 0;
}

/* -----------------------------------------------------------------------------
   Order Status Page
   ----------------------------------------------------------------------------- */
.order-status-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 60px 40px;
    text-align: center;
}

.status-loading,
.status-error {
    padding: 40px;
}

.status-icon {
    margin-bottom: 24px;
}

.status-icon svg {
    width: 80px;
    height: 80px;
}

.status-icon.success svg {
    color: var(--color-success);
}

.status-icon.processing svg {
    color: var(--color-primary);
}

.status-icon.pending svg {
    color: var(--color-warning);
}

.status-icon.error svg {
    color: var(--color-error);
}

#status-content h1 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.status-message {
    color: var(--color-text-light);
    margin-bottom: 32px;
}

.order-details {
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border-light);
}

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

.detail-label {
    color: var(--color-text-light);
}

.detail-value {
    font-weight: 600;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
}

.status-badge.pending {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.processing {
    background: #dbeafe;
    color: #1e40af;
}

.status-badge.completed {
    background: #dcfce7;
    color: #166534;
}

.status-badge.failed {
    background: #fee2e2;
    color: #991b1b;
}

.status-section {
    text-align: center;
    padding-top: 24px;
}

.status-section h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.status-section p {
    color: var(--color-text-light);
    margin-bottom: 24px;
}

/* Progress Steps */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin: 32px 0;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-bg-alt);
    border-radius: 20px;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.progress-step.completed {
    background: #dcfce7;
    color: #166534;
}

.progress-step.active {
    background: #dbeafe;
    color: #1e40af;
}

.step-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.eta-message {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    font-style: italic;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.error-details {
    background: #fef2f2;
    padding: 12px;
    border-radius: var(--radius-md);
    color: var(--color-error);
    font-size: 0.875rem;
    margin-bottom: 24px;
}

/* -----------------------------------------------------------------------------
   Spinner
   ----------------------------------------------------------------------------- */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 16px;
}

.mini-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-border-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* -----------------------------------------------------------------------------
   Responsive Design
   ----------------------------------------------------------------------------- */
@media (max-width: 992px) {
    .tracks-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

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

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

    .intake-form {
        padding: 24px;
    }

    .order-status-card {
        padding: 40px 24px;
    }

    .progress-steps {
        flex-direction: column;
        align-items: center;
    }

    .success-actions {
        flex-direction: column;
    }

    /* Hide desktop nav, show mobile menu button */
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    /* On mobile, allow mobile nav to show when opened */
    .mobile-nav {
        display: none !important;
    }

    .mobile-nav.open {
        display: block !important;
    }
}
