@font-face {
    font-family: 'Involve';
    src: url('../fonts/Involve/Involve-Bold.ttf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Next Art';
    src: url('../fonts/Next Art/NEXT ART_Bold.otf');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik.ttf');
    font-weight: 400; /* Можно явно указать вместо normal */
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-light.ttf');
    font-weight: 300; /* Вместо lighter */
    font-style: normal;
}

@font-face {
    font-family: 'Rubik';
    src: url('../fonts/Rubik/Rubik-bold.ttf');
    font-weight: 700; /* Вместо bold */
    font-style: normal;
}

@media (min-width: 576px) and (max-width: 768px) {
	body {
		display: flex;
		justify-content: center;
	}

	.container-m {
		max-width: 576px !important;
	}
}

.a-none {
	text-decoration: none;

}

@media (max-width: 768px) {

	section {
		padding: 32px 24px;
	}

	h1, h2 {
		font-family: 'Next Art', sans-serif;
        font-weight: bold;
        line-height: 1.2;
	}
	h1 {
		font-size: 40px;
	}

	h2 {
		font-size: 32px;
	}

	body {
		background: #fff;
	}

	.hero {

		background-image: url('../images/background-contacts.jpg?v=0.002'); /* замените на путь к вашему изображению */
	  	background-size: cover;
	  	background-position: center;
	  	position: relative;
		height: calc(100vh - 64px);
		min-height: 640px;
		display: flex;
        flex-direction: column;
	}

	.hero::before {
	  content: '';
	  position: absolute;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  opacity: 0.5;
	  background-color: #28698F;
	  z-index: 0;
	}

	.hero > * {
	  position: relative;
	  z-index: 1;
	}


	.navigation {
		position: relative;
		top: 0;
		left: 0;
        right: 0;
	    display: flex;
	    justify-content: space-between;
	    margin: 0 -4px;
	    align-items: center;
	}

	.nav-button {
	    font-family: 'Involve', sans-serif;
	    font-weight: bold;
	    font-size: 12px;
	    color: white;
	    background: none;
	    border: none;
	    padding: 0;
	    margin: 0;
	    cursor: pointer;
	    outline: none;
	    text-decoration: none;
	    text-align: center;
        width: 100%;
	}

	.hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        text-align: center;
        padding: 0 20px;
    }

    .logo {
        width: 110px;
        height: 110px;
        border-radius: 50%;
        overflow: hidden;
        margin-bottom: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logo img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .company-name {
       
        font-size: 40px;
        color: white;
        margin: 0;
        text-align: center;
    }

    .tagline {
        font-family: 'Next Art', sans-serif;
       	font-weight: bold;
        font-size: 16px;
        color: white;
        position: relative;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .tagline::before,
    .tagline::after {
        content: "";
        flex: 1;
        height: 1px;
        width: 90px;
        background-color: white;
    }

    .cta-button {
        font-family: 'Next Art', sans-serif;
        font-weight: bold;
        font-size: 16px;
        color: white;
        background-color: #AA9441;
        border: none;
        padding: 0 24px;
        height: 40px;
        border-radius: 20px;
        cursor: pointer;
        min-width: 50vw;
        width: auto;
        margin-top: 96px;
    }

    .about {
    	border-radius: 17px 17px 0 0;
		background: #fff;
    	margin-top: -50px;
    }

    .about-title {
	    color: #28698F;
	    text-align: left;
	}

	.about-text {
	    color: #000000;
	    margin-top: 24px;
	    font-family: 'Rubik', sans-serif;
	    font-weight: 400;
	    font-size: 16px;
	    line-height: 1.4;
	}

	.left-line {
	    padding-left: 8px;
	    border-left: 2px solid #28698F;
	}
	
	.about-image {
	    width: 100%;
	    height: auto;
	    border-radius: 12px;
	    margin-top: 24px;
	}

	.contact-cta {
	    background-color: #EDEDED;
	}

	.cta-text {
	    font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 16px;
	    line-height: 1.2;
	    text-align: center;
	    margin: 0;
	}

	.cta-text span  {
	    background-color: #28698F;
	    color: white;
	    padding: 0px 7px;
	    border-radius: 80px;
	    display: inline-block;
	}

	.why-us {
		background: #28698F;
		color: white;
    }

    .why-us-intro {
	    margin-top: 24px;
	    font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 16px;
	    line-height: 1.4;
	    padding-left: 8px;
	    border-left: 2px solid #ffffff;
	}

	.features {
	    display: flex;
	    flex-wrap: wrap;
	    justify-content: center
	}

	.feature-item {
	    display: flex;
	    flex-direction: column;
	    align-items: center;
	    text-align: center;
	    max-width: 280px;
	    width: 100%;
	}

	.feature-icon {
	    margin-top: 32px; 
	    display: flex;
	    align-items: center;
	    justify-content: center;
	}

	.feature-icon img {
	    max-width: 105px; 
	    max-height: 70px; 
	    width: auto;
	    height: auto;
	    object-fit: contain; 
	}

	.feature-title {
	    font-family: 'Next Art', sans-serif;
	    font-weight: bold;
	    font-size: 20px;
	    margin-top: 16px; 
	}

	.feature-description {
	    font-family: 'Rubik', sans-serif;
	    font-weight: 300; 
	    font-size: 16px;
	    line-height: 1.2;
	    margin: 0; 
	}

	.portfolio {
		background: #28698F;
		color: white;
    }

    .owl-carousel {
    	margin-top: 24px !important;
    }

    
    .portfolio .owl-carousel .item img {
		aspect-ratio: 1 / 1;
    }

    .portfolio .owl-carousel .item {
		border-radius: 17px;
		overflow: hidden;
    }

    .twentytwenty-overlay {
    	font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 16px;
    }

    .twentytwenty-overlay:hover {
    	background: rgba(0, 0, 0, 0) !important;
	}

    .services-title {
    	color: #28698F;
    }

    .services-intro {
	    margin-top: 24px;
	    font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 16px;
	    line-height: 1.2;	  
	    padding-left: 8px;
	    border-left: 2px solid #28698F;
	    color: #193849;
	}

	.service-item {
        width: 100%;
        margin-top: 24px;
        min-height: 72px;
    }

    .service-button {
        width: 100%;
        height: 72px;
        background-color: #28698F;
        border-radius: 11px;
        padding: 8px;
        border: none;
        cursor: pointer;
        text-align: left;
        position: relative;
        z-index: 2;
    }

    .service-header {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .service-icon {
        background-color: #B7DFF6;
        border-radius: 6px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        height: 56px;
        width: 56px;
    }

    .service-icon img {
        display: block;
    }

    .service-name {
        color: #FFFFFF;
	    font-family: 'Involve', sans-serif;
	    font-size: 16px;
	    font-weight: bold;
	    flex: 1;
	    width: 100%;
	    text-align: center;
    }

    .service-description {
        background-color: #B7DFF6;
        color: #000000;
    	font-family: 'Involve', sans-serif;
        padding: 0 16px;
        margin-top: -11px;
        overflow: hidden;
        max-height: 0;
        border-radius: 0 0 11px 11px;
        transition: all 0.3s  ease; /*cubic-bezier(0.34, 1.56, 0.64, 1);*/
		/*transform: translateY(-20px);*/
    }

    .service-item.active .service-description {
        max-height: 500px;
        padding: 27px 16px 16px 16px;
        /*transform: translateY(0);*/
    }

    .service-description p {
        margin: 0;
        line-height: 1.5;
    }

    .reviews-title {
    	color: #28698F;
    }

    .reviews .container {
    	padding: 0 !important;
    }


    .rating-cards {
	    display: flex;
	    justify-content: center;
	    align-items: flex-start;
	    max-width: 600px;
	    margin: 0 auto;
	    gap: 16px;
	}

	.rating-card {
	    display: flex;
	    flex-direction: column;
	    align-items: flex-start;
	    padding: 8px;
	    background: #ffffff;
	    border-radius: 8px;
	    width: fit-content;
	    margin-top: 24px;
	}

	.rating-logo {
	    margin-bottom: 8px;
	}

	.rating-logo img {
	    max-width: 100%;
	    height: auto;
	}

	.rating-card .google img {
	    margin-bottom: -5px;
	}


	.rating-score {
	    font-size: 20px;
	    color: #193849;
	    margin-bottom: 8px;
	}

	.rating-stars {
	    display: flex;
	    gap: 2px;
	    margin-bottom: 8px;
	}

	.star {
	    color: #FEBE14;
	}

	.rating-text {
		font-family: 'Rubik', sans-serif;
	    font-weight: 400; 
	    font-size: 14px;
	    color: #28698F;
	    margin: 0;
	}

	/* Расположение цифры рейтинга и звезд в одну строку */
	.rating-card {
	    position: relative;
	}

	.rating-score {
	    display: inline-block;
	    font-family: 'Involve', sans-serif;
	    font-size: 20px;
	    font-weight: bold;
	    margin-right: 8px;
	    margin-bottom: 0;
	}

	.rating-stars {
	    display: inline-flex;
	    margin-bottom: 0;
	}

	/* Обертка для рейтинга и звезд */
	.rating-row {
	    display: flex;
	    align-items: center;
	    margin-bottom: 8px;
	    width: 100%;
	}


	.review-slide {
		border-radius: 12px;
		border: 2px solid #28698F;
		padding: 16px;
		font-size: 16px;
	}

	.review-avatar {
		display: inline-block;
		vertical-align: middle;
		margin-right: 16px;
	}

	.review-avatar .avatar-initials {
		width: 32px;
		height: 32px;
		border-radius: 16px;
		background: linear-gradient(135deg, #28698F, #1a4a6b);
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    font-family: 'Next Art', sans-serif;
	    color: white;
	    font-weight: bold;
	    font-size: 16px;
	}

	.review-name {
		font-family: 'Next Art', sans-serif;
		font-weight: bold;
		font-size: 16px;
		display: inline-block;
		vertical-align: middle;
		margin: 0;
	}

	.review-text {
		margin-top: 8px;
		margin-bottom: 0;
		font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 14px;
	    line-height: 1.4;
	}

	.read-all {
	  color: #28698F; /* Match border color or adjust as needed */
	  cursor: pointer;
	  text-decoration: underline;
	}

	.review-original-link {
		font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 14px;
	    display: inline-block;
	    margin-top: 16px;
	    color: #333;
	    text-decoration: none;
	}

	.review-original-link:hover {
	    text-decoration: none;
	}

	.contacts {
	  background-image: url('../images/background-hero.jpg'); /* замените на путь к вашему изображению */
	  background-size: cover;
	  background-position: center;
	  position: relative;
	  border-radius: 16px 16px 0 0;
	  color: white;
	  padding: 32px 24px;
	}

	.contacts::before {
	  content: '';
	  position: absolute;
	  top: 0;
	  left: 0;
	  right: 0;
	  bottom: 0;
	  background-color: #28698F;
	  opacity: 0.7; /* полупрозрачность */
	  border-radius: 16px 16px 0 0;
	  z-index: 1;
	}

	.contacts > * {
	  position: relative;
	  z-index: 2;
	}

	.contact-info {
	  display: flex;
	  flex-direction: column;
	  gap: 24px;
	  margin: 24px 0;
	}

	.contact-item {
	  display: flex;
	  align-items: center;
	}

	.contact-icon {
	  width: 24px;
	  height: 24px;
	  background-color: #28698F;
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  flex-shrink: 0;
	}

	.contact-icon img {
	  max-width: 16px;
	  max-height: 16px;
	  width: auto;
	  height: auto;
	}

	.contact-text {
		margin-left: 16px;
		color: white !important;
		text-decoration: none !important;	  
		font-family: 'Rubik', sans-serif;
		font-weight: 700; /* medium */
		font-size: 16px;
		line-height: 1.4;
		outline: none !important;
	}

	.contact-text a {
		font-size: 16px;
		line-height: 1.4;
		color: white !important;
		text-decoration: none !important;	  
		outline: none !important;
	}

	.book-button {
		font-family: 'Next Art', sans-serif;
		font-weight: bold;
		font-size: 16px;
		padding: 0 24px;
		height: 40px;
		border-radius: 20px;
		min-width: 50vw;
		width: auto;
		background-color: #AA9441;
		color: white;
		border: none;
		cursor: pointer;
		display: block;
		margin: 0 auto 32px;
	}

	.social-media {
	  display: flex;
	  justify-content: center;
	  gap: 24px;
	}

	.social-link img {
	  width: 24px;
	  height: 24px;
	}

	.copyright {
		width: 100%;
		display: flex;
	  	justify-content: center;
	  	align-items: center;
	  	text-align: center;
	 	color: white;
	  	margin-top: 64px;
	  	flex-direction: column;
	  	font-family: 'Rubik', sans-serif;
	   font-weight: 300; /* medium */
	   font-size: 12px;
	   line-height: 1.4;
	}

	.developer-link {
	  color: white;
	  text-decoration: none;
	}

	.developer-link:hover {
	  text-decoration: underline;
	}



}

/* Десктопная версия (1024px и выше) */
@media (min-width: 769px) {
    
    section {
        padding: 80px 160px;
    }

    @media (min-width: 1500px) {
	    section {
	        padding: 80px 300px;
	    }
    }

    @media (max-width: 1000px) {
	    section {
	        padding: 80px 80px;
	    }
    }
    @media (max-width: 1500px) {
	    section {
	        padding: 80px 120px;
	    }
    }

	h1, h2 {
		font-family: 'Next Art', sans-serif;
        font-weight: bold;
        line-height: 1.2;
	}

    h1 {
        font-size: 72px;
    }

    h2 {
        font-size: 48px;
        text-align: left;
    }

    .hero {
        background-image: url('../images/background-hero-pc.jpg?v=0.003');
        background-size: cover;
        background-position: center;
        position: relative;
        height: calc(100vh - 160px);
        min-height: 600px;
        display: flex;
        flex-direction: column;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        opacity: 0.5;
        background-color: #28698F;
        z-index: 0;
    }
    .hero > * {
	  position: relative;
	  z-index: 1;
	}

    .navigation {
    	position: absolute;
        display: flex;
        justify-content: center;
        gap: 48px;
		left: 0;
		right: 0;  
		top: 40px;      

    }

    .nav-button {
        font-family: 'Involve', sans-serif;
        font-weight: bold;
        font-size: 18px;
        color: white;
        background: none;
        border: none;
        padding: 12px 24px;
        cursor: pointer;
        text-decoration: none;
        transition: all 0.3s ease;
        border-radius: 25px;
    }

    .nav-button:hover {
        color: white;
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-button.active {
        color: #28698F;
        background-color: rgba(255, 255, 255, 0.2);
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        flex-grow: 1;
        text-align: center;
        padding: 0 60px;
    }

    .logo {
        width: 160px;
        height: 160px;
        border-radius: 50%;
        overflow: hidden;
        margin-bottom: 40px;
    }

    .logo img {
        width: 100%;
        height: 100%;
   
    }

    .company-name {
        font-size: 72px;
        color: white;
        margin: 0 0 20px 0;
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }

    .tagline {
        font-family: 'Next Art', sans-serif;
        font-weight: bold;
        font-size: 24px;
        color: white;
        position: relative;
        display: flex;
        align-items: center;
        gap: 32px;
        margin: 0 0 64px 0;
    }

    .tagline::before,
    .tagline::after {
        content: "";
        flex: 1;
        height: 2px;
        width: 160px;
        background-color: white;
    }

    .cta-button {
        font-family: 'Next Art', sans-serif;
        font-weight: bold;
        font-size: 20px;
        color: white;
        background-color: #AA9441;
        border: none;
        padding: 16px 64px;
        height: 60px;
        border-radius: 30px;
        cursor: pointer;
        min-width: 240px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }

    .cta-button:hover {
        background-color: #8a7635;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    }

    .about {
        background: #fff;
        margin-top: -80px;
        position: relative;
        z-index: 1;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    }

    .about-title {
    	color: #28698F;
    }

    .about-content {
    	justify-self: center;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: start;
        max-width: 1000px;
        margin-top: 40px;
    }

    .about-text {
    	order: 2;
    	grid-column: 2 / 2;
    	grid-row: 1 / 1;
        color: #000000;
        font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 18px;
        line-height: 1.7;
        margin: 0;
        margin-left: 48px;  
    }

    .left-line {
    	order: 3;
    	grid-row: 2 / 2;
        padding-left: 20px;
        border-left: 4px solid #28698F;
    }

    .about-image {
    	order: 1;
        width: 100%;
        height: auto;
        grid-row: 1 / 3;
        object-fit: cover;
        border-radius: 20px;
        grid-column: 1 / 1;
        box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    }

    @media (max-width: 1750px) { /* или используйте другую логику */
	    .left-line {
	        grid-column: 1 / 3;  /* На всю ширину */
	        grid-row: 3;
	        margin-top: 48px;  
	        margin-left: 0;       /* Новая строка */
	    }
	}

    .contact-cta {
        background-color: #EDEDED;
        padding: 80px 40px;
    }

    .cta-text {
        font-family: 'Rubik', sans-serif;
        font-weight: 500;
        font-size: 24px;
        line-height: 1.5;
        text-align: center;
        margin: 0;
        max-width: 900px;
        margin: 0 auto;
    }

    .cta-text span  {
        background-color: #28698F;
        color: white;
        padding: 6px 16px;
        border-radius: 80px;
        display: inline-block;
        transition: transform 0.3s ease;
    }

    .cta-text span :hover {
        transform: translateY(-2px);
    }

    .why-us {
    	 display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-auto-rows: auto; /* строки создаются автоматически */
        background: #28698F;
        color: white;

    }

    .why-us-title {
    	grid-column: 1;
    }

    .why-us-intro {
    	grid-column: 2;
        font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 1.6;
        text-align: left;
        max-width: 700px;
        padding-left: 20px;
        border-left: 4px solid #ffffff;
    }

    .features {
    	grid-column: 1 / 3;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        max-width: 1200px;
        margin: 64px auto 0;
    }

    .feature-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px;
        border-radius: 16px;
        transition: transform 0.3s ease, background-color 0.3s ease;
    }

    .feature-item:hover {
        transform: translateY(-5px);
        background-color: rgba(255, 255, 255, 0.1);
    }

    .feature-icon {
        margin-bottom: 32px;
        height: 70px;
        width: auto;
        display: flex; 
        justify-content: center;
        align-items: center;
    }

    .feature-icon img {
        max-width: 140px;
        max-height: 100px;
        width: auto;
        height: auto;
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    .feature-item:hover .feature-icon img {
        transform: scale(1.1);
    }

    .feature-title {
        font-family: 'Next Art', sans-serif;
        font-weight: bold;
        font-size: 24px;
        margin-bottom: 20px;
    }

    .feature-description {
        font-family: 'Rubik', sans-serif;
        font-weight: 300;
        font-size: 16px;
        line-height: 1.5;
        margin: 0;
    }

    .portfolio {
        background: #28698F;
        color: white;
        padding-top: 0px;
    }

    .portfolio-title {
        margin-bottom: 60px;
    }

    .owl-carousel {
        margin: 0 auto;
    }

    .portfolio .owl-carousel .item img {
        aspect-ratio: 1 / 1;
        object-fit: cover;
    }

    .portfolio .owl-carousel .item {
        border-radius: 11px;
        overflow: hidden;
        transition: transform 0.3s ease;
    }

    .twentytwenty-overlay {
    	font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 16px;
    }

    .twentytwenty-overlay:hover {
    	background: rgba(0, 0, 0, 0) !important;
	}

	.services {
		display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-auto-rows: auto; /* строки создаются автоматически */
	}

	.services-title {
		grid-column: 1;
		color: #28698F;
	}

	.services-intro {
		grid-column: 2;
		font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 20px;
        line-height: 1.6;
        text-align: left;
        max-width: 700px;
        padding-left: 20px;
        border-left: 4px solid #28698F;
        align-content: center;

	}

	.services-accordion {
    	grid-column: 1 / 3;

    	margin-top: 40px;
    	display: grid;
	    grid-template-columns: 1fr 1fr;
	    grid-auto-rows: auto; 
	}

    .service-item {
    	margin: 20px 40px;
        border-radius: 16px;
        overflow: hidden;
    }

    .service-button {
        width: 100%;
        height: 76px;
        background-color: #28698F;
        border-radius: 16px;
        padding: 8px;
        border: none;
        cursor: pointer;
        text-align: left;
        position: relative;
        transition: all 0.3s ease;
    }

    .service-button:hover {
        background-color: #1e5270;
    }

    .service-header {
        display: flex;
        align-items: left;
        height: 100%;
    }

    .service-icon {
        background-color: #B7DFF6;
        border-radius: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        height: 60px;
        width: 60px;
        transition: transform 0.3s ease;
    }

    .service-button:hover .service-icon {
        transform: scale(1.1);
    }

    .service-name {
        color: #FFFFFF;
        font-family: 'Involve', sans-serif;
        font-size: 20px;
        font-weight: bold;
        flex: 1;
        text-align: center;
        align-self: center;
    }

    .service-description {
        background-color: #B7DFF6;
        color: #000000;
		font-family: 'Involve', sans-serif;        font-size: 16px;
        line-height: 1.6;
        padding: 0 24px;
        overflow: hidden;
        max-height: 0;
        border-radius: 0 0 16px 16px;
        transition: all 0.3s ease;
   		padding: 0 20px;
    }

    .service-item.active .service-description {
        max-height: 500px;
        margin-top: -16px;
        padding: 36px 20px 20px 20px;
    }

	.reviews {
    	padding-top: 0px;
	}

    .reviews .container{
    	margin-top: 24px;
	}

    .reviews-title {
    	color: #28698F;
    }

    .rating-cards {
	    display: flex;
	    justify-content: top;
		flex-direction: column;
	    margin: 0 auto;
	    gap: 24px;
	}

	.rating-card {
	    display: flex;
	    flex-direction: column;
	    align-items: flex-start;
	    padding: 8px;
	    background: #ffffff;
	    border-radius: 8px;
	    width: fit-content;
	    
	}

	.rating-logo {
	    margin-bottom: 8px;
	}

	.rating-logo img {
	    max-width: 100%;
	    height: auto;
	}

	.rating-card .google img {
	    margin-bottom: -5px;
	}


	.rating-score {
	    font-size: 20px;
	    color: #193849;
	    margin-bottom: 8px;
	}

	.rating-stars {
	    display: flex;
	    gap: 2px;
	    margin-bottom: 8px;
	}

	.star {
	    color: #FEBE14;
	}

	.rating-text {
		font-family: 'Rubik', sans-serif;
	    font-weight: 400; 
	    font-size: 14px;
	    color: #28698F;
	    margin: 0;
	}

	/* Расположение цифры рейтинга и звезд в одну строку */
	.rating-card {
	    position: relative;
	}

	.rating-score {
	    display: inline-block;
	    font-family: 'Involve', sans-serif;
	    font-size: 20px;
	    font-weight: bold;
	    margin-right: 8px;
	    margin-bottom: 0;
	}

	.rating-stars {
	    display: inline-flex;
	    margin-bottom: 0;
	}

	/* Обертка для рейтинга и звезд */
	.rating-row {
	    display: flex;
	    align-items: center;
	    margin-bottom: 8px;
	    width: 100%;
	}

	.reviews-slider {
	    width: 100%;
	}

	.review-slide {
		border-radius: 12px;
		border: 2px solid #28698F;
		padding: 16px;
		font-size: 16px;
	}

	.review-avatar {
		display: inline-block;
		vertical-align: middle;
		margin-right: 16px;
		
	}

	.review-avatar .avatar-initials {
		width: 32px;
		height: 32px;
		border-radius: 16px;
		background: linear-gradient(135deg, #28698F, #1a4a6b);
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    font-family: 'Next Art', sans-serif;
	    color: white;
	    font-weight: bold;
	    font-size: 16px;
	}

	.review-name {
		font-family: 'Next Art', sans-serif;
		font-weight: bold;
		font-size: 16px;
		display: inline-block;
		vertical-align: middle;
		margin: 0;
	}

	.review-text {
		margin-top: 8px;
		margin-bottom: 0;
		font-family: 'Rubik', sans-serif;
	    font-weight: 400; /* medium */
	    font-size: 14px;
	    line-height: 1.4;
	}

	.read-all {
	  color: #28698F; /* Match border color or adjust as needed */
	  cursor: pointer;
	  text-decoration: underline;
	}

	.review-original-link {
		font-family: 'Rubik', sans-serif;
        font-weight: 400;
        font-size: 14px;
	    display: inline-block;
	    margin-top: 16px;
	    color: #333;
	    text-decoration: none;
	}

	.review-original-link:hover {
	    text-decoration: none;
	}


    .contacts {
        background-image: url('../images/background-contacts.jpg');
        background-size: cover;
        background-position: center;
        position: relative;
        color: white;
    }

    .contacts::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #28698F;
        opacity: 0.5;
        z-index: 1;
    }

    .contacts > * {
        position: relative;
        z-index: 2;
    }

    .contacts-title {
    }

    .contact-info {
	  	display: flex;
	  	flex-direction: column;
	  	gap: 24px;
	  	margin: 24px 0;
	}

	.contact-item {
	  display: flex;
	  align-items: center;
	}

	.contact-icon {
	  width: 24px;
	  height: 24px;
	  background-color: #28698F;
	  border-radius: 50%;
	  display: flex;
	  align-items: center;
	  justify-content: center;
	  flex-shrink: 0;
	}

	.contact-icon img {
	  max-width: 16px;
	  max-height: 16px;
	  width: auto;
	  height: auto;
	}

	.contact-text {
		margin-left: 16px;
		color: white !important;
		text-decoration: none !important;	  
		font-family: 'Rubik', sans-serif;
		font-weight: 700; /* medium */
		font-size: 16px;
		line-height: 1.4;
		outline: none !important;
	}

	.contact-text a {
		font-size: 16px;
		line-height: 1.4;
		color: white !important;
		text-decoration: none !important;	  
		outline: none !important;
	}

    .book-button {
        font-family: 'Next Art', sans-serif;
        font-weight: bold;
        font-size: 20px;
        padding: 18px 72px;
        height: 60px;
        border-radius: 30px;
        background-color: #AA9441;
        color: white;
        border: none;
        cursor: pointer;
        display: block;
        margin: 0 auto 48px;
        transition: all 0.3s ease;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }

    .book-button:hover {
        background-color: #8a7635;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    }

    .social-media {
        display: flex;
        justify-content: center;
        gap: 32px;
        margin-bottom: 48px;
    }

    .social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 48px;
        height: 48px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        transition: all 0.3s ease;
    }

    .social-link:hover {
        background: rgba(255, 255, 255, 0.2);
        transform: scale(1.1);
    }

    .social-link img {
        width: 24px;
        height: 24px;
    }

    .copyright {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        color: white;
        margin-top: 64px;
        flex-direction: column;
        font-family: 'Rubik', sans-serif;
        font-weight: 300;
        font-size: 14px;
        line-height: 1.4;
    }

    .developer-link {
        color: white;
        text-decoration: none;
        transition: color 0.3s ease;
    }

    .developer-link:hover {
        color: #AA9441;
        text-decoration: underline;
    }
}

#loading-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: #28698F;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.5s ease-out;
        }

        .loading-logo {
            max-width: 200px;
            max-height: 200px;
            width: auto;
            height: auto;
            animation: pulse 1.5s ease-in-out infinite;
            border-radius: 50%;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 0.8; }
            50% { transform: scale(1.05); opacity: 1; }
            100% { transform: scale(1); opacity: 0.8; }
        }

        /* Скрыть экран загрузки после загрузки */
        .loaded #loading-screen {
            opacity: 0;
            pointer-events: none;
        }


        .feedback-btn {
            font-family: 'Next Art', sans-serif;
            font-weight: bold;
            font-size: 20px;
            color: white;
            background-color: #AA9441;
            border: none;
            padding: 16px 64px;
            height: 60px;
            border-radius: 30px;
            cursor: pointer;
            min-width: 240px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
        }

        .feedback-btn:hover {
            background-color: #968038;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        }

        /* Стили модального окна */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 1000;
            justify-content: center;
            align-items: center;
        }

        .modal-content {
            background-color: white;
            padding: 30px;
            border-radius: 15px;
            width: 90%;
            max-width: 500px;
            border: 2px solid #28698F;
            color: #28698F;
            box-shadow: 0 5px 25px rgba(0,0,0,0.2);
            position: relative;
        }

		.modal-content h2 {
            margin-bottom: 15px;
            text-align: center;
        }

        .close-btn {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 24px;
            cursor: pointer;
            color: #28698F;
        }

        .form-group {
            margin-bottom: 20px;
        }

        label {
        	            font-family: 'Next Art', sans-serif;

            display: block;
            margin-bottom: 8px;
            font-weight: bold;
        }

        input, select {
            width: 100%;
            padding: 10px;
            border: 1px solid #28698F;
            border-radius: 5px;
            box-sizing: border-box;
            font-size: 16px;
        }

        .submit-btn {
            font-family: 'Next Art', sans-serif;
            font-weight: bold;
            font-size: 20px;
            color: white;
            background-color: #AA9441;
            border: none;
            padding: 16px 64px;
            height: 60px;
            border-radius: 30px;
            cursor: pointer;
            min-width: 240px;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0,0,0,0.2);
            display: block;
            margin: 30px auto 0;
            width: 100%;
            max-width: 240px;
        }

        .submit-btn:hover {
            background-color: #968038;
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0,0,0,0.25);
        }

        .message {
        	font-family: 'Next Art', sans-serif;
            font-weight: bold;
            padding: 15px;
            margin: 20px 0;
            border-radius: 5px;
            text-align: center;
            display: none;
        }

        .success {
        	font-family: 'Next Art', sans-serif;
            font-weight: bold;
            background-color: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }

        .error {
        	font-family: 'Next Art', sans-serif;
            font-weight: bold;
            background-color: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }


        .floating-button {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #28698F;
            border: 3px solid white;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            z-index: 1000;
            transition: transform 0.3s ease;
        }

        .floating-button:hover {
            transform: scale(1.1);
        }

        .floating-button .dots {
            display: flex;
            gap: 3px;
        }

        .floating-button .dot {
            width: 6px;
            height: 6px;
            background-color: white;
            border-radius: 50%;
        }

        .floating-button .menu {
            position: absolute;
            bottom: 70px;
            right: 0;
            display: none;
            flex-direction: column;
            gap: 15px;
            align-items: center;
        }

        .floating-button .menu.active {
            display: flex;
        }

        .floating-button .menu-item {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            background-color: white;
            border: 2px solid #28698F;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
            transition: all 0.3s ease;
            text-decoration: none;
            font-size: 12px;
            color: #28698F;
            font-weight: bold;
            text-align: center;
            padding: 5px;
        }

        .floating-button .menu-item:hover {
            transform: scale(1.1);

        }


        .floating-button button{
        	 font-family: 'Next Art', sans-serif;
            font-size: 10px;

            width: 64px !important;
            height: 64px !important;
            
        }

        /* Анимация появления */
        .menu-item:nth-child(1) { animation: slideDown 0.3s ease 0.1s both; }
        .menu-item:nth-child(2) { animation: slideDown 0.3s ease 0.2s both; }
        .menu-item:nth-child(3) { animation: slideDown 0.3s ease 0.3s both; }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Дополнительный контент для демонстрации */
        .floating-button .content {
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
        }

        .floating-button svg{
        	width: 25px;
        	height: 25px;
        }
      