:root {
  color-scheme: dark;
  --bg-1: #16100c;
  --bg-2: #241a13;
  --bg-3: #35261b;
  --panel: rgba(42, 30, 22, 0.58);
  --panel-strong: rgba(48, 35, 26, 0.82);
  --line: rgba(255, 255, 255, 0.1);
  --line-soft: rgba(255, 255, 255, 0.05);
  --text: #f4e7d4;
  --text-soft: #d2c0ab;
  --text-muted: #ad9a86;
  --gold-1: #efd2ac;
  --gold-2: #d9b383;
  --gold-3: #b98c5c;
  --shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.2);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(239, 189, 122, 0.16), transparent 24%),
    radial-gradient(circle at 82% 10%, rgba(194, 140, 84, 0.14), transparent 26%),
    linear-gradient(160deg, rgba(32, 24, 18, 0.84), rgba(58, 42, 28, 0.82)),
    url('/assets/design/texture-dark.jpg') center/520px repeat,
    #1a140f;
  background-attachment: fixed;
}

body::after {
  content: "";
  position: fixed;
  left: 50%;
  bottom: -160px;
  transform: translateX(-50%);
  width: 1000px;
  height: 420px;
  background: radial-gradient(circle, rgba(214, 162, 98, 0.16), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1220px, calc(100% - 32px));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 30;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
}

.brand {
  text-decoration: none;
  color: var(--gold-1);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: rgba(244, 231, 212, 0.9);
  font-size: 14px;
  transition: 0.22s ease;
}

.site-nav a:hover {
  color: var(--gold-1);
}

.hero-premium {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 110px 0 56px;
  color: var(--text);
}

.hero-premium__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.62) 0%, rgba(28, 20, 14, 0.46) 42%, rgba(64, 43, 24, 0.24) 100%),
    linear-gradient(180deg, rgba(20, 14, 10, 0.3) 0%, rgba(18, 13, 10, 0.56) 100%),
    url('/assets/design/home-hero.jpg') center center / cover no-repeat;
  transform: scale(1.02);
}

.hero-premium__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 166px);
}

.hero-premium__content {
  max-width: 650px;
}

.hero-premium__eyebrow,
.section-eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  color: rgba(239, 210, 172, 0.98);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-premium__title {
  margin: 0 0 18px;
  font-size: clamp(44px, 6vw, 84px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 700;
  text-wrap: balance;
}

.hero-premium__subtitle {
  margin: 0 0 30px;
  max-width: 580px;
  color: var(--text-soft);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.hero-premium__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 16px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 650;
  transition: 0.24s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #18120d;
  background: linear-gradient(135deg, var(--gold-1) 0%, var(--gold-2) 58%, var(--gold-3) 100%);
  box-shadow:
    0 12px 28px rgba(185, 140, 92, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  box-shadow:
    0 16px 34px rgba(185, 140, 92, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  border-color: rgba(239, 210, 172, 0.32);
  color: var(--gold-1);
}

.hero-premium__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hero-premium__meta-item {
  padding: 14px 14px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(64, 45, 30, 0.26);
  backdrop-filter: blur(10px);
}

.hero-premium__meta-number {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-1);
  font-size: 17px;
  font-weight: 650;
}

.hero-premium__meta-label {
  display: block;
  color: #c3b09a;
  font-size: 13px;
  line-height: 1.45;
}

.hero-premium__visual {
  display: flex;
  justify-content: flex-end;
}

.hero-premium__visual-card {
  width: 100%;
  max-width: 560px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
}

.hero-premium__image {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.section-dark {
  position: relative;
  padding: 72px 0;
  background:
    linear-gradient(180deg, rgba(35, 25, 18, 0.38) 0%, rgba(20, 15, 11, 0.18) 100%);
}

.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(214, 162, 98, 0.08), transparent 28%);
  pointer-events: none;
}

.section-heading {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-heading p {
  margin: 0;
  color: var(--text-soft);
  font-size: 17px;
  line-height: 1.65;
}

.feature-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  border-radius: 22px;
  padding: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.035), rgba(255,255,255,0.02)),
    rgba(50, 35, 24, 0.34);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.feature-card__icon {
  margin-bottom: 18px;
  color: var(--gold-1);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 24px;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

.feature-card p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.section-cta {
  position: relative;
  padding: 0 0 76px;
  background: transparent;
}

.cta-box {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 24px;
  align-items: center;
  border-radius: 26px;
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(239,210,172,0.08), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(53, 38, 27, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}

.cta-box h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.cta-box p {
  margin: 0;
  color: var(--text-soft);
  font-size: 16px;
  line-height: 1.65;
  max-width: 680px;
}

.cta-box__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 14, 10, 0.34);
  backdrop-filter: blur(8px);
  padding: 22px 0 34px;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}

.site-footer__brand {
  color: var(--gold-1);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 14px;
}

.site-footer__links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer__links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
}

.site-footer__links a:hover {
  color: var(--gold-1);
}


.section-contacts {
  position: relative;
  padding: 0 0 76px;
}

.contacts-premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-premium-card {
  display: flex;
  align-items: center;
  gap: 16px;
  border-radius: 20px;
  padding: 16px 18px;
  background:
    radial-gradient(circle at top right, rgba(239,210,172,0.08), transparent 48%),
    linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02)),
    rgba(44, 31, 22, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
}

.contact-premium-card--empty {
  grid-column: 1 / -1;
  justify-content: center;
}

.contact-premium-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 210, 172, 0.11);
  border: 1px solid rgba(239, 210, 172, 0.32);
  color: var(--gold-1);
  flex-shrink: 0;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.28));
}

