
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/mulish-v18-cyrillic_latin-300.woff2') format('woff2'),
       url('../fonts/mulish-v18-cyrillic_latin-300.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/mulish-v18-cyrillic_latin-regular.woff2') format('woff2'),
       url('../fonts/mulish-v18-cyrillic_latin-regular.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/mulish-v18-cyrillic_latin-500.woff2') format('woff2'),
       url('../fonts/mulish-v18-cyrillic_latin-500.ttf') format('truetype');
}
@font-face {
  font-display: swap;
  font-family: 'Mulish';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/mulish-v18-cyrillic_latin-600.woff2') format('woff2'),
       url('../fonts/mulish-v18-cyrillic_latin-600.ttf') format('truetype');
}



@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/PlayfairDisplay-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 400;
    src: url('../fonts/PlayfairDisplay-Italic.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/PlayfairDisplay-Medium.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 500;
    src: url('../fonts/PlayfairDisplay-MediumItalic.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: normal;
    font-weight: 600;
    src: url('../fonts/PlayfairDisplay-SemiBold.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    font-style: italic;
    font-weight: 600;
    src: url('../fonts/PlayfairDisplay-SemiBoldItalic.ttf') format('truetype');
    font-display: swap;
}







:root {
    --bg-unveil: #f9f6ed;
    --bg-signatures: #e6dacc;
    --bg-masters: #f0ece0;
    --bg-narrative: #cfc0a3;
    --bg-pricing: #f4f3ee;
    --bg-footer: #e9d9c9;
    --text-dark: #1a1a1a;
    --text-muted: #555555;
    --border-line: #a8a095;
    
	--navbar-bg-gradient: linear-gradient(180deg, #2f2f2f 0%, #141414 100%);
    --navbar-gold-accent: #F5E6C4;
    --nav-text-color: #F5F5F0;
    --bg-block-dark-color: #d9c59d;
    --bg-block-light-color: #f0e9dc;
    --font-body: 'Mulish', sans-serif;
    --font-heading: 'Playfair Display', serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #fff;
}

h1, h2, h3, h4, h5, .serif {
    font-family: var(--font-heading);
}

a {
    text-decoration: none;
}

html {
    scroll-behavior: smooth;
}

.bg-light-block {
	background-color: var(--bg-block-light-color);
	background-image: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 30%), radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.06) 0%, transparent 30%), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%), radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.02) 0%, transparent 30%);
	padding: 50px 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transform: translateZ(0);
	will-change: background-image;
}

.bg-dark-block {
	background-color: var(--bg-block-dark-color);
	background-image: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.3) 0%, transparent 30%), radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.06) 0%, transparent 30%), radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 40%), radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.02) 0%, transparent 30%);
	padding: 50px 0;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	transform: translateZ(0);
	will-change: background-image;
}

@media (min-width: 992px) {
	.bg-light-block, .bg-dark-block {
		padding: 70px 0;
	}
}

.glass-navbar {
    min-height: 70px;
    padding: 10px 0;
    width: 100%;
    background: var(--navbar-bg-gradient);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1020;
    transition: all 0.3s ease;
    border: none;
}

.glass-navbar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--navbar-gold-accent) 50%, transparent 100%);
    opacity: 1;
    z-index: 1021;
}

.glass-navbar .container-fluid {
    height: 100%;
}

.navbar-brand {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--navbar-gold-accent) !important;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link {
    color: var(--nav-text-color) !important;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: opacity 0.3s, color 0.3s;
}

.nav-link:hover {
    color: #c4a47c !important;
    opacity: 1;
}

.nav-icon-link, .nav-lang-link {
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    height: 100%;
    transition: opacity 0.3s;
    color: var(--nav-text-color) !important;
}

.nav-icon-link:hover, .nav-lang-link:hover {
    color: var(--navbar-gold-accent) !important;
}

.font-mulish {
    font-family: var(--font-body);
    font-weight: 600;
}

.navbar-toggler {
    border: none;
    padding: 0;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.fa-bars {
    color: #ffffff;
}

@media (min-width: 991.98px) {
    .nav-link {
        margin: 0 15px;
        line-height: 2;
        padding: 0 !important;
    }
}


.custom-dropdown {
    background-color: #1a1a1a; 
    border: 1px solid rgba(235, 209, 200, 0.2); 
    border-radius: 12px;
    padding: 8px 0;
    min-width: 80px; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
    margin-top: 15px !important; 
}

.custom-dropdown .dropdown-item {
    color: #dcd9d4;
    font-family: var(--font-body), sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 20px;
	text-align: center;
    transition: all 0.3s ease;
}


.custom-dropdown .dropdown-item:hover,
.custom-dropdown .dropdown-item:focus {
    background-color: transparent; 
    color: #ebd1c8; 
}


.custom-dropdown .dropdown-item.active {
    background-color: rgba(235, 209, 200, 0.05); 
    color: #ebd1c8;
}

#navbarNav .nav-item {
    position: relative; 
    margin: 0 6px;
}

#navbarNav .nav-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background-color: rgba(235, 209, 200, 0.3);
}

.dynamic-submenu .dropdown-item:hover {
	color: #c4a47c !important;
}


@media (max-width: 991.98px) {
    #navbarNav .nav-item:not(:last-child)::after {
        display: none;
    }
	.navbar-nav .nav-link::after {
        display: none !important;
    }
    #navbarNav .nav-item {
        margin: 0;
		width: 100%;
		text-align: center;
    }
    .navbar-collapse {
        background: #141414;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        padding: 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
		overflow-y: auto !important;               
		overflow-x: hidden !important;             
		max-height: calc(100vh - 85px) !important;
    }
	.nav-link {
        margin: 10px 0;
        line-height: normal;
        text-align: center !important;
        display: block !important;
        padding: 10px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    #navbarNav {
        border-radius: 0 0 24px 24px;
    }
    .navbar-nav {
        border: none !important;
        background: transparent !important;
        padding: 0 !important;
    }
	.mobile-menu-contacts {
		margin-top: 30px;
		padding-top: 30px;
		border-top: 1px solid rgba(255, 255, 255, 0.1);
		text-align: center;
	}
	.mobile-contacts-label {
		display: block;
		text-transform: uppercase;
		color: #c4a47c;
		letter-spacing: 1.5px;
		font-weight: 600;
		font-size: 0.75rem;
		margin-bottom: 8px;
	}
	.mobile-contacts-phone {
		display: inline-block;
		color: #ffffff !important;
		font-size: 1rem;
		letter-spacing: 0.5px;
		text-decoration: none;
		margin-bottom: 10px;
		border-bottom: 1px dashed #ffffff;
		padding-bottom: 4px;
	}
	.mobile-contacts-address {
		font-size: 0.8rem;
		color: rgba(255, 255, 255, 0.6);
		margin-bottom: 25px;
	}

	.mobile-contacts-address i {
		color: rgba(255, 255, 255, 0.6);
		margin-right: 5px;
	}
	.mobile-socials-wrap {
		display: flex;
		justify-content: center;
		gap: 15px;
	}

	.mobile-social-btn {
		width: 40px !important;
		height: 40px !important;
		border-radius: 50% !important;
		background: rgba(255, 255, 255, 0.05) !important;
		border: 1px solid rgba(196, 164, 132, 0.3) !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		transition: all 0.3s ease !important;
	}
	.mobile-social-btn i {
		color: #ffffff !important;
		font-size: 1.1rem !important;
	}

	.mobile-social-btn:hover {
		background: #d9c59d !important;
	}

	.mobile-social-btn:hover i {
		color: #141414 !important;
	}
	.custom-nav-dropdown .nav-link::after {
		display: none !important;
	}
	.submenu-indicator {
		font-size: 0.65rem;
		color: #c4a47c;
		transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
		margin-top: -2px;
	}
	.custom-nav-dropdown .nav-link[aria-expanded="true"] .submenu-indicator {
		transform: rotate(180deg);
	}
	.custom-nav-dropdown .nav-link {
		width: 100% !important;
		justify-content: center !important;
		text-align: center !important;
	}
	.dynamic-submenu .dropdown-item {
		text-align: center !important;
		padding-left: 10px !important; 
		padding-right: 10px !important;
		justify-content: center !important;
	}
	.dynamic-submenu .dropdown-item:hover {
		color: #c4a47c !important;
	}
	
		.navbar .dynamic-submenu .dropdown-item {
		font-size: 0.7rem !important;
	}
}


.hero-section {
    background: url('../img/bg.jpg') center/cover no-repeat;
    background-color: var(--bg-unveil);
    width: 100%;
    position: relative;
}

@supports (aspect-ratio: 1/1) {
    .hero-section {
        background-image: url('../img/bg.webp');
    }
}

.hero-title {
    line-height: 1.3;
    color: #2C2B29;
    margin-bottom: 0;
    font-weight: normal;
	margin-bottom: 20px;
}

.hero-line {
    width: 80px;
    height: 1px;
    background-color: var(--text-dark);
    opacity: 0.3;
}

.hero-arch-card {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 80px 80px 15px 15px;
    padding: 30px;
	padding-top: 70px !important;
    max-width: 620px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.03);
    overflow: hidden;
}



.hero-city-tag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, #2b221b 0%, #4a3f35 50%, #2b221b 100%);
    color: #e6ceb3; 
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
    border-bottom: 1px solid rgba(196, 164, 132, 0.4);
    z-index: 5;
}

@media (max-width: 360px) {
    .hero-city-tag {
        letter-spacing: 3px;
		font-size: 0.7rem;
    }
}

@media (max-width: 300px) {
    .hero-city-tag {
        letter-spacing: 2px;
		font-size: 0.7rem;
    }
}

.hero-description {
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    color: #2b2b2b;
    margin: 0;
}

