/* ===================================
   BIOS Clinic - Main Stylesheet
   =================================== */

/* CSS Variables */
:root {
    --color-background: #F6EFE5;
    --color-maintext: #25170E;
    --color-gold: #C4A35A;
    --color-gold-light: #D4B86A;
    --color-gold-dark: #A88A3D;
    --color-brown: #8B6914;
    --color-brown-dark: #5C4510;
    --color-beige: #F5EFE6;
    --color-beige-light: #FAF8F3;
    --color-beige-dark: #E8DFD0;
    --color-cream: #FDF9F3;
    --color-text: #5C4510;
    --color-text-light: #8B6914;
    --color-white: #FFFFFF;
    --font-heading: 'Bona Nova', serif;
    --font-body: 'Montserrat', sans-serif;
    --gradient-gold: linear-gradient(135deg, #C4A35A 0%, #E8C97A 50%, #C4A35A 100%);
    --gradient-brown: linear-gradient(180deg, #A88A3D 0%, #5C4510 100%);
    --gradient-beige: linear-gradient(180deg, #F5EFE6 0%, #E8DFD0 100%);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-maintext);
    background-color: var(--color-background);
    overflow-x: hidden;
    max-width: 100vw;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

.cssmail {
    display: none;
}
/* ===================================
   Header Navigation
   =================================== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    /*background: linear-gradient(180deg, rgba(92, 69, 16, 0.9) 0%, rgba(92, 69, 16, 0.7) 100%);   OXY*/
    background: linear-gradient(90deg, rgba(255, 237, 218, 0.1) 0%, rgba(255, 237, 218, 0.2) 100%, transparent 0.1%);
    backdrop-filter: blur(1px);
    padding: 10px 0;
    transition: background-color 0.3s ease; /* Плавный переход */    
}
/* Состояние при прокрутке */
.header-nav.scrolled {
    background-color: rgba(67, 51, 34, 0.9)  !important; /* Ваш красный цвет */
    /* Дополнительно можно добавить тень для отделения от контента */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.014);
}
.header-nav .navbar {
    padding: 0;
    max-width: 1700px;
    margin: 0 auto;
}
.header-nav .logo {
    height: 50px;
    width: auto;
}
.header-nav .navbar-nav {
    gap: 5px;
}
.header-nav .nav-link {
    color: #DDC9A8;
    font-size: 18px;
    font-weight: 400;
    padding: 8px 12px !important;
    position: relative;
    text-transform: none;
    letter-spacing: 0.3px;





}

@media (max-width: 787px) {
    .header-nav .nav-link {
        color: #FFFFFF;
        font-size: 13px;
    }
}

.header-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    right: 12px;
    height: 1px;
  /* Устанавливаем ширину только для нижней границы */
  border-bottom: 2px solid;
  /* Применяем градиент */
  border-image-source: linear-gradient(90deg, #7B4B09 0%, #E18911 100%);
  /* Важно: указываем slice, чтобы градиент растянулся корректно */
  border-image-slice: 1;    
    /*background-color: var(--color-white);*/
    transform: scaleX(0);
    transition: transform 0.3s ease;
}
.header-nav .nav-link:hover::after {
    transform: scaleX(1);
}
.header-nav .nav-link:hover {
    text-decoration: none;
}
.phone-link {
    /*color: var(--color-gold-light);*/
    color: #FBEDD6;
    font-size: 14px;
    font-weight: 500;
    margin-right: 20px;
}
.phone-link:hover {
    color: var(--color-white);
    text-decoration: none;
}
.btn-book {
    /*background: var(--gradient-gold); OXY*/
    background: #C0A97F;
    color: var(--color-brown-dark);
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.btn-book:hover {
    background: var(--color-gold-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 163, 90, 0.4);
}
.btn-book .btn-icon {
    width: 16px;
    height: 16px;
}
.navbar-toggler {
    /*border: 1px solid var(--color-gold);*/
    border:none;
    padding: 6px 10px;
}


button:focus:not(:focus-visible) {
  outline: 0;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: none;
}

.navbar-toggler-icon {
    /*background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(196, 163, 90, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");*/
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cdefs%3E%3ClinearGradient id='grad' x1='0%25' y1='0%25' x2='100%25' y2='0%25'%3E%3Cstop offset='0%25' style='stop-color:%23FFEDD4;stop-opacity:1' /%3E%3Cstop offset='100%25' style='stop-color:%23E18911;stop-opacity:1' /%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath stroke='url(%23grad)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    width: 2.5em;
}
.mobile-controls {
    gap: 10px;
}
.mobile-controls .phone-link {
    font-size: 12px;
    display: none;
}
.mobile-controls .btn-book {
    font-size: 11px;
    padding: 6px 12px;
}
@media (max-width: 991px) {
    .mobile-controls .phone-link {
        display: none;
    }
    .navbar-collapse {
        background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 100%);
        padding: 20px;
        margin-top: 15px;
        border-radius: 10px;
    }
    .header-nav .nav-link {
        padding: 12px 0 !important;
        border-bottom: 1px solid;
        border-image-source: linear-gradient(90deg, #7B4B09 0%, #E18911 100%);
        /* Важно: указываем slice, чтобы градиент растянулся корректно */
        border-image-slice: 1;
    }    
    .header-nav .nav-link::after {
        display: none;
    }
}    

/* ===================================
   H1,H2,H3 Section
   =================================== */
/*h1*/
.h1-title-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 60px auto;
}

/* сама "капсула" */
.h1-title-line {
  position: absolute;
  width: 43%;              /* шире текста */
  max-width: 900px;
  height: 29px;
  border: 2px solid #c7a57a;
  border-radius: 999px;    /* идеальная капсула */
}

/* текст */
.h1-title-text {
  position: relative;
  background: var(--color-background);     /* фон страницы (ВАЖНО!) */
  padding: 0 10px;         /* перекрываем линию */
  font-size: 48px;
  font-weight: 400;
  color: #a8845d;
  text-align: center;
  margin-top: -25px;
}

@media (max-width: 767px) {
    .h1-title-line {
        border: 0px;
    }
    .h1-title-text {
        background: none;
        font-size: 38px;
    }
    .h1-title-wrap {
        margin: 40px auto 30px auto;
    }    
}
/*/h1*/
/*h2*/
.h2-title-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 40px auto; /* чуть меньше отступ */
}

/* капсула */
.h2-title-line {
  position: absolute;
  width: 50%;              /* чуть компактнее */
  max-width: 700px;
  height: 22px;            /* меньше высота */
  border: 2px solid #c7a57a;
  border-radius: 999px;
}

/* базовый стиль текста */
.h2-title-text {
  position: relative;
  background: var(--color-background);
  padding: 0 10px;
  font-weight: 400;
  color: #a8845d;
  text-align: center;
}

/* именно H2 */
.h2-title-text.h2 {
  font-size: 32px;   /* уменьшенный размер */
  margin-top: -18px; /* подогнано под новую высоту линии */
}
@media (max-width: 767px) {
    .h2-title-line {
        border: 0px;
    }
    .h1-title-text {
        background: none;
        font-size: 38px;
    }    
}
/*/h2*/


/* ===================================
   Hero Section
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: 80px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-section .container {
    max-width: 1720px;
    margin: 0 auto;
}
.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-fog {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: linear-gradient(90deg, rgba(92, 69, 16, 0.6) 0%, rgba(92, 69, 16, 0.3) 40%, transparent 70%); OXY*/
    background: linear-gradient(90deg, rgba(38, 22, 0, 0.6) 0%, rgba(38, 22, 0, 0.3) 40%, transparent 70%);
}
.hero-content {
    padding: 60px 0;
}
.hero-title {
    font-family: var(--font-heading);
    font-size: 3.7rem;
    font-weight: 400;
    color: #FCE6B5;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--color-beige-light);
    margin-bottom: 30px;
}
.btn-consultation {
    background: transparent;
    border: 1px solid var(--color-gold);
background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
  color: #6D3F00;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-consultation:hover {
background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
  color: #6D3F00;
    transform: translateY(-2px);
}
.services-links {
    margin-top: 50px;
}
.service-link {
    display: block;
    color: #DEC6B0;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0;
    transition: all 0.3s ease;
}
.service-link:hover {
    color: var(--color-gold-light);
    text-decoration: none;
    padding-left: 10px;
}
.service-link .arrow {
    margin-left: 5px;
    transition: margin 0.3s ease;
}
.service-link:hover .arrow {
    margin-left: 10px;
}
/* Special Offers Slider */
.special-offers-container {
    position: relative;
    padding: 40px 0;
    overflow: hidden;
}
.special-offers-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 10px 0;
    cursor: grab;
}
.special-offers-slider::-webkit-scrollbar {
    display: none;
}
.special-offers-slider:active {
    cursor: grabbing;
}
@media (max-width: 767px) {
    .special-offers-container {
        padding: 40px 0 80px 0;
    }

}
/**/