.contact-premium-card__icon svg {
  width: 28px;
  height: 28px;
  display: block;
}

.contact-premium-card__content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.contact-premium-card__label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-premium-card__value {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(239, 210, 172, 0.34);
  background: rgba(239, 210, 172, 0.08);
  color: var(--gold-1);
  font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contact-premium-card__value:hover {
  transform: translateY(-1px);
  border-color: rgba(239, 210, 172, 0.58);
  background: rgba(239, 210, 172, 0.15);
}

.floating-contact-menu {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
}

.floating-contact-menu__toggle {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: linear-gradient(145deg, #f7d98d 0%, #d9ac5f 58%, #b68044 100%);
  color: #2d1f14;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.floating-contact-menu__toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.45);
}

.floating-contact-menu__toggle-icon {
  font-size: 26px;
  line-height: 1;
}

.floating-contact-menu__list {
  position: absolute;
  right: 0;
  bottom: calc(100% + 10px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.floating-contact-menu__btn {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff9f0;
  background: linear-gradient(145deg, rgba(53,38,27,0.92), rgba(32,23,17,0.95));
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42);
  text-decoration: none;
  overflow: visible;
  animation: floating-pulse 3s ease-in-out infinite;
  transform: translateY(8px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease, opacity 0.24s ease;
}

.floating-contact-menu.is-open .floating-contact-menu__btn {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.floating-contact-menu__btn::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  z-index: -1;
  opacity: 0.38;
  filter: blur(12px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-contact-menu__btn svg {
  width: 29px;
  height: 29px;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
}

.floating-contact-menu__btn:hover {
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 18px 28px rgba(0, 0, 0, 0.45);
}

.floating-contact-menu__btn:hover::before {
  opacity: 0.55;
  transform: scale(1.03);
}

.floating-contact-menu__btn::after {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 14, 10, 0.92);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 6px 10px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.floating-contact-menu__btn:hover::after {
  opacity: 1;
}

@keyframes floating-pulse {
  0%, 100% { transform: translateY(0) scale(1); box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42), 0 0 0 0 rgba(255, 255, 255, 0.18); }
  50% { transform: translateY(-1px) scale(1.01); box-shadow: 0 14px 26px rgba(0, 0, 0, 0.42), 0 0 0 10px rgba(255, 255, 255, 0); }
}

.floating-contact-menu__btn--phone {
  background: linear-gradient(145deg, #f7d98d 0%, #d9ac5f 58%, #b68044 100%);
}

.floating-contact-menu__btn--whatsapp {
  background: linear-gradient(145deg, #25d366 0%, #1fbf58 55%, #129444 100%);
}

.floating-contact-menu__btn--telegram {
  background: linear-gradient(145deg, #2ca5e0 0%, #1886d0 55%, #0d6fb4 100%);
}

.floating-contact-menu__btn--max {
  background: linear-gradient(145deg, #ff7b37 0%, #ff4f3a 52%, #db2f52 100%);
}

@media (max-width: 1024px) {
  .hero-premium__inner {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: start;
    min-height: auto;
  }

  .hero-premium__content {
    max-width: none;
  }

  .hero-premium__visual {
    justify-content: stretch;
  }

  .hero-premium__visual-card {
    max-width: none;
  }

  .hero-premium__image {
    min-height: 360px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .contacts-premium-grid {
    grid-template-columns: 1fr;
  }

  .cta-box {
    grid-template-columns: 1fr;
  }

  .cta-box__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, 1220px);
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 0;
  }

  .site-nav {
    gap: 12px;
  }

  .hero-premium {
    min-height: auto;
    padding: 120px 0 34px;
  }

  .hero-premium__bg {
    background:
      linear-gradient(180deg, rgba(26, 18, 12, 0.5) 0%, rgba(34, 24, 16, 0.56) 54%, rgba(30, 21, 15, 0.72) 100%),
      url('/assets/design/home-hero.jpg') center center / cover no-repeat;
  }

  .hero-premium__title {
    font-size: 46px;
    line-height: 0.95;
  }

  .hero-premium__subtitle {
    font-size: 16px;
    margin-bottom: 22px;
  }

  .hero-premium__actions,
  .cta-box__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-premium__meta {
    grid-template-columns: 1fr;
  }

  .hero-premium__meta-item {
    padding: 12px 14px;
  }

  .hero-premium__image {
    min-height: 280px;
  }

  .section-dark {
    padding: 54px 0;
  }

  .section-cta,
  .section-contacts {
    padding-bottom: 54px;
  }

  .contact-premium-card {
    padding: 14px;
  }

  .contact-premium-card__icon {
    width: 52px;
    height: 52px;
  }

  .contact-premium-card__icon svg {
    width: 26px;
    height: 26px;
  }

  .floating-contact-menu {
    right: 12px;
    bottom: 12px;
  }

  .floating-contact-menu__toggle,
  .floating-contact-menu__btn {
    width: 50px;
    height: 50px;
  }

  .floating-contact-menu__toggle-icon {
    font-size: 22px;
  }

  .floating-contact-menu__btn svg {
    width: 24px;
    height: 24px;
  }

  .floating-contact-menu__btn::after {
    display: none;
  }

  .cta-box {
    padding: 22px 18px;
  }
}


/* Custom improvements */
select {
  padding: 8px;
  background-color: var(--panel);
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: var(--radius-sm);
}

select:focus {
  outline: 2px solid var(--accent);
}

.card {
  margin-bottom: 16px;
}

/* Mobile navigation improvement */
@media (max-width: 600px) {
  .site-nav {
    flex-direction: column;
    gap: 8px;
  }
}
