/* ========================================
   CataSolv Homepage — Custom Template CSS
   Modern B&W Design (no Elementor)
   ======================================== */

/* ---- Reset for homepage ---- */
#catasolv-home {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #333333;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
#catasolv-home *, #catasolv-home *::before, #catasolv-home *::after {
    box-sizing: border-box;
}

/* ---- Container ---- */
.cs-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---- Buttons ---- */
.cs-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.15s ease;
    cursor: pointer;
}
.cs-btn-primary {
    background-color: #111111;
    color: #FFFFFF;
    padding: 14px 28px;
    border: none;
}
.cs-btn-primary:hover {
    background-color: #000000;
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.9;
}
.cs-btn-secondary {
    background-color: transparent;
    color: #111111;
    padding: 14px 28px;
    border: 1.5px solid #E8E8E8;
}
.cs-btn-secondary:hover {
    background-color: #F5F5F5;
    color: #111111;
    text-decoration: none;
}
.cs-btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

/* ---- Section Badges ---- */
.cs-section-badge {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #555555;
    background: #F5F5F5;
    padding: 6px 16px;
    border-radius: 6px;
    margin-bottom: 16px;
}

/* ---- Section Titles ---- */
.cs-section-title {
    font-size: 32px;
    font-weight: 700;
    color: #111111;
    line-height: 1.3;
    margin: 0 0 48px;
}
.cs-section-title-narrow {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* ============================================
   HERO
   ============================================ */

/* Fix Astra's flex container pushing content left */
#catasolv-home {
    width: 100%;
}
.ast-container:has(#catasolv-home),
#content .ast-container {
    max-width: 100% !important;
    padding: 0 !important;
    display: block !important;
}

.cs-hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    background: #FFFFFF;
    position: relative;
    width: 100%;
}
.cs-hero-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}
.cs-hero-title {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    color: #111111;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
}
.cs-hero-highlight {
    color: #111111;
}
.cs-hero-subtitle {
    font-size: 18px;
    line-height: 1.7;
    color: #555555;
    margin: 0 0 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.cs-hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .cs-hero {
        min-height: auto;
        padding: 80px 0 60px;
    }
    .cs-hero-title {
        font-size: 36px;
    }
    .cs-hero-subtitle {
        font-size: 16px;
    }
}


/* ============================================
   TRUSTED BY / CLIENT LOGOS
   ============================================ */
.cs-clients-bar {
    padding: 32px 0;
    border-top: 1px solid #E8E8E8;
    border-bottom: 1px solid #E8E8E8;
    background: #FFFFFF;
}
.cs-clients-label {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: #999999;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 20px;
}
.cs-clients-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}
.cs-clients-logos img {
    height: 24px;
    width: auto;
    max-width: 100px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.2s ease;
}
.cs-clients-logos img:hover {
    filter: grayscale(0%);
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cs-clients-logos {
        gap: 24px;
    }
    .cs-clients-logos img {
        height: 20px;
    }
}


/* ============================================
   SERVICES
   ============================================ */
.cs-services {
    padding: 96px 0;
    background: #FFFFFF;
    text-align: center;
}
.cs-services .cs-section-title {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 24px;
    font-weight: 500;
    color: #333333;
}
.cs-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left;
}
.cs-service-card {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 14px;
    padding: 32px;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cs-service-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transform: translateY(-3px);
}
.cs-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #F5F5F5;
    color: #111111;
    margin-bottom: 20px;
}
.cs-service-card h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 8px;
}
.cs-service-card p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 16px;
}
.cs-service-link {
    font-size: 14px;
    font-weight: 500;
    color: #555555;
    text-decoration: none;
    transition: color 0.15s ease;
}
.cs-service-link:hover {
    color: #111111;
    text-decoration: none;
}

