/* ==========================================================================
   CanHost Marketing Site - Custom Stylesheet
   Works alongside Bootstrap 5.3 CDN
   ========================================================================== */


/* ==========================================================================
   1. CSS Custom Properties
   ========================================================================== */

:root {
    /* Brand colours */
    --ch-blue: #00AEEF;
    --ch-blue-hover: #0095CC;
    --ch-blue-light: #E6F7FE;
    --ch-amber: #E8991C;
    --ch-amber-hover: #D18517;
    --ch-amber-light: #FEF3E2;
    --ch-grey: #6D6E71;
    --ch-grey-light: #F5F5F5;
    --ch-dark: #1A1A2E;
    --ch-white: #FFFFFF;

    /* Text */
    --ch-text: #2D2D2D;
    --ch-text-muted: #6B7280;

    /* UI */
    --ch-border: #E5E7EB;
    --ch-success: #10B981;
    --ch-warning: #F59E0B;
    --ch-danger: #EF4444;

    /* Spacing */
    --ch-section-padding: 5rem 0;
    --ch-section-padding-sm: 3rem 0;

    /* Radius */
    --ch-radius-btn: 0.5rem;
    --ch-radius-card: 0.75rem;
    --ch-radius-input: 0.375rem;

    /* Transitions */
    --ch-transition: 0.2s ease;
    --ch-transition-fast: 0.15s ease;
}


/* ==========================================================================
   2. Base / Typography
   ========================================================================== */

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-weight: 400;
    line-height: 1.6;
    color: var(--ch-text);
    background-color: var(--ch-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--ch-text);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--ch-blue-hover);
}

small,
.text-small {
    font-size: 0.875rem;
}


/* ==========================================================================
   3. Utility Classes
   ========================================================================== */

.text-mono {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
}

.text-ch-blue {
    color: var(--ch-blue) !important;
}

.text-ch-grey {
    color: var(--ch-grey) !important;
}

.text-ch-dark {
    color: var(--ch-dark) !important;
}

.text-ch-muted {
    color: var(--ch-text-muted) !important;
}

.text-ch-success {
    color: var(--ch-success) !important;
}

.text-ch-warning {
    color: var(--ch-warning) !important;
}

.text-ch-danger {
    color: var(--ch-danger) !important;
}

.bg-ch-blue-light {
    background-color: var(--ch-blue-light) !important;
}

.bg-ch-grey-light {
    background-color: var(--ch-grey-light) !important;
}

.text-ch-amber {
    color: var(--ch-amber) !important;
}

.bg-ch-amber-light {
    background-color: var(--ch-amber-light) !important;
}


