:root {
    --pink: hsl(0, 78%, 80%);
    --uh: 0;
    --us: 78%;
    --ul: 80%;
    --tp-primary: hsl(211, 59%, 31%);
        --tp-primary-dark: hsl(211, 59%, 25%);
        --tp-accent: hsl(3, 100%, 83%);
        --tp-accent-dark: hsl(3, 70%, 70%);
        --tp-bg-light: #f8fafc;
        --tp-border: #e2e8f0;
        --tp-text: #1e293b;
        --tp-text-secondary: #64748b;
}
.logo {
    justify-content: center;
}
.frame--blue {
    background-color: hsl(var(--ph),var(--ps),var(--pl));
}
.footer-one.is-blue {
    background-color: hsl(var(--ph),var(--ps),var(--pl));
    color: ;
}
.card-four__image-wrapper::after {
    background: unset;
}
.blog__card {
    --hsl: var(--bh), var(--bs), var(--bl);
}
.department__wrapper {
  display:grid;
  grid-template-columns:1fr;
  grid-gap:var(--gap);
  align-items:center
}
.department__image-wrapper {
  max-width:600px;
}
.department__image {
  display:block;
  width:100%;
  height:auto;
  font-size:0;
  border-radius:var(--border-radius-normal);
  object-fit:cover
}
@media (min-width:1200px) {
  .department__wrapper {
    grid-template-columns:38% 1fr;
    grid-gap:2rem
  }
}
.department__list {
  display:grid;
  grid-gap:1rem;
  max-width:650px;
}
@media (min-width:992px) {
  .department__list {
    grid-template-columns:1fr 1fr;
    max-width:unset;
  }
}
.department__links-wrapper {
    display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1rem;
  box-sizing: border-box;
}

.department__feedback {
    display: flex;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--border-radius-normal);
  box-shadow: var(--shadow-moderate);
}
.department__feedback--text {
    display: block;
  font-size: var(--name-font-size);
  font-weight: 600;
  line-height: 1.45em;
}
#department .link-two .icon-arrow-top-right {
    bottom: 50%;
    transform: translateY(50%) rotate(45deg);
}

