*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    color: #161e21;
    -webkit-font-smoothing: antialiased;
}

table {
    border: none;
}

table tbody tr {
    background-color: #f7fffa;
    margin-block-end: 8px;
}

table, th, td {
  border-collapse: collapse;
  font-size: 12px;
  border-collapse: separate;
}

thead th {
    font-weight: 700;
    border-bottom: 0;
}

table thead tr th,
table tbody tr td {
    padding: 12px 20px;
}

.ym-formtext {
    -moz-border-radius: 5px;
    border-radius: 5px;
    padding: 2px;
}

.cta {
    padding: 32px 20px;
    margin-block-end: 64px;
    background-color: #edf8ff;
}

.cta-content-warpper {
    max-width: 1400px;
    margin-inline: auto;
}

.cta-content-warpper h2 {
    font-weight: 700;
}


.cta-content-warpper p {
    max-width: 700px;
    margin-inline: auto;
}

table tbody tr td:first-child {
    border-inline-start: 1px solid #CCCCCC;
    font-weight: 700;
}

table tbody tr:last-child td {
    border-bottom: 1px solid #CCCCCC;
}

table tbody tr:first-child td:first-child {
    border-radius: 6px 0 0 0;
}

table tbody tr:first-child td:last-child {
    border-radius: 0 6px 0 0;
}

table tbody tr td:last-child {
    border-inline-end: 1px solid #CCCCCC;
}

table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 6px;
}

table tbody tr:last-child td:last-child {
    border-radius: 0 0 6px 0;
}

@media (min-width: 576px) {
    table, th, td {
        font-size: 16px;
    }
}


.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2e5387;
    color: white;
    padding: 13px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 2px 8px rgba(46, 83, 135, 0.3);;
}

.btn-primary:hover {
    background: #3a6aa8;
    transform: translateY(-1px);
}

section {
    position: relative;
}

.section-label {
    font-size: 10px;
    font-weight: 700;
    color: #2e5387;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 14px;
    line-height: 150%;
}

.cockpit {
    max-width: 1400px;
    margin-inline: auto;
    padding-block: 32px;
}

.cockpit .section-title + p {
    margin: 0 20px 16px 20px;
}

.cockpit .section-label,
.cockpit .section-title,
.cockpit .section-intro {
    margin-inline: 20px;
}

.cockpit .section-intro {
    padding-block-end: 20px;
    border-bottom: 1px solid #CCCCCC;
}
.cockpit-grid {
    display: grid;
    grid-template-columns: repeat(1 , 1fr);
    gap: 1px;
    overflow: hidden;
}

.cockpit-card {
    background: #fff;
    padding-block: 20px;
    margin-inline: 20px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #CCCCCC;
}

.cockpit-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: #2e5387;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.card-number {
    font-size: 10.5px;
    font-weight: 600;
    color: #8a929a;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(46,83,135,0.08);
    border: 1px solid rgba(46,83,135,0.25);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 150%;
}

.card-body {
    color: #555555;
    margin-block-end: 0;
}

@media (min-width: 768px) {

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

    .stack-section > div {
        padding-inline: 20px;
    }
}

.stack-section {
    padding: 50px 20px;
    background-color: #edf8ff;
}

.stack-section > div {
    max-width: 1400px;
    margin-inline: auto;
}

.stack-section h3.section-title {
    font-size: 20px;
}

.expertise-container {
    padding: 32px 20px;
    max-width: 1400px;
    margin-inline: auto;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 16px;
}

.expertise-card {
    background: #f2f5fa;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 32px 28px;
    text-decoration: none;
    color: inherit;
    position: relative;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.expertise-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
    border-color:  rgba(46,83,135,0.25);
    transform: translateY(-2px);
}

.expertise-card::after {
    content: '→';
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 16px;
    color: #8a929a;
    transition: color 0.2s, transform 0.2s;
}

.expertise-card:hover::after {
    color: #2e5387;
    transform: translate(3px, -2px);
}

.expertise-num {
    font-size: 10px;
    font-weight: 700;
    color: #8a929a;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.expertise-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.3;
}

.expertise-teaser {
    color: #555555;
    flex: 1;
}

.expertise-link {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #2e5387;
    margin: 0;
}

@media (min-width: 768px) {
    .expertise-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .expertise-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.p-services__domain {
    position: relative;
    overflow: hidden;
    color: #fff;
    border-radius: 8px;
}

.p-services__domain-image {
    aspect-ratio: 16/13;
    object-fit: cover;
    width: -webkit-fill-available;
    border-radius: 8px;
}

.p-services__domain-content-wrapper {
    position: absolute;
    background: rgba(0, 0, 0, 0.7);
    bottom: 4px;
    display: flex;
    width: -webkit-fill-available;
    height: 54px;
    padding: 16px;
    flex-direction: column;
    row-gap: 16px;
    text-align: center;
    align-items: center;
    transition: all 450ms ease-in-out;
    border-radius: 0 0 8px 8px;
}

.p-services__domain-title {
    font-weight: 700;
    font-size: 16px;
    white-space: nowrap;
}

.p-services__domain-desc,
.p-services__domain-link {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s linear 300ms, opacity 450ms ease-in-out 300ms;
}

.p-services__domain-link {
    padding: 8px 12px;
    background-color: #000;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 8px;
}

.p-services__domain-link:hover,
.p-services__domain-link:active {
    border-color: #000;
    color: #000;
    background-color: #fff;
}

.p-services__domain:hover .p-services__domain-content-wrapper {
    height: 100%;
    justify-content: center;
}

.p-services__domain:hover .p-services__domain-desc,
.p-services__domain:hover .p-services__domain-link {
    visibility: visible;
    opacity: 1;
    transition-delay: 300ms;
}


@media (min-width: 768px) {
    .section-label {
        font-size: 12px;
    }
}

.technology-section {
    padding-block: 32px;  
    max-width: 1400px;
    margin-inline: auto; 
    
    .section-label,
    .section-title {
        padding-inline: 20px;
    }
}

.technology-card-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.technology-card {
    background-color: #f5f7fa;
    padding: 20px;
}

.technology-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-block: 0 16px;
}

.technology-card p {
    margin: 0;
}

@media (min-width:768px) {
    .technology-section {
        padding-inline: 20px;

        .section-label,
        .section-title {
            padding-inline: 0;
        }
    }
    
    .technology-card-wrapper {
        flex-direction: row;
        column-gap: 20px;
    }

    .technology-card {
        border-radius: 10px;
    }
}

.services-section { 
    max-width: 1400px;
    margin-inline: auto;
    margin-block-end: 32px;

    .section-label,
    .section-title,
    .section-desc {
        margin-inline: 20px;
    }
}

.services-card-wrapper {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

.services-card {
    background-color: #f5f7fa;
    padding: 20px;
}

.services-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-block: 0 16px;
}

.services-card p {
    margin: 0;
}

@media (min-width: 768px) {
    .services-section {
        padding-inline: 20px;

        .section-label,
        .section-title,
        .section-desc {
            margin-inline: 0;
        }
    }    
    
    .services-card-wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 20px;
        row-gap: 20px;
    }

    .services-card {
        border-radius: 10px;
    }
}

@media (min-width: 1280px) {
    .services-card-wrapper {
        grid-template-columns: repeat(3, 1fr);
    }
}