/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn-ch-primary {
    background-color: var(--ch-blue);
    border: 1.5px solid var(--ch-blue);
    color: #fff;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--ch-radius-btn);
    transition: background-color var(--ch-transition),
                border-color var(--ch-transition),
                transform var(--ch-transition-fast);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

.btn-ch-primary:hover,
.btn-ch-primary:focus {
    background-color: var(--ch-blue-hover);
    border-color: var(--ch-blue-hover);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.btn-ch-primary:active {
    transform: translateY(0);
}

.btn-ch-secondary {
    background-color: transparent;
    border: 1.5px solid var(--ch-border);
    color: var(--ch-text);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    border-radius: var(--ch-radius-btn);
    transition: border-color var(--ch-transition),
                color var(--ch-transition);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

.btn-ch-secondary:hover,
.btn-ch-secondary:focus {
    border-color: var(--ch-blue);
    color: var(--ch-blue);
    text-decoration: none;
}

/* Button sizes */
.btn-ch-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-ch-sm {
    padding: 0.375rem 1rem;
    font-size: 0.875rem;
}

/* Amber variant - used on motorsport pages to bridge to JRR/CanMarket brands */
.btn-ch-amber {
    background-color: var(--ch-amber);
    border: 1.5px solid var(--ch-amber);
    color: #fff;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: var(--ch-radius-btn);
    transition: background-color var(--ch-transition),
                border-color var(--ch-transition),
                transform var(--ch-transition-fast);
    cursor: pointer;
    display: inline-block;
    text-align: center;
    line-height: 1.5;
}

.btn-ch-amber:hover,
.btn-ch-amber:focus {
    background-color: var(--ch-amber-hover);
    border-color: var(--ch-amber-hover);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}


/* ==========================================================================
   5. Navbar
   ========================================================================== */

.ch-navbar {
    background-color: var(--ch-white);
    border-bottom: 1px solid var(--ch-border);
    padding: 0.75rem 0;
    transition: box-shadow var(--ch-transition),
                border-color var(--ch-transition);
    z-index: 1030;
}

.ch-navbar.scrolled {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border-bottom-color: transparent;
}

.ch-navbar .navbar-brand img {
    max-height: 40px;
    width: auto;
}

.ch-navbar .nav-link {
    color: var(--ch-text);
    font-weight: 500;
    font-size: 0.9375rem;
    padding: 0.5rem 1rem;
    transition: color var(--ch-transition);
}

.ch-navbar .nav-link:hover,
.ch-navbar .nav-link:focus {
    color: var(--ch-blue);
}

.ch-navbar .nav-link.active {
    color: var(--ch-blue);
}

.ch-navbar .btn-ch-primary {
    padding: 0.375rem 1.25rem;
    font-size: 0.875rem;
}


/* ==========================================================================
   6. Hero Section
   ========================================================================== */

.ch-hero {
    background-color: var(--ch-dark);
    color: var(--ch-white);
    padding: 7rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.ch-hero h1 {
    color: var(--ch-white);
    margin-bottom: 1.25rem;
    font-size: 3rem;
}

.ch-hero-sub {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin-bottom: 2rem;
}

.ch-hero .lead {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin-bottom: 2rem;
}

.ch-hero .btn {
    margin-right: 0.75rem;
    margin-bottom: 0.75rem;
}

/* Hero decoration - ascending bars echoing the logo motif */
.ch-hero-decoration {
    position: relative;
    height: 300px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 1rem;
}

.ch-hero-bar {
    width: 60px;
    border-radius: 0.5rem 0.5rem 0 0;
    opacity: 0.15;
}

.ch-hero-bar-1 {
    height: 40%;
    background-color: var(--ch-grey);
    border-radius: 50% 50% 0 0 / 30% 30% 0 0;
}

.ch-hero-bar-2 {
    height: 70%;
    background-color: var(--ch-blue);
}

.ch-hero-bar-3 {
    height: 55%;
    background-color: var(--ch-blue);
    border-radius: 50% 0 0 0 / 40% 0 0 0;
}

/* Subtle gradient overlay */
.ch-hero::after {
    content: '';
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 174, 239, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Motorsport hero - darker treatment (same dark bg, different accent) */
.ch-hero-dark {
    background-color: var(--ch-dark);
    color: var(--ch-white);
}

.ch-hero-dark h1 {
    color: var(--ch-white);
}

.ch-hero-dark .lead {
    color: rgba(255, 255, 255, 0.7);
}

.ch-hero-dark::after {
    background: radial-gradient(circle, rgba(0, 174, 239, 0.1) 0%, transparent 70%);
}


/* ==========================================================================
   7. Section Styles
   ========================================================================== */

.ch-section {
    padding: var(--ch-section-padding);
}

.ch-section-alt {
    padding: var(--ch-section-padding);
    background-color: var(--ch-grey-light);
}

.ch-section-dark {
    padding: var(--ch-section-padding);
    background-color: var(--ch-dark);
    color: var(--ch-white);
}

.ch-section-dark h2,
.ch-section-dark h3,
.ch-section-dark h4 {
    color: var(--ch-white);
}

.ch-section-dark p {
    color: rgba(255, 255, 255, 0.8);
}

.ch-section-dark a {
    color: var(--ch-blue);
}

.ch-section-dark a:hover {
    color: var(--ch-blue-hover);
}

/* Section header pattern */
.ch-section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3rem;
}

.ch-section-header p {
    color: var(--ch-text-muted);
    font-size: 1.125rem;
}


/* ==========================================================================
   8. Cards
   ========================================================================== */

.card-ch {
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius-card);
    padding: 1.5rem;
    background: var(--ch-white);
    transition: transform var(--ch-transition),
                box-shadow var(--ch-transition);
    height: 100%;
}

.card-ch:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.card-ch h3 {
    margin-bottom: 0.75rem;
}

.card-ch p {
    color: var(--ch-text-muted);
}

.card-ch .card-link {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
}

.card-ch .card-link:hover {
    gap: 0.5rem;
}


/* ==========================================================================
   9. Feature Icons
   ========================================================================== */

.ch-icon-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background-color: var(--ch-blue-light);
    color: var(--ch-blue);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
}

.ch-icon-circle-sm {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.125rem;
}

.ch-icon-circle-lg {
    width: 4.5rem;
    height: 4.5rem;
    font-size: 2rem;
}


/* ==========================================================================
   10. Trust Signals Bar
   ========================================================================== */

.ch-trust-bar {
    background-color: var(--ch-grey-light);
    padding: 3rem 0;
    text-align: center;
}

.ch-trust-stat,
.ch-stat {
    padding: 1rem 1.5rem;
}

.ch-trust-stat .stat-value,
.ch-stat .ch-stat-number,
.ch-stat-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: var(--ch-blue);
    display: block;
    line-height: 1.2;
}

.ch-trust-stat .stat-label,
.ch-stat .ch-stat-label,
.ch-stat-label {
    font-size: 0.875rem;
    color: var(--ch-text-muted);
    display: block;
    margin-top: 0.25rem;
}

.ch-mono-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--ch-text-muted);
}