.hero-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    width: 100%;
}

.hero-btn-primary,
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
	width: 100%;
    max-width: 270px;
}

.hero-btn-primary {
    background-color: var(--text-dark);
    color: #ffffff;
    border: 1px solid var(--text-dark);
}

.hero-btn-primary:hover {
    background-color: transparent;
    color: var(--text-dark);
}

.hero-btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--text-dark);
}

.hero-btn-secondary:hover {
    background-color: rgba(26, 26, 26, 0.05);
    border-color: var(--text-dark);
}

.hero-btn-primary svg,
.hero-btn-secondary svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.hero-btn-primary:hover svg,
.hero-btn-secondary:hover svg {
    transform: scale(1.1);
}

@media (min-width: 768px) {
    .hero-section {
        height: calc(100vh - 70px);
        min-height: 550px;
        max-height: 900px;
        
        position: relative !important; 
    }
    
    .image-container {
        
        position: static !important; 
    }
    
    .hero-model-img {
        
        position: absolute !important;
        bottom: 0 !important;
        right: 0 !important;
        height: 60% !important; 
        width: auto !important;
        max-width: 50vw !important; 
        object-fit: contain;
        object-position: bottom right;
        z-index: 1;
    }
}

@media (min-width: 992px) {
    .hero-model-img {
        height: 80% !important; 
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-arch-card {
        padding: 35px 20px 25px;
        max-width: 100%;
        border-radius: 60px 60px 15px 15px;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        padding: 12px 15px;
        font-size: 0.7rem;
    }
    
    .hero-model-img {
        height: 60% !important;
        margin-right: -1rem;
    }
}

@media (max-width: 767px) {
    .hero-section {
        height: auto;
        padding-top: 40px;
        overflow: hidden;
    }
    
    .hero-title {
        text-align: center !important;
        margin-bottom: 20px;
    }
    
    
    .hero-arch-card {
        position: relative;
        z-index: 10;
        border-radius: 60px 60px 15px 15px;
        padding: 40px 15px 30px;
    }
    
    .image-container {
        position: relative !important;
        height: 280px !important;
        width: 100%;
        display: flex !important;
        align-items: flex-end !important;
        justify-content: flex-end !important;
        margin: 0 !important;
    }
    
    .hero-model-img {
        position: relative !important;
        height: 100% !important;
        width: auto;
        margin-right: -1rem;
        object-fit: contain;
        object-position: bottom right;
        z-index: 1;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        padding: 14px 10px;
        width: 100%;
        font-size: 0.75rem;
    }
}

@media (max-width: 350px) {
    .hero-arch-card {
        margin-left: -12px;
        margin-right: -12px;
        width: calc(100% + 24px);
        padding: 35px 12px 25px;
    }
    
    .hero-city-tag {
        font-size: 0.75rem;
    }
    
    .hero-btn-primary,
    .hero-btn-secondary {
        font-size: 0.7rem;
        width: 100%;
    }
}

.nav-card-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-card-container:hover .nav-card-img {
    transform: scale(1.05);
}

.nav-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.nav-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.7) 50%, transparent 100%);
    text-align: center;
}

#hair-section, #nails-section, #face-section {
    scroll-margin-top: 70px;
}

.service-row {
    display: flex;
    flex-wrap: wrap;
}

.service-text-col {
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-gradient-col {
    padding: 0;
    background: linear-gradient(180deg, #998576 0%, #a99685 100%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.service-img-contain {
    width: auto;
    height: auto;
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    display: block;
}

@media (max-width: 767px) {
    .service-row {
        flex-direction: column;
    }
    
    .service-text-col {
        padding: 40px 20px;
    }
    
    .service-gradient-col {
        height: 400px;
        width: 100%;
    }
}

@media (min-width: 768px) {
    .service-gradient-col {
        height: auto;
        min-height: 100%;
    }
}

.bg-hair-text {
    position: relative;
    background-color: var(--bg-block-dark-color);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.03) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-nails-text {
    background-color: var(--bg-block-light-color);
}

.bg-face-text {
    position: relative;
    background-color: var(--bg-block-dark-color);
    background-image:
        radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(0, 0, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.03) 0%, transparent 40%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-hair-text h2.serif, .bg-face-text h2.serif {
    color: #2b2724;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.bg-hair-text .text-muted, .bg-face-text .text-muted {
    color: #4a4238 !important;
    font-weight: 500;
}

.bg-hair-text .border-top, .bg-face-text .border-top {
    border-color: rgba(43, 39, 36, 0.15) !important;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.3);
}

.bg-hair-text .bg-white, .bg-face-text .bg-white {
    background-color: rgba(255, 255, 255, 0.4) !important;
    color: #2b2724;
}

.bg-hair-text .btn-book, .bg-face-text .btn-book {
    border-color: #2b2724;
    color: #2b2724;
}

.bg-hair-text .btn-book:hover, .bg-face-text .btn-book:hover {
    background: #2b2724;
    color: #e3d7bf;
}

.btn-book {
    border: 1px solid var(--text-dark);
    padding: 10px 30px;
    border-radius: 0;
    text-decoration: none;
    color: var(--text-dark);
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    transition: 0.3s;
    background: transparent;
}

.btn-book:hover {
    background: var(--text-dark);
    color: #fff;
}

.portfolio-section {
    padding: 80px 0;
    background-color: #fff;
}

.gallery-item {
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.masters-section {
    padding: 80px 0;
    background-color: var(--bg-block-dark-color);
}

.master-card {
    text-align: center;
    background: #fff;
    padding-bottom: 20px;
    transition: transform 0.3s;
}

.master-card:hover {
    transform: translateY(-5px);
}

.master-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    filter: grayscale(20%);
    transition: filter 0.3s;
}

.master-card:hover img {
    filter: grayscale(0%);
}

.footer-section {
    background-color: var(--bg-footer);
    padding: 60px 0;
    color: var(--text-dark);
}

@media (max-width: 991px) {
    .nav-card-container {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }
    
    .gallery-item:nth-child(1) {
        grid-column: span 1;
    }
    
    .gallery-item:nth-child(3) {
        grid-column: span 1;
    }
}

.bg-white {
    position: relative;
}

.bg-white::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--navbar-gold-accent) 50%, transparent 100%);
    opacity: 1;
    z-index: 2;
}

.bg-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent 0%, var(--navbar-gold-accent) 50%, transparent 100%);
    opacity: 1;
    z-index: 2;
}

.bg-white .nav-card-overlay .serif {
    color: #000000;
}


@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem; 
    }
}


@media (min-width: 992px) and (max-width: 1200px) {
	.hero-title {
        font-size: 2.6rem; 
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 2.7rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.3rem;
    }
}

@media (max-width: 350px) {
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 320px) {
    .hero-title {
        font-size: 2rem;
    }
}


@media (min-width: 992px) and (max-width: 1205px) {
    .hero-card {
        flex: 0 0 60% !important;
        max-width: 60% !important;
    }
    .image-container {
        flex: 0 0 40% !important;
        max-width: 40% !important;
    }
    .hero-model-img {
        height: 70% !important;
        max-width: 40vw !important;
        transform-origin: bottom right;
    }
}

.hero-title span {
    
    font-size: inherit !important;
    font-family: inherit !important;
    font-weight: inherit !important;
    
    
    display: inline-block;
    background: linear-gradient(120deg, rgba(196, 164, 132, 0.3) 0%, rgba(196, 164, 132, 0.3) 100%);
    background-repeat: no-repeat;
    background-size: 100% 75%;
    background-position: 0 85%; 
    padding: 0 4px;
    border-radius: 2px;
}

.custom-logo {
    display: flex;
    align-items: center;
    align-self: center;
    padding: 0;
    text-decoration: none;
}

.logo-icon {
    height: 50px;
    width: auto;
    object-fit: contain;
    margin-right: 15px;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.logo-text-wrapper {
    display: inline-block;
    vertical-align: middle;
    text-align: left;
}

.logo-title {
    display: block;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 8px;
    color: #c4a47c;
	
}

.logo-subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 0.6rem;
    font-weight: 600;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 7px;
    color: #c4a47c; 
    word-spacing: 2px; 
    letter-spacing: 3px;
}



.navbar-nav {
    border: 1px solid rgba(235, 209, 200, 0.25); 
    border-radius: 50px; 
    padding: 4px 24px; 
    background: rgba(255, 255, 255, 0.03); 
    align-items: center;
}

.navbar-nav .nav-item {
    margin: 0 6px;
}


.navbar-nav .nav-link {
    font-family: var(--font-body), sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #dcd9d4 !important; 
    padding: 8px 0 !important;
    transition: color 0.3s ease;
	position: relative;
    width: max-content;
}

.navbar-nav .nav-link:hover {
    color: #c4a47c !important; 
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px; 
    left: 0;
    
    
    width: calc(100% - 2px); 
    height: 1px; 
    background-color: #c4a47c;
    
    
    transform: scaleX(0);
    
    
    transform-origin: right; 
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
    
    
    transform-origin: left; 
}



.action-capsule {
    border: 1px solid rgba(235, 209, 200, 0.25);
    border-radius: 50px; 
    padding: 4px 20px; 
    background: rgba(255, 255, 255, 0.03); 
}


.action-capsule .nav-icon-link,
.action-capsule .nav-lang-link {
    font-family: var(--font-body), sans-serif;
    font-size: 0.75rem; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px; 
    color: #dcd9d4 !important; 
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    padding: 8px 0 !important; 
    width: max-content;
}