.offer-card {
  max-width: 270px;
  padding: 40px 24px;

  border-radius: 24px;
  border: 1px solid rgba(201, 169, 110, 0.4);

  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(2px);

  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
}
.offer-card > * {
  margin-bottom: 16px;
}

.offer-card > *:last-child {
  margin-bottom: 0;
}
.offer-card__badge {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c9a96e;
}

.offer-card__button {
  margin-top: 10px;
  padding: 8px 22px;
  border-radius: 999px;
  border: 1px solid #967252;
  background-color:#DBD2CC;
  color: #967252;
  font-size:16px;
  cursor: pointer;
  transition: 0.3s;
}

.offer-card__button:hover {
  background: #FFFFFF;
  color: #967252;
  
}
/**/
/*
.offer-card {
    flex: 0 0 200px;
    min-width: 200px;
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(196, 163, 90, 0.3);
    border-radius: 10px;
    padding: 20px;
    scroll-snap-align: start;
    transition: all 0.4s ease;
    opacity: 1;
}
.offer-card.fading {
    opacity: 0.3;
}
    */
.offer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}
.offer-icon {
    width: 82px;
    height: 78px;
}
.offer-label {
    font-size: 16px;
    color: #AA7735;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}
.offer-title {
    font-family: var(--font-heading);
    font-size: 16px;
    color: #25170E;
    line-height: 1.3;
    margin-bottom: 15px;
    min-height: 60px;
}
.offer-card__price-label {
  font-size: 14px;
  color: #AA7735;
  margin-bottom: 0px;
}
.offer-price {
    font-size: 30px;

    font-family: var(--font-heading);
    color: #25170E;
    margin-bottom: 10px;
    margin-top:-10px;
}
.offer-link {
    font-size: 12px;
    color: var(--color-beige-light);
    text-decoration: underline;
}
.offer-link:hover {
    color: var(--color-gold);
}
@media (max-width: 991px) {
    .hero-title {
        font-size: 2.5rem;
    }
    .special-offers-container {
        margin-top: 40px;
    }
    .offer-card {
        flex: 0 0 75vw;
        min-width: 65vw;
    }
}
@media (min-width: 992px) {
    .offer-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
}
/* ===================================
   Why Choose Us Section
   =================================== */
.why-choose-section {
    padding: 80px 0;
    background: var(--gradient-beige);
}

.why-choose-section .container {
    max-width: 1720px;
    margin: 0 auto;
}
.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-brown);
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: var(--gradient-gold);
}
.why-card {
    text-align: center;
    padding: 30px 20px;
}
.why-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
}
.why-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.why-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-brown);
    margin-bottom: 15px;
    line-height: 1.4;
}
.why-text {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.5;
}