/* ==========================================================================
   11. Pricing Cards
   ========================================================================== */

.ch-pricing-card {
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius-card);
    padding: 2rem;
    background: var(--ch-white);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform var(--ch-transition),
                box-shadow var(--ch-transition);
}

.ch-pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.ch-pricing-card .pricing-tier {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ch-grey);
    margin-bottom: 0.5rem;
}

.ch-pricing-card .pricing-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--ch-text);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.ch-pricing-card .pricing-period {
    font-size: 0.875rem;
    color: var(--ch-text-muted);
    margin-bottom: 1.5rem;
}

.ch-pricing-card .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    text-align: left;
    flex-grow: 1;
}

.ch-pricing-card .pricing-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ch-border);
    font-size: 0.9375rem;
    color: var(--ch-text);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.ch-pricing-card .pricing-features li:last-child {
    border-bottom: none;
}

.ch-pricing-card .pricing-features li .bi {
    color: var(--ch-success);
    flex-shrink: 0;
    margin-top: 0.15rem;
}

.ch-pricing-card .btn {
    width: 100%;
}

/* Featured pricing card */
.ch-pricing-featured {
    border-color: var(--ch-blue);
    border-width: 2px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 174, 239, 0.1);
}

.ch-pricing-featured .pricing-badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--ch-blue);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 1rem;
    border-radius: 50rem;
    white-space: nowrap;
}

.ch-pricing-featured .pricing-tier {
    color: var(--ch-blue);
}


/* ==========================================================================
   12. CTA Banner
   ========================================================================== */

.ch-cta-banner {
    background-color: var(--ch-dark);
    color: var(--ch-white);
    padding: 4rem 0;
    text-align: center;
}

.ch-cta-banner h2 {
    color: var(--ch-white);
    margin-bottom: 0.75rem;
}

.ch-cta-banner p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.ch-cta-banner .btn-ch-primary {
    font-size: 1.125rem;
    padding: 0.75rem 2rem;
}


/* ==========================================================================
   13. Footer
   ========================================================================== */

.ch-footer {
    background-color: var(--ch-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.ch-footer h5 {
    color: var(--ch-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.ch-footer ul li {
    margin-bottom: 0.5rem;
}

.ch-footer ul li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    transition: color var(--ch-transition);
}

.ch-footer ul li a:hover {
    color: var(--ch-white);
}

.ch-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.875rem;
}

.ch-footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.ch-footer-bottom a:hover {
    color: var(--ch-white);
}

.ch-footer-family {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.75rem;
}

.ch-footer-family a {
    color: rgba(255, 255, 255, 0.5);
}

.ch-footer-family a:hover {
    color: var(--ch-amber);
}

.ch-footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.ch-footer-social a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.25rem;
    transition: color var(--ch-transition);
}

.ch-footer-social a:hover {
    color: var(--ch-white);
}


/* ==========================================================================
   14. Contact Form
   ========================================================================== */

.ch-form .form-label {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--ch-text);
    margin-bottom: 0.375rem;
}

.ch-form .form-control,
.ch-form .form-select {
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius-input);
    padding: 0.625rem 0.875rem;
    font-size: 0.9375rem;
    color: var(--ch-text);
    transition: border-color var(--ch-transition),
                box-shadow var(--ch-transition);
}

.ch-form .form-control:focus,
.ch-form .form-select:focus {
    border-color: var(--ch-blue);
    box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.15);
    outline: none;
}

.ch-form .form-control::placeholder {
    color: var(--ch-text-muted);
}

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

.ch-form .invalid-feedback {
    font-size: 0.8125rem;
    color: var(--ch-danger);
}

.ch-form .form-control.is-invalid,
.ch-form .form-select.is-invalid {
    border-color: var(--ch-danger);
}

.ch-form .form-control.is-invalid:focus,
.ch-form .form-select.is-invalid:focus {
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
}


/* ==========================================================================
   15. FAQ / Accordion
   ========================================================================== */

.ch-accordion .accordion-item {
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius-card) !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.ch-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    color: var(--ch-text);
    background-color: var(--ch-white);
    padding: 1rem 1.25rem;
    box-shadow: none;
    transition: color var(--ch-transition);
}

.ch-accordion .accordion-button:not(.collapsed) {
    color: var(--ch-blue);
    background-color: var(--ch-white);
    box-shadow: none;
}

.ch-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: var(--ch-border);
}

.ch-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%236D6E71'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform var(--ch-transition);
}

.ch-accordion .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2300AEEF'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.ch-accordion .accordion-body {
    padding: 0 1.25rem 1rem;
    color: var(--ch-text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}


