/*
 * Theme Name: Hello Elementor Child
 * Theme URI: https://github.com/elementor/hello-theme/
 * Description: Hello Elementor Child Theme
 * Author: Your Name
 * Author URI: https://naturaclinic.net.ua
 * Template: hello-elementor
 * Version: 1.0.0
 * Text Domain: hello-elementor-child
 */



/* ============================================
   SERVICES PAGE: sticky left column
   
services-layout       → границы секции, где sticky начинается и заканчивается
services-left-col     → левая колонка, откуда JS берёт left и width
services-sticky-box   → блок, который JS фиксирует при скролле
services-right-col    → правая колонка, просто для структуры

Секция / контейнер
└── services-layout
    ├── левая колонка с контентом
    └── правая колонка
        └── services-sticky-col
            └── элемент
                └── services-sticky-box
          
---------      
Новый скрипт

Главная секция/контейнер: services-sticky-free-layout
Колонка, внутри которой sticky-блок: services-sticky-free-col
Сам sticky-блок: services-sticky-free-box

services-sticky-free-layout
└── любая структура
    └── services-sticky-free-col
        └── services-sticky-free-box
                
   ============================================ */



/* ============================================
   Fluent Forms: certificate amount pills
   Class container: hec-certificate-amount
   ============================================ */


/* По умолчанию перенос скрыт */
.desktop-br {
    display: none;
}

/* Только компьютер */
@media (min-width: 1025px) {
    .desktop-br {
        display: inline;
    }
}

/* По умолчанию скрыт */
.mobile-br {
    display: none;
}

/* Только мобильные */
@media (max-width: 1024px) {
    .mobile-br {
        display: inline;
    }
}


.hec-certificate-amount {
    margin-bottom: 40px !important;
}

