.xtech-contracts-wrap {
    --xtech-navy: #0b1f35;
    --xtech-blue: #215f9a;
    --xtech-soft-blue: #eef5fb;
    --xtech-border: rgba(11, 31, 53, 0.13);
    --xtech-text: #243447;
    --xtech-muted: #5f6f80;
    --xtech-white: #ffffff;
    margin: 0 auto;
    max-width: 1180px;
    color: var(--xtech-text);
}

.xtech-contracts-hero {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: clamp(28px, 4vw, 54px);
    margin: 0 0 34px;
    background: linear-gradient(135deg, var(--xtech-navy), #173d63 62%, #1f6faa);
    color: var(--xtech-white);
    box-shadow: 0 22px 60px rgba(11, 31, 53, 0.20);
}

.xtech-contracts-hero:after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -120px;
    bottom: -180px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.11);
}

.xtech-contracts-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 13px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.xtech-contracts-hero h2 {
    position: relative;
    z-index: 1;
    margin: 0;
    max-width: 920px;
    color: var(--xtech-white);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.xtech-contracts-subtitle,
.xtech-contracts-intro {
    position: relative;
    z-index: 1;
    max-width: 880px;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(1rem, 1.3vw, 1.16rem);
    line-height: 1.7;
}

.xtech-contracts-subtitle {
    margin: 20px 0 0;
    font-weight: 600;
}

.xtech-contracts-intro {
    margin-top: 12px;
}

.xtech-contracts-intro p:last-child {
    margin-bottom: 0;
}

.xtech-contracts-meta-bar {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.xtech-contracts-meta-bar span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 10px 13px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.10);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.93rem;
}

.xtech-contracts-meta-bar a {
    color: var(--xtech-white);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.xtech-contracts-list {
    display: grid;
    gap: 24px;
}

.xtech-contract-card {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: clamp(20px, 3vw, 34px);
    align-items: start;
    padding: clamp(22px, 3vw, 34px);
    border: 1px solid var(--xtech-border);
    border-radius: 24px;
    background: var(--xtech-white);
    box-shadow: 0 16px 42px rgba(11, 31, 53, 0.08);
}

.xtech-contract-card-media {
    display: flex;
    justify-content: center;
}

.xtech-contract-logo {
    width: 100%;
    max-width: 170px;
    height: auto;
    object-fit: contain;
}

.xtech-contract-logo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    color: var(--xtech-blue);
    background: linear-gradient(135deg, #f5f9fd, var(--xtech-soft-blue));
    border: 1px solid var(--xtech-border);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.xtech-contract-chip {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--xtech-soft-blue);
    color: var(--xtech-blue);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.xtech-contract-card h3 {
    margin: 0 0 12px;
    color: var(--xtech-navy);
    font-size: clamp(1.45rem, 2vw, 2.1rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
}

.xtech-contract-description {
    color: var(--xtech-muted);
    font-size: 1rem;
    line-height: 1.72;
}

.xtech-contract-description p:first-child {
    margin-top: 0;
}

.xtech-contract-description p:last-child {
    margin-bottom: 0;
}

.xtech-contract-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.xtech-contract-info-block {
    padding: 18px;
    border-radius: 18px;
    background: #f8fbfe;
    border: 1px solid rgba(11, 31, 53, 0.08);
}

.xtech-contract-info-block h4 {
    margin: 0 0 10px;
    color: var(--xtech-navy);
    font-size: 0.86rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.xtech-contract-info-block p {
    margin: 6px 0;
    color: var(--xtech-text);
    line-height: 1.55;
}

.xtech-contract-info-block a {
    color: var(--xtech-blue);
    font-weight: 700;
}

.xtech-contract-link,
.xtech-contract-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--xtech-blue);
    color: var(--xtech-white) !important;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.xtech-contract-link:hover,
.xtech-contract-button:hover {
    transform: translateY(-1px);
    background: var(--xtech-navy);
    box-shadow: 0 12px 24px rgba(11, 31, 53, 0.18);
}

.xtech-contracts-footer-cta {
    margin-top: 30px;
    padding: clamp(24px, 3vw, 34px);
    border-radius: 24px;
    background: var(--xtech-soft-blue);
    border: 1px solid var(--xtech-border);
    text-align: center;
}

.xtech-contracts-footer-cta h3 {
    margin: 0 0 8px;
    color: var(--xtech-navy);
    font-size: clamp(1.35rem, 2vw, 2rem);
}

.xtech-contracts-footer-cta p {
    margin: 0 auto;
    max-width: 720px;
    color: var(--xtech-muted);
    line-height: 1.65;
}

@media (max-width: 800px) {
    .xtech-contract-card {
        grid-template-columns: 1fr;
    }

    .xtech-contract-card-media {
        justify-content: flex-start;
    }

    .xtech-contract-logo-placeholder {
        width: 112px;
        height: 112px;
        border-radius: 22px;
        font-size: 1.5rem;
    }

    .xtech-contract-info-grid {
        grid-template-columns: 1fr;
    }

    .xtech-contracts-meta-bar span {
        width: 100%;
        justify-content: center;
    }
}
