/* ============================================
   RESET AND BASE STYLES
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #2c2c2c;
    background-color: #fafafa;
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5em;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1em;
}

/* ============================================
   CONTAINER AND LAYOUT
   ============================================ */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 90px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    background: #f2f2f2;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 37px 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-logo a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: #2c2c2c;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #f18311;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link-cta {
    border-radius: 25px;
    padding: 0 25px;
    background: rgba(241, 131, 17, 0.85);
    font-weight: 700;
    font-size: 16px;
    font-variant: all-small-caps;
    color: #fff;
    display: block;
    max-width: 150px;
    height: 50px;
    line-height: 50px;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background-size: cover;
    background-repeat: no-repeat;
    max-height: 802px;
    background-position: center;
    height: 100vh;
    position: relative;
    width: 100%;
    padding-top: 82px;
    max-width: 1920px;
    margin: auto;
}

.hero-content {
    padding-left: 240px;
    position: relative;
}

.contact-hero{
    position: absolute;
    left: 90px;
    top: 120px;
}
.contact-hero .telega img{
    width: 33px;
    margin-bottom: 25px;
    cursor: pointer;
}
.contact-hero .phone img{
    width: 43px;
    margin-left: -3px;
    cursor: pointer;
}
.stars-header{
    margin-bottom: 15px;
}
.mini-header{
    font-weight: 600;
    font-size: 16px;
    color: #f2f2f2; 
    margin-bottom: 40px;   
}
.mini-header span{
    color: #f18311;
}
.stars-header img{
    width: 104px;
}
.hero .hero-title {
    font-weight: 700;
    font-size: 40px;
    color: #f2f2f2;
    margin-bottom: 30px;
}
.hero .hero-title span{
     color: #f18311;  
     display: block; 
}

.hero .hero-subtitle {
    font-weight: 400;
    font-size: 16px;
    font-variant: all-small-caps;
    color: #f2f2f2;
    margin-bottom: 0;
}

.hero-buttons {
    margin-top: 50px;
}

.hero-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.hero-preference{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    position: absolute;
    bottom: 50px;
    width: 100%;
    padding: 0 136px;
}