.action-capsule .nav-icon-link i,
.action-capsule .nav-lang-link i {
    color: inherit; 
    font-size: 0.9rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.action-capsule .fa-phone, 
.action-capsule .fa-telegram,
.action-capsule .fa-globe {
    margin-right: 6px;
}

.action-capsule .caret-icon {
    font-size: 0.6rem !important;
    margin-left: 4px;
    margin-right: 0;
}


.action-capsule .nav-icon-link:hover i,
.action-capsule .nav-lang-dropdown:hover .fa-globe {
    transform: scale(1.1); 
}

.action-capsule .nav-lang-link::after {
    display: none; 
}

.action-capsule .nav-icon-link:hover,
.action-capsule .nav-lang-link:hover,
.action-capsule .nav-lang-link[aria-expanded="true"] {
    color: #c4a47c !important; 
}


.action-capsule .nav-icon-link span,
.action-capsule .nav-lang-link span {
    position: relative; 
}

.action-capsule .nav-icon-link span::after,
.action-capsule .nav-lang-link span::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: calc(100% - 1px); 
    height: 1px;
    background-color: #c4a47c; 
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.action-capsule .nav-icon-link:hover span::after,
.action-capsule .nav-lang-link:hover span::after,
.action-capsule .nav-lang-link[aria-expanded="true"] span::after {
    transform: scaleX(1);
    transform-origin: left;
}


.capsule-divider {
    width: 1px;
    height: 14px;
    background-color: rgba(235, 209, 200, 0.3);
    margin: 0 16px;
}

.action-capsule .navbar-toggler {
    color: #ebd1c8; 
}





.courses-section h2.serif,
.courses-section .text-muted {
    color: #2b2724 !important;
}




.at-section-line {
  display: block;
  width: 40px;
  height: 1px;
  background-color: #7f6b52;
  opacity: 0.6;
}


.at-section-subtitle {
  color: #7f6b52;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-align: center;
}

.bg-light-block .at-section-subtitle, .bg-light-block .at-section-line {
	color: #7f796f;
}


.at-section-title {
  color: #2b2724 !important;
  letter-spacing: -0.02em;
  font-weight: 500;
  padding-bottom: 20px; 
  margin-bottom: 20px !important; 
  position: relative;
}


.at-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 2px;
  background-color: #7f6b52; 
}

.bg-light-block .at-section-title::after {
	background-color: #7f796f;
}


.at-section-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  margin: 0 auto;
  letter-spacing: 0.01em; 
}


.at-card {
  --paper: #f5eedc;
  --ink: #2b2724;
  --ink-soft: #5d5244;
  --rule: rgba(43, 39, 36, 0.15);
  --bg-page: var(--bg-block-dark-color, #d9c59d);

  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  
  overflow: visible; 
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.at-card__progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 3px;
  background: var(--ink);
  transition: width 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 2;
}

.at-card__head {
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--rule);
}

.at-card__num {
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.at-card__num em { 
  font-style: italic; 
  color: var(--ink); 
  font-weight: 500; 
}

.at-card__tag {
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink);
  padding: 5px 12px;
  border: 1px solid var(--ink);
  font-weight: 500;
}

.at-card__tag--solid { 
  background: var(--ink); 
  color: var(--paper); 
}

.at-card__body { 
  padding: 28px 28px 22px; 
}

.at-card__title {
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.1;
  text-align: center;
}

.at-card__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--ink-soft);
}


.at-card__tear {
  position: relative;
  border-top: 2px dashed var(--rule);
  height: 0;
  z-index: 1;
}

.at-card__tear::before,
.at-card__tear::after {
  content: '';
  position: absolute;
  top: -12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg-page);
}

.at-card__tear::before { left: -12px; }
.at-card__tear::after  { right: -12px; }


.at-card__specs > div { padding: 16px 28px; }
.at-card__specs > div:first-child { border-right: 1px solid var(--rule); }

.at-card__specs dt {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--ink-soft);
  margin: 0 0 6px;
}

.at-card__specs dd {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
}

.at-card__specs dd span {
  font-size: 0.78rem;
  color: var(--ink-soft);
  font-weight: 400;
}


.at-card__program-btn {
    padding: 15px 28px;
    border-top: 1px solid var(--rule);
    background: transparent;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-weight: 600;
    transition: all 0.4s ease;
}

.at-card__program-btn span {
    border-bottom: 1px solid rgba(43, 39, 36, 0.4);
    padding-bottom: 3px;
    transition: border-color 0.4s ease;
}

.at-card__program-btn svg {
	transform: translateY(-2px);
}

.at-card__program-btn:hover {
    background: rgba(43, 39, 36, 0.04);
}

.at-card__program-btn:hover span {
    border-bottom-color: var(--ink);
}


.at-card__subtitle {
  font-family: var(--font-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  position: relative;
  margin-top: 10px;
  background: rgba(196, 164, 132, 0.1); 
  padding: 8px 10px 8px 12px;
  width: 100%;
  border-radius: 2px;
}


.at-card__subtitle::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--ink); 
  height: 100%; 
  width: 2px;
}


.at-card__cta {
  padding: 18px 28px;
  border-top: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  font-weight: 500;
  transition: background 0.4s;
}

.at-card__cta svg { 
  transition: transform 0.4s; 
}

@media (max-width: 1220px) {
	.courses-section .at-card__specs svg {
		display: none;
	}
}


.at-card:hover { transform: translateY(-4px); }
.at-card:hover .at-card__progress { width: 100%; }
.at-card:hover .at-card__cta { background: #1a1816; border-color: #1a1816; }
.at-card:hover .at-card__cta svg { transform: translateX(8px); }



.at-section-title.text-start::after {
    left: 0;
    transform: none;
}


/* --- СЕКЦИЯ: О НАС --- */


.about-desc {
    color: var(--ink-soft);
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 95%;
}




.about-image-wrapper {
    position: relative;
	
}

.about-image-wrapper img {
    object-fit: cover;
	border-radius: 40px;
	box-shadow: 0 5px 15px rgba(43, 39, 36, 0.12);
}


.about-stats-grid .stat-glass-card {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    padding: 24px 15px;
    height: 100%;
    position: relative; 
    overflow: hidden; 
    transition: transform 0.3s ease, background 0.3s ease;
}


.about-stats-grid .stat-glass-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.8) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: all 0.7s ease;
    z-index: 1; 
}

.about-stats-grid .stat-glass-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.45);
}


.about-stats-grid .stat-glass-card:hover::after {
    left: 150%;
    transition: all 0.7s ease-in-out;
}

.about-stats-grid .stat-number {
    font-size: 2.8rem;
    color: var(--text-dark);
    line-height: 1;
    font-weight: 500;
}

.about-stats-grid .stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    line-height: 1.5;
}



.about-stats-grid .stat-glass-card::before {
    content: '';
    position: absolute;
    
    top: 10px; left: 10px; right: 10px; bottom: 10px;
    pointer-events: none;
	--bg-corner-stats: #a39c90;
    background:
        
        linear-gradient(var(--bg-corner-stats), var(--bg-corner-stats)) top left / 15px 1.5px no-repeat,
        linear-gradient(var(--bg-corner-stats), var(--bg-corner-stats)) top left / 1.5px 15px no-repeat,
        
        linear-gradient(var(--bg-corner-stats), var(--bg-corner-stats)) bottom right / 15px 1.5px no-repeat,
        linear-gradient(var(--bg-corner-stats), var(--bg-corner-stats)) bottom right / 1.5px 15px no-repeat;
    z-index: 2;
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}


.about-stats-grid .stat-glass-card:hover::before {
    top: 5px; left: 5px; right: 5px; bottom: 5px;
    opacity: 1;
}






.adv-glass-card {
    background: linear-gradient(145deg, #2b2724 0%, #1a1816 100%);
    border: 1px solid rgba(196, 164, 132, 0.15);
    border-radius: 24px;
    padding: 0 !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden; 
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.adv-glass-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
    border-color: rgba(196, 164, 132, 0.4);
}

.adv-glass-header {
    background-color: transparent;
    padding: 40px 20px 10px;
    width: 100%;
    border-bottom: none;
}

.adv-glass-title {
    color: #ffffff !important;
    font-size: 1.5rem;
    margin-bottom: 0;
    font-weight: 500;
}

.adv-glass-body {
    padding: 10px 40px 40px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    align-items: center;
}

.adv-glass-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px; 
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(196, 164, 132, 0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
}

.adv-glass-icon svg { width: 40px; height: 40px; }

.adv-glass-icon path, .adv-glass-icon circle, .adv-glass-icon line, .adv-glass-icon rect, .adv-glass-icon polygon {
    stroke: #d9c59d; 
    transition: stroke 0.4s ease;
}

.adv-separator-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto 25px;
    gap: 15px;
    height: 8px; 
}

.adv-separator-title::before, .adv-separator-title::after {
    content: '';
    width: 50px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.adv-separator-title-dot {
    width: 6px; height: 6px;
    background: #d9c59d;
    transform: rotate(45deg);
}

.adv-glass-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}




