/* ===================================
   Base Styles & 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%);
}

* {
    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;
    background-image: url("/ND0/images/body/bg_ellips.png");
    background-repeat: repeat-y;
    background-size: cover;
}

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;
}


/* ===================================
   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;
}
/*/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; /* подогнано под новую высоту линии */
}
/*/h2*/

/* ===================================
   Header Navigation
   =================================== */
.header-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    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;
}

.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%);
    border-image-slice: 1;    
    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: #FBEDD6;
    font-size: 14px;
    font-weight: 500;
    margin-right: 20px;
}

.phone-link:hover {
    color: var(--color-white);
    text-decoration: none;
}

.btn-book {
    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: 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%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: 1330px) {
    .header-nav .nav-link {
        font-size: 14px;
        font-weight: 200;
        padding: 8px 5px !important;
        letter-spacing: 0.3px;
    }
}

@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%);
        border-image-slice: 1;
    }    
    .header-nav .nav-link::after {
        display: none;
    }
}

@media (max-width: 787px) {
    .header-nav .nav-link {
        color: #FFFFFF;
        font-size: 13px;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero-section {
    position: relative;
    /*min-height: 100vh; oxy */
    /*min-height: 1034px; oxy */
    min-height: 954px;     
    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;
}
/* oxy: был hero-bg и внутри стояла картинка, переместили ее в hero-bg-with-url а в hero-section изменили min-height с 1035=954+80padding на просто 954*/
.hero-bg-with-url {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: url('/ND0/images/header/banner.jpg') no-repeat center center;
    background-size: cover;
    background-position: center;
}

.url-price .hero-bg-with-url {
    background: url('/ND0/images/header/header_bg_price.png') no-repeat center center;
    background-size: cover;
    background-position: center;    
}

.url-before-after .hero-bg-with-url {
    background: url('/ND0/images/header/header_bg_before_after.png') no-repeat center center;
    background-size: cover;
    background-position: center;    
}

.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(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: 18px;
    color: #FFFFFF;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-sub2title {
    font-size: 20px;
    color: #FFFFFF;
    margin-bottom: 20px;
    line-height: 1.5;
}
.hero-sub3title {
    font-size: 16px;
    color: #FFFFFF;
    margin-bottom: 30px;
    line-height: 1.5;
}

.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;
}

.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-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-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;
}



@media (max-width: 1330px) {
    .offer-label {
        font-size: 12px;
        color: #AA7735;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        line-height: 1.3;
    }
    .offer-title {
        font-size: 12px;
    }    
    .offer-card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(50% - 14px);
    }
}

@media (max-width: 992px) {
    .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);
    }
}


@media (max-width: 768px) {
    .hero-title {
        font-size: 2.7rem;
    }

    .special-offers-container {
        padding: 40px 0 80px 0;
    }
    .hero-bg-image {
        object-position: 80% center;
    }
}




/* ===================================
   Map Section
   =================================== */
.map-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(119deg, rgba(229, 213, 176, 0.5) 0%, rgba(93, 61, 33, 0.6) 70%);
    z-index: 1;
    pointer-events: none; 
}

.map-info {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: #4B3323;
    padding: 20px;
    border-radius: 0px;
    border: 1px solid #604631;
    z-index: 2;
}

.map-address {
    font-weight: 500;
    font-size: 18px;
    margin-bottom: 5px;
    color: #ffffff;  
}

.map-parking {
    font-size: 16px;
    font-weight: 300;
    color: #ffffff;
    margin-top: 5px;
}

/* ===================================
   Consultation Form Section
   =================================== */
.consultation-section {
    padding: 80px 0;
    background: #4A3323;
    position: relative;
}

.consultation-form-wrapper {
    padding: 40px 0;
}

.section-title-dark {
    font-family: var(--font-heading);
    font-size: 2.3rem;
    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: 8px;
    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);
}

/* Кнопка отправки формы на главной */
.btn-submit {
    background: var(--gradient-gold);
    color: var(--color-maintext);
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 163, 90, 0.4);
}

.contact-info {
    margin-top: 20px;
    color: var(--color-white);
}

.contact-info a {
    color: var(--color-gold-light);
    font-weight: 500;
    font-size: 18px;
}

.social-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
}

