@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../fonts/Inter_18pt-Light.woff2") format("woff2");
}

/* Inter - Regular 400 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/Inter_18pt-Regular.woff2") format("woff2");
}

/* Inter - Medium 500 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/Inter_18pt-Medium.woff2") format("woff2");
}

/* ===== CORMORANT GARAMOND ===== */

/* Cormorant Garamond - Regular 400 (обычный) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-Regular.woff2") format("woff2");
}

/* Cormorant Garamond - Italic 400 (курсив) */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-Italic.woff2") format("woff2");
}

/* Cormorant Garamond - SemiBold 600 */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-SemiBold.woff2") format("woff2");
}

/* Cormorant Garamond - Bold 700 */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/CormorantGaramond-Bold.woff2") format("woff2");
}

:root {
  --cream: #f8f4e9;
  --border-color: #9f6637;
  --gold: #efbc80;
  --dark: #2c2416;
  --transition: all 0.4s cubic-bezier(0.215, 0.61, 0.355, 1);
}

/* ========== СБРОС СТИЛЕЙ ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  color: var(--dark);
  background-color: var(--cream);
  line-height: 1.7;
  font-weight: 300;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.2;
}

h1 {
  font-weight: 400;
}

h2,
h3,
h4 {
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style-type: none;
}

input:focus::placeholder {
  color: transparent;
}
textarea:focus::placeholder {
  color: transparent;
}
input:focus::-webkit-input-placeholder {
  color: transparent;
}

input:focus::-moz-placeholder {
  color: transparent;
}

input:focus:-moz-placeholder {
  color: transparent;
}

input:focus:-ms-input-placeholder {
  color: transparent;
}

textarea:focus::-webkit-input-placeholder {
  color: transparent;
}

textarea:focus::-moz-placeholder {
  color: transparent;
}

textarea:focus:-moz-placeholder {
  color: transparent;
}

textarea:focus:-ms-input-placeholder {
  color: transparent;
}

.lock {
  overflow: hidden;
}

/* ========== КОНТЕЙНЕР ========== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  box-sizing: border-box;
  transition: padding 0.3s ease;
}

/* ========== СЕКЦИИ ========== */
.section {
  padding: 120px 0;
}
.gallery-section {
  min-height: 60vh;
  background-color: var(--cream);
  padding: 80px 0;
}
.section-title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 80px;
  position: relative;
  color: var(--dark);
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

/* ========== КНОПКИ ========== */
.btn {
  font-family: "Inter", Arial, sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 1px;
  display: inline-block;
  padding: 18px 42px;
  background-color: var(--dark);
  color: var(--cream);
  border: none;
  border-radius: 0;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--gold);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 0;
}

.btn:hover {
  color: var(--dark);
}

/* ========== ШАПКА ========== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(248, 244, 233, 0.98);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 25px 0;
  border-bottom: 1px solid rgba(44, 36, 22, 0.1);
  transition: var(--transition);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  z-index: 1001;
}

/* Десктоп навигация */
.header-nav {
  display: flex;
  align-items: center;
  white-space: nowrap;
  gap: 25px;
}

.nav-link {
  color: var(--dark);
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  transition: var(--transition);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--gold);
  font-weight: 500;
}

/* ========== ГЕРОЙ-СЕКЦИЯ ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--cream);
  overflow: hidden;
  contain: layout;
  background: none;
}
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  animation: heroZoom 8s ease-out forwards;
  transform-origin: center center;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.05), rgba(44, 36, 22, 0.05));
  z-index: 1;
  pointer-events: none;
}
.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 40px;
  box-sizing: border-box;
  transition: padding 0.3s ease;
}
.hero-content {
  max-width: 905px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.5rem;
}
.hero-title {
  font-weight: 400;
  font-size: clamp(1.875rem, 0.6044rem + 5.4945vw, 5rem);
  margin: 0;
  color: var(--cream);
}
.hero-title span {
  color: var(--gold);
  display: block;
}
.hero-subtitle {
  max-width: 600px;
  font-weight: 300;
  font-size: clamp(1rem, 0.9187rem + 0.3516vw, 1.2rem);
  line-height: 1.6;
  text-wrap: pretty;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
}
.hero-button {
  max-width: 350px;
  width: 100%;
  height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: 1px solid var(--gold);
  transition: all 0.3s ease-in-out;
  padding: 0 2rem;
  margin-top: 1rem;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.hero-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gold);
  transition: left 0.3s ease-in-out;
  z-index: -1;
}
.hero-button:hover::before {
  left: 0;
}
.hero-button:hover {
  color: var(--dark);
  border-color: transparent;
}
@keyframes heroZoom {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
@media (max-width: 1200px) {
}
@media (max-width: 992px) {
  .hero-container {
    padding: 40px 30px;
  }
}
@media (max-width: 768px) {
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-button {
    max-width: 280px;
    font-size: 0.8rem;
  }
}
@media (max-width: 576px) {
  .hero-container {
    padding: 0 20px;
  }
}


/* ========== МОБИЛЬНОЕ МЕНЮ (БУРГЕР) ========== */
@media (min-width: 992px) {
  .mobile {
    display: none;
  }
}