@-webkit-keyframes heroFadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes heroFadeUp {
    0% {
        opacity: 0;
        -webkit-transform: translateY(30px);
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes heroFadeUpLittle {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes heroFadeUpLittle {
    0% {
        opacity: 0;
        -webkit-transform: translateY(10px);
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


.hero-anim {
    opacity: 0; 
    -webkit-animation: heroFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation: heroFadeUp 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.hero-anim-little {
    opacity: 0; 
    -webkit-animation: heroFadeUpLittle 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
    animation: heroFadeUpLittle 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}


.hero-anim-1 { 
    -webkit-animation-delay: 0.1s; 
    animation-delay: 0.1s; 
}
.hero-anim-2 { 
    -webkit-animation-delay: 0.3s; 
    animation-delay: 0.3s; 
}
.hero-anim-3 { 
    -webkit-animation-delay: 0.5s; 
    animation-delay: 0.5s; 
}
.hero-anim-4 { 
    -webkit-animation-delay: 0.7s; 
    animation-delay: 0.7s; 
}

/* --- СЕКЦИЯ БЕЗОПАСНОСТИ --- */


.safety-monolith {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.3) 40%, rgba(200, 192, 184, 0.7) 100%);
    
    backdrop-filter: blur(15px); 
    -webkit-backdrop-filter: blur(15px);
    border-radius: 30px;
    
    
	

    overflow: hidden;
    
    
    box-shadow: 
        0 20px 40px rgba(43, 39, 36, 0.12), 
        inset 6px 6px 15px rgba(255, 255, 255, 0.95), 
        inset -8px -8px 20px rgba(127, 107, 82, 0.3); 
}

.monolith-col {
    
    border-right: 1px solid rgba(127, 107, 82, 0.3);
    border-bottom: 1px solid rgba(127, 107, 82, 0.3);
    box-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

@media (min-width: 992px) {
    .monolith-col:last-child { 
        border-right: none; 
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8); 
    }
    .monolith-col { 
        border-bottom: none;
    }
}

@media (max-width: 991.98px) {
	.monolith-col { 
		border-right: none;
	}
}

.monolith-step-card {
    padding: 60px 40px;
    text-align: center;
    height: 100%;
    position: relative;
    transition: all 0.4s ease;
}

.monolith-step-card:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.1) 100%); 
}

.monolith-num {
	position: absolute;
	top: 20px;
	left: 30px;
	font-family: var(--font-body);
	font-size: 1.5rem;
	font-weight: 800;
	color: rgba(180, 160, 140, 0.6);
	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.monolith-icon {
    color: #2b2724; 
    margin-bottom: 25px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), color 0.4s ease;
}

.monolith-icon svg {
	height: 70px;
	width: auto;
    display: block;
}

.monolith-step-card:hover .monolith-icon {
    transform: translateY(-10px) scale(1.1);
    color: #635a53; 
    filter: drop-shadow(0 5px 10px rgba(255, 255, 255, 0.6));
}

.monolith-title {
    color: #2b2724;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.monolith-desc {
    color: #5d5244;
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.monolith-footer {
    background: linear-gradient(to bottom, #2b2724 0%, #141210 100%);
    border-top: 1px solid rgba(127, 107, 82, 0.3);
    padding: 20px;
    text-align: center;
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.2);
}



.teacher-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: transform 0.4s ease;
}

.teacher-card:hover { transform: translateY(-8px); }
.teacher-frame { position: relative; z-index: 1; }


.teacher-photo-wrapper {
    position: relative;
    background: #2b2724; 
    padding: 10px; 
    border-radius: 120px 120px 16px 16px; 
    box-shadow: 0 20px 40px rgba(43, 39, 36, 0.15);
    height: 480px; 
    transition: box-shadow 0.4s ease;
}

.teacher-card:hover .teacher-photo-wrapper {
    box-shadow: 0 30px 50px rgba(43, 39, 36, 0.25);
}

.teacher-photo-inner {
    width: 100%;
    height: 100%;
    border-radius: 110px 110px 8px 8px; 
    overflow: hidden;
    position: relative;
}


.teacher-photo-inner::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 110px 110px 8px 8px;
    border: 1px solid rgba(217, 197, 157, 0.3);
    pointer-events: none; 
    z-index: 2;
}

.teacher-photo {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center; 
    transition: transform 0.7s ease;
}

.teacher-card:hover .teacher-photo { transform: scale(1.05); }


.teacher-stats-overlay {
    position: absolute;
    bottom: -25px; 
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    background: rgba(43, 39, 36, 0.85); 
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1); 
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    box-shadow: 0 15px 30px rgba(43, 39, 36, 0.2);
    z-index: 3;
}

.t-stat { text-align: center; display: flex; flex-direction: column; }

.t-stat-num {
    font-size: 1.5rem;
    color: #d9c59d; 
    line-height: 1;
    margin-bottom: 4px;
}

.t-stat-label {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a39683;
    font-weight: 700;
}

.t-stat-divider {
    width: 1px; height: 30px;
    background: rgba(217, 197, 157, 0.2); 
}


.teacher-info { padding: 0 15px; flex-grow: 1; display: flex; flex-direction: column; z-index: 2; }
.teacher-name { font-size: 1.7rem; color: #2b2724; margin-bottom: 5px; }
.teacher-role {
    font-family: var(--font-body);
    font-size: 0.7rem;
    color: #ffffff; 
    background: #2b2724;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.1em;
    font-weight: 700;
    margin: 0 auto 15px;
    width: fit-content;
}
.teacher-desc { color: #4a4238; font-family: var(--font-body); font-size: 0.95rem; line-height: 1.6; max-width: 90%; }

@media (max-width: 767.98px) {
    .teacher-photo-wrapper { height: 400px; border-radius: 100px 100px 16px 16px; }
    .teacher-photo-inner, .teacher-photo-inner::after { border-radius: 90px 90px 8px 8px; }
    .teacher-stats-overlay { width: 95%; }
}


/* =========================================
   СЛАЙДЕР ДО/ПОСЛЕ
   ========================================= */

.ba-card-wrapper {
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    padding-bottom: 20px;
}

.ba-slider {
    position: relative;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.06);
    aspect-ratio: 3 / 4; 
    background: #e6ddd0;
}

.ba-img-after, 
.ba-img-before {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.ba-img-before-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.ba-img-before-wrapper img {
    width: 200%;
    max-width: none;
}

.ba-range {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    cursor: ew-resize;
}

.ba-handle {
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background-color: #ffffff;
    transform: translateX(-50%);
    z-index: 5;
    pointer-events: none;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.ba-handle-arrows {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: #2b2724;
    font-size: 0.7rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.ba-badge {
    position: absolute;
    top: 20px;
    padding: 6px 16px;
	background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 30px;
    color: #2b2724;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 4;
    pointer-events: none;
}

.ba-badge-left { 
    left: 20px;
	color: #ffffff;
}

.ba-badge-right { 
    right: 20px;
	color: #ffffff;
}

.ba-caption-block {
    position: relative;
    background: linear-gradient(135deg, rgba(220, 222, 225, 0.35) 0%, rgba(175, 178, 182, 0.5) 100%);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-bottom-color: rgba(140, 143, 148, 0.5);
    border-right-color: rgba(140, 143, 148, 0.5);
    margin: -35px 20px 0;
    padding: 20px 25px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(25, 25, 30, 0.1);
    z-index: 10;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.ba-author {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: #ffffff;
    background: #2b2724;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.15em;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    box-shadow: 0 4px 10px rgba(43, 39, 36, 0.15);
}

.ba-caption {
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: #2b2724;
    line-height: 1.6;
    margin-bottom: 0;
}


/* =========================================
   СЕКЦИЯ ОТЗЫВОВ (Editorial Quotes)
   ========================================= */

.review-card {
    background: linear-gradient(145deg, #2b2724 0%, #1a1816 100%);
    border: 1px solid rgba(196, 164, 132, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.1);
}


.review-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(217, 197, 157, 0.5), transparent);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(43, 39, 36, 0.2);
    border-color: rgba(196, 164, 132, 0.3);
}

.review-card:hover::before {
    opacity: 1;
}


.review-quote-icon {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 60px;
    height: 60px;
    color: #d9c59d;
    opacity: 0.08;
    z-index: 1;
    pointer-events: none;
    transform: rotate(10deg);
}

.review-quote-icon svg {
    width: 100%;
    height: 100%;
}


.review-body {
    position: relative;
    z-index: 2;
    flex-grow: 1;
	padding-bottom: 10px;
}

.review-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: #f5eedc; 
    font-style: italic;
    font-weight: 300;
    margin-bottom: 0;
}


.review-footer {
    display: flex;
    align-items: center;
    border-top: 1px solid rgba(217, 197, 157, 0.15); 
    position: relative;
    z-index: 2;
}


.review-avatar {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(217, 197, 157, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: #d9c59d;
    margin-right: 15px;
    position: relative;
    overflow: hidden; 
}


.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}


.review-avatar::after {
    content: '';
    position: absolute;
    top: 3px; left: 3px; right: 3px; bottom: 3px;
    border-radius: 50%;
    background: rgba(217, 197, 157, 0.05);
    z-index: 2; 
    pointer-events: none; 
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-name {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 2px;
}

.review-course {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #a39683;
    margin-bottom: 6px;
    font-weight: 700;
}

.review-insta {
    font-family: var(--font-body);
    font-size: 0.75rem;
    color: #c4a47c;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.review-insta i {
    font-size: 0.85rem;
}

.review-insta:hover {
    color: #ffffff;
}

@media (max-width: 767.98px) {
    .review-card {
        padding: 30px 25px;
    }
    .review-quote-icon {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 20px;
    }
}

/* =========================================
   СЕКЦИЯ СЕРТИФИКАТОВ
   ========================================= */


.at-section-title.at-title-left::after {
    left: 0;
    transform: none;
}

.cert-desc {
    font-size: 1.05rem;
    line-height: 1.7;
}


.cert-features-list .cert-check-icon {
    width: 28px;
    height: 28px;
    background: rgba(196, 164, 132, 0.15); 
    color: #a88b68; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.cert-features-list h4 {
    color: #2b2724 !important;
}

/* --- БЛОК С СЕРТИФИКАТАМИ --- */
.cert-visual-wrapper {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px; 
}


.cert-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    background: radial-gradient(circle, rgba(196, 164, 132, 0.15) 0%, transparent 70%);
    z-index: 0;
    filter: blur(20px);
}


.cert-img {
    position: absolute;
    width: 80%;
    border-radius: 6px;
    border: 8px solid #ffffff; 
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    background-color: #ffffff;
}


.cert-img-back {
    transform: rotate(6deg) translate(25px, 15px);
    z-index: 1;
    opacity: 0.9;
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.08);
}


.cert-img-front {
    transform: rotate(-3deg) translate(-15px, -15px);
    z-index: 2;
    box-shadow: 0 25px 50px rgba(43, 39, 36, 0.15);
}


.cert-visual-wrapper:hover .cert-img-front {
    transform: rotate(0deg) translate(-5px, -30px) scale(1.05);
    box-shadow: 0 30px 60px rgba(43, 39, 36, 0.2);
}

.cert-visual-wrapper:hover .cert-img-back {
    transform: rotate(10deg) translate(40px, 30px);
    opacity: 0.7;
}


.cert-seal-badge {
    position: absolute;
    bottom: 20px;
    right: 5%;
    width: 90px;
    height: 90px;
    background: #2b2724; 
    border-radius: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 15px 30px rgba(43, 39, 36, 0.3);
    
    animation: float-seal 6s ease-in-out infinite;
}

.cert-seal-inner {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(217, 197, 157, 0.5); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.cert-seal-text {
    color: #d9c59d;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
    padding: 10px;
}

@keyframes float-seal {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}


@media (max-width: 991.98px) {
    .cert-visual-wrapper {
        height: 450px; 
        margin-top: 50px; 
        margin-bottom: 20px;
    }
    .cert-img {
        width: 75%; 
    }
    .cert-seal-badge {
        width: 75px;
        height: 75px;
        bottom: -10px; 
        right: 0;
    }
    .cert-seal-text {
        font-size: 0.45rem;
    }
}


@media (max-width: 767.98px) {
    .cert-visual-wrapper {
        height: 360px; 
        margin-top: 40px; 
    }
    .cert-img {
        width: 85%; 
    }
    .cert-seal-badge {
        width: 75px;
        height: 75px;
        bottom: -10px; 
        right: 0;
    }
    .cert-seal-text {
        font-size: 0.4rem;
    }
}


@media (max-width: 575.98px) {
    .cert-visual-wrapper {
        height: 280px; 
        margin-top: 40px;
    }
    .cert-img {
        width: 90%; 
    }
    .cert-seal-badge {
        width: 75px;
        height: 75px;
        bottom: -10px; 
        right: 0;
    }
    .cert-seal-text {
        font-size: 0.35rem;
    }
}


@media (max-width: 379.98px) {
    .cert-visual-wrapper {
        height: 220px; 
        margin-top: 30px;
    }
    .cert-img {
        width: 85%; 
    }
    .cert-seal-badge {
        width: 75px;
        height: 75px;
        bottom: -10px; 
        right: 0;
    }
    .cert-seal-text {
        font-size: 0.3rem;
        padding: 5px;
    }
}


.cert-features-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}


.cert-feature-card {
    display: flex;
    align-items: flex-start;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.35); 
    border: 1px solid rgba(196, 164, 132, 0.25); 
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.cert-feature-card:hover {
    background: #ffffff;
    border-color: rgba(196, 164, 132, 0.6);
    box-shadow: 0 15px 30px rgba(43, 39, 36, 0.05);
    transform: translateX(8px);
}


.cert-feature-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: #2b2724; 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: #d9c59d; 
    box-shadow: 0 5px 15px rgba(43, 39, 36, 0.1);
    transition: transform 0.4s ease;
}

.cert-feature-icon svg {
    width: 22px;
    height: 22px;
}


.cert-feature-card:hover .cert-feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.cert-feature-text h3 {
    color: #2b2724;
    font-size: 1.15rem;
    margin-bottom: 6px;
    margin-top: 2px; 
}

.cert-feature-text p {
    color: #5d5244;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
}


/* =========================================
   СЕКЦИЯ "СТАТЬ МОДЕЛЬЮ"
   ========================================= */
.model-list-premium {
    display: flex;
    flex-direction: column;
}

.model-list-premium li {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 1px solid rgba(196, 164, 132, 0.4);
    border-radius: 16px;
    padding: 24px 30px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, background 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 10px 30px rgba(43, 39, 36, 0.05);
}

.model-list-premium li:hover {
    transform: translateY(-4px);
    background: #ffffff;
    box-shadow: 0 15px 40px rgba(43, 39, 36, 0.1);
    border-color: rgba(196, 164, 132, 0.8);
}

.model-icon-premium {
    width: 60px;
    height: 60px;
    background: #2b2724;
    color: #ffffff;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    box-shadow: 0 8px 16px rgba(43, 39, 36, 0.15);
    transition: all 0.4s ease;
    transform: rotate(-3deg);
}

.model-icon-premium svg {
    width: 28px;
    height: 28px;
}

.model-list-premium li:hover .model-icon-premium {
    transform: rotate(0deg) scale(1.05);
    background: #1a1816;
}

.model-btn-luxury {
    display: inline-flex;
    align-items: center;
    background: #2b2724;
    padding: 6px 6px 6px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: 1px solid rgba(217, 197, 157, 0.3);
    box-shadow: 0 10px 25px rgba(43, 39, 36, 0.2);
	padding-top: 10px;
	padding-bottom: 10px;
}

.btn-luxury-text {
    color: #ffffff;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    margin-right: 24px;
    transition: color 0.4s ease;
}

.btn-luxury-icon {
    width: 34px;
    height: 34px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b2724;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
	margin-right: 10px;
}

.btn-luxury-icon svg {
    width: 20px;
    height: 20px;
}

.model-btn-luxury:hover {
    background: #1a1816;
    border-color: #d9c59d;
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.3);
}

