html {
    scroll-behavior: smooth;
}

.form__error {
    border-color: red;
}

textarea {
    resize: none;
    height: 150px;
    overflow: hidden;
}

.xl\:grid-cols-\[2fr_1fr_1fr\] {
    @media (width >=80rem) {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

@media (min-width: 768px) {
    .section-title {
        flex-basis: 60%;
    }
}

#my_answer {
    border-radius: 20px;
    padding: 30px;
}

#my_answer .form_head {
    max-width: 395px;
    margin-bottom: 40px;
}

#my_answer .form_head h2 {
    font-family: Geist;
    font-weight: 500;
    font-size: 32px;
    line-height: 130%;
    letter-spacing: 0%;
}

#my_answer .form_head .form_desc,
#my_answer .form_result .form_desc {
    font-family: Geist;
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    letter-spacing: 0%;
    color: rgba(111, 111, 111, 1);
}

#my_answer .form_body.s33 {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 20px;
}

@media screen and (max-width : 480px) {
    #my_answer .form_body.s33 {
        flex-wrap: wrap;
    }
    #my_answer .input-wrapper {
        width: 100%;
    }
}

#my_answer .form__callback-submit {
    width: 100%;
    margin: 30px 0 20px;
}


/* --- Баннер cookie --- */
#cookie-notification {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #f0f0f0;
    color: #fff;
    padding: 15px;
    text-align: center;
    z-index: 9999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    /* height: 33%; */
}

.cpent {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    height: 100%;
}

.cpp {
    flex: 1;
    text-align: left;
}

.cpp p {
    margin: 0;
    font-size: 16px;
    color: #000;
    padding: 0;
}

.cpp p a {}

.cpp p a:hover {
    border-bottom: 1px solid;

}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

#cookie-accept-all,
#cookie-customize,
#cookie-necessary {
    background: var(--blue-dark);
    color: #fff;
    border: 1px solid var(--blue-dark);
    padding: 10px 25px;
    cursor: pointer;
    font-size: 11px;
    text-transform: uppercase;
    border-radius: 0;
    transition: background 0.3s, color 0.3s;
    font-weight: 600;
    border-radius: 5px;
}

#cookie-accept-all:hover,
#cookie-customize:hover,
#cookie-necessary:hover {
    background: var(--blue-dark);
}

#cookie-necessary {}

#cookie-necessary:hover {}

/* --- Модальное окно --- */
.cookie-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.cookie-modal-content {
    background: #fff;
    color: #333;
    max-width: 600px;
    width: 90%;
    padding: 30px;
    border-radius: 8px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cookie-modal-content h3 {
    margin: 0 0 20px 0;
    font-size: 22px;
    color: var(--blue-dark);
}

.cookie-category {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.cookie-category:last-of-type {
    border-bottom: none;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.cookie-category-name {
    font-weight: 700;
    font-size: 15px;
    color: #222;
}

.cookie-category-badge {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 20px;
}

.cookie-category-badge.always {
    background: #f0f0f0;
    color: var(--blue-dark);
    border: 1px solid var(--blue-dark);
}

.cookie-category-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #555;
    margin: 0 0 5px 0;
}

.cookie-category-services {
    font-size: 12px;
    color: #888;
    margin: 5px 0 0 0;
    font-style: italic;
}

.cookie-modal-actions {
    text-align: center;
    margin-top: 25px;
}

#cookie-save-preferences {
    background: var(--blue-dark);
    color: #fff;
    border: none;
    padding: 12px 40px;
    cursor: pointer;
    font-size: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background 0.3s;
    letter-spacing: 1px;
    font-weight: 600;
}

#cookie-save-preferences:hover {
    background: var(--blue-dark);
}

/* --- Toggle switch --- */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 24px;
}

.slider-switch:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

input:checked+.slider-switch {
    background-color: var(--blue-dark);
}

input:focus+.slider-switch {
    box-shadow: 0 0 1px var(--blue-dark);
}

input:checked+.slider-switch:before {
    transform: translateX(20px);
}