/* Контейнер вариантов */
.hec-certificate-amount .ff-el-input--content {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Каждый вариант */
.hec-certificate-amount .ff-el-form-check {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    line-height: 1 !important;
}

/* Прячем стандартный radio полностью */
.hec-certificate-amount input[type="radio"] {
    display: none !important;
}

/* Кнопка */
.hec-certificate-amount .ff-el-form-check label,
.hec-certificate-amount .ff-el-form-check-label {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 32px !important;
    min-height: 32px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    box-sizing: border-box !important;

    border-radius: 999px !important;
    background: #F4F1EC !important;
    color: #222222 !important;

    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    white-space: nowrap !important;

    cursor: pointer !important;
    border: 0 !important;
    box-shadow: none !important;

    transition: background-color 0.2s ease !important;
}

/* Текст внутри label */
.hec-certificate-amount .ff-el-form-check label span,
.hec-certificate-amount .ff-el-form-check-label span {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;

    line-height: 1 !important;
    white-space: nowrap !important;
}

/* Активная кнопка — если input внутри label */
.hec-certificate-amount .ff-el-form-check label:has(input[type="radio"]:checked),
.hec-certificate-amount .ff-el-form-check-label:has(input[type="radio"]:checked) {
    background: #E2E868 !important;
}

/* Активная кнопка — если input перед label */
.hec-certificate-amount input[type="radio"]:checked + label,
.hec-certificate-amount input[type="radio"]:checked + .ff-el-form-check-label {
    background: #E2E868 !important;
}

/* Hover */
.hec-certificate-amount .ff-el-form-check label:hover,
.hec-certificate-amount .ff-el-form-check-label:hover {
    background: #E2E868 !important;
}

/* Mobile */
@media (max-width: 767px) {
    .hec-certificate-amount .ff-el-input--content {
        flex-wrap: wrap !important;
        gap: 10px !important;
    }

    .hec-certificate-amount .ff-el-form-check label,
    .hec-certificate-amount .ff-el-form-check-label {
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 20px !important;
        font-size: 14px !important;
    }
}

/* 
 * Anchor Pills: фікс для літери "І / i".
 * У цьому віджеті href формується напряму з поля URL,
 * тому фіксимо тільки pills з конкретними якірними href.
 */
/* Anchor Pills: фікс для літери "І" через точний якір */
.hec-anchor-pills .hec-anchor-pill[href="#і"],
.hec-anchor-pills .hec-anchor-pill[href="#І"] {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    padding: 0 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 9999px !important;
    box-sizing: border-box !important;
}

@media (max-width: 767px) {
    .hec-anchor-pills .hec-anchor-pill[href="#і"],
    .hec-anchor-pills .hec-anchor-pill[href="#І"] {
        width: 43px !important;
        height: 42px !important;
        min-width: 43px !important;
        min-height: 42px !important;
        padding: 0 !important;
    
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    
        border-radius: 9999px !important;
        box-sizing: border-box !important;
    }
}


/* про клинику */
.hec-stat-number {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-family: var(--font-heading, "Google Sans", sans-serif);
}

.hec-stat-number__value {
    display: inline-block;
    color: #212121;
    font-size: 52px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.04em;
}

.hec-stat-number__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 24px;
    margin-top: 10px;
    padding: 0 12px;
    border-radius: 999px;
    background: #E2E868;
    color: #4E5B31;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}
@media (max-width: 1024px) {
    .hec-stat-number__value {
        font-size: 46px;
    }

    .hec-stat-number__label {
        margin-top: 8px;
    }
}

@media (max-width: 767px) {
    .hec-stat-number {
        align-items: center;
        gap: 6px;
    }

    .hec-stat-number__value {
        font-size: 40px;
    }

    .hec-stat-number__label {
        min-height: 22px;
        margin-top: 0;
        padding: 0 10px;
        font-size: 11px;
    }
}

   
/* Patient form: labels */
.fluent_form_6 .ff-el-input--label label {
    margin: 0 0 8px;
    color: #656565;
    font-family: var(--font-primary, "Google Sans", sans-serif);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.52;
    letter-spacing: 0;
}

/* Patient form: input / select / textarea */
.fluent_form_6 .ff-el-form-control,
.fluent_form_6 input.ff-el-form-control,
.fluent_form_6 select.ff-el-form-control,
.fluent_form_6 textarea.ff-el-form-control {
    min-height: 64px;
    padding: 18px 24px;
    border: 1px solid rgba(33, 33, 33, 0.12);
    border-radius: 8px;
    background: #ffffff;
    color: #212121;
    font-family: var(--font-primary, "Google Sans", sans-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.52;
    letter-spacing: 0;
    box-shadow: none;
}

/* Patient form: placeholder */
.fluent_form_6 .ff-el-form-control::placeholder {
    color: #656565;
    opacity: 1;
    font-family: var(--font-primary, "Google Sans", sans-serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.52;
}

/* Patient form: focus */
.fluent_form_6 .ff-el-form-control:focus {
    border-color: #4E5B31;
    outline: none;
    box-shadow: 0 0 0 2px rgba(78, 91, 49, 0.12);
}

@media (max-width: 1024px) {
    .fluent_form_6 .ff-el-form-control,
    .fluent_form_6 input.ff-el-form-control,
    .fluent_form_6 select.ff-el-form-control,
    .fluent_form_6 textarea.ff-el-form-control {
        min-height: 60px;
        padding: 16px 22px;
        font-size: 17px;
    }

    .fluent_form_6 .ff-el-form-control::placeholder {
        font-size: 17px;
    }
}

@media (max-width: 767px) {
    .fluent_form_6 .ff-el-input--label label {
        margin-bottom: 6px;
        font-size: 13px;
        line-height: 1.45;
    }

    .fluent_form_6 .ff-el-form-control,
    .fluent_form_6 input.ff-el-form-control,
    .fluent_form_6 select.ff-el-form-control,
    .fluent_form_6 textarea.ff-el-form-control {
        min-height: 54px;
        padding: 14px 18px;
        font-size: 16px;
        line-height: 1.45;
    }

    .fluent_form_6 .ff-el-form-control::placeholder {
        font-size: 16px;
        line-height: 1.45;
    }
}

form.fluent_form_6 .wpf_has_custom_css.ff-btn-submit {
	padding: 20px;
}

/* Fluent Forms: section titles */
.hec-ff-section-title {
    display: block;
    width: 100%;
    margin: 20px 0 0px;
    padding: 0;

    color: #4E5B31;
    font-family: var(--font-heading, "Google Sans", sans-serif);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.52;
    letter-spacing: 0;
}

.fluentform .hec-ff-section-title {
    grid-column: 1 / -1;
}

.hec-ff-section-title.hec-ff-section-title--spaced {
    margin-top: 32px;
}

@media (max-width: 1024px) {
    .hec-ff-section-title {
        margin-bottom: 18px;
        font-size: 18px;
        line-height: 1.45;
    }

    .hec-ff-section-title.hec-ff-section-title--spaced {
        margin-top: 28px;
    }
}

@media (max-width: 767px) {
    .hec-ff-section-title {
        margin-bottom: 14px;
        font-size: 16px;
        line-height: 1.4;
    }

    .hec-ff-section-title.hec-ff-section-title--spaced {
        margin-top: 24px;
    }
}

/******************************************************************/


.hec-service__custom .hec-service-category {
	border-radius: 8px;
	padding: 20px 10px;
	box-sizing: border-box;
}

.hec-service__custom .hec-service-category__num{
    font-size: 16px;
    line-height: 2em;
}

.hec-service__custom .hec-service-category__item{
    gap: 6px;
    padding: 12px 0;
}

.natura-services-nav {
    color: var(--text-color, #212121);
    text-decoration: none;
}

.natura-services-nav:hover {
    color: #4E5B31;
    text-decoration: none;
}

.hero-pric__service{
    color: var(--color-primary, #4E5B31);
    font-size: 25px;
    font-weight: 600;
    line-height: 1.52;
}


/* service-card */
.service-card {
  --service-text-color: #212121;

  width: 100%;
  max-width: 305px;
  min-height: 305px;
  padding: 20px 20px;
  border-radius: 8px;
  background: #EDE8DA;
  box-sizing: border-box;

  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  transition: box-shadow 0.25s ease;
}

.service-card:hover {
  box-shadow: 0 12px 30px rgba(33, 33, 33, 0.16);
}

/* Белый текст */
.service-card-text-white {
  --service-text-color: #ffffff;
}

/* Тёмный текст */
.service-card-text-dark {
  --service-text-color: #212121;
}

.service-card-num {
  font-family: "Google Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1;
  color: var(--service-text-color) !important;
  margin: 0 0 42px 0;
}

.service-card-title {
  font-family: "Montserrat", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.52;
  text-transform: uppercase;
  color: var(--service-text-color) !important;
  margin: 0;
}

.service-card-desc {
  font-family: "Google Sans", Arial, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.52;
  color: var(--service-text-color) !important;
  margin: 0 0 auto 0;
}

.service-card-link {
  font-family: "Google Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.52;
  color: var(--service-text-color) !important;
  text-decoration: none;
  margin-top: 28px;
  display: inline-block;
}

.service-card-link:hover {
  opacity: 0.75;
}

.service-card-link {
  font-family: "Google Sans", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.52;
  color: var(--service-text-color) !important;
  text-decoration: none;
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.service-card-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  transform-origin: center;
}

.service-card-link:hover .service-card-arrow {
  transform: scale(1.35);
}

.service-card-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
  transform-origin: center;
}

.service-card-link:hover .service-card-arrow {
  transform: scale(1.35) translateX(2px);
}
/*********************/
.natura-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 560px;
  margin: 0 auto;
}

.natura-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 14px 22px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.natura-pill-plus {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 50%;
  flex: 0 0 44px;
}

@media (max-width: 767px) {
  .natura-pills {
    gap: 10px 4px;
    min-width: 300px;
  }

  .natura-pill {
    padding: 11px 16px;
    font-size: 13px;
  }

  .natura-pill-plus {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }
}

.clinic-carousel .swiper-button-prev,
.clinic-carousel .swiper-button-next {
  opacity: 0.75;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.clinic-carousel .swiper-button-prev:hover,
.clinic-carousel .swiper-button-next:hover {
  transform: scale(1.15);
  opacity: 1;
}