/* ALTA MAVERA custom styles (shared by RU and EN pages). Must load before tailwind.css. */
/* Keep anchored sections clear of the fixed header */
html {
  scroll-padding-top: 4.5rem;
}

/* Pure metallic gold gradients */
.text-gold-gradient {
  background: linear-gradient(135deg, #FFF4D0 0%, #E3BC4C 35%, #B3882B 65%, #F5DE88 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.28));
}

.text-gold-subtle {
  background: linear-gradient(135deg, #F3E5BE 0%, #D4AF37 50%, #A67D28 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.border-gold-glow {
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 0 25px -5px rgba(212, 175, 55, 0.2);
}

/* Ambient glassmorphic overlays */
.glass-obsidian-nav {
  background: rgba(16, 23, 34, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.glass-card-obsidian {
  background: rgba(26, 38, 53, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(216, 183, 99, 0.2);
}

/* Hero slider: photo layer only, plain crossfade */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.3s ease-in-out;
}
.hero-slide.is-active {
  opacity: 1;
}
/* Hero shade: soft local gradient behind the text column, light vignette,
   top fade for the header and bottom fade into the next section */
.hero-shade {
  background:
    radial-gradient(ellipse 54% 44% at 50% 54%, rgba(16, 23, 34, 0.50) 0%, rgba(16, 23, 34, 0.24) 55%, rgba(16, 23, 34, 0) 100%),
    radial-gradient(ellipse at 50% 50%, rgba(16, 23, 34, 0) 45%, rgba(16, 23, 34, 0.45) 100%),
    linear-gradient(to bottom, rgba(16, 23, 34, 0.50) 0%, rgba(16, 23, 34, 0.06) 20%, rgba(16, 23, 34, 0.08) 62%, #101722 100%);
}
@media (max-width: 640px) {
  .hero-shade {
    background:
      radial-gradient(ellipse 85% 30% at 50% 38%, rgba(16, 23, 34, 0.38) 0%, rgba(16, 23, 34, 0.16) 60%, rgba(16, 23, 34, 0) 100%),
      linear-gradient(to bottom, rgba(16, 23, 34, 0.45) 0%, rgba(16, 23, 34, 0.05) 18%, rgba(16, 23, 34, 0.05) 72%, #101722 100%);
  }
}
.hero-text-shadow {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.45), 0 2px 18px rgba(0, 0, 0, 0.6);
}
h1.text-gold-gradient.hero-text-shadow {
  text-shadow: none;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}
.hero-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  border: 1px solid rgba(216, 183, 99, 0.65);
  background: rgba(16, 23, 34, 0.62);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #F3E5BE;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  line-height: 1.35;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.15s ease;
}
@media (min-width: 640px) {
  .hero-btn {
    min-height: 3.5rem;
  }
}
@media (min-width: 768px) {
  .hero-btn {
    padding-left: 1rem;
    padding-right: 1rem;
    letter-spacing: 0.12em;
    white-space: nowrap;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .hero-btn {
    white-space: normal;
  }
}
.hero-btn:hover {
  background: rgba(216, 183, 99, 0.16);
  border-color: #D8B763;
  color: #FFFFFF;
}
.hero-btn:active {
  transform: translateY(1px);
  background: rgba(216, 183, 99, 0.26);
}
.hero-btn:focus-visible,
.slide-dot:focus-visible {
  outline: 2px solid #D8B763;
  outline-offset: 3px;
}
.slide-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 1.75rem;
  border-radius: 9999px;
}
.slide-dot span {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: rgba(231, 229, 228, 0.45);
  transition: width 0.4s ease, background-color 0.4s ease;
}
.slide-dot:hover span {
  background: rgba(216, 183, 99, 0.75);
}
.slide-dot[aria-current="true"] span {
  width: 1.5rem;
  background: #D8B763;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .slide-dot span,
  .hero-btn {
    transition: none;
  }
}

/* Elegant custom scrollbar */
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: #101722;
}
::-webkit-scrollbar-thumb {
  background: #4B3E1F;
  border-radius: 2px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
}

/* Contacts: public site = contact cards only; test site with the form adds .leads-on */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.contact-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 640px) {
  #contacts:not(.leads-on) .contact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #contacts:not(.leads-on) .contact-address { grid-column: 1 / -1; justify-content: center; }
}
@media (min-width: 1024px) {
  #contacts:not(.leads-on) .contact-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  #contacts:not(.leads-on) .contact-list > a { flex-direction: column; text-align: center; padding: 1.75rem 1rem; }
  #contacts.leads-on .contact-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  #contacts.leads-on .contact-list { grid-column: span 2 / span 2; align-content: start; }
  #contacts.leads-on .contact-form { grid-column: span 3 / span 3; }
}