.why_new .surgery-card {
  width: 386px;
  padding: 20px;
  background: #f4efe9;

  /* форма: верх полукруг, низ почти прямой */
  border-radius: 150px 150px 25px 25px;

  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  margin: 20px auto;
}

.why_new .surgery-inner {
  position: relative;
  padding: 30px 20px 25px;
  text-align: center;
  height: 343px;
  border: 2px solid #d6bfa3;

  /* повторяем форму */
  border-radius: 130px 130px 20px 20px;
}

.why_new .surgery-inner::before {
  content: "";
  position: absolute;
  inset: 8px;

  border: 1px solid #e3d3bf;

  /* внутренняя линия тоже повторяет форму */
  border-radius: 120px 120px 15px 15px;
}

.why_new .icon img {
  width: 148px;
  display: block;
  margin: 10px auto 15px;
}

.why_new .text-main {
  font-size: 18px;
  color: #5a4632;
  margin-bottom: 12px;
}

.why_new .text-sub {
  font-size: 14px;
  color: #c18b4c;
  line-height: 1.4;
}

@media (max-width: 767px) {
    .why_new .surgery-card{
        width: auto;

    }
    .why_new .surgery-inner {
        padding: 20px 10px 25px;
        height: 320px;
    }
    .why_new .icon img {
        width: 78px;
    }
    .why_new .text-main {
        font-size: 13px;
    }

}