@media (max-width: 575.98px) {
    .model-list-premium li {
        padding: 20px 20px;
    }
    
    .model-icon-premium {
        width: 50px;
        height: 50px;
        margin-right: 15px;
    }
    
    .btn-luxury-text {
        font-size: 0.7rem;
        margin-right: 16px;
    }
    
}

@media (max-width: 300px) {
	.btn-luxury-text {
		font-size: 0.6rem;
	}
	.btn-luxury-icon {
		width: 24px;
		height: 24px;
	}
	.btn-luxury-icon svg {
		width: 16px;
		height: 16px;
	}
}



/* ГДЕ ПРОХОДИТ ОБУЧЕНИЕ */

.gallery-card-editorial {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background-color: #2b2724;
    height: 450px;
    box-shadow: 0 20px 40px rgba(43, 39, 36, 0.15);
    transform: translateY(-8px) translateZ(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-card-editorial:hover {
    transform: translateY(0) translateZ(0);
    box-shadow: 0 10px 30px rgba(43, 39, 36, 0.08);
}

.gallery-img-editorial {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.06);
    transition: transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-card-editorial:hover .gallery-img-editorial {
    transform: scale(1);
}

.gallery-border-permanent {
    position: absolute;
    inset: 12px;
    border: 1px solid rgba(217, 197, 157, 0.7);
    border-radius: 10px;
    pointer-events: none;
    z-index: 2;
    transition: border-color 0.4s ease;
}

.gallery-card-editorial:hover .gallery-border-permanent {
    border-color: rgba(255, 255, 255, 0.25);
}

.gallery-number-glass {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background: rgba(43, 39, 36, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(217, 197, 157, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: border-color 0.4s ease, background 0.4s ease;
}

.gallery-card-editorial:hover .gallery-number-glass {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.gallery-number-glass span {
    color: #d9c59d;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1;
    transition: color 0.4s ease;
}

.gallery-card-editorial:hover .gallery-number-glass span {
    color: #ffffff;
}

.gallery-info-plate {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(26, 24, 22, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(217, 197, 157, 0.4);
    border-radius: 12px;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 3;
    transition: background 0.4s ease, border-color 0.4s ease;
}

.gallery-card-editorial:hover .gallery-info-plate {
    background: rgba(26, 24, 22, 0.55);
    border-color: rgba(255, 255, 255, 0.15);
}

.gallery-info-text {
    display: flex;
    flex-direction: column;
}

.gallery-plate-subtitle {
    font-family: var(--font-body);
    font-size: 0.6rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #d9c59d;
    margin-bottom: 4px;
}

.gallery-plate-title {
    color: #ffffff;
    font-size: 1.15rem;
    margin: 0;
}

.gallery-plate-icon {
    color: #d9c59d;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transform: scale(1.1);
    transition: all 0.4s ease;
}

.gallery-plate-icon svg {
    width: 22px;
    height: 22px;
}

.gallery-card-editorial:hover .gallery-plate-icon {
    color: #ffffff;
    opacity: 0.6;
    transform: scale(1);
}

@media (max-width: 991.98px) {
    .gallery-card-editorial {
        height: 400px;
    }
}

@media (max-width: 575.98px) {
    .gallery-card-editorial {
        height: 380px;
    }
    
    .gallery-number-glass {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }
    
    .gallery-info-plate {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px 18px;
    }
    
    .gallery-plate-title {
        font-size: 1.05rem;
    }
}


/* FANCYBOX GALLERY */
.f-button.is-prev,
.f-button.is-next {
    background: rgba(0, 0, 0, 0.6) !important;
    color: #ffffff !important;
    border-radius: 50% !important;
    width: 50px !important;
    height: 50px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    transition: all 0.3s ease !important;
}

.f-button.is-prev:hover,
.f-button.is-next:hover {
    background: rgba(43, 39, 36, 0.7) !important;
    border-color: rgba(217, 197, 157, 0.5) !important;
    transform: scale(1.05);
}

.f-button.is-prev svg,
.f-button.is-next svg {
    width: 22px !important;
    height: 22px !important;
    stroke-width: 2 !important;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

@media (max-width: 767.98px) {
    .f-button.is-prev,
    .f-button.is-next {
        width: 44px !important;
        height: 44px !important;
    }
    
    .f-button.is-prev {
        left: 10px !important;
    }
    
    .f-button.is-next {
        right: 10px !important;
    }
    
    .f-button.is-prev svg,
    .f-button.is-next svg {
        width: 18px !important;
        height: 18px !important;
    }
}


/* =========================================
   СЕКЦИЯ ЛИЦЕНЗИЙ И ДИПЛОМОВ
   ========================================= */
/*
.license-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #2b2724 0%, #1a1816 100%);
    border: 1px solid rgba(217, 197, 157, 0.2);
    border-radius: 16px;
    padding: 12px;
    height: 100%;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease, border-color 0.5s ease;
    transform: translateZ(0);
}

.license-card:hover {
    transform: translateY(-8px) translateZ(0);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border-color: rgba(217, 197, 157, 0.5);
}

.license-img-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f9f6ed;
}

.license-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease;
}

.license-card:hover .license-img {
    transform: scale(1.08);
    filter: brightness(0.9);
}

.license-frame-accent {
    position: absolute;
    inset: 10px;
    border: 1px solid rgba(217, 197, 157, 0.4);
    border-radius: 4px;
    pointer-events: none;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.license-card:hover .license-frame-accent {
    inset: 16px;
    border-color: rgba(217, 197, 157, 0.9);
}

.license-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    z-index: 3;
}

.license-icon-glass {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
    background: rgba(43, 39, 36, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(217, 197, 157, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9c59d;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    animation: glassPulse 2.5s infinite;
}

.license-card:hover .license-icon-glass {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
}

.license-icon-glass svg {
    width: 20px;
    height: 20px;
}
.license-info {
    padding: 22px 10px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.license-title {
    color: #ffffff;
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.license-divider {
    width: 25px;
    height: 1px;
    background: #d9c59d;
    margin-bottom: 12px;
    transition: width 0.4s ease;
}

.license-card:hover .license-divider {
    width: 45px;
}

.license-desc {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: #a39683;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    margin: 0;
}

@media (max-width: 991.98px) {
    .license-frame-accent {
        inset: 8px;
        opacity: 0.5;
    }
    
    .license-icon-glass {
        bottom: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
    
    .license-icon-glass svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 575.98px) {
    .license-img-wrapper {
        aspect-ratio: 4 / 5;
    }
}
*/

/* =========================================
   СЕКЦИЯ FAQ
   ========================================= */


.custom-faq .accordion-item {
    background: transparent;
    border: none;
}


.custom-faq .accordion-button::after {
    display: none !important;
}


.faq-card {
    background: #2b2724;
    border: 1px solid rgba(196, 164, 132, 0.2);
    border-radius: 20px !important;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.faq-card:hover {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
    border-color: rgba(196, 164, 132, 0.5);
    transform: translateY(-4px);
}


.custom-faq .accordion-button.faq-btn {
    background: transparent !important;
    padding: 28px 35px;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.custom-faq .accordion-button.faq-btn:not(.collapsed) {
    padding-bottom: 15px;
}


.faq-btn-content {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    padding-right: 20px;
}

.faq-num {
    font-size: 1.1rem;
    color: #c4a47c;
    font-weight: 700;
    margin-top: 3px;
    opacity: 0.8;
}

.faq-question {
    font-size: 1.25rem;
    font-family: var(--font-body);
    color: #ffffff;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    transition: color 0.3s ease;
}

.faq-btn:hover .faq-question {
    color: #f5eedc;
}


.faq-chevron {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    border: 1px solid rgba(217, 197, 157, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c4a47c;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    background: rgba(255, 255, 255, 0.03);
}

.faq-chevron svg {
    width: 20px;
    height: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}


.faq-btn:not(.collapsed) .faq-chevron {
    background: #f5eedc;
    border-color: #f5eedc;
    color: #2b2724;
}

.faq-btn:not(.collapsed) .faq-chevron svg {
    transform: rotate(180deg);
}


.custom-faq .accordion-body {
    padding: 0 35px 32px 95px;
}

.faq-answer-inner {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    position: relative;
    padding-top: 5px;
}


@media (max-width: 767.98px) {
    .faq-card {
        border-radius: 18px !important;
    }

    .custom-faq .accordion-button.faq-btn {
        padding: 22px 20px;
    }
    
    .faq-btn-content {
        gap: 0; 
        padding-right: 10px;
    }
    
    
    .faq-num {
        display: none;
    }
    
    .faq-question {
        font-size: 1.1rem;
    }
    
    .faq-chevron {
        width: 36px;
        height: 36px;
        min-width: 36px;
    }
    
    .faq-chevron svg {
        width: 16px;
        height: 16px;
    }
    
    
    .custom-faq .accordion-body {
        padding: 0 20px 25px 20px;
    }
}


/* =========================================
   СЕКЦИЯ КОНСУЛЬТАЦИИ
   ========================================= */

#consultation-section .text-center {
    position: relative;
    z-index: 3;
}

.premium-glass-form-wrapper {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(255, 255, 255, 0.6);
    border-left: 1px solid rgba(255, 255, 255, 0.6);
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 30px;
    padding: 40px 50px;
    box-shadow: 
        0 25px 50px rgba(43, 39, 36, 0.1),
        inset 0 0 20px rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.glass-form-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 4px; 
    background: #2b2724; 
    transition: width 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 5;
    border-radius: 0; 
}

.premium-glass-form-wrapper:hover .glass-form-progress {
    width: 100%;
}

.glass-tag {
    font-family: var(--font-body);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    background: #2b2724;
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    display: inline-block;
}

.glass-input-box {
    position: relative;
    margin-top: 40px;
}


.glass-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 1.05rem;
    color: #2b2724;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02);
}

.glass-field:focus {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 
        inset 0 2px 5px rgba(0,0,0,0.02),
        0 0 15px rgba(255, 255, 255, 0.4);
}

.glass-input-box label {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 0.95rem;
    color: rgba(43, 39, 36, 0.6);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-field:focus ~ label,
.glass-field:not(:placeholder-shown) ~ label {
    top: -24px;
    left: 10px;
    font-size: 0.75rem;
    color: #2b2724;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.glass-field:focus ~ label .optional-text,
.glass-field:not(:placeholder-shown) ~ label .optional-text {
    display: none;
}

.glass-submit-btn {
    background: #2b2724;
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 18px 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.glass-submit-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.6s ease;
}

.glass-submit-btn:hover {
    background: #1a1816;
    box-shadow: 0 15px 25px rgba(43, 39, 36, 0.2);
    transform: translateY(-2px);
}

.glass-submit-btn:hover::after {
    left: 200%;
}

.glass-submit-btn i {
    font-size: 1rem;
    transition: transform 0.4s ease;
}

.glass-submit-btn:hover i {
    transform: translateX(8px);
}

@media (max-width: 575.98px) {
    .glass-submit-btn {
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }
}

@media (max-width: 300.98px) {
    .glass-submit-btn {
		font-size: 0.7rem;
    }
	.glass-submit-btn i {
		font-size: 0.9rem;
	}
	.glass-input-box label {
		font-size: 0.85rem;
	}
}


@media (max-width: 575.98px) {
    .premium-glass-form-wrapper {
        padding: 40px 25px;
        border-radius: 24px;
    }
}

























/* =========================================
   ДИЗАЙН КАРТЫ
   ========================================= */


.map-arch-container {
    position: relative;
    padding-bottom: 20px;
}

.map-arch-frame {
    width: 100%;
    height: 550px;
    border-radius: 30px; 
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(43, 39, 36, 0.12);
    border: 8px solid #ffffff; 
    background: #e6ddd0;
}


.contact-row {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    position: relative;
}

.contact-num {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #d9c59d;
    font-style: italic;
    opacity: 0.8;
    margin-top: 5px;
}

.location-hint {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a39683;
    margin-top: 5px;
    font-weight: 700;
}


.social-link-minimal {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: #2b2724;
    text-decoration: none;
    position: relative;
    padding-bottom: 5px;
}

.social-link-minimal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: #d9c59d;
    transition: width 0.3s ease;
}

.social-link-minimal:hover {
    color: #a88b68;
}

.social-link-minimal:hover::after {
    width: 100%;
}


@media (max-width: 991.98px) {
    .map-arch-frame {
        height: 450px;
    }
    .map-floating-badge {
        right: 10px;
        bottom: 30px;
    }
}

@media (max-width: 575.98px) {
    .map-arch-frame {
        height: 380px;
    }
    .contact-row {
        gap: 15px;
    }
    .contact-content h4 {
        font-size: 1.3rem !important;
    }
}


/* =========================================
   КОНТАКТЫ
   ========================================= */

.soft-glass-card {
    background: rgba(255, 255, 255, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 20px 25px; 
    box-shadow: 0 10px 25px rgba(43, 39, 36, 0.03);
    transition: all 0.3s ease;
    display: flex;
    align-items: center; 
}

.soft-glass-card:hover {
    background: rgba(255, 255, 255, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.06);
}


.glass-icon-dark {
    width: 50px;
    height: 50px;
    min-width: 50px;
    background: #2b2724; 
    color: #ffffff;      
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}






.social-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2b2724; 
    color: #ffffff;      
    padding: 10px 18px;
    border-radius: 50px; 
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-pill-btn i {
    font-size: 1.1rem;
}


.social-pill-btn:hover {
    background: #1a1816;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(43, 39, 36, 0.2);
}


.soft-glass-card:hover .social-pill-btn {
    transform: none;
}

.soft-glass-card:hover .social-pill-btn:hover {
    transform: translateY(-2px);
}

@media (max-width: 480px) {
    
    .social-wrap-mobile {
        justify-content: center;
    }

    
    .soft-glass-card.flex-column {
        align-items: center !important;
        text-align: center;
    }
    
    
    .soft-glass-card .w-100.mb-3 {
        margin-bottom: 15px !important;
    }
}


.phone-card-link {
    cursor: pointer;
}

.call-hint {
    display: block;
    font-size: 0.75rem;
    color: #7d7d7d;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
    font-weight: 600;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}


.phone-card-link:hover .call-hint {
    opacity: 1;
}

.phone-card-link:hover .fw-bold {
    color: #a88b68 !important;
    transition: color 0.3s ease;
}

/* ФУТЕР */

.site-footer {
    background-color: #1f1f1f;
}

.footer-desc {
    line-height: 1.6;
}

.footer-heading {
    letter-spacing: 1px;
}

.footer-copyright {
    font-size: 0.8rem;
}

.footer-links {
    margin-bottom: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links li:last-child {
    margin-bottom: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: #d9c59d;
    transform: translateX(5px);
}

.scroll-top-btn {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(217, 197, 157, 0.2);
    color: #d9c59d;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scroll-top-btn:hover {
    background: #d9c59d;
    color: #1a1816;
    border-color: #d9c59d;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.site-footer .border-secondary {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.developer-link {
    transition: color 0.3s ease;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    padding-bottom: 1px;
}

.developer-link:hover {
    color: #d9c59d !important;
    border-bottom-color: #d9c59d;
}

.footer-phone {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 1px;
}

.footer-phone:hover {
    color: #d9c59d;
}

.footer-socials a {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(217, 197, 157, 0.3);
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-decoration: none;
}

.footer-socials a:hover {
    background: #d9c59d;
    color: #1a1816;
    transform: translateY(-4px);
    box-shadow: 0 5px 15px rgba(217, 197, 157, 0.2);
}

@media (max-width: 991.98px) {
    .scroll-top-btn {
        display: none;
    }
}




.glass-navbar .container-fluid {
    flex-wrap: nowrap !important;
}


@media (min-width: 992px) {
    .action-capsule {
        display: flex;
        align-items: center;
    }
}


@media (max-width: 991.98px) {
    .action-capsule {
        display: grid !important;
        
        grid-template-columns: 1fr 1fr max-content;
        grid-template-areas:
            "phone tg burger"
            "lang lang burger";
        gap: 8px; 
        padding: 0 !important; 
        border: none !important; 
        background: transparent !important; 
        align-items: stretch;
        margin-left: auto;
    }

    
    .action-capsule .mobile-phone,
    .action-capsule .mobile-tg,
    .action-capsule .mobile-lang,
    .action-capsule .mobile-burger {
        border: 1px solid rgba(235, 209, 200, 0.3) !important; 
        border-radius: 12px; 
        background: rgba(255, 255, 255, 0.05); 
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px 12px !important;
    }

    
    .action-capsule .mobile-phone { grid-area: phone; }
    .action-capsule .mobile-tg { grid-area: tg; }
    .action-capsule .mobile-lang { grid-area: lang; margin-top: 0 !important; }

    
    .action-capsule .mobile-burger {
        grid-area: burger;
        height: 100%;
        
    }

    
    .action-capsule .mobile-lang .nav-lang-link {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
	body ..glass-navbar {
		padding: 7px 0;
	}
	.action-capsule .nav-lang-link {
		padding: 0 !important;
	}
	.action-capsule .fa-phone, .action-capsule .fa-telegram, .action-capsule .fa-globe {
		margin-right: 0 !important;
	}
	.action-capsule .nav-icon-link span::after,
    .action-capsule .nav-lang-link span::after {
        display: none !important;
    }

}


@media (max-width: 420px) {
    .action-capsule {
        gap: 6px;
    }
    
    .action-capsule .mobile-phone,
    .action-capsule .mobile-tg,
    .action-capsule .mobile-lang {
        padding: 6px 10px !important;
    }
    
    .action-capsule .mobile-burger {
        padding: 6px 12px !important;
    }
	
	.action-capsule .nav-icon-link, .action-capsule .nav-lang-link {
		font-size: 0.65rem;
	}
	.action-capsule .nav-icon-link i, .action-capsule .nav-lang-link i {
		font-size: 0.8rem;
	}
	.navbar .custom-dropdown .dropdown-item {
		font-size: 0.65rem;
	}
	
}

@media (max-width: 320px) {
    .action-capsule {
        gap: 4px;
    }
    .action-capsule .mobile-phone,
    .action-capsule .mobile-tg,
    .action-capsule .mobile-lang {
        padding: 4px 8px !important;
    }
    
    .action-capsule .mobile-burger {
        padding: 4px 10px !important;
    }
}

@media (max-width: 310px) {
.action-capsule {
        
        grid-template-columns: 1fr max-content !important;
        grid-template-areas:
            "phone burger"
            "lang burger" !important;
    }
	.action-capsule .mobile-tg, .action-capsule .nav-lang-link i.fa-globe {
		display: none !important;
	}
	.nav-lang-link i {
		margin-left: 0 !important;
	}
.action-capsule .mobile-phone {
        width: 100% !important;
    }
}



/* ========================================================================
   АДАПТИВ МЕНЮ В 2 РЯДА
   ======================================================================== */
@media (min-width: 992px) and (max-width: 1320px) {
    
    #navbarNav .navbar-nav {
        display: grid !important;
        grid-template-columns: max-content max-content; 
        gap: 6px 8px; 
        padding: 8px 10px !important;
        border-radius: 18px !important; 
        justify-content: center;
        align-items: center;
        width: auto !important;
        flex-direction: unset !important;
    }

    
    #navbarNav .nav-item::after {
        display: none !important;
    }

    
    #navbarNav .nav-item {
        margin: 0 !important;
        width: 100%;
        display: flex;
        justify-content: flex-start; 
    }

    
    #navbarNav .navbar-nav .nav-link {
        font-size: 0.7rem !important;
        letter-spacing: 1.5px !important;
        padding: 3px 0 !important;
        line-height: 1.4 !important;
        width: max-content !important;
    }

    
    .action-capsule {
        padding: 4px 14px !important;
    }
    .action-capsule .capsule-divider {
        margin: 0 10px !important;
    }
	.mobile-tg span {
		display: none !important;
	}
	.mobile-tg i {
		margin-right: 0 !important;
	}
	.action-capsule .nav-icon-link, .action-capsule .nav-lang-link, .custom-dropdown .dropdown-item {
		font-size: 0.7rem !important;
	}
	.navbar .custom-dropdown {
		z-index: 1030 !important; 
	}
}




@media (min-width: 1100px) and (max-width: 1320px) {
    #navbarNav .navbar-nav .nav-link, .action-capsule .nav-icon-link, .action-capsule .nav-lang-link, .custom-dropdown .dropdown-item {
        font-size: 0.75rem !important;
    }
    #navbarNav .navbar-nav {
        gap: 6px 18px;
        padding: 8px 16px !important;
    }
}

@media (min-width: 1320px) and (max-width: 1520px) {
  #navbarNav .navbar-nav .nav-link, .action-capsule .nav-icon-link, .action-capsule .nav-lang-link, .custom-dropdown .dropdown-item {
    font-size: 0.7rem !important;
  }
	.mobile-tg span {
		display: none !important;
	}
	.mobile-tg i {
		margin-right: 0 !important;
	}
    #navbarNav .navbar-nav {
        gap: 6px 6px;
		padding-left: 6px;
		padding-right: 6px;
    }
    #navbarNav .navbar-nav .nav-link {
        letter-spacing: 1.5px !important;
		margin: 0 5px;
    }
	.navbar .action-capsule {
		gap: 0 !important;
	}
}



/* АДАПТИВ ШАПКИ */

@media (max-width: 575.98px) {
	.navbar .logo-icon {
		height: 42px;
		margin-right: 10px;
	}
	.navbar .logo-title {
		font-size: 0.8rem;
		letter-spacing: 6px;
	}
	.navbar .logo-subtitle {
		font-size: 0.5rem;
		letter-spacing: 2px;
	}
	.navbar .custom-logo {
		margin-right: 10px;
	}
}

@media (max-width: 991.98px) {
	.nav-lang-dropdown .custom-dropdown {
		margin-top: 0.4rem !important;
	}
}

.nav-lang-dropdown .custom-dropdown {
	z-index: 1030 !important;
	padding: 4px 0;
}



/* =========================================
   СЕКЦИЯ "ДЛЯ КОГО"
   ========================================= */
.audience-card {
    background: linear-gradient(145deg, #2b2724 0%, #1a1816 100%);
    border: 1px solid rgba(196, 164, 132, 0.15);
    border-radius: 20px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.1);
    height: 100%;
}

.audience-card:hover {
    transform: translateY(-8px);
    border-color: rgba(196, 164, 132, 0.4);
    box-shadow: 0 25px 50px rgba(43, 39, 36, 0.2);
}


.audience-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 25px !important; 
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d9c59d;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(196, 164, 132, 0.15);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), background 0.4s ease;
}

.audience-icon svg {
    width: 24px;
    height: 24px;
}


.audience-card:hover .audience-icon {
    transform: scale(1.1) rotate(5deg);
    background: rgba(255, 255, 255, 0.08);
}

.audience-line {
    width: 40px;
    height: 2px;
    background: #d9c59d;
    margin: 0 auto 20px !important; 
    transition: width 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.audience-card:hover .audience-line {
    width: 80px;
}

.audience-title {
    color: #ffffff;
    font-size: 1.5rem;
    margin-bottom: 15px;
	text-align: center;
}

.audience-desc {
    color: rgba(255, 255, 255, 0.65);
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    flex-grow: 1; 
	text-align: center;
}

@media (max-width: 767.98px) {
    .audience-card {
        padding: 35px 25px;
    }
}

/* МОДАЛЬНЫЕ ОКНА */

.premium-modal .modal-dialog {
    max-width: 700px;
}

.glass-modal-content {
    background: var(--bg-block-light-color, #f0e9dc);
    border: 1px solid rgba(196, 164, 132, 0.4);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(43, 39, 36, 0.15);
    overflow: hidden;
}

.premium-modal .modal-header {
    padding: 30px 40px 10px;
}

.premium-modal .modal-title {
    color: var(--ink, #2b2724);
    position: relative;
    padding-bottom: 15px;
	padding-right: 45px;
}


.premium-modal .modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: #7f796f;
}


.btn-close-custom {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid rgba(43, 39, 36, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2b2724;
    padding: 0;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: 10;
}

.btn-close-custom svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.4s ease;
}

.btn-close-custom:hover {
    background: #2b2724; 
    color: #ffffff;
    border-color: #2b2724;
    transform: rotate(90deg);
}

.premium-modal .modal-body {
    padding: 20px 40px 40px;
}


.program-html-content h4 {
    color: var(--ink, #2b2724);
    font-size: 1.25rem;
    font-weight: 500;
}

.premium-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

.premium-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    line-height: 1.6;
}


.premium-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: #7f796f;
    border-radius: 50%;
}


.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(196, 164, 132, 0.1);
    border-radius: 10px;
    margin-top: 10px;
    margin-bottom: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(196, 164, 132, 0.5);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(196, 164, 132, 0.8);
}

/* Мобильный адаптив */
@media (max-width: 767.98px) {
    .premium-modal .modal-header {
        padding: 25px 25px 10px;
    }
    .premium-modal .modal-body {
        padding: 20px 25px 30px;
    }
    .btn-close-custom {
        top: 20px;
        right: 20px;
        width: 36px;
        height: 36px;
    }
	.btn-close-custom svg {
        width: 18px;
        height: 18px;
        min-width: 18px;
        min-height: 18px;
    }
}


/* =========================================
   МОДАЛЬНОЕ ОКНО "БЕСПЛАТНАЯ КОНСУЛЬТАЦИЯ"
   ========================================= */

#consultationForm .glass-field { 
    border-color: rgba(43, 39, 36, 0.2); 
    background: rgba(255, 255, 255, 0.6); 
}