.mobile div {
  display: block;
  position: fixed;
  bottom: 16px;
  right: 16px;
  background-color: var(--dark);
  height: 50px;
  width: 50px;
  border-radius: 50%;
  z-index: 9999999;
  border: 4px solid var(--cream);
  box-shadow: 1px 3px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  box-sizing: content-box;
}
.mobile div span {
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 4px;
  background-color: var(--cream);
  border-radius: 13px;
  transition-duration: 0.4s;
}
.mobile div span:nth-child(1) {
  top: 14px;
}
.mobile div span:nth-child(2) {
  top: 23px;
}
.mobile div span:nth-child(3) {
  bottom: 14px;
}
.mobile div.active span:nth-child(1) {
  transform: translate(-15px, 9px) rotate(-45deg);
}
.mobile div.active span:nth-child(2) {
  transition-duration: 0s;
  opacity: 0;
}
.mobile div.active span:nth-child(3) {
  transform: translate(-15px, -9px) rotate(45deg);
}
.mobile nav {
  display: block;
  position: fixed;
  bottom: 16px;
  right: 16px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
  z-index: 9999990;
  transition-duration: 0.4s;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mobile nav.open {
  background-color: var(--dark);
  width: 100vw;
  height: 100vh;
  right: 0px;
  bottom: 0px;
  border-radius: 0;
}
.mobile nav ul {
  display: none;
}
.mobile nav ul.show {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile ul li {
  display: flex;
  align-items: center;
  justify-content: start;
  background-color: transparent;
  width: 100%;
  opacity: 0;
  animation-name: fadein;
  animation-duration: 1s;
  animation-fill-mode: forwards;
}
.mobile ul li:not(:last-child) {
  margin-bottom: 22px;
}
.mobile ul li a {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
  color: #fff;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* ========== СЕКЦИЯ "ПРИЧИНЫ" ========== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 40px;
  margin-top: 60px;
}

.reason-card {
  text-align: center;
  padding: 50px 35px;
  background-color: var(--cream);
  transition: var(--transition);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(44, 36, 22, 0.07);
}

.reason-icon {
  font-size: 2.8rem;
  color: var(--dark);
  margin-bottom: 30px;
  opacity: 0.9;
}

.reason-card h3 {
  font-size: 1.7rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.reason-card p {
  font-size: 1rem;
  color: var(--dark);
  opacity: 0.8;
}

/* ========== СЕКЦИЯ "НАШ ДЕВИЗ" ========== */
#motto {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url(../icons/motto-bg.webp) center/cover no-repeat;
  background-attachment: fixed;
}

.motto-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.motto-quote {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-weight: 400;
  font-size: 2.2rem;
  line-height: 1.4;
  color: var(--cream);
  padding: 0 20px;
}

/* ========== ГАЛЕРЕЯ ========== */
.home-gallery-page {
  background-color: var(--cream);
}
.home-gallery .gallery-item:hover {
  transform: scale(1.02);
}

.gallery-button {
  text-align: center;
  margin-top: 50px;
}

/* ========== СЕКЦИЯ ПАРТНЕРОВ ========== */
.partners-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: var(--dark);
  opacity: 0.8;
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.6;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.partner-card {
  background: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 8px;
  padding: 40px 30px;
  text-align: center;
  transition: var(--transition);
  overflow: hidden;
}

.partner-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(44, 36, 22, 0.1);
}

.partner-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(212, 175, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  color: var(--dark);
  font-size: 2.2rem;
  transition: var(--transition);
}

.partner-card:hover .partner-icon {
  transform: scale(1.1);
  background-color: rgba(212, 175, 55, 0.2);
}

.partners-cta {
  text-align: center;
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(212, 175, 55, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.1);
}

.partners-cta h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--dark);
}