/* ===================================
   About Clinic Section
   =================================== */
.about-clinic-section {
    /*background: linear-gradient(135deg, #8B6914 0%, #A88A3D 50%, #8B6914 100%);*/
    padding: 50px 0;
    background: var(--gradient-beige);
}
.about-content {
    text-align: center;
    max-width: 1300px;
    margin: 0 auto;
    color: #FFFFFF;
    background-color: #967252;
    font: var(--font-body);
    padding: 20px 40px;
    border-radius: 20px;
}
.about-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 10px;
    text-align: left;
}

@media (max-width: 767px) {
    .about-clinic-section {
        padding: 10px 0;
    }

    .about-clinic-section .container {
        padding: 1px;
    }
}
/*
.about-content strong {
    color: var(--color-gold-light);
}*/


/* ===================================
   Service Section
   =================================== */

.services-custom {
    padding: 30px 0;
   /*background: linear-gradient(180deg, #f5e9dc 0%, #e9d7c4 100%);*/
    background: url("/ND2/images/bg_service.png") center / cover no-repeat;
    text-align: center;
    position: relative;
}

.services-custom .container {
    max-width: 1720px;
    margin: 0 auto;
}

.services-custom .container .h1-title-wrap .h1-title-line {
    width: 15%;
}

.services-custom .container .h1-title-wrap .h1-title-text {
    background: #CDB59D;
}

@media (max-width: 767px) {
    .services-custom .container .h1-title-wrap .h1-title-text {
        background: none;
    } 
}

/* Заголовок */
.services-title {
    font-size: 42px;
    margin-bottom: 50px;
    font-weight: 500;
    color: #8c6b4f;
    letter-spacing: 2px;
}

/* Сетка */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Карточка */
.service-card {
    background: #f3e6d8;
    border-radius: 20px;
    padding: 15px;
    transition: 0.3s ease;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.service-card:hover {
    transform: translateY(-8px);
}

/* Картинка */
.service-card img {
    width: 100%;
    /*height: 260px;*/
    object-fit: cover;
    border-radius: 15px;
}

/* Текст */
.service-card p {
    margin-top: 15px;
    padding-bottom: 15px;
    font-size: 20px;
    color: #6e4f3a;
    font-family: var(--font-heading);
}

.service-card p span {
    color: #000000;
}

/* Кнопка */
.services-btn-wrap {
    margin-top: 50px;
}

.services-btn {
    display: inline-block;
    padding: 14px 40px;
    border-radius: 30px;
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #6D3F00;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
}

.services-btn:hover {
    opacity: 0.85;
    text-decoration: none;
}
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    /*
    .services-grid {
        grid-template-columns: 1fr;
    }
*/
    .services-title {
        font-size: 30px;
    }
}

@media (max-width: 767px) {
    .services-custom .service-card {
        padding: 0px;
    }
}

/* ===================================
   Before After Section
   =================================== */
.results-section {
    padding: 80px 0 30px 0;
    text-align: center;
}

.results-section .container .h1-title-wrap .h1-title-line {
    width: 55%;
}

