/*!
Theme Name: mrt
Theme URI: https://itcrafter.ru/
Author: IT Crafter
Author URI: https://itcrafter.ru/
Description: for medical center
Version: 2.0.0
Tested up to: 7.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mrt-method
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/
@font-face {
    font-family: 'Idealist Sans';
    src: url('./fonts/IdealistSans-Light.eot');
    src: local('./fonts/Idealist Sans Light'), local('./fonts/IdealistSans-Light'),
        url('./fonts/IdealistSans-Light.eot?#iefix') format('embedded-opentype'),
        url('./fonts/IdealistSans-Light.woff2') format('woff2'),
        url('./fonts/IdealistSans-Light.woff') format('woff'),
        url('./fonts/IdealistSans-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'Idealist Sans';
    src: url('./fonts/IdealistSans.eot');
    src: local('./fonts/Idealist Sans'), local('./fonts/IdealistSans'),
        url('./fonts/IdealistSans.eot?#iefix') format('embedded-opentype'),
        url('./fonts/IdealistSans.woff2') format('woff2'),
        url('./fonts/IdealistSans.woff') format('woff'),
        url('./fonts/IdealistSans.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

:root {
    /* 
    --fs-12: 12px;
    --fs-15: 15px;
    --fs-16: 16px;
    --fs-24: 24px;
    --fs-28: 28px;
    --fs-36: 36px;
    --fs-43: 43px; */
    --main-bg: #FAEDE9;
    /* --green: #017677; */
    --grey: #909090;
    /* --shadow: 0 2px 10px rgba(46, 46, 46, 0.35); */
    --blue: #EFF2F2;
    --teal-900: #0B3B3C;
    --teal-700: #0E5C5E;
    --teal-500: #128A8C;
    --teal-300: #7FC7C8;
    --teal-50: #EAF6F6;
    --ink: #12211F;
    --muted: #5C7370;
    --line: #DCE7E6;
    --bg: #F6FAFA;
    /* --white:#FFFFFF; */
    --radius: 16px;
    /* --shadow:0 10px 30px rgba(11,59,60,.08); */

    --green: #017667;
    --green-dark: #014a40;
    --green-deep: #013328;
    --green-hover: #015a4f;
    --green-soft: #E6F2EF;
    --peach: #F3B6A3;
    --peach-light: #FAEDE9;
    --terracotta: #C7786E;
    --white: #ffffff;
    --off-white: #F7FAF9;
    --text-dark: #1F2A28;
    --text-gray: #5A6B68;
    --border: #E6EFEC;
    --shadow: 0 8px 24px rgba(1, 118, 103, 0.06);
    --shadow-hover: 0 16px 36px rgba(1, 118, 103, 0.12);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --ff: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    --gray-light: #F4F6F5;
    --gray-mid: #EDF1EF;
    --default-padding: 64px;
}

html {
    font-size: 16px;
}

html * {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Idealist Sans';
    font-weight: normal;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    /* background-color: #FAEDE9; */
    color: var(--green-deep);
}

.wrapper,
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

main {
    display: block;
    flex-grow: 1;
}

h1,
.h1 {
    /* font-size: calc(30px + 2.5 * (100vw / 1280)); */
    font-weight: 700;
}

h2,
.h2 {
    /* font-size: calc(24px + 2.5 * (100vw / 1280)); */
    font-weight: 600;
}

h3,
.h3 {
    /* font-size: calc(20px + 2.5 * (100vw / 1280)); */
}

h4,
.h4 {
    /* font-size: calc(19px + 2.5 * (100vw / 1280)); */
}

h5,
.h5 {
    /* font-size: calc(17px + 0 * (100vw / 1280)); */
}

.btn,
li,
a,
p,
.p,
td,
th,
input {
    /* font-size: calc(16px + 0 * (100vw / 1280)); */
}

.small {
    font-size: 12px;
    /* font-size: calc(12px + 0 * (100vw / 1280)); */
    font-weight: 300;
}

h1,
h2,
h3 {
    line-height: 1.2;
    font-weight: 700;
    font-family: var(--ff);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 16px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

a {
    text-decoration: none;
    color: inherit;
}

a.decor-line {
    text-decoration: underline;
}

ul {
    margin: 0;
    /* padding: 0; */
    /* list-style: none; */
}

.mB ul {
    margin-bottom: 2em;
    padding-left: 3em;
    list-style: inherit;
}

.bg-w {
    background-color: #fff;
}

button {
    background: none;
    border: none;
    outline: none;
    font-family: 'Idealist Sans';
}

input {
    font-family: 'Idealist Sans';
}

button:hover {
    cursor: pointer;
}

.text_center {
    text-align: center;
}

.text-red {
    color: red;
}

.btn {
    /* padding: 7px 20px;
    border-radius: 10px; */

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: inherit;
    white-space: nowrap;
    font-family: var(--ff);
}

.btn:disabled {
    cursor: wait;
    opacity: .7;
}

.btn_green {
    background: rgb(1, 118, 103);
    background: linear-gradient(135deg, rgba(1, 118, 103, 1) 0%, rgb(1, 168, 146) 100%);
    color: #fff;
    transition: all .1s ease-in-out;
}

.btn.btn_green:hover {
    box-shadow: 0 0 3px rgba(1, 118, 103, .6);
}

/* ===== КНОПКИ ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-family: inherit;
    white-space: nowrap;
    font-family: var(--ff);
}

.btn-primary {
    background-color: var(--green);
    color: var(--white);
    box-shadow: 0 6px 16px rgba(1, 118, 103, 0.2);
}

.btn-primary:hover {
    background-color: var(--green-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(1, 118, 103, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--green);
    border-color: var(--green);
}

.btn-outline:hover {
    background-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-light {
    background-color: var(--white);
    color: var(--green);
}

.btn-light:hover {
    background-color: var(--gray-light);
    transform: translateY(-2px);
}

.txt_green {
    color: #017667;
}

.bg_green {
    background-color: #017667;
    color: #fff;
}

.bg_brown {
    background-color: #C7786E;
    color: #000;
}

.blue_bg {
    color: #fff;
    background-color: #336CC9;
}

.blue_border {
    border: 1px solid #336CC9;
    color: #336CC9;
    background-color: #fff;
}

.text-center {
    text-align: center;
}

.txt_peach {
    color: #F3B6A3;
}

.txt_brown {
    color: #C7786E;
}

.txt_light {
    color: #FAEDE9;
}

.bg-box {
    /* background-color: #f6f8fc; */
    background-color: #fff;
    /* background: rgba(1,118,103, .5); */
}