#consultationForm .glass-field:focus { 
    border-color: var(--ink, #2b2724); 
    background: #ffffff; 
}

#consultationForm textarea { 
    resize: none; 
}


.glass-field.is-invalid-custom {
    border-color: #e65c5c !important; 
    background: rgba(230, 92, 92, 0.05) !important;
}

.glass-field.is-invalid-custom:focus {
    box-shadow: inset 0 2px 5px rgba(0,0,0,0.02), 0 0 15px rgba(230, 92, 92, 0.2) !important;
}


.glass-field.is-invalid-custom ~ label {
    color: #e65c5c !important;
}


.modal-subtitle-text {
    font-size: 0.9rem;
}


.form-message-box {
    font-size: 0.85rem;
    font-weight: 600;
}

.glass-submit-btn.is-sending {
    background: #5d5244 !important;
    border-color: #5d5244 !important;
    opacity: 0.9;
    pointer-events: none;
}




.has-prefix-box {
    position: relative;
}

.input-prefix {
    position: absolute;
    top: 18px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
    pointer-events: none;
    opacity: 0.9;
}

.input-prefix span {
    font-size: 1.05rem;
    color: #2b2724;
    font-weight: 500;
}

.ua-flag {
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
    display: block;
}


.has-prefix-box .glass-field {
    padding-left: 95px !important;
}