/* Заголовок */
.results-title {
    color: #c6a47a;
    font-size: 40px;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

/* Tabs */
.results-tabs {
    margin-bottom: 50px;
}

.results-tabs .tab {
    background: transparent;
    border: 1px solid #c6a47a;
    color: #25170E;
    padding: 10px 25px;
    margin: 0 5px;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.results-tabs .tab.active,
.results-tabs .tab:hover {
    background: linear-gradient(90deg, #d6a96c, #b8874c);
    color: #fff;
}

/* Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* Card */
.result-card {
    background: linear-gradient(90deg, #967252, #CEB48D);
    padding: 10px;
    border-radius: 20px;
    border: 2px solid #c6a47a;
}

/* Две картинки внутри */
.result-images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

/* Каждая картинка */
.result-img {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.result-img img {
    width: 100%;
    /*height: 300px;*/
    object-fit: cover;
}

/* ДО / ПОСЛЕ */
.result-img span {
    position: absolute;
    top: 23px;
    right: 36px;
    color: #c6a47a;
    font-size: 16px;
}

/* Кнопка */
.results-btn-wrap {
    margin-top: 40px;
}

.results-btn {
    display: inline-block;
    padding: 12px 35px;
    border-radius: 30px;
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #6D3F00;
    text-decoration: none;
    transition: 0.3s;
}

.results-btn:hover {
    opacity: 0.8;
}

/* ===================================
   Specialist Section
   =================================== */


.team-section {
    padding: 30px 0 60px 0;
}

.team-section .container {
    max-width: 1720px;
    margin: 0 auto;
}

.team-title {
    font-size: 32px;
    margin-bottom: 40px;
    color: #5d433f;
}

/* Центрируем весь слайдер */
.team-slider {
    gap: 20px;
}

/* Карточки */
.team-cards {
    gap: 30px;
    overflow: hidden;
}

/* Карточка */
.team-card {
    width: 250px;
    text-align: center;
    flex-shrink: 0;
    padding: 10px;
    border-radius: 20px;
    border: 1px solid #BE9158;   
}


.team-card img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
    
}
.team-card h3 {
    font-size: 22px;
    font-weight: 400;
    margin: 0 0 5px;
    color: #3a2c2a;
}
.team-card p {
    font-size: 18px;
    color: #25170E;
    text-align: center;
}

/* Кнопки стрелок */
.team-nav {
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
}

/* Размер иконок */
.team-nav img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* Кнопка "Все специалисты" */
.btn-all {
    padding: 12px 35px;
    border-radius: 30px;
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #6D3F00;
    text-decoration: none;    
}
.btn-all:hover {
    opacity: 0.8;
}

/* Скрываем стрелки если не нужно */
.team-nav:disabled {
    opacity: 0.5;
    cursor: default;
}

/* ===================================
   online-selection Section
   =================================== */
.online-selection {
    background: linear-gradient(90deg, #967252 0%, #CEB48C 50%, #967252 100%);
    color: #fff;
    border-radius: 10px;
    width: 90%;
    margin: 0 auto;
}

.selection-title {
    font-size: 36px;
    /*font-weight: 600;*/
    margin-bottom: 15px;
}

.selection-subtitle {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 20px;
}

.selection-text {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
}

.selection-btn {
    background-color: #8a4b20;
    border: 1px solid #7a3e1a;
    border-radius: 30px;
    padding: 12px 30px;
    color: #fff;
    text-decoration: none;
}

.selection-btn:hover {
    background-color: #7a3e1a;
    color: #fff;
}

.selection-img {
    max-width: 100%;
    border-radius: 10px;
}
/* ===================================
   about clinic Section
   =================================== */
.about-clinic {
    background: #f9f4e8; /* светлый фон */
    padding: 120px 0 60px 0;
    border-radius: 10px;
}
.about-clinic .container {
    max-width: 1720px;
    margin: 0 auto;
}


.rounded-about {
    border-radius: 12px; /* скругление всех картинок */
    width: 100%;
    object-fit: cover;
}

.about-title {
    font: var(--font-heading);
    font-size: 60px;
    font-weight: 400;
    color: #967252;
    margin-bottom: 20px;
}

.about-text {
    font: var(--font-body);
    font-size: 18px;
    line-height: 1.6;
    font-weight: 500;
    color: #25170E;
    margin-bottom: 15px;
}

.about-btn {
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    border: none;
    border-radius: 30px;
    padding: 12px 28px;
    color: #6D3F00;
    text-decoration: none;
}

.about-btn:hover {
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #6D3F00;
}

@media (max-width: 768px) {
    .about-title {
        font: var(--font-heading);
        font-size: 36px;
        font-weight: 400;
        margin-bottom: 20px;
    }
    .about-text {
        font-size: 16px;
        line-height: 1.6;
        font-weight: 500;
        color: #25170E;
        margin-bottom: 15px;
    }    
}

/* ===================================
   Review Section
   =================================== */

.reviews-section {
    background: #F6EFE5; /* светлый фон */
    color: #7f6146;
    border: 1px solid #b89967;
    border-radius: 10px;
    padding: 60px 0;
    position: relative;
    margin: 0px 40px;
}

.reviews-label {
    display: inline-block;
    background: #b89967;
    color: #fff;
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 14px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.reviews-title {
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #967252 0%, #CEB48D 100%);
    -webkit-background-clip: text; /* для WebKit-браузеров */
    -webkit-text-fill-color: transparent; /* делает текст прозрачным, чтобы был виден градиент */
    background-clip: text; /* стандарт для современных браузеров */
    color: transparent; /* fallback */    
}

/* Рейтинги */
.reviews-ratings .rating-item {
    background: #fff;
    color: #b89967;
    border-radius: 30px;
    padding: 6px 15px;
    font-size: 14px;
}

/* Процент довольных клиентов */
.reviews-percent {
    margin-bottom: 30px;
}
.percent-number {
    font-size: 40px;
    /*font-weight: 700;*/
    color: #b89967;
    margin-right: 10px;
    background: linear-gradient(90deg, #967252 0%, #CEB48D 100%);
    -webkit-background-clip: text; /* для WebKit-браузеров */
    -webkit-text-fill-color: transparent; /* делает текст прозрачным, чтобы был виден градиент */
    background-clip: text; /* стандарт для современных браузеров */
    color: transparent; /* fallback */
}
.percent-text {
    font-size: 16px;
}

/* Слайдер карточек */
.reviews-slider {
    gap: 20px;
}

.reviews-cards {
    display: flex;
    justify-content: center; /* центрируем карточки */
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 0 10px; /* небольшой внутренний отступ */
}

/* Карточка */
.review-card {
    background: #fff;
    color: #000;
    border-radius: 10px;
    padding: 20px;
    flex: 0 0 300px;
    text-align: left;
    border: 1px solid #b89967;
    border-radius: 12px;
}
.review-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}
.review-img-wrapper {
    position: relative;
}

.review-name {
    position: absolute;
    bottom: 5%; /* нижняя треть картинки */
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 400;
    font: var(--font-heading);
    text-align: center;
    line-height: 1.3;
    width: 100%;

}

.review-name span {
    display: block;
    font-weight: 400;
    font-size: 12px;
    color: #b89967;
    margin-top: 2px;
}

.review-text {
    font-size: 11px;
    color: #25170E;
    margin-bottom: 10px;
    text-align: center;
}
.review-doctor {
    font-size: 13px;
    color: #5d433f;
    text-align: center;
}

/* Стрелки */
.review-nav {
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 10px; /* увеличенный размер кнопки */
}
.review-nav img {
    width: 40px;  /* увеличили иконку */
    height: 40px;
    object-fit: contain;
}

/* Скрываем скролл */
.reviews-cards::-webkit-scrollbar {
    display: none;
}

/* ===================================
   Pacient History Section
   =================================== */

/* === VIDEO REVIEWS STYLES === */
.video-reviews-block .section-title {
    font-size: 2rem;
    font-weight: 600;
    color: #b59157;
}

.review-card {
    max-width: 380px;
    border: 1px solid #BE9158;
    border-radius: 10px;
    margin: 15px 10px;
}

.review-thumb {
    height: 230px;
    overflow: hidden;
}

.review-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.4);
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
}

.stars {
    color: #c29343;
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.patient-name {
    font-size: 1.25rem;
    font-weight: 500;
}

.quote {
    margin: 6px 0;
    font-size: 0.9rem;
}

.doctor strong {
    color: #000;
    font-weight: 600;
}

/* === BUTTON 'ALL REVIEWS' STYLES === */
.btn-gold {
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #6D3F00;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 1rem;
    text-decoration: none;
}

.btn-gold:hover {
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    transition: 0.3s ease;
}

/* === GRID LAYOUT === */
.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.col-md-4 {
    flex: 1 0 32%;
    margin-bottom: 15px;
}


/* ===================================
   Consultation Form Section
   =================================== */
.consultation-section {
    padding: 80px 0;
    /*background: linear-gradient(135deg, #A88A3D 0%, #C4A35A 30%, #A88A3D 100%);*/
    background: #4A3323;
    position: relative;
}
.consultation-form-wrapper {
    padding: 40px 0;
}
.section-title-dark {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-white);
    margin-bottom: 40px;
    line-height: 1.2;
}
.consultation-form .form-group {
    position: relative;
    margin-bottom: 20px;
}
.consultation-form .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.7;
}
.consultation-form .input-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.consultation-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /*border-radius: 30px;*/
    padding: 15px 20px 15px 55px;
    color: var(--color-white);
    font-size: 14px;
}
.consultation-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.consultation-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold-light);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
    outline: none;
}
.consultation-form .form-check {
    margin-bottom: 25px;
}
.consultation-form .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: transparent;
    border: 2px solid var(--color-white);
}
.consultation-form .form-check-input:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}
.consultation-form .form-check-label {
    font-size: 12px;
    color: var(--color-white);
    width: 80%;
}
.consultation-form .form-check-label a {
    color: var(--color-gold-light);
    text-decoration: underline;
}
.btn-submit {
    background: var(--gradient-gold);
    color: var(--color-brown-dark);
    border: none;
    border-radius: 25px;
    padding: 15px 40px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(196, 163, 90, 0.4);
}
.contact-info {
    margin-top: 30px;
    color: var(--color-white);
}
.contact-info p {
    font-size: 14px;
    margin-bottom: 5px;
}
.contact-info a {
    color: var(--color-gold-light);
    text-decoration: underline;
}
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}
.social-link {
    width: 40px;
    height: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}
