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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    font-family: "Open Sans", sans-serif;
    color: #eef3ff;
    background:
            radial-gradient(circle at 18% 10%, rgba(0, 185, 163, 0.12), transparent 28%),
            radial-gradient(circle at 82% 18%, rgba(0, 80, 120, 0.16), transparent 32%),
            linear-gradient(180deg, #07111a 0%, #030812 54%, #02050c 100%);
    line-height: 1.5;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

.header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px 48px;
    background: rgba(5, 12, 20, 0.84);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
    flex: 0 0 auto;
    min-width: 100px;
}

.logo img {
    width: 90px;
    max-height: 42px;
    object-fit: contain;
}

.links ul {
    display: flex;
    align-items: center;
    gap: 38px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.link {
    position: relative;
    font-size: 20px;
    font-weight: 600;
    color: rgba(235, 242, 255, 0.78);
    transition: color 0.25s ease;
}

.link:hover {
    color: #ffffff;
}

.link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #10e5cf 0%, #00c9b7 100%);
    transition: width 0.25s ease;
}

.link:hover::after {
    width: 100%;
}

.language {
    min-width: 56px;
    min-height: 24px;
}

.container {
    width: min(1280px, calc(100% - 64px));
    margin: 0 auto;
    padding: 100px 0 96px;
}

.description {
    margin-bottom: 50px;
}

.description-title {
    margin-bottom: 65px;
}

.description-title-text {
    margin: 0;
    font-size: clamp(54px, 9vw, 100px);
    line-height: 0.95;
    font-weight: 800;
    letter-spacing: -0.06em;
    color: #f5f7ff;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    text-align: center;
}

.description-text {
    font-size: 24px;
    line-height: 1.55;
    font-weight: 400;
    color: rgba(216, 224, 240, 0.84);
    text-align: center;
}

.developments {
    padding-top: 100px;
    margin-bottom: 72px;
}

.developments h2 {
    margin: 0 0 28px;
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f4f7ff;
    text-align: center;
}

.development {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 1fr);
    gap: 28px;
    align-items: stretch;
}

.tourniquet,
.bracelet,
.employee {
    background:
            linear-gradient(180deg, rgba(11, 19, 31, 0.98) 0%, rgba(5, 10, 19, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 28px;
    box-shadow:
            0 20px 50px rgba(0, 0, 0, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.tourniquet {
    padding: 30px;
}

.tourniquet h3,
.employee h3 {
    margin-bottom: 20px;
    font-size: 25px;
    line-height: 1.12;
    text-align: center;
}

.tourniquet-item-img {
    margin-bottom: 24px;
    border-radius: 22px;
    overflow: hidden;
    background: #0c111a;

    display: flex;
    gap: 16px;            /* расстояние между фото */
    align-items: center;  /* выравнивание по вертикали */
    justify-content: center;
    flex-wrap: wrap;      /* чтобы на мобиле переносились */
    padding: 10px;
}

.tourniquet-item-img img {
    width: auto;        /* сохраняем оригинальную ширину */
    max-width: 100%;      /* чтобы не вылезали */
    height: 220px;        /* убираем фиксированную высоту */
    object-fit: contain;  /* ничего не обрезается */
    border-radius: 16px;
}

.tourniquet-item-text,
.bracelet-item-text,
.employee-profession,
.employee-profession p,
.employee a {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(219, 228, 245, 0.78);
}

.tourniquet-item-text {
    margin-bottom: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 0 26px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #12e5cf 0%, #00ccb8 100%);
    color: #041018;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 36px rgba(0, 204, 184, 0.22);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 44px rgba(0, 204, 184, 0.28);
}

.bracelet {
    display: flex;
    align-items: center;
    min-height: 100%;
    padding: 30px;
    position: relative;
    overflow: hidden;
}

.bracelet::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
            radial-gradient(circle at top right, rgba(18, 229, 207, 0.12), transparent 34%),
            radial-gradient(circle at bottom left, rgba(0, 107, 139, 0.1), transparent 38%);
    pointer-events: none;
}

.bracelet-item-text {
    position: relative;
    z-index: 1;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.25;
    font-weight: 700;
    color: #dffaf5;
}

.contacts {
    padding-top: 85px;
}
.contacts h2 {
    margin: 0 0 28px;
    font-size: 40px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #f4f7ff;
    text-align: center;
}

.employees {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.employee {
    padding: 28px 24px;
}

.employee-img {
    margin-bottom: 20px;
    border-radius: 20px;
    overflow: hidden;
    background:
            linear-gradient(135deg, rgba(18, 229, 207, 0.1), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(255, 255, 255, 0.05);
    aspect-ratio: 1 / 1;
}

.employee-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.employee-profession {
    margin-bottom: 14px;
}

.employee-profession p {
    margin: 0 0 4px;
}

.employee a {
    display: inline-block;
    font-weight: 700;
    color: #bff8ef;
    word-break: break-word;
    transition: color 0.25s ease;
}

.employee a:hover {
    color: #ffffff;
}

.footer {
    padding: 24px 32px 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(4, 9, 16, 0.9);
}

.footer p {
    margin: 0;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(194, 205, 226, 0.64);
}

@media (max-width: 1180px) {
    .development {
        grid-template-columns: 1fr;
    }

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

    .tourniquet-item-img img {
        height: 320px;
    }
}

@media (max-width: 900px) {
    .header {
        flex-wrap: wrap;
        justify-content: center;
        padding: 18px 24px;
    }

    .links {
        width: 100%;
    }

    .links ul {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px 24px;
    }

    .container {
        width: min(100%, calc(100% - 32px));
        padding: 42px 0 72px;
    }

    .description {
        margin-bottom: 42px;
    }

    .description-text {
        font-size: 20px;
    }

    .employees {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .header {
        gap: 16px;
        padding: 16px;
    }

    .logo img {
        width: 140px;
        max-height: 36px;
    }

    .links ul {
        gap: 14px 18px;
    }

    .link {
        font-size: 14px;
    }

    .container {
        width: calc(100% - 24px);
        padding: 32px 0 56px;
    }

    .description-title-text {
        font-size: clamp(40px, 14vw, 62px);
        line-height: 1;
    }

    .description-text {
        font-size: 17px;
        line-height: 1.65;
    }

    .developments h2,
    .contacts h2 {
        font-size: 28px;
        margin-bottom: 20px;
    }

    .tourniquet,
    .bracelet,
    .employee {
        padding: 20px;
        border-radius: 22px;
    }

    .tourniquet h3,
    .employee h3 {
        font-size: 24px;
    }

    .tourniquet-item-img img {
        height: 240px;
    }

    .tourniquet-item-text,
    .bracelet-item-text,
    .employee-profession,
    .employee-profession p,
    .employee a {
        font-size: 15px;
    }

    .bracelet-item-text {
        font-size: 22px;
    }

    .btn {
        width: 100%;
        min-height: 52px;
        font-size: 15px;
    }

    .footer {
        padding: 20px 16px 28px;
    }
}