/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

img, table, iframe, video, embed, object { 
    max-width: 100%; 
    height: auto; 
    box-sizing: border-box;
}

.mobile-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
}

/* Skip link */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
}

.skip-link:focus {
    left: 8px;
    top: 8px;
    background: #000;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    z-index: 1000;
    text-decoration: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav {
    background: #fff;
    border-bottom: 1px solid #e6e8ec;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: #d52b1e;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: #d52b1e;
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.key-facts {
    list-style: disc;
    margin: 32px 0 40px 20px;
    color: #222;
    text-align: left;
    display: inline-block;
}

.key-facts li {
    margin: 8px 0;
    font-size: 16px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    display: inline-block;
}

.btn-primary {
    background: #d52b1e;
    color: #fff;
    border: 2px solid #d52b1e;
}

.btn-primary:hover {
    background: #b8251a;
    border-color: #b8251a;
}

.btn-secondary {
    background: transparent;
    color: #d52b1e;
    border: 2px solid #d52b1e;
}

.btn-secondary:hover {
    background: #d52b1e;
    color: #fff;
}

/* Sections */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 48px;
    color: #333;
}

/* How it works */
#how-it-works {
    background: #f8f9fa;
}

.how-list {
    max-width: 800px;
    margin: 0 auto;
    list-style: none;
    counter-reset: step;
}

.how-list li {
    counter-increment: step;
    margin: 24px 0;
    padding: 24px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    padding-left: 80px;
}

.how-list li::before {
    content: counter(step);
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    background: #d52b1e;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.feature-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Trust section */
.trust {
    background: #f8f9fa;
    text-align: center;
}

.trust-content p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.badge {
    background: #fff;
    padding: 12px 24px;
    border-radius: 24px;
    border: 2px solid #e6e8ec;
    font-weight: 600;
    color: #333;
}

/* Integrations */
.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.integration-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e6e8ec;
}

.integration-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.integration-item p {
    color: #666;
    font-size: 14px;
}

/* Additional services */
.additional-services {
    background: #f8f9fa;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.service-card p {
    color: #666;
}

/* Support */
.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.support-item {
    text-align: center;
    padding: 24px;
}

.support-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.support-item p {
    color: #666;
}

/* Contact */
.contact {
    background: #f8f9fa;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info p {
    margin: 16px 0;
    font-size: 18px;
}

.contact-info a {
    color: #d52b1e;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.hours {
    color: #666;
    font-size: 16px !important;
    margin-top: 32px !important;
}

/* Rating capsule */
.rating-capsule {
    font: 14px/1.3 system-ui, -apple-system, 'Segoe UI', Roboto, Arial;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #111;
    background: #f6f7f9;
    border: 1px solid #e6e8ec;
    border-radius: 999px;
    padding: 6px 10px;
    margin: 24px auto;
    display: flex;
    justify-content: center;
    width: fit-content;
}

.rating-capsule .stars {
    color: #f7b500;
    letter-spacing: 1px;
}

.rating-capsule .value {
    font-weight: 700;
}

.rating-capsule .count {
    color: #555;
}

.rating-capsule .reviews-link {
    color: #666;
    font-size: 12px;
    text-decoration: underline;
    margin-left: 6px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #fff;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin: 8px 0;
}

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-section ul li a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid #555;
    color: #ccc;
}

/* Breadcrumbs */
.breadcrumbs {
    list-style: none;
    display: flex;
    gap: 8px;
    padding: 16px 0;
    margin: 0;
    color: #666;
}

.breadcrumbs li {
    display: flex;
    align-items: center;
}

.breadcrumbs li+li:before {
    content: "/";
    margin: 0 6px;
    color: #bbb;
}

.breadcrumbs a {
    color: #555;
    text-decoration: none;
}

.breadcrumbs a:hover {
    text-decoration: underline;
}

/* Page header */
.page-header {
    background: #f8f9fa;
    padding: 48px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 16px;
}

