:root {
  --bg-main: #fefaf5;
  --bg-header: #fff6ed;
  --text-dark: #2d2a24;
  --text-muted: #7a6a5c;
  --accent: #b45f2b;
  --accent-hover: #924a1f;
  --border-light: #f0e4d4;
  --card-bg: white;
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.03);
  --shadow-hover: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
  --border-radius: 16px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-dark);
  line-height: 1.5;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
}

.header {
  background: var(--bg-header);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .header {
    padding: 40px 0 30px;
  }
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 10px;
}

@media (max-width: 480px) {
  .header-top {
    flex-direction: column;
    text-align: center;
  }
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .header-right {
    justify-content: center;
    width: 100%;
  }
}

.logo {
  font-size: 2.5rem;
  font-weight: 500;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .logo {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .logo {
    font-size: 1.6rem;
  }
}

.logo span {
  font-weight: 300;
  color: var(--accent);
}

.tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-top: 10px;
}

.language-switcher {
  background: var(--border-light);
  padding: 8px 15px;
  border-radius: 40px;
  font-size: 14px;
  display: inline-flex;
  gap: 8px;
}

.language-switcher a {
  text-decoration: none;
  color: var(--text-muted);
  padding: 4px 8px;
  transition: 0.2s;
  border-radius: 20px;
}

.language-switcher a:hover {
  color: var(--accent);
  background: rgba(180, 95, 43, 0.1);
}

.language-switcher a.active {
  color: var(--accent);
  font-weight: bold;
}

.header-contacts {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: 0.2s;
}

.header-phone i {
  font-size: 14px;
  color: var(--accent);
}

.header-phone:hover {
  color: var(--accent);
}

.main-nav {
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav .container {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .main-nav .container {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .main-nav .container {
    gap: 15px;
    justify-content: space-around;
  }
}

.main-nav a {
  text-decoration: none;
  padding: 16px 0;
  color: var(--text-muted);
  font-weight: 500;
  transition: 0.2s;
  border-bottom: 2px solid transparent;
}

@media (max-width: 480px) {
  .main-nav a {
    padding: 12px 0;
    font-size: 14px;
  }
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.hero {
  background: linear-gradient(135deg, #faf0e6 0%, #fff5ec 100%);
  padding: 70px 0;
  text-align: center;
}

@media (max-width: 768px) {
  .hero {
    padding: 50px 0;
  }
}

.hero h2 {
  font-size: 2.4rem;
  font-weight: 400;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 1.6rem;
  }
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 48px;
  position: relative;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.5rem;
    margin-bottom: 32px;
  }
}

.section-title:after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: #d9b48b;
  margin: 12px auto 0;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 640px) {
  .gallery-grid {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.gallery-item {
  background: var(--card-bg);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s;
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

@media (max-width: 768px) {
  .gallery-item img {
    height: 220px;
  }
}

.gallery-item .info {
  padding: 15px;
}

.gallery-item .title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
  text-align: center;
}

.gallery-item .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
}

.contact {
  background: #fff9f4;
  padding: 70px 0;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 768px) {
  .contact {
    padding: 50px 0;
  }
}

.form-group {
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

input,
textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #e2d5c8;
  border-radius: 40px;
  font-family: inherit;
  font-size: 1rem;
  background: white;
  transition: 0.2s;
}

@media (max-width: 480px) {
  input,
  textarea {
    padding: 12px 16px;
    font-size: 0.95rem;
  }
}

textarea {
  border-radius: 28px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(180, 95, 43, 0.1);
}

.btn {
  background: var(--accent);
  color: white;
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(180, 95, 43, 0.2);
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 95, 43, 0.3);
}

.btn-link {
  background: transparent;
  color: var(--accent);
  box-shadow: none;
  border: 2px solid var(--accent);
}

.btn-link:hover {
  background: var(--accent);
  color: white;
}

@media (max-width: 480px) {
  .btn {
    padding: 12px 24px;
    width: 100%;
  }
}

#form-status {
  margin-top: 15px;
  font-size: 0.9rem;
  text-align: center;
}

.contact-phones {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.phone-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 10px 20px;
  border-radius: 50px;
  box-shadow: var(--shadow);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  text-decoration: none;
  color: var(--text-dark);
}

.phone-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.phone-item i {
  font-size: 20px;
  color: var(--accent);
}

.phone-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.phone-number {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
}

.footer {
  background: #f2ebe4;
  text-align: center;
  padding: 30px 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(180, 95, 43, 0.05);
}

.social-icon i {
  font-size: 28px;
  transition: transform 0.2s ease;
}

.social-icon span {
  font-size: 12px;
  font-weight: 500;
}

.social-icon.telegram:hover {
  color: #0088cc;
  background: rgba(0, 136, 204, 0.1);
}
.social-icon.instagram:hover {
  color: #e4405f;
  background: rgba(228, 64, 95, 0.1);
}
.social-icon.vk:hover {
  color: #4a76a8;
  background: rgba(74, 118, 168, 0.1);
}
.social-icon.youtube:hover {
  color: #ff0000;
  background: rgba(255, 0, 0, 0.1);
}

.social-icon:hover i {
  transform: translateY(-3px);
}

.footer-phones {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.footer-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: 0.2s;
}

.footer-phone i {
  font-size: 16px;
  color: var(--accent);
}

.footer-phone:hover {
  color: var(--accent);
}

/* Кнопка "Наверх" */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  z-index: 999;
  cursor: pointer;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-3px);
}

.scroll-top i {
  font-size: 20px;
  color: white;
  pointer-events: none;
}

@media (max-width: 768px) {
  .scroll-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .scroll-top i {
    font-size: 16px;
  }
}