.has-prefix-box label {
    left: 95px !important;
}


.has-prefix-box .glass-field:focus ~ label,
.has-prefix-box .glass-field:not(:placeholder-shown) ~ label {
    left: 10px !important;
}


.glass-field:focus + .input-prefix span {
    color: #2b2724;
}



select.glass-field {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2724' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
	background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 15px !important;
    padding-right: 40px;
    cursor: pointer;
}

select.glass-field option {
    color: #2b2724;
    background: #ffffff;
}


.glass-input-box label.active-label {
    top: -24px;
    left: 10px;
    font-size: 0.75rem;
    color: #2b2724;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}



/* =========================================
   ВИДЖЕТ ОБРАТНОГО ЗВОНКА
   ========================================= */
.callback-widget-3 {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    gap: 8px; 
    z-index: 1040;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}


.callback-widget-3 .cb-btn {
    width: 55px;
    height: 55px;
    background: #2b2724; 
    color: #ffffff;      
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    box-shadow: 0 10px 25px rgba(43, 39, 36, 0.25);
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
}


.callback-widget-3 .cb-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    
	background: rgba(94, 86, 79, 0.15);
	border: 1px solid rgba(94, 85, 79, 0.15);
    box-shadow: 0 0 12px rgba(217, 197, 157, 0.5);
    
    z-index: -1;
    animation: cbPulseEffect 2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes cbPulseEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    40% {
        opacity: 0.8;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}


.callback-widget-3:hover .cb-btn {
    transform: scale(1.05);
    background: #1a1816;
}

.callback-widget-3:hover .cb-label {
    transform: translateY(-3px); 
}


@media (max-width: 575.98px) {
    .callback-widget-3 {
        bottom: 20px; 
        right: 20px;
        gap: 6px;
    }
    
    .callback-widget-3 .cb-btn {
        width: 48px; 
        height: 48px;
        font-size: 1.05rem;
    }
    
    .callback-widget-3 .cb-label {
        font-size: 0.62rem; 
        padding: 4px 10px;
    }
}

@media (min-width: 1200px) {
	body.modal-open .callback-widget-3 {
		margin-right: 17px;
	}
}














































/* INDEX CARDS */

.dir-card-v5 {
    display: block;
    position: relative;
    height: 520px;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 20px 40px rgba(43, 39, 36, 0.15);
}

.dir-v5-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.dir-card-v5:hover .dir-v5-bg {
    transform: scale(1.08);
}

.dir-v5-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 24, 22, 0.98) 0%, rgba(26, 24, 22, 0.90) 45%, rgba(26, 24, 22, 0.4) 75%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 40px 30px;
    transition: background 0.5s ease;
}

