/* =========================================================
   SERVICES
========================================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.service-card {
    position: relative;
    padding: var(--spacing-md);
    border: 1px solid #e9ebf0;
    border-radius: var(--radius-lg);
    background: white;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.1);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.service-card:hover,
.dark-section .service-card:hover {
    transform: translateY(-7px);
    border-color: var(--primary-alpha);
    box-shadow: 0 30px 45px rgba(27, 42, 77, 0.2);
}

.service-icon {
    width: 52px;
    height: 52px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 13px;
    background: linear-gradient(135deg, #eef2ff, #f5f3ff);
    color: var(--primary-color);
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 12px;
}

.service-card p {
    color: var(--muted);
    line-height: 1.7;
    min-height: 68px;
    margin-bottom: 25px;
}

.service-link,
.case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 700;
}

.service-link span,
.case-link span {
    transition: transform 0.2s ease;
}

.service-link:hover span,
.case-link:hover span {
    transform: translateX(4px);
}

/* DARK THEME */
.dark-section .service-card {
    position: relative;
    padding: var(--spacing-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    background: var(--dark-3);
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.1);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.dark-section .service-icon {
    background: linear-gradient(135deg, #151B2D, #1E253B);
}

.dark-section .service-card h3 {
    color: var(--white);
}

.dark-section .service-card p {
    color: var(--muted);
    line-height: 1.7;
    min-height: 68px;
    margin-bottom: 25px;
}

/* =========================================================
   CASES
========================================================= */

.cases-section {
    color: white;
    background:
        radial-gradient(circle at 18% 40%, var(--primary-alpha), transparent 30%),
        var(--dark-2);
}

.cases-section .section-label {
    color: var(--primary-light);
}

.cases-section .section-heading p {
    color: #8994a9;
}

.cases-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 50px;
}

.cases-header .section-heading {
    margin-bottom: 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.case-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    border: 1px solid var(--primary-alpha);
    background: #0a1020;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease;
}

.case-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary-dark);
}

.case-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #111827;
}

.case-image img {
    width: 100%;
    height: 100%;
    max-height: 150px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.45s ease;
}

.case-card:hover .case-image img {
    transform: scale(1.045);
}

.case-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(5, 9, 20, 0.65);
    color: white;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.case-card:hover .case-overlay {
    opacity: 1;
}

.case-content {
    padding: var(--spacing-md);
}

.case-category {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.case-content h3 {
    margin: 8px 0 9px;
}

.case-content p {
    color: #8791a5;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* =========================================================
   RESULTS
========================================================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 80px;
}

.stat-card {
    text-align: center;
    padding: 35px var(--spacing-md);
    border-radius: var(--radius-lg);
    background: white;
    border: 1px solid #e8eaf0;
    box-shadow: 0 10px 35px rgba(15, 23, 42, 0.1);
}

.stat-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 15px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--primary-color);
    font-weight: 700;
}

.stat-card strong {
    display: block;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.04em;
}

.stat-card span {
    color: var(--muted);
}

/* =========================================================
   ABOUT
========================================================= */
.about {
    margin-top: -150px;
}

.about-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    padding: 55px;
    border-radius: 24px;
    background: white;
    border: 1px solid #e7e9ef;
    box-shadow: 0 0 20px var(--primary-alpha);
}

.about-content h3 {
    line-height: 1.15;
    letter-spacing: -0.035em;
    margin-bottom: var(--spacing-md);
}

.about-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-content .button {
    margin-top: 15px;
}

.about-points {
    display: flex;
    flex-direction: column;
    gap: 22px;
    justify-content: center;
}

.about-point {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.about-point>span {
    width: 39px;
    height: 39px;
    font-size: 1.3rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #eef2ff;
    color: var(--primary-color);
    font-weight: 800;
}

.about-point strong {
    font-size: 14px;
    margin-bottom: 2px;
}

.about-point p {
    color: var(--muted);
}

/* =========================================================
   CTA
========================================================= */
.cta {
    position: relative;
    padding: 50px 0;
    overflow: hidden;
    color: white;
    background: 
        radial-gradient(circle at 80% 50%, rgba(1,114,181,.35), transparent 35% ),
        linear-gradient(135deg, #030711, #081225 );
}

.cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 50%, rgba(0,157,225,.04) 50% );
    pointer-events: none;
}

.cta-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 80px;
    align-items: center;
}

.cta-eye {
    background-color: var(--primary-alpha);
    padding: 5px 10px;
    border-radius: var(--radius);
    color: var(--primary-light);
}

.cta span {
    color: var(--primary-light);
}

.cta p {
    max-width: 600px;
    color: #9ca7b9;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 12px;
    margin-top: 30px;
}

.cta-points {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cta-points > div {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.035);
}

.cta-points > div > i {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(1,114,181,.15);
    color: var(--primary-light);
}

.cta-points span {
    display: flex;
    flex-direction: column;
    color: #8995a9;
    font-size: .8rem;
}

.cta-points strong {
    color: #edf0f6;
    font-size: .9rem;
}


/* =========================================
   PROCESS
========================================= */
.process-grid {
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
    position: relative;
}

.process-card {
    position: relative;
    padding: 28px 20px;
    min-height: 210px;
    text-align: center;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
}

.process-card:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: calc(100% + 2px);
    width: 26px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #0b7fc1 0,
        #0b7fc1 5px,
        transparent 5px,
        transparent 9px
    );
    z-index: 0;
}

.process-number {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
}

.process-icon {
    width: 50px;
    height: 50px;
    margin: 35px auto 15px;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #eef2ff;
    color: var(--primary-color);
    font-weight: 700;
}

.process-card h4 {
    margin: 0 0 10px;
}

.process-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

/* =========================================
   FAQ
========================================= */

.faq-grid {
    max-width: 1100px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 30px;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: 0 3px 12px rgba(0, 0, 0, .1);
}

.faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    cursor: pointer;
    list-style: none;
    font-size: 1rem;
    font-weight: 600;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary span {
    font-weight: 500;
    transition: transform .2s ease;
}

.faq-item[open] summary span {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.7;
}


/* =========================================
   RESPONSIVE
========================================= */
