html {
  scroll-behavior: smooth;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #1e332a;
  color: #fdfbf7;
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  left: 0;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
}

@media (min-width: 640px) {
  .site-logo {
    height: 56px;
  }
}

.menu-toggle {
  position: relative;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  color: #1e332a;
}

.menu-toggle-bar {
  position: absolute;
  left: 50%;
  width: 1.45rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.35s ease, opacity 0.25s ease, top 0.35s ease;
}

.menu-toggle-bar:nth-child(1) {
  top: 0.82rem;
}

.menu-toggle-bar:nth-child(2) {
  top: 1.2rem;
}

.menu-toggle-bar:nth-child(3) {
  top: 1.58rem;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(1) {
  top: 1.2rem;
  transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open .menu-toggle-bar:nth-child(3) {
  top: 1.2rem;
  transform: translateX(-50%) rotate(-45deg);
}

.mobile-menu {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.4s ease, opacity 0.3s ease, visibility 0.4s ease;
}

.mobile-menu-inner {
  overflow: hidden;
}

.mobile-menu.is-open {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
}

@media (min-width: 1280px) {
  .mobile-menu {
    display: none;
  }
}

.nav-link {
  color: #1e332a;
  transition: color 0.25s ease;
}

.nav-link:hover {
  color: #1a1a1a;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.social-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.social-icon:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  background: #c5a059;
  color: #1a1a1a;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.75rem 1.25rem;
  border: 1px solid #c5a059;
  border-radius: 0.75rem;
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.btn-gold:hover:not(:disabled) {
  background: #d4af37;
  box-shadow: 0 8px 24px rgba(197, 160, 89, 0.35);
}

.btn-gold:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #1e332a;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid #1e332a;
  border-radius: 0.75rem;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.btn-outline:hover {
  border-color: #c5a059;
  color: #c5a059;
}

.option-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid rgba(30, 51, 42, 0.12);
  padding: 0.85rem 1rem;
  cursor: pointer;
  background: #fdfbf7;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.option-card:hover {
  border-color: #c5a059;
}

.form-input {
  display: block;
  width: 100%;
  margin-top: 0.4rem;
  border: 1px solid rgba(30, 51, 42, 0.18);
  background: #fdfbf7;
  padding: 0.7rem 0.85rem;
  outline: none;
}

.form-input:focus {
  border-color: #c5a059;
}

.honeypot-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

form[data-source="Заказ тарифа"]:has([data-success]:not(.hidden)) .tariff-form-fields {
  display: none;
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-size: 0.8rem;
  line-height: 1.4;
  color: rgba(30, 51, 42, 0.75);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal.hidden {
  display: none;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 26, 0.55);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 32rem);
  max-height: 90vh;
  overflow: auto;
  background: #ffffff;
  padding: 1.75rem;
  border: 1px solid rgba(197, 160, 89, 0.35);
}

.modal-panel-wide {
  width: min(100%, 42rem);
}

.legal-link {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: #1e332a;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
}

.legal-link:hover {
  color: #c5a059;
}

.legal-doc {
  color: rgba(30, 51, 42, 0.82);
  font-size: 0.9rem;
  line-height: 1.55;
}

.legal-doc h3 {
  margin-top: 1.15rem;
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  color: #1e332a;
}

.legal-doc p,
.legal-doc ul {
  margin-top: 0.55rem;
}

.legal-doc ul {
  padding-left: 1.15rem;
  list-style: disc;
}

.legal-doc a {
  text-decoration: underline;
}

.legal-meta {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(30, 51, 42, 0.55);
}

.modal-close {
  position: absolute;
  right: 0.75rem;
  top: 0.35rem;
  font-size: 1.75rem;
  line-height: 1;
  color: #1e332a;
}

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 70;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid rgba(30, 51, 42, 0.12);
  padding: 1rem 1.25rem;
  box-shadow: 0 12px 40px rgba(30, 51, 42, 0.12);
  font-size: 0.85rem;
}

.cookie-banner .legal-link {
  color: #1565c0;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.cookie-banner .legal-link:hover {
  color: #0d47a1;
}

.cookie-banner.hidden {
  display: none;
}

@media (min-width: 640px) {
  .cookie-banner {
    left: auto;
    right: 1.5rem;
    width: min(36rem, calc(100% - 3rem));
  }
}

.about-offer {
  padding: 2rem 1.5rem;
  border: 1px solid rgba(197, 160, 89, 0.32);
  background: #fdfbf7;
}

.about-offer-text {
  margin: 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  color: #d4af37;
}

@media (min-width: 640px) {
  .about-offer {
    padding: 2.75rem 2.5rem;
  }

  .about-offer-text {
    font-size: 1.35rem;
  }
}

.lux-card-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  padding: 0.75rem 1.25rem;
  border: 1px solid #1a1a1a;
  border-radius: 0.75rem;
  margin-bottom: 1rem;
  cursor: pointer;
}

.lux-card-details {
  display: none;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
}

.lux-card-details.is-open {
  display: block;
  max-height: 1600px;
  opacity: 1;
  margin-bottom: 1rem;
  transition: max-height 0.4s ease, opacity 0.3s ease;
}

.lux-card-details-inner {
  overflow: hidden;
}

.lux-card-details-title {
  margin: 0.9rem 0 0.4rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1a1a1a;
}

.lux-card-details-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lux-card-details-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-top: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.45;
  color: #1a1a1a;
}

.lux-card-details-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 0.62em;
  height: 0.32em;
  border-left: 1.4px solid #1a1a1a;
  border-bottom: 1.4px solid #1a1a1a;
  transform: rotate(-45deg);
}

.hero-photo {
  width: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.about-staff-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}

.eco-card {
  display: flex;
  flex-direction: column;
}

.eco-card-photo-wrap {
  flex-shrink: 0;
  height: 370px;
  overflow: hidden;
  border-top-left-radius: 0.125rem;
  border-top-right-radius: 0.125rem;
}

.eco-card-photo {
  display: block;
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