.social-link img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
/* Map */
.map-wrapper {
    position: relative;
    height: 100%;
    min-height: 500px;
    /*border-radius: 10px;*/
    overflow: hidden;
}
.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}
.map-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--color-white);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.map-address {
    font-weight: 500;
    margin-bottom: 5px;
}
.map-directions {
    color: var(--color-gold);
    text-decoration: underline;
    font-size: 14px;
}
.map-parking {
    font-size: 13px;
    color: var(--color-text-light);
    margin-top: 5px;
}
.btn-go {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-gold);
    color: var(--color-brown-dark);
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 500;
}
.btn-go:hover {
    background: var(--color-gold-light);
    transform: translateY(-50%) scale(1.05);
}
/* ===================================
   Footer
   =================================== */
.footer {
    background: linear-gradient(360deg, #4A3323 0%, #A88460 100%);
    padding: 60px 0 30px;
    color: var(--color-white);
}
.footer-logo {
    margin-bottom: 20px;
}
.footer-logo img {
    height: 80px;
}
.footer-contacts {
    margin-top: 20px;
}
.footer-phone {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}
.footer-phone:hover {
    color: var(--color-gold-light);
}
.footer-email {
    display: block;
    color: var(--color-gold-light);
    font-size: 14px;
    margin-bottom: 10px;
}
.footer-address {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}
.footer-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 20px;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 5px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}
.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.social-icon {
    width: 40px;
    height: 40px;
    /*border: 1px solid rgba(255, 255, 255, 0.3);*/
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}
.social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold);
    transform: translateY(-3px);
}
.social-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.btn-book-footer {
    background: var(--gradient-gold);
    color: var(--color-brown-dark);
    border: none;
    border-radius: 20px;
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.btn-book-footer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(196, 163, 90, 0.4);
}
.footer-bottom {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
.privacy-link {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}
.privacy-link:hover {
    color: var(--color-gold-light);
}
.made-by {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
/* ===================================
   Appointment Modal
   =================================== */
.modal-content {
    background: linear-gradient(90deg, #967252 0%, #CEB48C 50%, #967252 100%);
    border: none;
    border-radius: 0px;
    padding: 40px;
}
.modal-dialog {
    max-width: 550px;
}
.modal-content .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    /*filter: brightness(0) invert(1);*/
    opacity: 0.7;
    cursor: pointer;
}
.modal-content .btn-close:hover {
    opacity: 1;
}
.modal-body {
    padding: 0;
    text-align: left;
}
.modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.2;
}
.modal-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-bottom: 30px;
}
.modal-form .form-group {
    position: relative;
    margin-bottom: 20px;
}
.modal-form .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    opacity: 0.7;
}
.modal-form .input-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.modal-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    /*border-radius: 30px;*/
    padding: 18px 20px 18px 55px;
    color: var(--color-white);
    font-size: 14px;
}
.modal-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}
.modal-form .form-control:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--color-gold-light);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
    outline: none;
}
.modal-form .form-check {
    margin-bottom: 25px;
}
.modal-form .form-check-input {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background: transparent;
    border: 2px solid var(--color-white);
}
.modal-form .form-check-input:checked {
    background-color: var(--color-gold);
    border-color: var(--color-gold);
}
.modal-form .form-check-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    width: 90%;
}
.btn-submit-modal {
    width: 100%;
    background: linear-gradient(90deg, #BE9158 0%, #F7E0AA 50%, #BE9158 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 30px;
    padding: 18px 40px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 50%;
}
.btn-submit-modal:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(196, 163, 90, 0.5);
}
/* ===================================
   Cookie Notification
   =================================== */