.partners-cta p {
  font-size: 1.05rem;
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.partners-cta .btn {
  background-color: transparent;
  color: var(--dark);
  border: 2px solid var(--dark);
}

/* ========== СЕКЦИЯ "НАШИ ДРУЗЬЯ" ========== */
.friends-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.friend-info {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.friend-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--dark);
}

.friend-subtitle {
  font-size: 1.1rem;
  color: var(--dark);
  opacity: 0.8;
  margin-bottom: 30px;
}

.friend-info h4 {
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--dark);
}

.work-list {
  list-style: none;
  display: grid;
  gap: 15px;
}

.work-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1.05rem;
}

.work-list i {
  color: var(--dark);
  margin-top: 3px;
  flex-shrink: 0;
}

.friend-contacts {
  display: flex;
  flex-direction: column;
  gap: 25px;
  padding: 40px;
  background-color: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.contact-block h4 {
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 15px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--dark);
  padding: 10px 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}

.contact-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact-link i {
  color: var(--dark);
}

.whatsapp-block {
  background-color: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  padding: 25px;
  margin-top: 30px;
  text-align: center;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background-color: #128c7e;
  transform: translateY(-3px);
}

/* ========== КОНТАКТЫ ========== */
.contacts-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: rgba(44, 36, 22, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1.2rem;
}

/* ========== ФОРМА ========== */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 18px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--cream);
  margin-bottom: 20px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  margin-top: 25px;
  padding: 18px 25px;
  border-radius: 0;
  display: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.form-message.success {
  display: block;
  background: rgba(212, 175, 55, 0.1);
  color: var(--dark);
  border: 1px solid var(--gold);
}

.form-message.error {
  display: block;
  background: rgba(220, 53, 69, 0.05);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ========== СТРАНИЦА ГАЛЕРЕИ ========== */
.page-header {
  padding: 180px 0 80px;
  background: linear-gradient(
    135deg,
    rgba(44, 36, 22, 0.95) 0%,
    rgba(44, 36, 22, 0.85) 100%
  );
  color: var(--cream);
  text-align: center;
  margin-bottom: 40px;
}

.page-header h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: 3.5rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  font-weight: 300;
  max-width: 600px;
  margin: 0 auto;
}

/* ========== ЗАГРУЗЧИК И СООБЩЕНИЯ ========== */
.loader,
.error-message,
.no-images,
.no-data {
  text-align: center;
  padding: 60px 20px;
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 300;
  grid-column: 1 / -1;
}

.loader {
  position: relative;
}

.loader::after {
  content: "...";
  position: absolute;
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0%,
  20% {
    content: "";
  }
  40% {
    content: ".";
  }
  60% {
    content: "..";
  }
  80%,
  100% {
    content: "...";
  }
}

.error-message,
.no-images,
.no-data {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
}

/* ========== ПРАЙС-ЛИСТ ========== */
.price-section {
  padding: 80px 0;
  background-color: var(--cream);
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
}

.price-card {
  position: relative;
  padding: 20px 20px;
  box-sizing: border-box;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.2);
  transition: var(--transition);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(44, 36, 22, 0.08);
  border-color: rgba(212, 175, 55, 0.3);
}

.price-title {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  color: var(--dark);
  font-weight: 500;
  width: 80%;
}

.price-content {
  font-family: "Inter", sans-serif;
  font-size: 1.5rem;
  color: var(--dark);
  font-weight: 600;
  white-space: nowrap;
}

.price-note {
  margin-top: 40px;
  padding: 30px;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.price-note p {
  color: var(--dark);
  opacity: 0.7;
  font-size: 0.95rem;
  margin: 8px 0;
  font-family: "Inter", sans-serif;
}

/* ========== МОДАЛЬНОЕ ОКНО ========== */
.image-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(44, 36, 22, 0.98);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.image-modal .modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  animation: modalFadeIn 0.4s ease;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.image-modal img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.image-modal .close {
  color: var(--gold);
  font-size: 30px;
  font-weight: bold;
  font-family: Times, sans-serif;
  border-radius: 50%;
  border: 2px solid var(--gold);
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  margin: 10px;
  cursor: pointer;
  position: absolute;
  right: 0;
  transform: rotate(45deg);
  transition: all 0.6s;
  box-sizing: content-box;
  background-color: var(--dark);
}

.image-modal .close:hover {
  transform: rotate(135deg);
}

/* ========== ПОДВАЛ ========== */
footer {
  background-color: var(--dark);
  color: var(--cream);
  padding: 80px 0 40px;
}

.footer-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.social-links {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(248, 244, 233, 0.1);
  border-radius: 50%;
  color: var(--cream);
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--gold);
  color: var(--dark);
  transform: translateY(-3px);
}