.order-block {
    /* padding: 2em; */
}

.contact_info_box,
.order-block .order-block-img {
    position: relative;
}

.order-block .order-block-img h2,
.order-block .order-block-img p {
    position: relative;
    z-index: 1;
    color: #000;
}

.order-block img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: contain;
    left: 0;
    opacity: .25;
    top: 0;
    z-index: 0;
}

.p-1 {
    padding: 1em;
}

.p-2 {
    padding: 2em;
}

.gradient_brown {
    background: rgb(199, 120, 110);
    background: linear-gradient(135deg, rgba(199, 120, 110, 1) 0%, rgba(243, 182, 163, 1) 100%);
}

.gradient_green {
    background: rgb(1, 118, 103);
    background: linear-gradient(135deg, rgba(1, 118, 103, 1) 0%, rgb(1, 168, 146) 100%);
    color: #fff;
}

.btn-center-area {
    display: flex;
    padding: 2em 0;
    align-items: center;
    justify-content: center;
}

section h2 {
    /* text-align: center; */
    /* text-transform: uppercase; */
    /* padding-bottom: 1em; */
    font-family: var(--ff);
}

h2 {
    /* text-transform: uppercase; */
    font-family: var(--ff);
}

.contacts_list {
    display: flex;
    flex-direction: column;
}

.section_box {
    background-color: #f6f8fc;
    border-top: 1px solid #e3e7ef;
    border-bottom: 1px solid #e3e7ef;
}

.breadcrumbs-box {
    margin: 1.5rem 0;
}

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    font-size: 13px;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.breadcrumb a:hover {
    color: var(--teal-700);
}

.divider {
    margin: 0 3px;
}

.poligon {
    box-sizing: border-box;
    -webkit-clip-path: polygon(92.32051% 40%, 93.79385% 43.1596%, 94.69616% 46.52704%, 95% 50%, 94.69616% 53.47296%, 93.79385% 56.8404%, 92.32051% 60%, 79.82051% 81.65064%, 77.82089% 84.50639%, 75.35575% 86.97152%, 72.5% 88.97114%, 69.3404% 90.44449%, 65.97296% 91.34679%, 62.5% 91.65064%, 37.5% 91.65064%, 34.02704% 91.34679%, 30.6596% 90.44449%, 27.5% 88.97114%, 24.64425% 86.97152%, 22.17911% 84.50639%, 20.17949% 81.65064%, 7.67949% 60%, 6.20615% 56.8404%, 5.30384% 53.47296%, 5% 50%, 5.30384% 46.52704%, 6.20615% 43.1596%, 7.67949% 40%, 20.17949% 18.34936%, 22.17911% 15.49361%, 24.64425% 13.02848%, 27.5% 11.02886%, 30.6596% 9.55551%, 34.02704% 8.65321%, 37.5% 8.34936%, 62.5% 8.34936%, 65.97296% 8.65321%, 69.3404% 9.55551%, 72.5% 11.02886%, 75.35575% 13.02848%, 77.82089% 15.49361%, 79.82051% 18.34936%);
    clip-path: polygon(92.32051% 40%, 93.79385% 43.1596%, 94.69616% 46.52704%, 95% 50%, 94.69616% 53.47296%, 93.79385% 56.8404%, 92.32051% 60%, 79.82051% 81.65064%, 77.82089% 84.50639%, 75.35575% 86.97152%, 72.5% 88.97114%, 69.3404% 90.44449%, 65.97296% 91.34679%, 62.5% 91.65064%, 37.5% 91.65064%, 34.02704% 91.34679%, 30.6596% 90.44449%, 27.5% 88.97114%, 24.64425% 86.97152%, 22.17911% 84.50639%, 20.17949% 81.65064%, 7.67949% 60%, 6.20615% 56.8404%, 5.30384% 53.47296%, 5% 50%, 5.30384% 46.52704%, 6.20615% 43.1596%, 7.67949% 40%, 20.17949% 18.34936%, 22.17911% 15.49361%, 24.64425% 13.02848%, 27.5% 11.02886%, 30.6596% 9.55551%, 34.02704% 8.65321%, 37.5% 8.34936%, 62.5% 8.34936%, 65.97296% 8.65321%, 69.3404% 9.55551%, 72.5% 11.02886%, 75.35575% 13.02848%, 77.82089% 15.49361%, 79.82051% 18.34936%);
}

.poligon img {
    position: absolute;
}

.grid_2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 5%;
}

.d-flex {
    display: flex;
}

.bg-white {
    background-color: #fff;
}

.bg-blue {
    background-color: #EFF2F2;
}

.br {
    border-radius: 1em;
}

.bs {
    box-shadow: 0 0 10px rgba(0, 0, 0, .15);
}

.pY {
    padding-top: 3em;
    padding-bottom: 3em;
}

.mB {
    margin-bottom: 3em;
}

.mb-1 {
    margin-bottom: 2em;
}

.mt-1 {
    margin-top: 1em;
}

.page_title {
    margin-bottom: 2em;
}

.stocks-box {
    margin: 5em auto;
    padding: 2em 3em;
}

.stocks-grid {
    display: grid;
    row-gap: 2em;
}

.stocks-cell {
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 2em;
}

.stock-count {
    font-size: 3em;
    line-height: 0.75em;
}

.stocks-cell p {
    margin: 0;
}

.stocks-title {
    text-align: center;
    text-transform: uppercase;
}

.contact_grid {
    display: grid;
    grid-template-columns: 1.4fr 0.6fr;
    column-gap: 20px;
}

/*============= SECTION PROMO ==============*/
.promo {
    background-color: #fff;
    border-radius: 10px;
    padding: 3em;
    margin-top: 3em;
    margin-bottom: 3em;
    box-shadow: 0px 0px 20px rgba(151, 134, 129, 0.15);
    position: relative;
    z-index: 1;
}

.promo .promo-title {
    margin-top: 0;
    text-align: left;
    margin-bottom: 2em;
    padding-bottom: 0;
}

.promo_grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 100px;
    justify-content: center;
    padding: 0 2em;
    max-width: 85%;
    margin: 0 auto;
}

.promo_cell {
    display: grid;
    justify-items: center;
    position: relative;
}

.promo_cell h2 {
    margin-top: 0.5em;
    margin-bottom: 0;
}

.promo_cell:not(:last-child)::after {
    content: '';
    display: block;
    position: absolute;
    right: -50px;
    top: 0;
    height: 90%;
    width: 6px;
    background-color: #017677;
    border-radius: 6px;
    opacity: 0.15;
}