.page-header p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Reviews page */
.reviews-grid {
    display: grid;
    gap: 24px;
    margin-top: 32px;
}

.review {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e6e8ec;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.review-author {
    font-weight: 600;
    color: #333;
}

.review-rating {
    color: #f7b500;
    font-size: 18px;
    letter-spacing: 1px;
}

.review-date {
    color: #666;
    font-size: 14px;
}

.review-text {
    color: #333;
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-source {
    font-size: 12px;
    color: #666;
}

.review-source a {
    color: #d52b1e;
    text-decoration: none;
}

/* Contact page styles */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.contact-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border: 1px solid #e6e8ec;
}

.contact-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
    text-align: left;
}

.contact-card p {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.6;
}

.contact-details p {
    margin: 12px 0;
    font-size: 16px;
}

.contact-details strong {
    color: #333;
}

.support-options {
    background: #f8f9fa;
}

.hours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.hours-item {
    background: #fff;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e6e8ec;
}

.hours-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 16px;
}

.hours-item ul {
    list-style: none;
    padding: 0;
}

.hours-item ul li {
    margin: 8px 0;
    color: #666;
}

.business-hours {
    background: #f8f9fa;
}

.contact-form-section {
    background: #fff;
}

.quick-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.quick-contact-item {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
}

.quick-contact-item h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.quick-contact-item p {
    margin: 8px 0;
    color: #666;
}

/* About page styles */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.about-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 48px 0 24px 0;
    text-align: left;
}

.about-content h2:first-child {
    margin-top: 0;
}

.about-content p {
    font-size: 18px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 24px;
}

.values-section {
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.value-card {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #d52b1e;
    margin-bottom: 16px;
}

.value-card p {
    color: #666;
    line-height: 1.6;
}

.certifications-section {
    background: #fff;
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.cert-item {
    background: #f8f9fa;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid #e6e8ec;
    text-align: center;
}

.cert-item h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.cert-item p {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.team-section {
    background: #f8f9fa;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 32px;
}

.team-member {
    background: #fff;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.team-member h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.team-member .title {
    font-size: 16px;
    font-weight: 600;
    color: #d52b1e;
    margin-bottom: 16px;
}

.team-member p:not(.title) {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

.stats-section {
    background: #333;
    color: #fff;
}

.stats-section h2 {
    color: #fff;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 48px;
    font-weight: 700;
    color: #d52b1e;
    margin-bottom: 16px;
}

.stat-item p {
    color: #ccc;
    font-size: 18px;
}

.cta-section {
    background: #f8f9fa;
    text-align: center;
}

.cta-section h2 {
    color: #333;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .desktop-only { 
        display: none; 
    }
    
    .mobile-priority { 
        font-size: 1.1em; 
        line-height: 1.4; 
    }
    
    .container {
        padding: 0 16px;
    }
    
    .nav-menu {
        display: none;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .key-facts {
        margin-left: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
    
    .section {
        padding: 48px 0;
    }
    
    .section h2 {
        font-size: 28px;
        margin-bottom: 32px;
    }
    
    .how-list li {
        padding-left: 24px;
    }
    
    .how-list li::before {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .trust-badges {
        flex-direction: column;
        align-items: center;
    }
    
    .badge {
        width: 100%;
        max-width: 200px;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }
    
    .breadcrumbs {
        font-size: 14px;
    }
    
    /* Contact page mobile */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact-card {
        padding: 24px;
    }
    
    .hours-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .quick-contact {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    /* About page mobile */
    .values-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .value-card {
        padding: 24px;
    }
    
    .certifications-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .team-member {
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .stat-item h3 {
        font-size: 36px;
    }
    
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn-primary,
    .cta-actions .btn-secondary {
        width: 100%;
        max-width: 280px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 48px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section h2 {
        font-size: 24px;
    }
    
    .btn-primary, .btn-secondary {
        padding: 14px 24px;
        font-size: 14px;
    }
}