.footer-legal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 20px;
}

.legal-text {
  font-size: 0.8rem;
  opacity: 0.6;
  max-width: 800px;
  margin: 10px auto 0;
  line-height: 1.5;
  color: var(--cream);
  text-align: center;
}

footer .copyright {
  font-family: "Courier New", monospace;
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 5px 0;
}

#currentYear {
  display: inline;
}

/* ========== АДАПТИВНОСТЬ ========== */

/* 1024px и меньше */
@media (max-width: 1024px) {
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .friends-container {
    gap: 60px;
  }

  .contacts-container {
    gap: 60px;
  }
}

/* 992px и меньше */
@media (max-width: 992px) {
  .header-nav {
    display: none;
  }

  .section-title {
    font-size: 2.8rem;
  }

  .container {
    padding: 0 30px;
  }

  .section {
    padding: 100px 0;
  }

  .page-header {
    padding: 150px 0 60px;
  }

  .page-header h1 {
    font-size: 2.8rem;
  }

  .home-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .price-title {
    font-size: 1.6rem;
  }

  .price-content {
    font-size: 1.2rem;
  }

  .friends-container,
  .contacts-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

/* 768px и меньше */
@media (max-width: 768px) {
  .section-title {
    font-size: 2.3rem;
    margin-bottom: 60px;
  }

  .section {
    padding: 80px 0;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .reason-card {
    padding: 40px 25px;
  }

  .partners-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .partner-card {
    padding: 30px 20px;
  }

  .friend-title {
    font-size: 2rem;
  }

  .friend-contacts {
    padding: 30px 25px;
  }

  .motto-quote {
    font-size: 1.8rem;
    padding: 0;
  }

  .whatsapp-block {
    padding: 25px 18px;
  }

  .page-header {
    padding: 130px 0 50px;
  }

  .page-header h1 {
    font-size: 2.3rem;
  }

  .page-header p {
    font-size: 1.1rem;
  }

  .price-title {
    font-size: 1.4rem;
  }

  .price-content {
    font-size: 1rem;
  }
}

@media (max-width: 767px) {
  .price-card {
    flex-direction: column;
  }
  .price-title {
    width: 100%;
  }
  .price-content {
    align-self: flex-end;
  }
}
/* 576px и меньше */
@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }

  .section-title {
    font-size: 2rem;
  }

  .btn {
    padding: 16px 32px;
    width: 100%;
    text-align: center;
  }

  .page-header {
    padding: 120px 0 40px;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 16px;
  }

  .legal-text {
    font-size: 0.75rem;
    padding: 0 20px;
  }
}

/* 400px и меньше */
@media (max-width: 400px) {
  .section-title {
    font-size: 1.8rem;
  }

  .brand {
    font-size: 1.5rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .price-card {
    padding: 25px 15px;
  }

  .price-title {
    font-size: 1.3rem;
  }
}

/* Стили для десктопной галереи (сетка) - ТОЛЬКО ДЛЯ СТРАНИЦЫ ГАЛЕРЕИ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px 0;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.page-gallery .gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  aspect-ratio: 3 / 4;
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Стили для Swiper на странице галереи - УВЕЛИЧЕННАЯ ВЫСОТА */
.page-gallery .swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 40px !important;
}

.page-gallery .swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  aspect-ratio: 3/4; /* Более вертикальное соотношение для увеличения высоты */
  cursor: pointer;
}

.page-gallery .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-gallery .swiper-pagination-bullet {
  background: #c9a86c;
  width: 10px;
  height: 10px;
}

.page-gallery .swiper-pagination-bullet-active {
  background: #b3925a;
}

/* Медиа-запрос для мобильных устройств */
@media (max-width: 768px) {
  .page-gallery .gallery-grid {
    display: block;
    padding: 10px 5px;
  }

  .page-gallery .swiper-slide {
    width: 310px;
    height: 410px;
    aspect-ratio: auto;
  }
  .home-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
.logo {
  width: 100px;
  height: 90px;
  display: block;
  position: absolute;
  top: -114px;
  left: 0;
  clip-path: polygon(
    50% 0%,
    100% 37.84%,
    100% 62.15%,
    50.28% 100%,
    0% 61.68%,
    0% 38.15%
  );
}

/* --- РАЗДЕЛИТЕЛЬ --- */
.line {
  display: block;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