@media (max-width: 1024px) {
    .cs-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 640px) {
    .cs-services-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   HOW WE WORK / PROCESS
   ============================================ */
.cs-process {
    padding: 96px 0;
    background: #FAFAFA;
    text-align: center;
}
.cs-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}
.cs-process-step {
    text-align: center;
}
.cs-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 1.5px solid #E8E8E8;
    border-radius: 14px;
    margin: 0 auto 24px;
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    background: #FFFFFF;
}
.cs-process-step h3 {
    font-size: 17px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 8px;
}
.cs-process-step p {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    margin: 0;
}

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


/* ============================================
   STATS
   ============================================ */
.cs-stats {
    padding: 80px 0;
    background: #FAFAFA;
}
.cs-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cs-stat-card {
    text-align: center;
    padding: 32px 16px;
    border: 1px solid #E8E8E8;
    border-radius: 14px;
    background: #FFFFFF;
}
.cs-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: #111111;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.cs-stat-label {
    font-size: 13px;
    color: #777777;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .cs-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 480px) {
    .cs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================
   FEATURED PROJECT
   ============================================ */
.cs-featured {
    padding: 96px 0;
    background: #FFFFFF;
    text-align: center;
}
.cs-featured-card {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 40px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}
.cs-featured-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555555;
    margin-bottom: 16px;
}
.cs-featured-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 16px;
}
.cs-featured-card p {
    font-size: 15px;
    color: #555555;
    line-height: 1.7;
    margin: 0 0 20px;
}
.cs-featured-card h4 {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
    margin: 0 0 12px;
}
.cs-featured-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}
.cs-featured-card ul li {
    font-size: 14px;
    color: #555555;
    line-height: 1.6;
    padding: 4px 0 4px 20px;
    position: relative;
}
.cs-featured-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: #111111;
}

@media (max-width: 768px) {
    .cs-featured-card {
        padding: 24px;
    }
    .cs-featured-card h3 {
        font-size: 20px;
    }
}


/* ============================================
   AFFILIATIONS
   ============================================ */
.cs-affiliations {
    padding: 56px 0;
    background: #FAFAFA;
    border-top: 1px solid #E8E8E8;
}
.cs-affiliations .cs-clients-logos img {
    height: 48px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
}
.cs-affiliations .cs-clients-logos img:hover {
    filter: grayscale(0%);
    opacity: 0.9;
}


/* ============================================
   TESTIMONIAL
   ============================================ */
.cs-testimonial {
    padding: 96px 0;
    background: #FFFFFF;
    text-align: center;
}
.cs-testimonial-card {
    background: #FFFFFF;
    border: 1px solid #E8E8E8;
    border-radius: 16px;
    padding: 48px 56px;
    max-width: 780px;
    margin: 0 auto;
    text-align: left;
}
.cs-quote-icon {
    margin-bottom: 24px;
    opacity: 0.3;
}
.cs-testimonial-text {
    font-size: 19px;
    line-height: 1.8;
    color: #333333;
    margin: 0 0 28px;
    font-style: normal;
}
.cs-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.cs-testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: #111111;
}
.cs-testimonial-role {
    font-size: 13px;
    color: #555555;
}

@media (max-width: 768px) {
    .cs-testimonial-card {
        padding: 28px;
    }
    .cs-testimonial-text {
        font-size: 16px;
    }
}


/* ============================================
   CTA
   ============================================ */
.cs-cta {
    padding: 96px 0;
    background: #FAFAFA;
    text-align: center;
}
.cs-cta h2 {
    font-size: 36px;
    font-weight: 700;
    color: #111111;
    margin: 0 0 12px;
}
.cs-cta p {
    font-size: 18px;
    color: #555555;
    margin: 0 0 32px;
}
.cs-cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.cs-cta-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #555555;
    text-decoration: none;
    transition: color 0.15s ease;
}
.cs-cta-email:hover {
    color: #111111;
    text-decoration: none;
}

@media (max-width: 768px) {
    .cs-cta h2 {
        font-size: 28px;
    }
}