@media (min-width: 992px) {
  #step-grid-two .steps__list {
    grid-template-columns: repeat(2,1fr);
  }
}
@media (min-width: 1400px) {
  .site_showcase__list {
    grid-template-columns: repeat(3,1fr);
  }
}
.card-four {
    max-width: 445px;
}
/*** ID Doctor ***/
#doctor .photo-one__container {
    max-width: 100%;
}
#doctor .big-photo {
    padding-top: calc((500/500)*100%);
}
.faq-one__answer a {
    transition: all .2s;
    color: #fdeded;
}
.faq-one__answer a:hover {
    color: hsl(0, 71%, 89%);
}
.card-three__image-container::after {
    background-color: transparent;
}
.swiper-button-next, .swiper-button-prev {
    border-radius: 50rem;
    max-width: 42px;
    max-height: 42px;
    min-width: 42px;
    min-height: 42px;
    box-shadow: 0px 0rem 1rem 2px rgba(0, 0, 0, .1);
    transition: all .3s ease-in-out;
    color: #fff;
    background-color: hsl(var(--ih), var(--is), var(--il));
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-family: swiper-icons;
    font-size: 16px;
    text-transform: none !important;
    letter-spacing: 0;
    font-variant: initial;
    line-height: 1;
}

    /* ===== БЛОК ТАБЛИЦЫ (tp-license) ===== */
    .tp-license {
        font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
        max-width: 1000px;
        margin: 0 auto;
        background: #ffffff;
        border-radius: 20px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
        overflow: hidden;
        border: 1px solid var(--tp-border);
    }

    /* ===== ШАПКА ===== */
    .tp-header {
        background: var(--tp-primary);
        padding: 20px 28px;
        border-bottom: 4px solid var(--tp-accent);
    }

    .tp-header__title {
        color: #ffffff;
        font-size: 1.5rem;
        font-weight: 600;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 16px;
        flex-wrap: wrap;
    }

    .tp-header__badge {
        background: var(--tp-accent);
        color: var(--tp-text);
        font-size: 0.8rem;
        font-weight: 600;
        padding: 4px 16px;
        border-radius: 40px;
        letter-spacing: 0.3px;
        margin-left: auto;
        white-space: nowrap;
    }

    /* ===== ОБЁРТКА ТАБЛИЦЫ ===== */
    .tp-table-wrap {
        padding: 8px;
        overflow-x: auto;
    }

    /* ===== ТАБЛИЦА ===== */
    .tp-table {
        width: 100%;
        border-collapse: collapse;
        font-size: 0.95rem;
        border-radius: 14px;
        overflow: hidden;
    }

    /* ===== ЯЧЕЙКИ ===== */
    .tp-table th,
    .tp-table td {
        padding: 16px 22px;
        text-align: left;
        vertical-align: top;
        line-height: 1.6;
        border-bottom: 1px solid var(--tp-border);
    }

    .tp-table th {
        background: var(--tp-primary);
        color: #ffffff;
        font-weight: 600;
        font-size: 0.9rem;
        width: 36%;
        letter-spacing: 0.2px;
        border-right: 1px solid rgba(255, 255, 255, 0.12);
    }

    .tp-table td {
        background: #ffffff;
    }

    /* ===== ЧЕРЕДОВАНИЕ СТРОК (акцентные полосы) ===== */
    .tp-table tbody tr:nth-child(even) th {
        background: var(--tp-primary-dark);
    }

    .tp-table tbody tr:nth-child(even) td {
        background: #fafbff;
    }

    /* ===== ПОСЛЕДНЯЯ СТРОКА БЕЗ РАМКИ ===== */
    .tp-table tbody tr:last-child th,
    .tp-table tbody tr:last-child td {
        border-bottom: none;
    }

    /* ===== ЭЛЕМЕНТЫ ВНУТРИ ЯЧЕЕК ===== */
    .tp-status {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        background: var(--tp-accent);
        color: var(--tp-text);
        font-weight: 600;
        padding: 2px 16px 2px 12px;
        border-radius: 40px;
        font-size: 0.85rem;
    }

    .tp-status::before {
        content: '';
        display: inline-block;
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: #22c55e;
        box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
        flex-shrink: 0;
    }

    .tp-note {
        font-size: 0.85rem;
        color: var(--tp-text-secondary);
        margin-top: 6px;
        padding: 8px 14px;
        background: #f1f5f9;
        border-radius: 10px;
        border-left: 3px solid var(--tp-accent-dark);
    }

    .tp-placeholder {
        color: #94a3b8;
        font-style: italic;
    }

    /* ===== ФУТЕР ===== */
    .tp-footer {
        background: #f1f5f9;
        padding: 14px 28px;
        border-top: 1px solid var(--tp-border);
        font-size: 0.85rem;
        color: var(--tp-text-secondary);
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 12px;
    }

    .tp-footer__tags {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }

    .tp-footer__tags span {
        background: #ffffff;
        padding: 2px 16px;
        border-radius: 40px;
        border: 1px solid var(--tp-border);
        font-size: 0.8rem;
    }

    .tp-footer__date {
        opacity: 0.7;
        font-size: 0.8rem;
    }

    /* ===== АДАПТИВ ===== */
    @media (max-width: 768px) {
        .tp-header {
            padding: 16px 20px;
        }

        .tp-header__title {
            font-size: 1.2rem;
            gap: 10px;
        }

        .tp-header__badge {
            margin-left: 0;
            width: 100%;
            text-align: center;
        }

        .tp-table th,
        .tp-table td {
            padding: 12px 16px;
            font-size: 0.9rem;
        }

        .tp-table th {
            width: 32%;
        }
    }

    @media (max-width: 550px) {
        /* Превращаем таблицу в карточки */
        .tp-table,
        .tp-table tbody,
        .tp-table tr,
        .tp-table th,
        .tp-table td {
            display: block;
        }

        .tp-table th {
            width: 100%;
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            padding: 10px 16px 6px 16px;
            background: var(--tp-primary) !important;
            color: #ffffff;
        }

        .tp-table td {
            padding: 8px 16px 16px 16px;
            border-bottom: 2px solid #e9edf2;
            background: #ffffff !important;
        }

        .tp-table tbody tr:last-child td {
            border-bottom: none;
        }

        .tp-table tbody tr:nth-child(even) td {
            background: #fafcff !important;
        }

        .tp-footer {
            flex-direction: column;
            align-items: flex-start;
            gap: 6px;
            padding: 12px 20px;
        }

        .tp-footer__tags {
            gap: 8px;
        }
    }
.footer-one.is-secondary .footer-one__dev:hover {
    color: hsl(var(--ph),var(--ps),var(--pl));
}
.footer-one__prodoktorov {
    text-decoration: none;
    color: hsl(var(--th),var(--ts),calc(var(--tl) + 20%));
    font-weight: 600;
}
.footer-one__pro {
    color: hsl(6, 93%, 59%);
}
.footer-one__doktorov {
    color: hsl(217, 87%, 58%);
}