.promo_icon {
    max-height: 80px;
}

.promo_text {
    display: grid;
    /* grid-template-rows: 1fr auto; */
    color: #000;
    text-align: center;
}

.promo_text h3 {
    text-align: center;
    margin: 0;
}

.promo_text p {
    margin-bottom: 0;
    color: #909090;
}

.promo_icon img {
    height: 100%;
    width: 100%;
    object-fit: contain;
}

.grid-har {
    display: grid;
    grid-template-columns: 360px 1fr;
    column-gap: 3em;
}

.har-img img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.record-for-service {
    margin: 2em 0;
}

.record-for-service h2 {
    padding-bottom: 0;
}

.record-for-service-grid {
    display: grid;
    grid-template-columns: 1fr 460px;
    column-gap: 2em;
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.record-for-service-grid img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    line-height: 0;
    border-radius: 1em 0 0 1em;
}

.record-for-service-grid h3 {
    text-align: center;
}

.record-for-service-grid form input {
    width: auto;
    padding: 10px 10px 10px 15px;
}

.cell-order-grid {
    display: flex;
    align-items: center;
}

/*===================== MODAL ========================*/
.modal-promo,
.modal {
    position: fixed;
    z-index: 10000;
    top: 0;
    left: 0;
    visibility: hidden;
    width: 100%;
    height: 100%;
}

.modal-promo.is-visible,
.modal.is-visible {
    visibility: visible;
}

.no-scroll {
    overflow: hidden;
}

.modal-overlay,
.modal-faq {
    position: fixed;
    z-index: 9000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s ease 0.3s, opacity 0.3s ease;
}

.modal-overlay {
    background: hsla(0, 0%, 0%, 0.5);
}

.modal-promo.is-visible .modal-overlay,
.modal.is-visible .modal-overlay,
.modal.is-visible .modal-faq {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.modal.is-visible .modal-faq {
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

.modal-wrapper {
    position: absolute;
    z-index: 10000;
    padding: 26px 32px;
    max-width: 600px;
    max-height: 600px;
    height: fit-content;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: var(--radius);
    overflow: hidden;
}

.modal-promo-wrapper {
    position: absolute;
    z-index: 10000;
    margin: auto;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 500px;
    max-width: 900px;
    background-color: #fff;
    box-shadow: 0 0 1.5em hsla(0, 0%, 0%, 0.35);
    border-radius: 10px;
    overflow: hidden;
}

.modal-promo-body {
    display: grid;
    grid-template-columns: 1fr 250px;
    height: 100%;
}

.modal-transition {
    transition: visibility 0.3s 0.12s, opacity 0.3s 0.12s, transform 0.3s 0.12s;
    transform: translateY(-10%);
    opacity: 0;
}

.modal-promo.is-visible .modal-transition,
.modal.is-visible .modal-transition {
    transform: translateY(0);
    opacity: 1;
}

.modal-content .privacy {
    /* margin-top: 1rem; */
}

.modal-content .input_box {
    display: flex;
    gap: 14px;
}

.modal-content .input_box input {
    width: 100%;
}

.modal-title {
    font-family: var(--ff);
    margin-bottom: 32px;
    color: var(--green-deep);
}

.modal-title h3 {
    font-size: 26px;
}

.modal-title p {
    font-size: 16px;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    background: none;
    border: 0;
}

.modal-close:hover {
    color: #777;
}

.order_form {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}

/* ===== Блок согласия с политикой конфиденциальности ===== */
.privacy {
    width: 100%;
}

.privacy.small {
    font-size: 0.875rem;
}

/* Label = зона клика + позиционный контекст */
.privacy>label {
    position: relative;
    padding-left: 24px;
    cursor: pointer;
    user-select: none;
    color: var(--text-gray);
    line-height: 1.5;
    font-family: var(--ff, inherit);
    transition: color 0.2s ease;
}

/* ===== Прячем нативный input, но оставляем доступным ===== */
.privacy input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    margin: 0;
    pointer-events: none;
}

/* ===== Квадратик рисуем у label через ::before ===== */
.privacy>label::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    width: 16px;
    height: 16px;
    border: 1.5px solid var(--green-dark);
    border-radius: 6px;
    background-color: var(--white);
    box-sizing: border-box;
    transition: background-color 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

/* Hover — подсветка */
.privacy>label:hover::before {
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-soft);
}

/* Отмечен — заливка + белая галочка */
.privacy input[type="checkbox"]:checked+*,
.privacy input[type="checkbox"]:checked~* {
    /* это на случай, если понадобится стилизовать текст — пока не нужно */
}

.privacy input[type="checkbox"]:checked~label::before,
.privacy>label:has(input[type="checkbox"]:checked)::before {
    background-color: var(--green);
    border-color: var(--green);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>");
    background-size: 14px 14px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Фокус для клавиатуры */
.privacy input[type="checkbox"]:focus-visible~label::before,
.privacy>label:has(input[type="checkbox"]:focus-visible)::before {
    box-shadow: 0 0 0 3px rgba(1, 118, 103, 0.25);
    border-color: var(--green);
}

/* Нажатие */
.privacy>label:active::before {
    transform: scale(0.94);
}

/* ===== Ошибка ===== */
.privacy.error>label {
    color: var(--terracotta);
}

.privacy.error>label::before {
    border-color: var(--terracotta);
    background-color: var(--peach-light);
}

/* ===== Ссылка на политику ===== */
.privacy a {
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--green);
    transition: color 0.2s ease, border-color 0.2s ease;
    padding-bottom: 1px;
    position: relative;
    z-index: 1;
}

.privacy a:hover {
    color: var(--green-dark);
    border-bottom-color: var(--green-dark);
    border-bottom-style: solid;
}

.showcase-card-cta .privacy {
    margin: 0;
}

.green-form .privacy label,
.green-form .privacy a {
    color: #fff;
}

.green-form .privacy a:hover {
    color: var(--grey);
    border-bottom-color: var(--grey);
    border-bottom-style: solid;
}

.showcase-card-cta .order_form input,
.showcase-card-cta .order_form button {
    width: 100%;
}

.showcase-card-cta .order_form .input_box {
    display: flex;
    flex-direction: column;
    row-gap: 6px;
}

.promo-content-wrapper .modal-close {
    padding: 5px 10px;
}

.promo-content {
    padding: 20px 10px 10px 10px;
}

.promo-image-wrapper {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 10px 20px;
    text-align: center;
}