.social-link:hover img {
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.footer {
    /*background-color: #25170E;*/
    background: linear-gradient(360deg, #4A3323 0%, #A88460 100%);
    color: var(--color-beige);
    padding: 60px 0 20px;
}

.footer-logo img {
    max-width: 150px;
    margin-bottom: 20px;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-phone {
    font-size: 20px;
    font-weight: 600;
    color: var(--color-gold-light);
}

.footer-email {
    color: var(--color-beige);
}

.footer-address {
    font-size: 14px;
    opacity: 0.8;
}

.footer-title {
    color: var(--color-gold-light);
    font-family: var(--font-heading);
    font-size: 20px;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-beige);
    opacity: 0.8;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--color-gold-light);
    opacity: 1;
    text-decoration: none;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: translateY(-3px);
}

.btn-book-footer {
    background: transparent;
    border: 1px solid var(--color-gold-light);
    color: var(--color-gold-light);
    border-radius: 20px;
    padding: 10px 25px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-book-footer:hover {
    background: var(--color-gold-light);
    color: var(--color-maintext);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.6;
}

.privacy-link {
    color: inherit;
    text-decoration: underline;
}

/* ===================================
   Modals & Utilities
   =================================== */


.appointmentForm .modal-content {
    background: linear-gradient(90deg, #967252 0%, #CEB48C 50%, #967252 100%);
    border-radius: 0px;
    border: none;
    padding: 40px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.appointmentForm .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    padding: 10px;
    transition: background-color 0.3s ease;
    cursor: pointer;   

    /*filter: brightness(0) invert(1);
    opacity: 0.7;*/
 
}

.appointmentForm .btn-close:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.appointmentForm .modal-body {
    padding: 30px 20px;
    text-align: center;
}

.appointmentForm .modal-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-maintext);
    margin-bottom: 10px;
    line-height: 1.2;
}

.appointmentForm .modal-subtitle {
    font-size: 14px;
    color: var(--color-text);
    margin-bottom: 30px;
}

.appointmentForm .modal-form .form-group {
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.appointmentForm .modal-form .input-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.appointmentForm .modal-form .input-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.appointmentForm .modal-form .form-control {
    background: var(--color-white);
    border: 1px solid rgba(139, 105, 20, 0.2);
    padding: 15px 20px 15px 55px;
    border-radius: 10px;
    color: var(--color-maintext);
    font-size: 14px;
}

.appointmentForm .modal-form .form-control:focus {
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(196, 163, 90, 0.2);
    outline: none;
}

.appointmentForm .modal-form .form-check {
    text-align: left;
    margin-bottom: 25px;
}

.appointmentForm .modal-form .form-check-label {
    font-size: 12px;
    color: var(--color-text);
}

.appointmentForm .btn-submit-modal {
    background: var(--gradient-gold);
    color: var(--color-maintext);
    border: none;
    border-radius: 30px;
    padding: 15px 30px;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

.appointmentForm .btn-submit-modal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(196, 163, 90, 0.4);
}






/* ===================================
   Beautiful border
   =================================== */

/* --- Главный контейнер блока --- */
.block-border-wrapper {
    /* bug fix
    max-width: 380px; 
    width: 90%;
    margin: 20px auto;
    */
}

/* --- КАРТОЧКА: Реализация перекрестной рамки --- */
.block-border-container {
    position: relative;
    padding: 10px; /* Отступ между внешней границей и контентом */
    
    /* Это создает *первую* рамку (внешнюю) */
    border: 1px solid #BE9158; /* Полупрозрачный золотой */
    border-radius: 20px;
}

/* Псевдоэлемент для *второй* рамки (внутренней) */
.block-border-container::after {
    content: '';
    position: absolute;
    top: 5px; /* Смещение для создания пересечения */
    left: -5px;
    right: -5px;
    bottom: 5px;
    
    /* Это создает *вторую* рамку */
    border: 1px solid #BE9158; /* Сплошной золотой */
    border-radius: 20px; /* Немного другой радиус */
    pointer-events: none; /* Чтобы рамка не мешала кликам */
}

/* --- ФОНОВЫЙ ЗАВИТОК СПРАВА (SVG) --- */
.block-border-element-right {
    position: absolute;
    bottom: 11px; /* Прижат к низу внешней рамки */
    right: 11px; /* Прижат к правому краю */
    width: 6%; /* Масштабируемая ширина (относительно карточки) */
    height: 6%; /* Масштабируемая высота */
    max-width: 70px; /* Максимальный размер */
    max-height: 70px;
    z-index: 10; /* Поверх всего */
    
    /* SVG-код прямо в CSS */
    /*-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23000' d='M83.8,91.9C71.3,95.5 56.4,93.2 46.1,84C35.8,74.8 30,61.1 30.1,47.1C30.2,33.1 36.2,19.3 46.7,10.2C57.2,1 71.9,-2.8 84.7,1C97.5,4.8 107.9,15.7 110.1,28.9C112.3,42.1 106.1,56.3 94.2,65.6C82.3,74.9 66.2,78.9 50.8,76.5C35.4,74.1 21.2,65.6 12.8,53C4.4,40.4 1.8,24.8 6.4,11.2L9.2,12C4.9,24.7 7.4,39.3 15.2,51C23,62.7 36.2,70.7 50.4,72.9C64.6,75.1 79.5,71.4 90.7,62.8C101.9,54.2 107.6,41.2 105.6,28.8C103.6,16.4 93.9,6.1 82,2.5C70.1,-1.1 56.4,2.3 46.6,10.8C36.8,19.3 31.2,32.2 31.1,45.1C31,58 36.3,70.6 45.9,79.1C55.5,87.6 69.1,89.8 80.8,86.5L83.8,91.9Z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23000' d='M83.8,91.9C71.3,95.5 56.4,93.2 46.1,84C35.8,74.8 30,61.1 30.1,47.1C30.2,33.1 36.2,19.3 46.7,10.2C57.2,1 71.9,-2.8 84.7,1C97.5,4.8 107.9,15.7 110.1,28.9C112.3,42.1 106.1,56.3 94.2,65.6C82.3,74.9 66.2,78.9 50.8,76.5C35.4,74.1 21.2,65.6 12.8,53C4.4,40.4 1.8,24.8 6.4,11.2L9.2,12C4.9,24.7 7.4,39.3 15.2,51C23,62.7 36.2,70.7 50.4,72.9C64.6,75.1 79.5,71.4 90.7,62.8C101.9,54.2 107.6,41.2 105.6,28.8C103.6,16.4 93.9,6.1 82,2.5C70.1,-1.1 56.4,2.3 46.6,10.8C36.8,19.3 31.2,32.2 31.1,45.1C31,58 36.3,70.6 45.9,79.1C55.5,87.6 69.1,89.8 80.8,86.5L83.8,91.9Z'/%3E%3C/svg%3E");
    */
    -webkit-mask-image: url("/ND0/images/body/zavit_right.svg");
    mask-image: url("/ND0/images/body/zavit_right.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: right bottom;
    mask-position: right bottom;
    
    /* Цвет завитка */
    background-color: rgba(190, 145, 88, 1); 
}

/* --- ФОНОВЫЙ ЗАВИТОК СЛЕВА (SVG) --- */
.block-border-element-left {
    position: absolute;
    bottom: 11px; /* Прижат к низу внешней рамки */
    left: 11px; /* Прижат к левому краю */
    width: 6%; /* Масштабируемая ширина (относительно карточки) */
    height: 6%; /* Масштабируемая высота */
    max-width: 70px; /* Максимальный размер */
    max-height: 70px;
    z-index: 10; /* Поверх всего */
    -webkit-mask-image: url("/ND0/images/body/zavit_left.svg");
    mask-image: url("/ND0/images/body/zavit_left.svg");
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: left bottom;
    mask-position: left bottom;
    
    /* Цвет завитка */
    background-color: rgba(190, 145, 88, 1); 
}

/* --- Внутреннее содержимое (для структуры) --- */
.block-border-content {
    background: transparent;
    display: flex;
    flex-direction: column;
}

















/***********************************************************************************/




/*
.QQQQQmodal-content {
    background: linear-gradient(90deg, #967252 0%, #CEB48C 50%, #967252 100%);
    border: none;
    border-radius: 0px;
    padding: 40px;
}
.modal-dialog {
    max-width: 550px;
}
.QQQQQQmodal-content .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    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);
    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);
}
    */