*, *::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: #F9FAFC;
    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 {
    margin-block-start: 25px;
    padding-inline: 20px;
    max-width: 1400px;
    margin-inline: auto;
    margin-block-end: 64px;
}

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;
    letter-spacing: -1.2px;
    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;
    letter-spacing: -0.3px;
    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 {
    max-width: 1400px;
    margin-inline: auto;
    padding: 32px 20px 0 20px;
}

.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;
    letter-spacing: -0.2px;
    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;
}

.adas-inner {
    align-items: center;
    max-width: 1400px;
    padding: 32px 20px;
    margin-inline: auto;
}

.adas-content {
    margin-block-end: 10px;
}

.adas-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #2e5387;
    border: 1px solid  rgba(46,83,135,0.25);
    background: rgba(46,83,135,0.08);
    padding: 5px 12px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.adas-badge::before {
    content: '';
    width: 5px;
    height: 5px;
    background: #2e5387;
    border-radius: 50%;
}

.adas-features {
    display: grid;
    gap: 10px;
    margin-top: 36px;
}

.adas-feature {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 18px 20px;
    background: #F5F7FA;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.adas-feature:hover,
.adas-panel:hover {
    border-color:  rgba(46,83,135,0.25);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.adas-feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

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

.adas-feature-desc {
    color: #555555;
    margin-block-end: 0;
}

.adas-panel {
    background: #F5F7FA;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px 20px;
}

.adas-diagram {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.adas-layer {
    display: flex;
    background: #f2f5fa;
    column-gap: 10px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 14px 16px;
    border-color: rgba(46,83,135,0.25);
    background: rgba(46,83,135,0.08);
    align-items: center;
}

.adas-layer img {
    width: 32px;
    height: 32px;
}

.layer-label {
    font-weight: 600;
    color: #555555;
    margin-block-end: 0;
    color: #161e21;
}

.adas-cta-note {
    color: #8a929a;
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    margin-block-end: 0;
}

.adas-cta-note strong {
    color: #2e5387;
}

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

    .adas-layer img {
        width: 48px;
        height: 48px;
    }
}

@media (min-width: 1024px) {
    .adas-features {
        grid-template-columns: repeat(3, 1fr);
    }

    .adas-diagram {
        grid-template-columns: repeat(4, 1fr);
    }

    .service-step {
        border-bottom: none;
        border-right: 1px solid #e5e7eb;
    }
}

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

.services-flow {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
}

.service-step {
    flex: 1;
    padding: 32px 24px;
    background: #f2f5fa;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    transition: background 0.2s;
}

.service-step:last-child {
    border-right: none;
}

.service-step:hover {
    background: rgba(46,83,135,0.08);
}

.step-num {
    font-size: 10px;
    font-weight: 700;
    color: #2e5387;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

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

.step-desc {
    color: #555555;
    margin-block-end: 0;
}

.step-arrow {
    position: absolute;
    bottom: -11px;
    right: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: #f2f5fa;
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #2e5387;
    z-index: 2;
    rotate: 90deg;
}

.service-step:last-child .step-arrow {
    display: none;
}

@media (min-width: 1024px) {

    .services-flow {
        flex-direction: row;
    }

    .step-arrow {
        bottom: auto;
        top: 50%;
        right: -11px;
        rotate: 0deg;
    }
}