.hero-item-preference{
    font-weight: 500;
    font-size: 20px;
    text-align: center;
    background: linear-gradient(297deg, #ff8200 0%, #e0b77a 25%, rgb(241 131 17) 50%, #e0b77a 75%, rgb(241 131 17) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-item-preference p{
    margin: 0;
    line-height: 20px;
}
.hero-item-preference span{
    font-weight: 600;
    font-size: 40px;    
}

.preference{
    background: #f2f2f2;  
    padding-top: 145px;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    max-width: 1920px;
    margin: auto;
    background-image: url(../images/sourse/back.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.preference-items{
    width: 50%;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: left;
    -webkit-box-pack: justify;
    -webkit-justify-content: left;
    -ms-flex-pack: justify;
    flex-wrap: wrap;
    padding-left: 170px;
}
.preference-item:nth-child(1) {
    width: 50%;
    padding: 40px 20px 20px 20px;
    margin-right: 25px;
    margin-bottom: 25px;
    position: relative;
    border: 2px solid rgba(241, 131, 17, 0.4);
    border-radius: 30px 0 0 0;
    max-width: 228px;
    height: 229px;
    text-align: center;
}
.preference-item:nth-child(2) {
    width: 50%;
    padding: 40px 20px 20px 20px;
    margin-right: 25px;
    margin-bottom: 25px;
    position: relative;
    border: 2px solid rgba(241, 131, 17, 0.4);
    border-radius: 0 30px 0 0;
    max-width: 228px;
    height: 229px;
    text-align: center;
}
.preference-item:nth-child(4) {
    width: 50%;
    padding: 40px 20px 20px 20px;
    margin-right: 25px;
    margin-bottom: 25px;
    position: relative;
    border: 2px solid rgba(241, 131, 17, 0.4);
    border-radius: 0 0 30px 0;
    max-width: 228px;
    height: 229px;
    text-align: center;
}
.preference-item:nth-child(3) {
    width: 50%;
    padding: 40px 20px 20px 20px;
    margin-right: 25px;
    margin-bottom: 25px;
    position: relative;
    border: 2px solid rgba(241, 131, 17, 0.4);
    border-radius: 0 0 0 30px;
    max-width: 228px;
    height: 229px;
    text-align: center;
}
.preference-description{
    width: 50%;   
    padding-right: 100px; 
}
.preference-item-image img{
    width: 73px;
    margin: auto;
    margin-bottom: 20px;
}
.preference-item-text{
    font-weight: 500;
    font-size: 16px;
    text-align: center;
    color: #000;    
}
.preference-item-text span{
    text-transform: uppercase;
}
.preference-item-header-span{
    font-weight: 400;
    font-size: 48px;
    text-transform: uppercase;
    text-align: center;
    color: #f18311;    
}
.preference-item-header-span span{
    font-weight: 500;
    font-size: 16px;
    display: block;
    margin-top: -15px;
    margin-bottom: 15px;
}
.preference-description{
    margin-top: 40px;
}
.preference-description-title{
    font-weight: 700;
    font-size: 36px;
    color: #000;
    margin-bottom: 50px;
    font-family: 'Playfair Display', serif;
}
.preference-description-title span{
    color: #f18311;
    display: block;
    margin-bottom: -15px;
}
.preference-description-text{
    font-weight: 400;
    font-size: 18px;
    color: #000;
}

.choice{
    padding-top: 60px;
    padding-bottom: 100px;
    max-width: 1920px;
    margin: auto; 
    background-image: url(../images/sourse/choice.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.choice-header{
    font-weight: 700;
    font-size: 36px;
    text-align: center;
    color: #cbcbcb; 
    margin-bottom: 118px;   
}

.choice-header span{
    color: #f18311;
}
.choice-items{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    flex-wrap: wrap;
    width: 70%;
    margin: auto;
}
.choice-item:first-child{
    margin-bottom: 160px;
}
.choice-item{
    width: 50%;
    max-width: 400px;
    position: relative;
}
.choice-item-header{
    font-weight: 600;
    font-size: 20px;
    font-variant: all-small-caps;
    color: #fff;
    margin-bottom: 20px;
}
.choice-item-text{
    font-weight: 400;
    font-size: 20px;
    color: #fff;
}

.choice-item:nth-child(1)::after {
    content: '';
    width: 206px;
    height: 206px;
    position: absolute;
    left: -100px;
    bottom: -30px;
    background-image: url(../images/sourse/leaves.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.choice-item:nth-child(2)::after {
    content: '';
    width: 206px;
    height: 206px;
    position: absolute;
    left: -120px;
    bottom: 130px;
    background-image: url(../images/sourse/house-rules.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.choice-item:nth-child(3)::after {
    content: '';
    width: 206px;
    height: 206px;
    position: absolute;
    left: -105px;
    bottom: -20px;
    background-image: url(../images/sourse/museum.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.choice-item:nth-child(4)::after {
    content: '';
    width: 206px;
    height: 206px;
    position: absolute;
    left: -115px;
    bottom: -25px;
    background-image: url(../images/sourse/vitruvian-man.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    font-size: 1rem;
}

.btn-primary {
    border-radius: 25px;
    max-width: 408px;
    height: 50px;
    background: rgba(241, 131, 17, 0.85);
    font-weight: 600;
    font-size: 16px;
    font-variant: all-small-caps;
    color: #000;
    border: none;
    line-height: 50px;
    padding: 0 25px;
    position: relative;
}
.btn-primary:after{
    content: '';
    width: 51px;
    height: 51px;
    position: absolute;
    right: -51px;
    bottom: 0px;
    background-image: url(../images/sourse/right-arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s;
}

.btn-primary:hover:after{
    transform: translateX(4px);
}

.btn-secondary {
    background-color: transparent;
    color: #d4a574;
    border-color: #d4a574;
}

.btn-secondary:hover {
    background-color: #d4a574;
    color: #fff;
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.1rem;
}

/* ============================================
   SECTIONS
   ============================================ */
.section-title {
    margin-bottom: 77px;
    font-weight: 700;
    font-size: 36px;
    color: #000;
}
.section-title span{
    color: #f18311;
    display: block;
}
.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

section {
    padding: 5rem 0;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background-color: #fff;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.feature-icon {
    font-size: 1.5rem;
    color: #d4a574;
    font-weight: bold;
}

.about-image {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-preview {
    background-color: #f9f9f9;
}

.services-about{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;    
}

.services-preview .section-title{
    margin-bottom: 50px;
}

.services-preview .pre-title{
    font-weight: 400;
    font-size: 20px;
    color: #727272;  
    margin-bottom: 23px;  
}

.service-card-title h3{
    border: 1px solid #d9d9d9;
    border-radius: 53px;
    width: 428px;
    height: 70px;
    background: #f2f2f2;
    font-weight: 400;
    font-size: 20px;
    color: #000;
    text-align: left;
    line-height: 70px;
    cursor: pointer;
    padding-left: 50px;
    transition: all 0.1s ease;
}
.service-card-title h3:hover{
    background: #f18311;
    font-weight: 600;
    font-size: 20px;
    color: #000;
}

.active-card h3{
    background: #f18311;
    font-weight: 600;
    font-size: 20px;
    color: #000;
}

.services-titles{
    margin-right: 14px;
}
.service-card-description{
    display: none;   
}

.active-description{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;  
    border-radius: 30px;
    background: rgba(217, 217, 217, 0.35);
    padding: 20px;   
    box-shadow: 0 -4px 1px 0 #f18311;
}

.service-card-header{
    font-weight: 600;
    font-size: 20px;
    color: #000;  
    margin-bottom: 50px;  
    padding-top: 30px;
}

.service-card-intro{
    font-weight: 400;
    font-size: 18px;
    color: #000;   
    flex-grow: 1;
    margin-bottom: 30px;
}

.service-card-image{
    border-radius: 30px; 
    max-width: 300px;  
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-height: 598px;
    height: 100vh;   
    width: 100%; 
}

.service-meta-items{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;   
    margin-bottom: 50px;   
}

.service-meta-items .meta-item .label{
    font-weight: 300;
    font-size: 14px;
    color: #000;
    text-transform: none;
}

.service-card-title{
    margin-bottom: 20px;
}

.service-meta-items .meta-item .value{
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-card {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid #d4a574;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.service-link {
    border: 2px solid #f18311;
    border-radius: 25px;
    padding: 0 25px;
    width: 145px;
    height: 40px;
    background: rgba(241, 131, 17, 0.85);
    font-weight: 500;
    font-size: 16px;
    color: #000;
    line-height: 40px;
    position: relative;
    margin-left: auto;
    margin-right: 60px;
}

.service-link:hover {
    gap: 1rem;
}

.services-cta {
    text-align: center;
}

.service-card-more{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;   
    padding-left: 45px; 
    width: 60%;
}

.service-link:after {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
    right: -42px;
    bottom: -2px;
    background-image: url(../images/sourse/right-arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s;
    rotate: -45deg;
}
.service-link:hover:after {
    transform: translateX(4px);
}
.services-descriptions{
    width: 70%;
}
.mob_description{
    display: none;
} 

/* ============================================
   PORTFOLIO SECTION
   ============================================ */
.portfolio-preview {
    background: #f2f2f2;
    padding-top: 50px;
}
.pre-title{
    font-weight: 400;
    font-size: 20px;
    color: #161616;
    margin-bottom: 30px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #d4a5#f18311;
    background-color: transparent;
    color: #f18311;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background-color: #f18311;
    color: #fff;
}

.filter-btn:hover {
    background-color: #f18311;
    color: #fff;
}

.portfolio-grid-full {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.portfolio-item-full {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-item-full img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item-full:hover img {
    transform: scale(1.05);
}

.portfolio-overlay-full {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 2rem;
}

.portfolio-item-full:hover .portfolio-overlay-full {
    opacity: 1;
}

.portfolio-overlay-full h3 {
    color: #fff;
    margin-bottom: 0.5rem;
    text-align: center;
}

.portfolio-overlay-full p {
    color: #d4a574;
    margin: 0;
    font-size: 14px;
}



.slider-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.slider {
    padding: 40px 0;
}

.slide {
    outline: none;
    transition: all 0.3s ease;
}

.slide-content {
    border-radius: 29px;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.5;
    transform: scale(0.5);
    filter: blur(10px);
}

.slide-content img {
    width: 100%;
    height: 630px;
    object-fit: cover;
    display: block;
}

/* Активный центральный слайд */
.slick-center .slide-content {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
}

.portfolio-preview .portfolio-preview-header{
    position: relative;
}
.portfolio-more{
    position: absolute;
    top: 0;
    right: 70px;
    font-weight: 500;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
}
.portfolio-more::after {
    content: '';
    width: 60px;
    height: 10px;
    position: absolute;
    right: -70px;
    bottom: 7px;
    background-image: url(../images/sourse/arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.dots{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;  
    position: absolute;  
    right: 0;
    bottom: 0;
}
.slick-arrow{
    width: 15px;
    height: 27px;
    opacity: 0.4;
    cursor: pointer;
    transition: all 0.3s ease;
}
.slick-arrow:hover{
  opacity: 1;  
}
.slick-img-prev {
    rotate: 180deg;
    margin-right: 40px;
}


@media (max-width: 768px) {
    .portfolio-grid-full {
        grid-template-columns: repeat(2, 1fr);
    }

    .portfolio-filters {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid-full {
        grid-template-columns: 1fr;
    }
}

.portfolio-cta {
    text-align: center;
    margin-top: 60px;
}

/* ============================================
   MASTERS SECTION
   ============================================ */
.masters {
    background: rgb(242 242 242);
    padding-top: 0;
}

.masters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.masters-slider-text{
    width: 40%;
    margin-right: 80px;
    padding-left: 50px;
    padding-top: 130px;
}
.masters-slider{
    width: 60%;
    max-height: 644px;
}

.master-card-image{
    border-radius: 30px 0 0 30px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    max-height: 644px;
    height: 100vh !important;
    margin-right: 20px;
}

.masters-slider .slick-active{
    width: 160px !important;
    opacity: 0.5;
}

.masters-slider .slick-current{
    width: 437px !important;
    opacity: 1;
}

.slider-items{
    display: flex !important;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
}
.masters-header-block{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;    
}
.masters-all{
    font-weight: 500;
    font-size: 16px;
    color: rgba(0, 0, 0, 0.6);
    position: relative;
}
.masters-all::after {
    content: '';
    width: 60px;
    height: 10px;
    position: absolute;
    right: -70px;
    top: 8px;
    background-image: url(../images/sourse/arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}
.master-card img {
    width: 100%;
    object-fit: cover;
}

.master-card h3 {
    font-weight: 700;
    font-size: 36px;
    color: #000;
    margin-top: 130px;
    margin-bottom: 22px;
}

.master-bio-stag{
    font-weight: 300;
    font-size: 16px;
    color: #000; ;   
}

.master-bio-stag span{
    font-weight: 700;  
}

.master-card .master-specialty {
    padding: 0 1.5rem;
    color: #d4a574;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: none;
    position: absolute;
}

.master-bio {
    padding: 1rem 1.5rem;
    color: #666;
    font-size: 0.95rem;
}

.master-link {
    display: block;
    border: 2px solid #f18311;
    background: rgba(241, 131, 17, 0.85);
    border-radius: 25px;
    padding: 0 25px;
    width: 220px;
    height: 40px;
    font-weight: 500;
    font-size: 16px;
    color: #000;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 40px;
    position: relative;
}
.master-link:after {
    content: '';
    width: 40px;
    height: 40px;
    position: absolute;
    right: -42px;
    bottom: -2px;
    background-image: url(../images/sourse/right-arrow.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s;
}
.master-link:hover:after {
    transform: translateX(4px);
}

.masters .container{
    background-image: url(../images/sourse/back-master.png);
    background-position: top;
    background-repeat: no-repeat;
    background-size: contain;
    padding-top: 45px;
}

.masters-cta {
    text-align: center;
}

.master-card-description h3{
    margin-bottom: 22px;
}

.master-bio-description{
    font-weight: 400;
    font-size: 16px;
    color: #000;   
    margin-bottom: 80px; 
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    background: #1e1e1f;
    padding-top: 150px;
}

.testimonials .pre-title{
    font-weight: 500;
    font-size: 20px;
    color: #fff;
    margin-bottom: 12px;
}

.testimonials .pre-title span{
    color: #f18311;   
}

.testimonials .section-title{
    font-weight: 400;
    font-size: 16px;
    color: #fff;
    margin-bottom: 45px;
}

.testimonials .section-title span{
    font-weight: 700;
    font-size: 36px;
    color: #f18311;    
}

.testimonials .container{
    background-image: url(../images/sourse/back-reviews.png);
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 25%;
    padding-top: 45px;
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    -webkit-box-pack: justify;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    padding-right: 20p
}

.testimonials-header-block{
    width: 30%;
    padding-top: 35px;
}

.testimonials-grid-slider{
    width: 70%;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 30px;
    border-radius: 29px;
    background: #292929;
    margin-right: 20px;
}

.stars {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    line-height: 20px;
    font-weight: 400;
    font-size: 14px;
    color: #fff;
}

.testimonial-author {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    color: #fff;
}
.dots-testimonials .slick-img-prev {
    rotate: 0deg;
    margin-right: 60px;
}
.dots-testimonials .slick-img-next {
    rotate: 180deg;
}
.dots-testimonials{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    padding-left: 20px;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    background: #f2f2f2;
}

.faq-container {
    margin: 0 auto;
}

.faq-item {
    box-shadow: 0 -4px 0 0 rgba(255, 130, 0, 0.4);
    border-radius: 50px;
    padding: 25px 68px 25px 58px;
    font-weight: 600;
    font-size: 20px;
    color: #000;
}

.faq-question {
    width: 100%;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 20px;
    color: #000;
    position: relative;
    background: transparent;
}

.faq-question::after {
    content: '';
    width: 25px;
    height: 15px;
    position: absolute;
    right: 0;
    top: 10px;
    background-image: url(../images/sourse/arrow_faq.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s
}

.faq-question:hover {

}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    font-weight: 400;
    font-size: 20px;
    color: #000;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-item.active .faq-question::after {
    rotate: -60deg;
}

.faq-answer p {
    padding: 30px 0;
    font-weight: 400;
    font-size: 18px;
    color: #000;
    margin: 0;
    width: 80%;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
    color: #fff;
    text-align: center;
    padding: 5rem 20px;
}

.cta-section h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.section-form{
    padding-top: 40px;
}

.section-form .pre-title{
    font-weight: 400;
    font-size: 16px;
    color: #727272;  
    margin-bottom: 25px;  
}
.form-header-block{
    display: flex;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    justify-content: space-between;
    padding-right: 160px;
}

.form-header{
    font-weight: 700;
    font-size: 36px;
    color: #000;
    font-family: 'Playfair Display', serif;
}

.form-header span{
    color: #f18311;
}

.section-form .btn-primary{
    font-weight: 700;
    font-size: 16px;
    font-variant: all-small-caps;
    color: #fff;
    background: #f18311;
    margin-top: 25px;
}

.section-form .btn-primary:after {
    content: '';
    width: 51px;
    height: 51px;
    position: absolute;
    right: -51px;
    bottom: 0px;
    background-image: url(../images/sourse/arrow-form.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    transition: all 0.5s;
}

.all-styles{
    height: 550px;
    background-image: url(../images/sourse/back-styles.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;  
    overflow: hidden;
    border-bottom: 1px solid #f18311;
}

.all-styles:after {
    content: "";
    display: table;
    clear: both;
}

.style-header{
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 25px;
    padding: 0 25px;
    height: 44px;
    line-height: 44px;
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.72);   
    text-align: center; 
    margin-right: 25px;
    margin-bottom: 16px;
    cursor: pointer;
    float: left;
}
.line:nth-child(2n+1){
    margin-left: -50px;
}
.line{
   
}
.style-header:hover{
    border: 1px solid #fff;
    color: #fff;
    opacity: 1;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(var(--tx1), var(--ty1)) rotate(var(--r1));
    }
    50% {
        transform: translate(var(--tx2), var(--ty2)) rotate(var(--r2));
    }
    75% {
        transform: translate(var(--tx3), var(--ty3)) rotate(var(--r3));
    }
}


/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #1a1a1a;
    color: #ccc;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
    margin-top: 13px;
}

.footer-section p {
    color: #aaa;
    margin-bottom: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #d4a574;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links .telega img {
    width: 33px;
    cursor: pointer;
}
.social-links .phone img {
    width: 43px;
    margin-left: -3px;
    cursor: pointer;
    margin-top: -3px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    color: #888;
}

/* ============================================
   STICKY CTA
   ============================================ */
.sticky-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sticky-cta.visible {
    opacity: 1;
    visibility: visible;
}

.sticky-cta-btn {
    display: inline-block;
    background-color: #f18311;
    color: #fff;
    padding: 1rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(212, 165, 116, 0.3);
    transition: all 0.3s ease;
}

.sticky-cta-btn:hover {
    background-color: #c49563;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}