/* ==========================================================================
   16. Reveal Animation (IntersectionObserver)
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ==========================================================================
   17. Motorsport Page Specific
   ========================================================================== */

.ch-motorsport-hero {
    background-color: var(--ch-dark);
    color: var(--ch-white);
    padding: 6rem 0 5rem;
    position: relative;
    overflow: hidden;
}

.ch-motorsport-hero h1 {
    color: var(--ch-white);
}

.ch-motorsport-hero .lead {
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    margin-bottom: 2rem;
}

/* Subtle racing-themed decorative accent */
.ch-motorsport-hero::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(0, 174, 239, 0.08) 100%);
    pointer-events: none;
}

/* Motorsport badge */
.ch-badge-race {
    display: inline-block;
    background-color: rgba(0, 174, 239, 0.15);
    color: var(--ch-blue);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    margin-bottom: 1rem;
}

.ch-badge-race-amber {
    display: inline-block;
    background-color: var(--ch-amber-light);
    color: var(--ch-amber);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.25rem 0.75rem;
    border-radius: 50rem;
    margin-bottom: 1rem;
}

/* Showcase link card */
.ch-showcase-card {
    border: 1px solid var(--ch-border);
    border-radius: var(--ch-radius-card);
    padding: 2rem;
    background: var(--ch-white);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform var(--ch-transition),
                box-shadow var(--ch-transition);
}

.ch-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

/* Founding member callout */
.ch-founding-callout {
    border: 2px solid var(--ch-amber);
    border-radius: var(--ch-radius-card);
    padding: 2rem;
    background: var(--ch-amber-light);
    text-align: center;
}

.ch-founding-callout h3 {
    color: var(--ch-amber);
}


/* ==========================================================================
   18. Miscellaneous
   ========================================================================== */

/* Badge styles */
.ch-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.625rem;
    border-radius: 50rem;
    letter-spacing: 0.02em;
}

.ch-badge-blue {
    background-color: var(--ch-blue-light);
    color: var(--ch-blue);
}

.ch-badge-success {
    background-color: rgba(16, 185, 129, 0.1);
    color: var(--ch-success);
}

/* Divider */
.ch-divider {
    border: none;
    border-top: 1px solid var(--ch-border);
    margin: 2rem 0;
}

/* Image rounding */
.ch-img-rounded {
    border-radius: var(--ch-radius-card);
}

/* Skip to content (accessibility) */
.ch-skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: var(--ch-blue);
    color: #fff;
    font-weight: 600;
}

.ch-skip-link:focus {
    left: 0;
}


/* ==========================================================================
   19. Responsive - Tablet and Below (768px)
   ========================================================================== */

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

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    /* Navbar */
    .ch-navbar .nav-link {
        padding: 0.75rem 0;
    }

    .ch-navbar .btn-ch-primary {
        width: 100%;
        margin-top: 0.5rem;
    }

    /* Hero */
    .ch-hero {
        padding: 5rem 0 3rem;
        text-align: center;
    }

    .ch-hero h1 {
        font-size: 2rem;
    }

    .ch-hero .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .ch-hero::after {
        display: none;
    }

    .ch-hero .btn {
        width: 100%;
        margin-right: 0;
    }

    /* Motorsport hero */
    .ch-motorsport-hero {
        padding: 4rem 0 3rem;
        text-align: center;
    }

    .ch-motorsport-hero::before {
        display: none;
    }

    .ch-motorsport-hero .lead {
        margin-left: auto;
        margin-right: auto;
    }

    /* Trust bar */
    .ch-trust-stat,
    .ch-stat {
        padding: 0.75rem 1rem;
    }

    .ch-trust-stat .stat-value,
    .ch-stat-number {
        font-size: 1.5rem;
    }

    /* Pricing */
    .ch-pricing-card {
        padding: 1.5rem;
    }

    .ch-pricing-card .pricing-price {
        font-size: 2rem;
    }

    /* CTA banner */
    .ch-cta-banner {
        padding: 3rem 0;
    }

    .ch-cta-banner .btn-ch-primary {
        width: 100%;
    }

    /* Footer */
    .ch-footer {
        padding: 3rem 0 0;
        text-align: center;
    }

    .ch-footer ul {
        margin-bottom: 2rem;
    }

    /* Cards */
    .card-ch {
        margin-bottom: 1rem;
    }

    /* Showcase card */
    .ch-showcase-card {
        flex-direction: column;
        text-align: center;
    }

    /* Section headers */
    .ch-section-header {
        margin-bottom: 2rem;
    }
}


/* ==========================================================================
   20. Print Styles (minimal)
   ========================================================================== */

@media print {
    .ch-navbar,
    .ch-footer,
    .ch-cta-banner {
        display: none;
    }

    .ch-hero {
        padding: 1rem 0;
        background: none;
    }

    body {
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