.promo-text-image {
    font-size: 36px;
    display: inline;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.modal-promo-title {
    margin-top: 0;
    color: rgb(36, 38, 63);
    font-weight: bold;
}

.promo-form .privacy a {
    text-decoration: underline;
    text-transform: uppercase;
}

.promo-timer {
    margin-bottom: 10px;
}

.promo-timer-title {
    text-align: center;
    font-size: 14px;
    margin-bottom: 5px;
}

.promo-text-image span {
    padding: 0 10px;
}

.counter-clock {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.counter-block {
    position: absolute;
    /* width: 58px;
    height: 46.5px; */
    width: 50px;
    height: 44px;
    border-radius: 4.5px;
    background-color: rgb(36, 38, 63);
}

.counter-number {
    position: relative;
    height: 40px;
    width: 50px;
    color: rgb(255, 255, 255);
    padding: 7.5px 2px 0 1.5px;
    word-wrap: normal;
    font-family: var(--ff);
    font-size: 22px;
    text-align: center;
}

@keyframes blink {
    to {
        opacity: 0
    }
}

.counter-dz {
    float: left;
    height: 21px;
    width: 5px;
    /* margin: 16px 6px 0 2px; */
    visibility: visible;
    -webkit-animation: blink 1s linear infinite;
    animation: blink 1s linear infinite
}

.counter-dz-block {
    width: 5px;
    height: 5px;
    border-radius: 3px;
    margin: 0 0 0 2px;
    background-color: rgb(36, 38, 63);
}

.counter-dz-block:first-child {
    margin-bottom: 9px;
}

.counter-name {
    text-align: center;
}

.modal-promo-body .order_form {
    row-gap: 7px;
}
.modal-promo-body form .input_box {
    display: flex;
    flex-direction: column;
    row-gap: 5px;
}
.modal-promo-body form input {
    padding: 10px 16px;
    width: 100%;
}

.modal-promo-body .btn {
    padding: 10px 28px;
}

@media (max-width: 780px) {
    .counter-clock {
        min-width: 180px;
    }
}

/*===================== END MODAL ==============*/
.form-input,
form textarea,
form input {
    /* box-sizing: border-box;
    width: 100%;
    height: auto;
	padding: 10px 75px 10px 15px;
    border: 1px solid #e3e7ef;
    background-color: #fff;
    outline: none;
    transition: all .3s ease;
    box-shadow: none;
    border-radius: 12px; */

    /* width: 100%; */
    padding: 13px 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    transition: .15s;
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    box-sizing: border-box;
}

form input:focus {
    outline: none;
    border-color: var(--teal-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(18, 138, 140, .12);
}

form textarea::placeholder,
form input::placeholder {
    opacity: 1;
    transition: opacity .2s ease-in-out;
}

/* form textarea:focus::placeholder,
form input:focus::placeholder{
    opacity: 0;
} */
.order_fast {}

.order_fast .d-flex {
    width: 100%;
    column-gap: 16px;
    justify-content: flex-end;
}

.order_fast .d-flex .input_box {
    flex-grow: 1;
}

.order_fast .d-flex .input_box input {
    width: 100%;
}

.order_fast .privacy {
    margin-top: 3%;
    width: 100%;
}

.order_fast button {
    flex-grow: 1;
}

/* .order_fast > .input_box {
    margin-right: 5%;
} */
/*======================= QUIZ ========================*/
.quiz-section {
    border-radius: 15px;
    width: 70%;
    margin: 0 auto;
    /* box-shadow: 0 0 3px #dadada;
    background: #fff;
    padding: 1.5em; */
}

.quiz-wrapper {
    padding: 2em 0;
}

.quiz-section .h2 {
    text-align: center;
    padding-bottom: 1em;
}

.question-box {
    display: none;
    opacity: 0;
    transition: opacity .3s ease-in-out;
}

.question-box.active {
    display: block;
    opacity: 1;
}

.answers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 1em;
    column-gap: 1em;
    margin-top: 1.5em;
}

.form-radio {
    width: 1.25em;
    height: 1.25em;
    margin-right: 1em;
}

.quiz-actions-box {
    margin-top: 2em;
    display: flex;
    justify-content: space-between;
}

.btn_outline_green {
    border: 1px solid rgb(1, 118, 103);
    color: rgb(1, 118, 103);
    transition: all .1s ease-in-out;
}

.btn_outline_green:hover {
    background: linear-gradient(135deg, rgba(1, 118, 103, 1) 0%, rgb(1, 168, 146) 100%);
    color: #fff;
}

.quiz-control {
    font-size: 1.5em;
}

.progress {
    border-radius: 30px;
    background-color: rgb(230, 230, 230);
    overflow: hidden;
    margin-bottom: 1em;
    display: flex;
    position: relative;
}

.progress-info {
    display: block;
    position: absolute;
    left: 50%;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 30px;
    background-color: rgb(230, 230, 230);
    transform: translateY(1px);
}

.progress-bar {
    height: 19px;
    border: 1px solid rgb(1, 118, 103);
    background-color: rgb(1, 118, 103);
}

.quiz-form .privacy {
    margin-top: 1em;
    margin-bottom: 1em;
    flex-direction: row;
    justify-content: flex-start;
}

.quiz-form .input_box {
    display: flex;
}

.quiz-form .input_box input[name="name"] {
    margin-right: 10px;
}

.quiz-form .btn-quiz-order {
    font-size: 1.5em;
}

.other-title {
    color: #C43442;
}

.other-subtitle {
    border-radius: 30px;
    background-color: #C43442;
    color: #fff;
    padding: 5px 10px;
}

.quiz-form .btn-area {
    margin-top: 1em;
    display: flex;
    justify-content: center;
}

/*======================= END QUIZ ========================*/

.upbtn {
    z-index: 99999999;
    width: 40px;
    height: 40px;
    position: fixed;
    bottom: 85px;
    left: -50px;
    cursor: pointer;
    border: 2px solid rgb(60, 58, 73);
    border-radius: 50%;
    background-color: #fff;
    color: rgb(60, 58, 73);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    transition: all .2s ease-in-out;
}

.whatsapp-button {
    position: fixed;
    right: 13px;
    bottom: 10px;
    transform: translate(-50%, -50%);
    background: #25D366;
    /*цвет кнопки*/
    border-radius: 50%;
    width: 55px;
    /*ширина кнопки*/
    height: 55px;
    /*высота кнопки*/
    color: #fff;
    text-align: center;
    line-height: 53px;
    /*центровка иконки в кнопке*/
    font-size: 35px;
    /*размер иконки*/
    z-index: 9999;
}

.whatsapp-button a {
    color: #fff;
}

.whatsapp-button:before,
.whatsapp-button:after {
    content: " ";
    display: block;
    position: absolute;
    border: 50%;
    border: 1px solid #25D366;
    /*цвет анимированных волн от кнопки*/
    left: -20px;
    right: -20px;
    top: -20px;
    bottom: -20px;
    border-radius: 50%;
    animation: animate 1.5s linear infinite;
    opacity: 0;
    backface-visibility: hidden;
}

.whatsapp-button:after {
    animation-delay: .5s;
}

@keyframes animate {
    0% {
        transform: scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.contacts_list>div {
    padding: 5px 0;
}

/*================ SPECIALISTS ==================*/
.doctors_list {
    display: grid;
    grid-template-columns: repeat(auto-fit, 320px);
    column-gap: 2rem;
    row-gap: 2rem;
}

.spec-block {
    height: 100%;
}

.doctor_box {
    display: grid;
    grid-template-rows: auto 1fr auto;
    border-left: 1px solid #e3e7ef;
    border-right: 1px solid #e3e7ef;
    height: 100%;
    border-radius: 0.5em;
    overflow: hidden;
}

.swiper-slide {
    height: auto;
}

.doctor_box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.box-body {
    display: grid;
    grid-template-rows: auto auto 1fr;
}

.box-footer,
.box-body {
    padding: 0 10px 10px 10px;
}

.box-body .card-title {
    color: #000;
    padding-bottom: 0;
    text-align: start;
}

.box-footer .btn {
    display: block;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.doctor-education {
    color: rgb(89, 89, 89);
}

.doctor-education ul {
    list-style: inherit;
    margin-block-start: 1em;
    margin-block-end: 1em;
    padding-inline-start: 40px;
}

.doctor-position {
    font-weight: bold;
    margin-top: 0;
}

.specialist-wrapper {
    display: grid;
    grid-template-columns: 340px 1fr;
    column-gap: 2rem;
}

.specialist-reviews {
    margin-top: 1rem;
    display: flex;
}

.specialist-reviews .btn {
    width: 100%;
    text-align: center;
}

.specialist-foto {
    border: 1px solid #e3e7ef;
    padding: 5px;
    height: fit-content;
}

.specialist-foto img {
    width: 100%;
    height: auto;
}

.certificates_gallery {
    margin-top: 2rem;
}

.certificates-gallery-wrapper {
    display: flex;
    flex-wrap: wrap;
}

.gall-item {
    margin-right: 1rem;
    margin-bottom: 1rem;
}

.all-spec {
    margin: 2rem auto 0 auto;
}

.service_line a {
    color: red;
}

.tooltip {
    cursor: help;
}

.tooltip::after {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 8px 8px 8px 0px;
    box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
    color: #FFF;
    content: attr(data-tooltip);
    /* Главная часть кода, определяющая содержимое всплывающей подсказки */
    margin-top: -30px;
    /* margin-left: -24px; */
    opacity: 0;
    /* Наш элемент прозрачен... */
    padding: 3px 7px;
    position: absolute;
    visibility: hidden;
    /* ...и скрыт. */

    transition: all 0.4s ease-in-out;
    /* Добавить плавности по вкусу */
}

.tooltip:hover::after {
    opacity: 1;
    /* Показываем его */
    visibility: visible;
}

.error-btn {
    /* border: 1px solid #C43442; */
    background: #C43442;
}

/*=================== PRICE PAGE ========================*/
/* .page-price-header {
    display: grid;

} */
.price-table {}

.price-table-head {
    margin-top: 30px;
    padding-top: 15px;
    margin-bottom: 20px;
}

.price-table-body {}

.price-item {
    display: grid;
    grid-template-columns: 1fr auto;
    background: #E9E3DAB2;
    border-radius: 10px;
    margin-bottom: 7px;
    padding: 10px;
}

.promo-date-box {
    display: flex;
    column-gap: 15px;
}

/*=================== 404 ========================*/
.not-found .error-links p>a {
    font-size: inherit;
}

.not-found .error-links p {
    margin: 1.5em;
}

.promo-block {
    background-size: cover;
    background-repeat: no-repeat;
}

/*=================== MEDIA ========================*/
.advantages h2 {
    margin-top: 0;
    text-align: center;
    margin-bottom: 2em;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 1em;
    row-gap: 1em;
    justify-items: center;
}

.advantag-cell {
    max-width: 320px;
    width: 100%;
}

.advantag-cell-title {
    border-radius: 10px;
    background-color: #EFF2F2;
    margin-bottom: 1em;
    padding: 1em;
    text-transform: uppercase;
}

.advantag-cell-desc {
    padding-left: 1em;
    padding-right: 1em;
}

/* WIDGET Messengers */
.callback-widget {
    position: fixed;
    bottom: 65px;
    right: 30px;
    width: 64px;
    height: 64px;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
}

.callback-widget-item.vk-icon {
    background-image: url(./images/widget/vk.webp);
}

.callback-widget-item.tg-icon {
    background-image: url(./images/widget/telegram.webp);
}

.callback-widget-item.max-icon {
    background-image: url(./images/widget/max.webp);
}

.callback-widget-item.wh-icon {
    background-image: url(./images/widget/whatsapp.webp);
}

.callback-widget-item {
    position: absolute;
    visibility: hidden;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 48px;
    height: 48px;
    z-index: 90;
    transform: translateY(0);
    transition: all .2s ease-in-out;
}

.callback-widget.open .callback-widget-item {
    visibility: visible;
}

.callback-widget.open .item1 {
    transform: translateY(-110%);
}

.callback-widget.open .item2 {
    transform: translateY(-220%);
}

.callback-widget.open .item3 {
    transform: translateY(-330%);
}

.callback-widget.open .item4 {
    transform: translateY(-440%);
}

.callback-widget-item a {
    display: block;
    width: 100%;
    height: 100%;
}

.callback-widget-btn {
    width: 100%;
    height: 100%;
    background-image: url(./images/widget/chat.png), linear-gradient(#F3B6A3, #F3B6A3);
    background-size: 42px auto;
    background-repeat: no-repeat, repeat;
    background-position: center;
    border-radius: 50%;
    position: absolute;
    cursor: pointer;
    transition: all .2s ease-in-out;
    z-index: 100;
}

.callback-widget.open .callback-widget-btn {
    background-image: url(./images/widget/close.webp);
}

/* END WIDGET Messengers */

/* GLARE */
.glare-button {
    position: relative;
    overflow: hidden;
}

.glare-button:before {
    content: "";
    position: absolute;
    width: 100px;
    height: 100%;
    background-image: linear-gradient(120deg,
            rgba(255, 255, 255, 0) 30%,
            /* Прозрачность начала блика */
            rgba(255, 255, 255, 0.8),
            /* Цвет блика */
            rgba(255, 255, 255, 0) 70%
            /* Прозрачность конца блика */
        );
    top: 0;
    left: -100px;
    animation: shine 3s infinite linear;
}

@keyframes shine {
    0% {
        left: -100px;
        /* Начальная позиция блика (левая сторона кнопки) */
    }

    20% {
        left: 100%;
        /* Позиция блика в конце (правая сторона кнопки) */
    }

    100% {
        left: 100%;
        /* Завершение анимации */
    }
}

/* END GLARE */
.sales-price {
    padding-right: 5px;
    line-height: 1;
}

.old-price {
    text-decoration: line-through;
    /* color: rgb(197, 69, 69); */
    color: rgb(151, 151, 151);
    font-weight: 700;
}
.about-service-center .old-price {
    font-size: 24px;
}
.sales-service .old-price {
    font-size: inherit;
}

/*----------- CALCULATION ------------------*/
.calc-grid {
    display: grid;
    grid-template-columns: 400px 1fr 400px;
    column-gap: 1em;
    padding-bottom: 64px;
}

.calc-total-wrapper,
.calc-cats-wrapper,
.calc-view-wrapper {
    padding: 1em;
    background-color: #fff;
    border-radius: 1em;
    box-shadow: 0 2px 10px rgba(221, 221, 221, .5);
    position: relative;
}

.calc-view-wrapper {
    display: grid;
    height: fit-content;
    /* display: flex;
    justify-content: center;
    flex-direction: column; */
}

.img-dots-wrapper {
    margin: 0 auto;
    position: relative;
    height: fit-content;
}

.dots-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
    justify-items: center;
}

.dot-zone {
    /* position: absolute;
    z-index: 10; */
    width: 20px;
    height: 20px;
    border: 2px solid red;
    border-radius: 50%;
    position: relative;
}

.pulse {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

@keyframes pulse {
    0% {
        transform: scale(0);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

.dot-zone.pulse:before,
.dot-zone.pulse:after {
    content: "";
    position: absolute;
    background: red;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.dot-zone.pulse:before {
    animation: pulse 3s infinite ease-out;
}

.dot-zone.pulse:after {
    opacity: 0;
    animation: pulse 3s 1.5s infinite ease-out;
}

.dot-zone:hover {
    cursor: pointer;
}

.dot-zone.head-dot {
    grid-column: 2;
    margin-top: 20px;
    /* grid-row: 1; */
}

.dot-zone.spine-dot {
    grid-column: 2;
    grid-row: 2;
    transform: translateY(-20px);
}

.dot-zone.organs-dot-0 {
    grid-column: 2;
    grid-row: 2;
    align-self: flex-end;
}

.dot-zone.organs-dot-1 {
    grid-column: 2;
    grid-row: 3;
    margin-top: 20px;
}

.dot-zone.joints-dot-0 {
    grid-column: 1;
    grid-row: 2;
    margin-left: 50px;
    transform: translateY(-10px);
}

.dot-zone.joints-dot-1 {
    grid-column: 3;
    grid-row: 2;
    margin-right: 50px;
    transform: translateY(-10px);
}

.dot-zone.joints-dot-2 {
    grid-column: 1;
    grid-row: 3;
    margin-left: 30px;
    transform: translateY(-50px);
}

.dot-zone.joints-dot-3 {
    grid-column: 3;
    grid-row: 3;
    margin-right: 30px;
    transform: translateY(-50px);
}

.dot-zone.joints-dot-4 {
    grid-column: 1;
    grid-row: 3;
    align-self: center;
}

.dot-zone.joints-dot-5 {
    grid-column: 3;
    grid-row: 3;
    align-self: center;
}

.dot-zone.joints-dot-6 {
    grid-column: 2;
    grid-row: 4;
    align-self: center;
    justify-self: flex-start;
}

.dot-zone.joints-dot-7 {
    grid-column: 2;
    grid-row: 4;
    align-self: center;
    justify-self: flex-end;
}

.dot-zone.joints-dot-8 {
    grid-column: 2;
    grid-row: 5;
    justify-self: flex-start;
    align-self: center;
}

.dot-zone.joints-dot-9 {
    grid-column: 2;
    grid-row: 5;
    justify-self: flex-end;
    align-self: center;
}

.dot-zone.tkani-dot-0 {
    grid-column: 2;
    grid-row: 2;
    transform: translateX(-25px) translateY(15px);
}

.dot-zone.tkani-dot-1 {
    grid-column: 2;
    grid-row: 2;
    transform: translateX(25px) translateY(15px);
}

.dot-tooltip {
    position: absolute;
    display: block;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 5px;
    background-color: #fff;
    border: 1px solid #017667;
    border-radius: 3px;
    left: 15px;
    top: -22px;
}

.joints-dot-0 .dot-tooltip,
.joints-dot-2 .dot-tooltip,
.joints-dot-4 .dot-tooltip,
.joints-dot-6 .dot-tooltip,
.joints-dot-8 .dot-tooltip {
    left: auto;
    right: 13px;
}

.head-dot-0 .dot-tooltip,
.spine-dot-0 .dot-tooltip,
.organs-dot-0 .dot-tooltip,
.organs-dot-1 .dot-tooltip {
    transform: translateX(-60%);
}

.tkani-dot .dot-tooltip {
    left: 0;
    top: 28px;
}

.tkani-dot.tkani-dot-0 .dot-tooltip {
    left: -10px;
    width: 80px;
    text-align: center;
}

.tkani-dot.tkani-dot-1 .dot-tooltip {
    left: 0;
    display: none;
}

.calc-tabs-panel {
    display: flex;
    column-gap: 1em;
    row-gap: 1em;
    flex-wrap: wrap;
    padding-bottom: 1em;
    border-bottom: 2px solid rgba(192, 192, 192, .5);
}

.calc-tab {
    padding: 7px 10px;
    border-radius: 30px;
    border: 1px solid silver;
}

.calc-tab.selected,
.calc-tab:hover {
    cursor: pointer;
    background-color: #017677;
    color: #fff;
}

.calc-service-list {
    margin-top: 1em;
}

.calc-service-list .list-items {
    display: grid;
    row-gap: 0.5em;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 1em;
    padding-bottom: 0.5em;
    border-bottom: 1px solid rgb(230, 228, 228);
}

.service-item *:hover {
    cursor: pointer;
}

.service-item label {
    position: relative;
    padding-left: 28px;
    display: flex;
    align-items: center;
}

.service-item label::before {
    content: '';
    position: absolute;
    left: 0px;
    width: 16px;
    height: 16px;
    border-radius: 3px;
    border: 1px solid #017667;
}

.service-item label::after {
    content: '✔';
    position: absolute;
    left: 2px;
    display: none;
}

.calc-total-title {
    font-size: 1.5em;
    color: #000;
    margin-bottom: 1em;
    padding-bottom: 1em;
    border-bottom: 2px solid rgba(1, 118, 103, .5);
}

.choose-service {
    position: absolute;
    width: 0;
    height: 0;
}

.service-item .choose-service:checked+label::after {
    display: block;
}

.total {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    font-size: 2em;
    font-weight: 600;
    text-align: right;
}

.calc-default-text {
    font-size: 1.25em;
    color: #909090;
    text-align: center;
}

.calc-view-title {
    font-size: 1.25em;
    color: #686868;
    text-align: center;
    margin-bottom: 1em;
}

.form-order .input_box {
    margin-bottom: 0.5em;
}

.form-order .btn-action {
    background-color: #017677;
    border-radius: 10px;
    color: #fff;
    padding: 10px;
    width: 100%;
}

.form-order .btn-action:hover {
    opacity: 0.8;
}

.privacy-box {
    margin-top: 1em;
}

.privacy-box .privacy-checker {
    position: absolute;
    width: 0;
    height: 0;
}

.privacy-box label {
    font-size: 12px;
    position: relative;
    padding-left: 28px;
    display: grid;
    align-items: center;
}

.privacy-box label:hover {
    cursor: pointer;
}

.privacy-box label::before {
    content: '';
    position: absolute;
    left: 0px;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid #017667;
}

.privacy-box label::after {
    content: '✔';
    position: absolute;
    left: 3px;
    display: none;
}

.privacy-box label a {
    color: #336CC9;
    font-size: 12px;
}

.privacy-box .privacy-checker:checked+label::after {
    display: block;
}

.form-order .btn-action.procecced {
    opacity: .5;
    cursor: wait;
}

.calc-fixed-total {
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 375px;
    background-color: #fff;
    border: 2px solid rgba(1, 118, 119, .5);
    border-radius: 10px;
    font-size: 1em;
    padding: 10px;
    display: flex;
    justify-content: flex-end;
    margin: 0 auto;
}

.fixed-total-count {
    margin-left: 1em;
    margin-right: 0.25em;
}

/*============= GALLERY PAGE ===============*/
.apparat-gallery-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    column-gap: 2em;
}

.page-description {
    color: var(--green-dark);
}

.main-apparat {
    border-radius: 1em;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(153, 153, 153, 0.7);
}

.main-apparat a {
    display: flex;
    height: 100%;
    position: relative;
}

.main-apparat a::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
    background: url(./images/lupa.svg)no-repeat center;
    background-size: contain;
}

.main-apparat a img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.photo-apparat-desc {
    background-color: rgba(1, 74, 64, 0.8);
    color: #fff;
    position: absolute;
    width: 100%;
    padding: 1em;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
}

.apparat-desc-title {
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.apparat-desc-subtitle {
    font-size: 0.85em;
}

.second-apparat {
    display: grid;
    row-gap: 2em;
}

.second-apparat-img {
    border-radius: 1em;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 10px rgba(153, 153, 153, 0.7);
}

.second-apparat-img a {
    display: flex;
    position: relative;
}

.second-apparat-img a::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
    background: url(./images/lupa.svg)no-repeat center;
    background-size: contain;
}

.second-apparat-img a img {
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 1.2 / 1;
}

.photos-group-tabs {
    display: flex;
    column-gap: 1em;
    margin-top: 2em;
    padding-bottom: 0.5em;
    margin-bottom: 1em;
    border-bottom: 2px solid rgba(25, 160, 146, 0.3);
}

.btn-tab {
    background-color: transparent;
    border-radius: 10px;
    color: var(--green-deep);
    padding: 10px 1em;
}

.btn-tab.active {
    background-color: var(--green-dark);
    color: #fff;
}

.photos-group-tabs-content {
    margin-top: 1em;
    margin-bottom: 0.5em;
}

.photos-grid {
    display: none;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 1em;
    row-gap: 1em;
}

.photos-grid.show {
    display: grid;
}

.photo-box {
    border-radius: 1em;
    overflow: hidden;
    box-shadow: 0 2px 7px rgba(190, 190, 190, 0.5);
}

.photo-box a {
    display: flex;
    position: relative;
}

.photo-box a::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    right: 10px;
    top: 10px;
    background: url(./images/lupa.svg)no-repeat center;
    background-size: contain;
}

.photo-box img {
    width: 100%;
    height: auto;
    aspect-ratio: 1.3 / 1;
    object-fit: cover;
}

.photo-box-desc {
    background-color: #fff;
    text-align: center;
    padding: 1em;
    height: 100%;
    font-size: 0.85em;
    color: var(--green-deep);
    box-sizing: border-box;
}

.page-form {
    margin: var(--default-padding) 0;
    border-radius: 1em;
    background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
    color: #fff;
    padding: 3em 2em;
    text-align: center;
}

.page-form-title {
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 0.5em;
}

.page-form-subtitle {
    font-size: 1.25em;
    margin-bottom: 1.5em;
}

.btn-form-action {
    border-radius: 50px;
    background-color: #fff;
    color: #19A093;
    padding: 10px 2em;
    font-weight: 600;
}

.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.slider-nav .slider-control svg {
  display: none;
}

.slider-nav .slider-control {
    position: relative;
    margin: 0;
    top: auto;
    bottom: auto;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--green-dark);
    padding: 6px;
    box-sizing: border-box;
    box-shadow: var(--shadow-hover);
}

.slider-nav .slider-control img {
    filter: invert(1);
    width: 100%;
    height: auto;
    object-fit: contain;
}
.slider-nav .swiper-pagination {
    position: relative;
    margin: 0;
    top: auto;
    bottom: auto;
}
.swiper-pagination-bullet-active {
    background: var(--green-hover);
}


.top-section {
    padding-top: 32px;
}
.top-section h1 {
    margin-top: 0;
}
@media (min-width: 600px) {
    .modal-wrapper {
        /* top: 6em;
        margin-left: -300px; */
    }
}

@media (max-width: 1400px) {
    /* .wrapper {
        margin-left: 10px;
        margin-right: 10px;
    } */
}

/* @media (max-width: 1024px) {
    h1, .h1 {
        font-size: calc((100vw / 30) * 1);
    }
    h2, .h2 {
        font-size: calc((100vw / 35) * 1);
    }
    h3, .h3 {
        font-size: calc((100vw / 42) * 1);
    }
    h4, .h4 {
        font-size: calc((100vw / 53) * 1.5);
    }
    .h5 {
        font-size: calc((100vw / 73) * 1.5);
    }
    .btn, li, a, p, .p {
        font-size: calc((100vw / 80) * 1.5);
    }
	.small {
		font-size: calc((100vw / 100) * 1.5);
	}
} */
@media (max-width: 780px) {
    :root {
        --default-padding: 32px;
    }

    .order_form .input_box {
        flex-direction: column;
    }

    .btn.btn-form-action {
        padding: 10px 25px;
        font-size: 1em;
    }

    .page-form-title {
        font-size: 1.35em;
    }

    .page-form-subtitle {
        font-size: 1em;
    }

    .page-form {
        padding: 1em;
    }

    .photos-grid {
        grid-template-columns: 1fr 1fr;
    }

    .apparat-gallery-grid {
        grid-template-columns: none;
        row-gap: 1em;
    }

    .second-apparat {
        grid-template-columns: 1fr 1fr;
        column-gap: 1em;
    }

    .second-apparat-img a img {
        aspect-ratio: 1 / 1.4;
    }

    .calc-grid {
        grid-template-columns: none;
        row-gap: 1em;
    }

    .section {
        padding-top: 1em;
        padding-bottom: 1em;
    }

    .promo_cell:not(:last-child)::after {
        display: none;
    }

    .advantages-grid {
        grid-template-columns: none;
        row-gap: 1em;
    }

    .advantages h2 {
        margin-bottom: 1em;
    }

    .equipment-grid {
        grid-template-columns: none;
    }

    /* .equipment {
        padding: 10px;
        margin: 1em auto;
    }
    .equipment-grid {
        grid-template-columns: none;
    }
    .equipment-img-cell {
        position: absolute;
        z-index: 0;
    }
    .equipment-cell-text {
        position: relative;
        z-index: 5;
    }
    .equipment-img-cell img {
        opacity: .25;
        width: 100%;
        height: auto;
    } */
    .stocks-box {
        padding: 1em;
    }

    .record-for-service-grid {
        overflow: hidden;
        display: block;
    }

    .record-for-service-grid form input[type="tel"] {
        width: 100%;
    }

    .record-for-service-grid img {
        border-radius: 1em 1em 0 0;
        height: auto;
        object-fit: contain;
    }

    .record-for-service-grid .contact_info_box {
        padding-left: 1em;
        padding-right: 1em;
    }

    .promo_text {
        text-align: center;
    }

    .promo_cell {
        grid-template-rows: none;
        row-gap: 0px;
    }

    .promo_icon {
        max-height: 60px;
    }

    .promo_cell:not(:last-child) {
        margin-bottom: 2em;
    }

    .contact_grid,
    .record-for-service-grid,
    .promo_grid,
    .grid-har,
    .doctors_list {
        grid-template-columns: none;
    }

    .specialist-wrapper {
        grid-template-columns: none;
    }

    .certificates-gallery-wrapper {
        justify-content: center;
    }

    h1,
    .h1 {
        /*font-size: calc((100vw / 27.7) * 2);*/
        font-size: 24px;
    }

    h2,
    .h2 {
        /*font-size: calc((100vw / 35.5) * 2);*/
        font-size: 22px;
    }

    h3,
    .h3 {
        /*font-size: calc((100vw / 42.5) * 2);*/
        font-size: 20px;
    }

    h4,
    .h4 {
        /*font-size: calc((100vw / 53.5) * 3);*/
        font-size: 19px;
    }

    .h5 {
        /*font-size: calc((100vw / 73.5) * 3);*/
        font-size: 18px;
    }

    .btn,
    li,
    a,
    p,
    .p {
        /*font-size: calc((100vw / 80) * 3);*/
        font-size: 14px;
    }

    .small {
        /*font-size: calc((100vw / 100) * 3);*/
        font-size: 12px;
    }

    .faq {
        grid-template-columns: none;
    }

    /* .btn {
        padding: 5px 10px;
    } */
    .order_fast>.input_box {
        margin-right: 0;
        margin-bottom: 15px;
    }

    .modal-promo-body {
        grid-template-columns: none;
        height: auto;
    }

    .modal-promo-wrapper {
        max-height: 700px;
        height: auto;
    }

    .promo-image-wrapper {
        align-items: flex-end;
        padding: 10px;
        min-height: 250px;
        /* height: 100%; */
    }

    .promo-text-image {
        padding: 7px;
        font-size: 30px;
        margin: 0;
    }

    .promo-content-wrapper>.modal-close {
        background: #000000a9;
        color: #fff;
        font-weight: bold;
    }

    .promo-content {
        padding: 10px;
    }

    .promo-title {
        font-size: 16px;
    }

    .promo-timer {
        display: flex;
    }

    .promo-timer-title {
        text-align: start;
        font-size: 16px;
    }

    .promo-form .btn {
        font-size: 24px;
    }

    .promo-form .btn.modal-hide {
        display: none;
    }

    .promo-timer .counter-name {
        display: none;
    }

    .promo-form .privacy {
        display: grid;
        grid-template-columns: auto 1fr;
        text-align: start;
        column-gap: 10px;
    }
}

@media (max-width: 480px) {

    .btn,
    li,
    a,
    p,
    .p {
        font-size: 14px;
    }

    .small {
        font-size: 11px;
    }

    .btn-big {
        padding: 15px 55px;
        border-radius: 1.5rem;
        box-shadow: var(--shadow);
        text-transform: uppercase;
    }
}

.benefits {
    padding: var(--default-padding) 0;
}

.benefits-title {
    text-align: center;
    margin-bottom: 48px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.benefit-card {
    background: #EAF5F2;
    padding: 40px 32px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: var(--green);
}

.benefit-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid var(--green);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    font-weight: 700;
}

.benefit-card h3 {
    color: var(--green-deep);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.benefit-card p {
    color: var(--green-dark);
    font-size: 0.95rem;
}