.dir-card-v5:hover .dir-v5-overlay {
    background: linear-gradient(to top, #1a1816 0%, rgba(26, 24, 22, 0.95) 50%, rgba(26, 24, 22, 0.6) 85%, transparent 100%);
}

.dir-v5-content {
    width: 100%;
    position: relative;
    z-index: 2;
}

.dir-v5-line {
    display: block !important;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #d9c59d 0%, rgba(217, 197, 157, 0.3) 50%, transparent 100%) !important;
    margin: 0 0 15px 0;
    opacity: 0.7 !important;
    transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.dir-card-v5:hover .dir-v5-line {
    width: 100%;
    opacity: 1 !important;
}

.dir-v5-content h3 {
    color: #d9c59d;
    font-size: 1.8rem;
    margin-bottom: 12px;
    line-height: 1.2;
}

.dir-v5-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-luxury-text {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.4s ease;
}

.btn-luxury-text i {
    font-size: 1rem;
    color: #d9c59d;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.dir-card-v5:hover .btn-luxury-text {
    color: #d9c59d;
}

.dir-card-v5:hover .btn-luxury-text i {
    transform: translateX(8px);
}




















/* Сертификат на главной */

.index-certificate .cert-visual-wrapper {
    position: relative;
    height: 520px;
    width: 100%;
}

.index-certificate .cert-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(196, 164, 132, 0.2) 0%, transparent 70%);
    z-index: 0;
    filter: blur(30px);
}

.index-certificate .cert-img {
    position: absolute;
    width: 46%;
    border-radius: 6px;
    border: 6px solid #ffffff; 
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(43, 39, 36, 0.1);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.5s ease;
}

.index-certificate .cert-img-1 {
    top: 12%;
    left: 0;
    transform: rotate(-4deg);
    z-index: 1;
}

.index-certificate .cert-img-2 {
    top: 32%;
    left: 27%;
    transform: rotate(3deg);
    z-index: 2;
    box-shadow: 0 20px 45px rgba(43, 39, 36, 0.12);
}

.index-certificate .cert-img-3 {
    top: 6%;
    left: 54%;
    transform: rotate(-2deg);
    z-index: 3;
}

.index-certificate .cert-img:hover {
    transform: scale(1.08) rotate(0deg);
    z-index: 10;
    box-shadow: 0 30px 60px rgba(43, 39, 36, 0.25);
}

.index-certificate .cert-seal-badge {
    position: absolute;
    bottom: 15px;
    right: 0;
    width: 85px;
    height: 85px;
    background: #2b2724; 
    border-radius: 50%;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    box-shadow: 0 10px 25px rgba(43, 39, 36, 0.2);
    animation: float-seal 6s ease-in-out infinite;
}

.index-certificate .cert-seal-inner {
    width: 100%;
    height: 100%;
    border: 1px dashed rgba(217, 197, 157, 0.5); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.index-certificate .cert-seal-text {
    color: #d9c59d;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .index-certificate .cert-visual-wrapper {
        height: 380px;
        margin-top: 30px;
    }
    .index-certificate .cert-img {
        width: 50%;
    }
    .index-certificate .cert-img-1 { top: 8%; left: 0; }
    .index-certificate .cert-img-2 { top: 28%; left: 25%; }
    .index-certificate .cert-img-3 { top: 12%; left: 50%; }
}

@media (max-width: 480px) {
    .index-certificate .cert-visual-wrapper {
        height: 290px;
    }
    .index-certificate .cert-img {
        border: 4px solid #ffffff;
    }
}