/* --- Адаптив --- */
@media screen and (max-width : 767px) {

    #cookie-accept-all,
    #cookie-customize,
    #cookie-necessary {
        font-size: 12px;
        padding: 8px 18px;
    }

    .cpent {
        flex-direction: column;
    }

    .cpp p {
        text-align: center;
        font-size: 13px;
    }

    .cpp p a {
        font-size: 13px;
    }

    .cookie-buttons {
        justify-content: center;
        width: 100%;
    }

    .cookie-modal-content {
        padding: 20px;
    }
}

.bottom-block-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.bottom-block-info a {
    color: #0a406a;
}

.meta {
    margin: 10px 0 0;
    padding: 0px;
    font-size: 10px;
    color: #b1b1b1;
}

table.ester {
    width: 100%;
    margin: 25px 0;
}

table.ester th {
    border: 1px solid #a3a3a3;
    padding: 5px 15px;
    font-size: 17px;
}

table.ester td {
    border: 1px solid #a3a3a3;
    padding: 5px 15px;
    font-size: 16px;
}




@media screen and (max-width : 992px) {
    table.ester th {
        border: 1px solid #a3a3a3;
        padding: 5px 5px;
        font-size: 11px;
        line-height: 14px;
    }

    table.ester td {
        border: 1px solid #a3a3a3;
        padding: 5px;
        font-size: 10px;
    }

    .bottom-block-info {
        flex-direction: column;
    }
}

.height-content {
    height: fit-content;
}

[data-slider-item]{
    /* transition: opacity 0.5s ease-in-out, visibility 0.5s; */
}

/* Прогресс-бар */
.main-progress-bar {
  width: 100%;
  max-width: 800px;
  margin: 12px auto 0;
  height: 6px;
  background: #e0e0e0;
  border-radius: 3px;
  overflow: hidden;
}
.main-progress-fill {
  height: 100%;
  width: 100%;
  background: #3b82f6;
  transform-origin: left center;
  will-change: transform;
}
.bullet[aria-selected="true"]::after {
  transform: scaleX(var(--progress-scale, 0));
}

.bullet::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #3b82f6; /* цвет прогресс‑бара */
  transform-origin: bottom left; /* рост снизу вверх */
  transform: scaleX(0);      /* изначально 0% */
  transition: transform 0.05s linear; /* очень быстрая подстройка под таймер */
  z-index: 1;
}

.bullet {
  position: relative;
  background-color: #e0e0e0; /* неактивный цвет всей точки */
  border: none;
  cursor: pointer;
  overflow: hidden;          /* обрезает «налив» внутри круга */
  padding: 0;
}

/* SCROLL TO TOP */
a.scroll-to-top{-moz-transition:opacity 0.3s;-ms-transition:opacity 0.3s;-o-transition:opacity 0.3s;-webkit-transition:opacity 0.3s;transition:opacity 0.3s;opacity:0;position:fixed;text-align:center;text-decoration:none;display:block;background:var(--blue-dark) url("../img/scroll.png") no-repeat scroll center 14px;width:44px;height:44px;border-radius:50%;right:75px;left:inherit;bottom:55px;opacity:0;z-index:1040;cursor:pointer;}
a.scroll-to-top.visible{opacity:1;}
a.scroll-to-top.ROUND_WHITE, a.scroll-to-top.RECT_WHITE{background-color:#fff;}
a.scroll-to-top.ROUND_GREY, a.scroll-to-top.RECT_GREY{background-color:#e3e3e3;}
a.scroll-to-top.RECT_COLOR, a.scroll-to-top.RECT_GREY, a.scroll-to-top.RECT_WHITE{border-radius:2px;}
a.scroll-to-top.TOUCH{border-radius:2px 0 0 2px;width:50px;height:50px;right:0;}

a.scroll-to-top.ROUND_COLOR, a.scroll-to-top.RECT_COLOR{background-position:center 14px;}
a.scroll-to-top.ROUND_WHITE, a.scroll-to-top.RECT_WHITE, a.scroll-to-top.ROUND_GREY, a.scroll-to-top.RECT_GREY{background-position:center -70px;}
a.scroll-to-top.RECT_COLOR.TOUCH{background-position:center 17px;}
a.scroll-to-top.RECT_GREY.TOUCH, a.scroll-to-top.RECT_WHITE.TOUCH{background-position:center -67px;}