.cookie-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-beige-light);
    border-radius: 15px;
    padding: 25px 50px 25px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 600px;
    width: 90%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.cookie-notification.show {
    opacity: 1;
    visibility: visible;
}
.cookie-content {
    display: flex;
    align-items: center;
    gap: 20px;
}
.cookie-content p {
    font-size: 14px;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}
.cookie-content a {
    color: var(--color-gold);
    text-decoration: underline;
}
.btn-cookie-accept {
    flex-shrink: 0;
    background: var(--gradient-gold);
    color: var(--color-brown-dark);
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
}
.btn-cookie-accept:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(196, 163, 90, 0.4);
}
.cookie-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--color-text-light);
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}
.cookie-close:hover {
    opacity: 1;
}
@media (max-width: 768px) {
    .cookie-notification {
        bottom: 15px;
        padding: 20px;
    }
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }   
    .cookie-content p {
        font-size: 13px;
    }
}
/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3rem;
    }
    .section-title,
    .section-title-dark {
        font-size: 2rem;
    }
}
@media (max-width: 991px) {
    .hero-section {
        padding-top: 70px;
    }
    .hero-content {
        padding: 40px 0;
    } 
    .services-links {
        margin-top: 30px;
    }   
    .map-wrapper {
        min-height: 400px;
        margin-top: 40px;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }  
    .hero-subtitle {
        font-size: 1rem;
    }   
    .section-title,
    .section-title-dark {
        font-size: 1.8rem;
    }
    .why-choose-section {
        padding: 50px 0;
    }
    .why-card {
        padding: 20px 10px;
    }
    .consultation-section {
        padding: 50px 0;
    }
    .footer {
        padding: 40px 0 20px;
    }
    .footer-bottom .row > div {
        text-align: center !important;
        margin-bottom: 10px;
    }
    .modal-content {
        padding: 30px 20px;
    }
    .modal-title {
        font-size: 1.5rem;
    }
}
/* ===================================
   Utility Classes
   =================================== */
.text-gold {
    color: var(--color-gold);
}
.bg-gradient-gold {
    background: var(--gradient-gold);
}
.bg-gradient-brown {
    background: var(--gradient-brown);
}