:root {
  --bg: #09090b;
  --bg-soft: #18181b;
  --card: #111215;
  --text: #f5f5f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #22c55e;
  --accent-2: #22c55e;
  --danger: #dc2626;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at top, #17181d 0%, var(--bg) 45%);
}

body.menu-open {
  overflow: hidden;
}

.font-georgian {
  font-family: "Noto Sans Georgian", "BPG Nino Mtavruli", "DejaVu Sans", "Segoe UI", sans-serif;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

h4 {
  margin: 0;
}

.container {
  width: min(1160px, 100% - 2rem);
  margin-inline: auto;
}

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(0, 0, 0, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-row {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 0.6rem;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(255, 255, 255, 0.05);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.22s ease;
}

.logo-mark img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.logo-mark picture {
  display: block;
}

.logo:hover .logo-mark {
  transform: rotate(10deg);
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.logo-text span {
  color: var(--accent);
}

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

.nav a {
  text-decoration: none;
  color: #d4d4d8;
  border: 1px solid transparent;
  padding: 0.45rem 0.7rem;
  border-radius: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.nav a:hover,
.mobile-nav a:hover,
.lang-option:hover,
.mobile-lang-link:hover {
  color: #fff;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.lang-inline {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.lang-inline-link {
  text-decoration: none;
  color: #d4d4d8;
  border: 1px solid transparent;
  border-radius: 0.6rem;
  padding: 0.45rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lang-inline-link:hover {
  color: #fff;
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(255, 255, 255, 0.06);
}

.lang-inline-link.active {
  background: var(--accent);
  color: #041106;
}

.lang-switcher {
  position: relative;
  display: none;
}

.lang-toggle {
  min-height: 40px;
  min-width: 78px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 11, 16, 0.95);
  color: #fff;
  padding: 0.4rem 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-toggle:hover {
  border-color: rgba(34, 197, 94, 0.55);
}

.lang-toggle[aria-expanded="true"] .lang-chevron {
  transform: rotate(180deg);
}

.lang-chevron {
  transition: transform 0.2s ease;
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  width: 96px;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(5, 8, 14, 0.98);
  padding: 0.4rem;
  display: grid;
  gap: 0.35rem;
  z-index: 70;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.45);
}

.lang-menu[hidden] {
  display: none;
}

.lang-option {
  text-decoration: none;
  color: #e4e4e7;
  border: 1px solid transparent;
  border-radius: 0.75rem;
  padding: 0.55rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
}

.lang-option.active {
  background: var(--accent);
  color: #041106;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
}

.menu-glyph {
  color: #f4f4f5;
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.mobile-menu {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.96);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-inner {
  padding: 0.8rem 0 1rem;
}

.mobile-nav {
  display: grid;
  gap: 0.45rem;
}

.mobile-nav a {
  display: block;
  text-decoration: none;
  color: #d4d4d8;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.75rem;
  padding: 0.75rem 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mobile-lang {
  margin-top: 0.75rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.mobile-lang-link {
  text-decoration: none;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.65rem 0.5rem;
  text-align: center;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.03);
}

.mobile-lang-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #041106;
}

.section {
  scroll-margin-top: 92px;
  padding: 5.2rem 0;
}

.hero {
  height: calc(92svh - 80px);
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4.6rem 0 1.4rem;
}

.hero-title {
  font-size: clamp(2.5rem, 9vw, 5.4rem);
  line-height: 0.94;
  margin: 0;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: -0.05em;
}

.hero-title .accent {
  color: var(--accent);
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.32);
}

.hero-subtitle {
  margin: 1.25rem auto 0;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(1rem, 2.1vw, 1.5rem);
}

.hero-actions {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.hero-response {
  margin: 1rem auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(34, 197, 94, 0.12);
  color: var(--accent);
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

#prices.section {
  padding-top: 2.4rem;
}

.btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  border-radius: 0.8rem;
  min-height: 52px;
  padding: 0.9rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn:hover {
  border-color: rgba(34, 197, 94, 0.52);
  color: #fff;
}

.btn:disabled,
.btn.is-loading {
  opacity: 0.7;
  cursor: wait;
}

.btn-primary {
  border-color: var(--accent-2);
  background: var(--accent);
  color: #041106;
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #041106;
}

.btn-hero-main {
  min-height: 58px;
  padding-inline: 1.35rem;
  font-size: 0.92rem;
  box-shadow: 0 12px 26px -16px rgba(34, 197, 94, 0.8);
}

.btn-icon {
  min-height: 40px;
  min-width: 40px;
  padding: 0.35rem;
}

.section-title {
  text-align: center;
  margin: 0;
  text-transform: uppercase;
  font-size: clamp(2rem, 6.5vw, 3.2rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section-title .muted {
  color: #c9c9cf;
}

.section-title .accent {
  color: var(--accent);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 760px;
  margin: 0.9rem auto 0;
}

.prices-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1.1rem;
  padding: 1rem;
  position: relative;
  isolation: isolate;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.7rem;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 0.7rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--metal-bg, #27272a), var(--metal-bg2, var(--metal-bg, #27272a)));
  color: var(--metal-fg, #f5f5f5);
  border: 1px solid var(--metal-border, rgba(255, 255, 255, 0.18));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 0 0 1px rgba(0, 0, 0, 0.25),
    0 8px 20px -10px var(--metal-shadow, rgba(0, 0, 0, 0.62));
  font-size: 0.96rem;
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.18);
}

.hot-badge {
  background: #27272a;
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.55);
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  padding: 0.28rem 0.55rem;
}

.card h3 {
  margin: 0.85rem 0 0;
  font-size: 1.35rem;
}

.card-linkable {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.card-linkable:hover,
.card-linkable:focus-visible {
  outline: none;
  border-color: rgba(34, 197, 94, 0.58);
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.12) 0%, rgba(34, 197, 94, 0.03) 38%, rgba(255, 255, 255, 0.04) 100%);
  box-shadow: 0 16px 28px -20px rgba(34, 197, 94, 0.85), inset 0 0 0 1px rgba(34, 197, 94, 0.18);
  transform: translateY(-3px);
}

.price-line {
  margin-top: 0.75rem;
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.trend {
  margin-top: 0.45rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 800;
  color: #f4f4f5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  color: var(--accent);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item p {
  margin: 0;
  padding-top: 0.7rem;
  color: #d4d4d8;
  line-height: 1.5;
  cursor: inherit;
}

.faq-item:hover,
.faq-item:focus-within {
  border-color: rgba(34, 197, 94, 0.48);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.faq-item:hover summary,
.faq-item:focus-within summary {
  color: #fff;
}

.calc-wrap {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.metal-price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.metal-calc-trigger {
  margin: 0;
  margin-top: auto;
  padding-top: 0.9rem;
  display: flex;
  justify-content: flex-start;
}

.metal-page-actions {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.metal-page-actions .btn {
  flex: 1 1 220px;
}

.panel {
  background: var(--card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.2rem;
  padding: 1.15rem;
}

.features {
  display: grid;
  gap: 0.7rem;
}

.feature {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.9rem;
  padding: 0.8rem;
  color: #d4d4d8;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.option-grid button {
  background: #27272a;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.8rem;
  min-height: 44px;
  font-weight: 800;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.option-grid button:hover,
.option-grid button:focus-visible {
  border-color: rgba(34, 197, 94, 0.55);
  color: #fff;
  transform: translateY(-1px);
}

.option-grid button.active {
  background: var(--accent);
  color: #041106;
  border-color: var(--accent);
}

label {
  display: block;
  margin: 0.8rem 0 0.35rem;
  color: #d4d4d8;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calc-weight-label {
  color: #f5f5f5;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.calc-weight-label #calc-weight-value {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.38);
  margin-left: 0.24rem;
  font-size: 1.32em;
  font-weight: 900;
}

.range {
  appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  accent-color: var(--accent);
}

.range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
}

.range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid rgba(34, 197, 94, 0.45);
  margin-top: -6px;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f8fafc 0%, #ffffff 100%);
}

.range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--accent);
  border: 2px solid rgba(34, 197, 94, 0.45);
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.22);
}

.metal-calc-meta {
  margin-top: 0.2rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.metal-calc-price {
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--metal-price-color, #e5bb2f);
  text-shadow: 0 0 14px var(--metal-price-glow, rgba(229, 187, 47, 0.4));
}

.metal-calc-weight-label {
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.34rem;
  padding: 0.14rem 0.58rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  text-transform: none;
  letter-spacing: 0;
  font-size: 1.08rem;
  font-weight: 900;
  color: #f5f5f5;
  white-space: nowrap;
}

.metal-calc-weight-label #metal-calc-weight-value {
  color: var(--accent);
  text-shadow: 0 0 12px rgba(34, 197, 94, 0.38);
  font-size: 1.5rem;
}

.metal-calc-meta + .range {
  margin-top: 0.65rem;
}

.metal-calc-modal-card {
  width: min(620px, 100%);
  padding: 1.3rem 1.25rem 1.2rem;
}

.metal-calc-modal-card .modal-head {
  margin-bottom: 1rem;
}

.metal-calc-modal-card #metal-calc-title {
  margin: 0;
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  line-height: 1.18;
  font-weight: 900;
}

.metal-calc-modal-card .metal-calc-meta {
  margin-top: 0.25rem;
  margin-bottom: 1.1rem;
  padding-bottom: 0.65rem;
  align-items: flex-start;
}

.metal-calc-modal-card .note.metal-calc-price {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  line-height: 1.42;
}

.metal-calc-modal-card .metal-calc-weight-label {
  padding: 0.2rem 0.72rem;
  font-size: 1.15rem;
}

.metal-calc-modal-card .metal-calc-weight-label #metal-calc-weight-value {
  font-size: 1.58rem;
}

.metal-calc-modal-card .metal-calc-meta + .range {
  margin-top: 0.9rem;
}

.metal-calc-modal-card .switch {
  margin-top: 1rem;
  gap: 0.75rem;
  font-size: 1rem;
}

.metal-calc-modal-card .switch input {
  width: 20px;
  height: 20px;
  margin: 0;
}

.metal-calc-modal-card .total {
  margin-top: 1rem;
  padding: 1rem 1.05rem;
}

.metal-calc-modal-card .total > div:first-child {
  font-size: 0.94rem;
  font-weight: 800;
}

.metal-calc-modal-card .note {
  font-size: 0.85rem;
  line-height: 1.45;
}

.metal-calc-modal-card .metal-calc-request {
  margin-top: 1.2rem;
  min-height: 58px;
  font-size: 0.95rem;
}

.switch {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #d4d4d8;
}

.total {
  margin-top: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 0.9rem;
  background: rgba(0, 0, 0, 0.25);
}

.total strong {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.metal-calc-request {
  margin-top: 0.9rem;
  width: 100%;
}

.note {
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.note.metal-calc-price {
  margin: 0;
  font-size: clamp(1.02rem, 1.2vw, 1.2rem);
  line-height: 1.35;
  font-weight: 900;
  color: var(--metal-price-color, #e5bb2f);
  text-shadow: 0 0 14px var(--metal-price-glow, rgba(229, 187, 47, 0.4));
}

.agreement-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.link-btn,
.link-inline {
  background: none;
  border: 0;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  padding: 0;
  font: inherit;
  font-weight: 700;
}

.link-btn,
.link-inline,
.contact-terms {
  border: 1px solid transparent;
  border-radius: 0.6rem;
  padding: 0.1rem 0.35rem;
  display: inline-flex;
  align-items: center;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.link-btn:hover,
.link-btn:focus-visible,
.link-inline:hover,
.link-inline:focus-visible,
.contact-terms:hover,
.contact-terms:focus-visible {
  color: var(--accent);
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transform: translateY(-1px);
  outline: none;
}

.contacts-wrap {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1rem;
  align-items: stretch;
}

.contact-panel {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-row {
  margin-top: 0.6rem;
  color: #d4d4d8;
}

.contact-row strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 0.8rem;
  text-transform: uppercase;
}

.contact-value {
  display: block;
  white-space: pre-line;
}

.contact-terms {
  margin-top: 0.85rem;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.85rem;
  font-weight: 700;
  width: fit-content;
}

.contact-buttons {
  margin-top: auto;
  padding-top: 1rem;
  display: grid;
  gap: 0.5rem;
}

.contact-buttons a {
  text-decoration: none;
}

.contact-buttons .btn {
  font-weight: 900;
}

.btn-whatsapp {
  background: rgba(37, 211, 102, 0.12);
  border-color: rgba(37, 211, 102, 0.48);
  color: #e8fff2;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.2);
  border-color: #25d366;
}

.btn-telegram {
  background: rgba(42, 171, 238, 0.12);
  border-color: rgba(42, 171, 238, 0.48);
  color: #eaf8ff;
}

.btn-telegram:hover {
  background: rgba(42, 171, 238, 0.2);
  border-color: #2aabee;
}

.btn-viber {
  background: rgba(115, 96, 242, 0.12);
  border-color: rgba(115, 96, 242, 0.48);
  color: #f0edff;
}

.btn-viber:hover {
  background: rgba(115, 96, 242, 0.2);
  border-color: #7360f2;
}

.map {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 420px;
  height: 100%;
}

.map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.footer {
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  padding: 1.2rem 0 2rem;
  color: var(--muted);
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.footer-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.footer-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  color: inherit;
}

.footer-brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 0.5rem;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: rgba(0, 0, 0, 0.45);
  display: grid;
  place-items: center;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.footer-brand-mark img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.footer-brand-mark picture {
  display: block;
}

.footer-brand-text {
  color: #e5e7eb;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.footer-brand-text strong {
  color: #fff;
}

.footer-brand:hover,
.footer-brand:focus-within {
  border-color: rgba(34, 197, 94, 0.52);
}

.footer-brand:hover .footer-brand-mark,
.footer-brand:focus-within .footer-brand-mark {
  transform: rotate(10deg);
}

.footer-brand-modal {
  position: fixed;
  inset: 0;
  z-index: 85;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.footer-brand-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.footer-brand-card {
  width: min(560px, 94vw);
  border-radius: 1.2rem;
  border: 1px solid rgba(34, 197, 94, 0.45);
  background: #0d0f13;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  padding: 1.1rem 1rem 1rem;
  text-align: center;
  position: relative;
}

.footer-brand-close {
  position: absolute;
  right: 0.75rem;
  top: 0.75rem;
}

.footer-brand-logo {
  width: min(260px, 62vw);
  height: auto;
  display: block;
  margin: 0.45rem auto 0.7rem;
}

.footer-brand-logo-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.45rem auto 0.7rem;
}

.footer-brand-logo-wrap img {
  width: min(220px, 52vw);
  height: auto;
  display: block;
  object-fit: contain;
}

.footer-brand-title {
  margin: 0;
  font-size: clamp(1.3rem, 4vw, 1.9rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  color: #f5f5f5;
}

.footer-brand-description {
  margin: 0.55rem auto 0;
  max-width: 460px;
  color: #d4d4d8;
  font-size: 0.95rem;
  line-height: 1.5;
}

.modal,
.submodal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.submodal {
  z-index: 95;
}

.modal.open,
.submodal.open {
  display: flex;
}

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

.submodal-overlay {
  background: rgba(0, 0, 0, 0.8);
}

.modal-card,
.submodal-card {
  position: relative;
  width: min(520px, 100%);
  background: #131417;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1rem;
}

.modal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.input {
  width: 100%;
  min-height: 44px;
  border-radius: 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #1f2024;
  color: #fff;
  padding: 0.65rem 0.75rem;
}

#request-submit {
  margin-top: 0.9rem;
}

.status-text {
  min-height: 1.2rem;
  margin-top: 0.4rem;
}

.status-text.error {
  color: #fca5a5;
  font-size: 0.78rem;
}

.status-text.success {
  color: var(--accent);
  font-size: 0.9rem;
}

.terms-text {
  margin-top: 0.8rem;
  display: grid;
  gap: 0.55rem;
  color: #d4d4d8;
  font-size: 0.92rem;
}

.terms-block {
  padding-top: 8rem;
}

.terms-list {
  margin-top: 1rem;
  display: grid;
  gap: 0.75rem;
}

.terms-list .feature {
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.terms-list .feature:hover,
.terms-list .feature:focus-within {
  border-color: rgba(34, 197, 94, 0.45);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.mobile-sticky-cta {
  display: none;
}

@media (max-width: 960px) {
  body.has-mobile-sticky-cta {
    padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px));
  }

  .nav {
    display: none;
  }

  .lang-switcher {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .prices-grid,
  .calc-wrap,
  .contacts-wrap {
    grid-template-columns: 1fr;
  }

  .metal-page-actions .btn {
    flex-basis: 100%;
  }

  .contact-panel {
    height: auto;
  }

  .map {
    min-height: 320px;
  }

  .option-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-response {
    margin-top: 0.85rem;
    font-size: 0.8rem;
  }

  .btn-hero-main {
    min-height: 54px;
    font-size: 0.88rem;
  }

  .mobile-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 75;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(4, 6, 10, 0.92);
    backdrop-filter: blur(8px);
  }

  .mobile-sticky-cta .btn {
    min-height: 48px;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    padding: 0.75rem 0.6rem;
  }

  .metal-calc-modal-card {
    padding: 1.1rem 0.9rem 0.95rem;
  }

  .metal-calc-modal-card .metal-calc-meta {
    margin-bottom: 0.95rem;
  }

  .metal-calc-modal-card #metal-calc-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 1200px) {
  .lang-inline {
    display: none;
  }

  .lang-switcher {
    display: block;
  }
}

@media (max-width: 960px) {
  .lang-inline,
  .lang-switcher {
    display: none;
  }
}
