/* ==============================================
   DESIGN TOKENS
   ============================================== */
:root {
  /* Colors */
  --green-primary: #4CC35D;
  --black: #000000;
  --dark-gray: #333;
  --text-body: #666666;
  --light-gray: #999;
  --border-gray: #D4D4D4;
  --border-light: #E5E5E5;
  --border-input: #E6E6E6;
  --bg-gray: #FAFAFA;
  --bg-gray-dark: #F6F6F6;
  --bg-hover: #EBEBEB;
  --placeholder-gray: #d9d9d9;
  --white: #ffffff;
  --red-error: #DC0000;
  --green-text: #00A918;
  --green-bg-light: #EEFFF1;

  /* Typography */
  --font-main: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout – matches .container-block (1770px) on lombard24.ee */
  --max-width: 1770px;

  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 20px;
  --space-lg: 32px;
  --space-xl: 60px;
  --space-2xl: 80px;
  --space-3xl: 120px;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0px 16px 32px -8px rgba(12, 12, 13, 0.12),
                 0px 4px 8px -2px rgba(12, 12, 13, 0.08);
  --shadow-card-sm: 0px 16px 16px -8px rgba(12, 12, 13, 0.1),
                    0px 4px 4px -4px rgba(12, 12, 13, 0.05);
}
/* ==============================================
   CSS RESET & BASE
   ============================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/Gilroy-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  color: var(--dark-gray);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
a { text-decoration: none; color: inherit; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

h1, h2, h3, h4 {
  font-weight: 700;
  color: var(--black);
  line-height: 1.2;
}

h1 { font-size: 64px; line-height: 1.15; }
h2 { font-size: 48px; }
h3 { font-size: 24px; }
h4 { font-size: 18px; }
/* ==============================================
   REUSABLE COMPONENTS
   ============================================== */

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--white);
  box-shadow: 0px 1px 50px 7px rgba(0, 0, 0, 0.1);
  z-index: 100;
  transition: transform 0.3s ease;
}

.site-header.hidden {
  transform: translateY(-100%);
}

.header-spacer {
  height: 120px;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
  display: none;
}

/* Header top row */
.header-top {
  display: flex;
  align-items: center;
  height: 72px;
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  display: block;
}

.header-utility {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

/* Search input */
.header-search {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 200px;
  width: 100%;
  min-width: 96px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-md);
  background: var(--white);
}

.header-search input {
  border: none;
  outline: none;
  background: transparent;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--black);
  width: 100%;
  height: 100%;
}

.header-search input::placeholder {
  color: #7C7C7C;
}

/* Header promo banner */
.header-promo {
  display: none;
  align-items: center;
  padding: 8px 15px;
  gap: 12px;
  height: 40px;
  margin-left: 24px;
  background: #FDF3F3;
  border-radius: 15px;
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  flex-shrink: 1;
  min-width: 160px;
  overflow: hidden;
}

@media (min-width: 1201px) {
  .header-promo {
    display: flex;
  }
}

.header-promo img {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.header-promo span {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 120%;
  color: #FF0000;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Header info banner */
.header-info {
  display: flex;
  align-items: center;
  padding: 8px 15px;
  gap: 12px;
  height: 40px;
  background: #F1F9FF;
  border-radius: 15px;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
}

/* Desktop spacing */
.header-top .header-info {
  display: none;
  margin-left: 12px;
  margin-right: 24px;
  min-width: 200px;
  flex: 1 1 200px;
}

@media (min-width: 1201px) {
  .header-top .header-info {
    display: flex;
  }
}


.header-info img {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.header-info__text {
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 150%;
  color: #0073C7;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.header-info__more {
  display: none;
  flex-shrink: 0;
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: #0073C7;
  text-decoration: underline;
  white-space: nowrap;
}


/* Truncated state — show "Read more" */
.header-info.is-truncated,
.header-info.is-expanded {
  cursor: pointer;
}

.header-info.is-truncated .header-info__more {
  display: block;
}

/* Mobile banners — between header and hero */
.mobile-banners {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px 20px 0;
}

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

.mobile-banners__promo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 12px;
  box-sizing: border-box;
  text-decoration: none;
  font-family: 'Gilroy', sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 130%;
  text-box-trim: both;
  text-box-edge: cap alphabetic;
  background: #FDF3F3;
  color: #FF0000;
}

.mobile-banners__promo img {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.mobile-banners .header-info {
  justify-content: center;
}

.mobile-banners .header-info img {
  width: 18px;
  height: 18px;
}


.header-info__close {
  display: none;
  flex-shrink: 0;
  font-size: 18px;
  color: #0073C7;
  line-height: 1;
}

/* Expanded state — grows in place */
.header-info.is-expanded {
  height: auto;
  padding-top: 10px;
  white-space: normal;
  overflow: visible;
  align-items: flex-start;
}


.header-top .header-info.is-expanded {
  align-self: flex-start;
  margin-top: 16px;
  z-index: 101;
  position: relative;
}

.header-info.is-expanded .header-info__text {
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
}

.header-info.is-expanded .header-info__more {
  display: none;
}

.header-info.is-expanded .header-info__close {
  display: block;
}

.header-search__icon {
  flex-shrink: 0;
  margin-left: 8px;
  cursor: pointer;
}

/* Cart with badge */
.header-cart {
  position: relative;
}

.header-cart__badge {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 20px;
  height: 20px;
  background: var(--green-primary);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-cart__badge:empty,
.header-cart__badge[data-count="0"] {
  display: none;
}

/* Language selector */
.header-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  font-size: 14px;
  color: var(--black);
  cursor: pointer;
  transition: color 0.3s ease;
}

.header-lang:hover {
  color: var(--green-primary);
}

/* Icon links (branches, account) */
.header-icon-link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--black);
  font-size: 14px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.3s ease;
}

.header-icon-link:hover {
  color: var(--green-primary);
}

/* Divider */
.header-divider {
  height: 1px;
  background: var(--border-light);
}

/* Navigation row */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 48px;
}

.header-nav__link {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  color: var(--black);
  white-space: nowrap;
  transition: color 0.3s ease;
}

.header-nav__link:hover {
  color: var(--green-primary);
}

.header-nav__link--current {
  color: var(--green-primary);
}

.header-nav__chevron {
  flex-shrink: 0;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.header-nav__link:hover .header-nav__chevron {
  filter: brightness(0) saturate(100%) invert(52%) sepia(91%) saturate(382%) hue-rotate(82deg) brightness(98%) contrast(93%);
}

/* Dropdown container */
.header-dropdown {
  position: relative;
  align-self: stretch;
  display: flex;
  align-items: center;
}

.header-dropdown__panel {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 800px;
  min-height: 300px;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  padding: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  z-index: 200;
}

.header-dropdown:hover .header-dropdown__panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.header-dropdown:hover .header-nav__link {
  color: var(--green-primary);
}

.header-dropdown:hover .header-nav__chevron {
  filter: brightness(0) saturate(100%) invert(52%) sepia(91%) saturate(382%) hue-rotate(82deg) brightness(98%) contrast(93%);
  transform: rotate(180deg);
}

.header-dropdown__label {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

@media (min-width: 1201px) {
  .header-inner {
    display: block;
  }
}

/* On tablet/mobile, keep the placeholder as a simple bar */
@media (max-width: 1200px) {
  .site-header {
    background: var(--bg-hover);
    box-shadow: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 0 24px;
  border-radius: 33px;
  font-size: 18px;
  min-height: 50px;
  line-height: 1.15;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.2s ease;
  -webkit-tap-highlight-color: transparent;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.btn-primary {
  background: var(--green-primary);
  color: var(--white);
  border: 1px solid rgba(0, 106, 15, 0.2);
  box-shadow: inset 0px 2px 4px #00DF20, inset 0px -2px 14px 0px #00FF24;
}
@media (hover: hover) { .btn-primary:hover { background: #5fd06e; } }

.btn-secondary,
.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border-gray);
}
@media (hover: hover) {
  .btn-secondary:hover,
  .btn-outline:hover { background: #F9F9F9; }
}

.btn-icon {
  gap: 12px;
}

.btn-icon svg { flex-shrink: 0; }

.btn-group {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

/* Section heading (h2 + badge wrapper) */
.section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

/* Desktop-only line break — hidden on small screens */
.desktop-br { display: inline; }

/* Section badge */
.section-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 16px;
  background: var(--green-bg-light);
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-text);
  line-height: 1.15;
}

/* Price card */
.price-card {
  background: var(--white);
  border: 1px solid #DEDEDE;
  border-radius: var(--radius-lg);
  padding: 32px;
  align-self: flex-start;
}

.price-table {
  border-collapse: separate;
  border-spacing: 28px 0;
  margin: 0 -28px;
}

.price-table th {
  font-size: 16px;
  font-weight: 800;
  color: var(--black);
  padding: 0 0 16px;
}

.price-table th:first-child { text-align: left; }
.price-table th:nth-child(2),
.price-table th:nth-child(3) { text-align: right; }

.price-table td {
  padding: 4px 0;
  font-size: 22px;
  color: var(--black);
}

.price-table td:nth-child(2),
.price-table td:nth-child(3) { text-align: right; }

.price-table .purity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.purity-dot {
  width: 20px;
  height: 20px;
  display: inline-block;
  flex-shrink: 0;
}

.price-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

/* Step component (shared by sell-process and buy-process) */
.step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.step-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.step-top h3 {
  font-size: 24px;
  line-height: 1.15;
}

.step-top p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.step-img {
  order: -1;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--placeholder-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-2xl);
  width: 100%;
}

/* Benefit block (shared by why-choose and investment-gold) */
.benefit-block {
  display: flex;
  align-items: center;
  gap: 120px;
  width: 100%;
  padding: 80px 32px;
  background: #FFFFFF;
  border-radius: 30px;
}

.benefit-block.reverse { flex-direction: row-reverse; }

.benefit-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
  flex: 1;
  min-width: 0;
}

.benefit-text h3 {
  font-size: 36px;
  line-height: 1.15;
}

.benefit-text p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.benefit-img {
  flex: 1;
  min-width: 0;
  border-radius: 20px;
  overflow: hidden;
  background: #FAF6F6;
  aspect-ratio: 4/3;
}

.benefit-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Branch card */
.branch-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  gap: 20px;
  background: var(--white);
  box-shadow: var(--shadow-card-sm);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

@media (hover: hover) {
  .branch-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
  }
}

.branch-card-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.branch-card h3 {
  font-size: 16px;
  line-height: 1.15;
}

.branch-card .address {
  font-size: 14px;
  color: var(--black);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 120%;
}

.branch-card .address svg {
  flex-shrink: 0;
  width: 15px;
  height: 20px;
}

.branch-card .rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 8px;
  font-size: 16px;
  color: var(--black);
  line-height: 1;
}

.branch-card .rating .stars {
  display: flex;
  flex-shrink: 0;
  gap: 4px;
  align-items: center;
  transform: translateY(-2px);
}

.branch-card .rating .stars svg {
  width: 16px;
  height: 16px;
  display: block;
}

.star-half {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
}

.star-half .star-bg {
  filter: saturate(0);
  opacity: 0.25;
}

.star-half .star-fill {
  position: absolute;
  left: 0;
  top: 0;
  -webkit-clip-path: inset(0 50% 0 0);
  clip-path: inset(0 50% 0 0);
}

/* Video card */
.sell-video-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xl);
  background: var(--green-bg-light);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) 32px;
  width: 100%;
}

.sell-video-text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
}

.sell-video-text h3 {
  font-size: 24px;
  color: var(--green-text);
  line-height: 1.15;
}

.sell-video-text p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.sell-video-player {
  width: 360px;
  height: 211px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.play-icon {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

@media (hover: hover) { .sell-video-player:hover .play-icon { opacity: 1; } }

/* CTA patterns */
.sell-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.sell-cta p {
  font-size: 18px;
  color: var(--text-body);
}

.cta-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.cta-banner p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

/* ==============================================
   SCROLL REVEAL ANIMATIONS
   ============================================== */

/* Scroll-reveal: keyframes for one-time animation, transition stays free for hover */
@keyframes bounceIn {
  0%   { transform: scale(0); opacity: 0; }
  40%  { transform: scale(1.15); opacity: 1; }
  65%  { transform: scale(0.92); opacity: 1; }
  82%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* Growth card — reveal card, then bounce children */
.growth-card .star-badge,
.growth-card .growth-text {
  transform: scale(0);
  opacity: 0;
}

.growth-card.visible .star-badge,
.growth-card.visible .growth-text {
  animation: bounceIn 0.5s ease-out 0.2s forwards;
}

/* Reveal — "visible by default" model to prevent iOS scroll-back white flash.
   CSS base has NO opacity:0 — JS sets inline opacity:0 on init for elements in viewport range.
   Transition animates from inline opacity:0 → CSS opacity:1 when .visible is added.
   On iOS scroll-back recomposite, CSS base (opacity:1) holds — no white flash possible.
   Elements without JS fall back to fully visible (progressive enhancement). */
.reveal {
  transition: opacity 0.5s ease, transform 0.5s ease;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.reveal.reveal-hidden {
  opacity: 0;
  transform: translateY(30px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for child items */
.reveal-stagger > .reveal.visible:nth-child(1) { transition-delay: 0s; }
.reveal-stagger > .reveal.visible:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger > .reveal.visible:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger > .reveal.visible:nth-child(4) { transition-delay: 0.45s; }
.reveal-stagger > .reveal.visible:nth-child(5) { transition-delay: 0.6s; }
.reveal-stagger > .reveal.visible:nth-child(6) { transition-delay: 0.75s; }
.reveal-stagger > .reveal.visible:nth-child(7) { transition-delay: 0.9s; }
.reveal-stagger > .reveal.visible:nth-child(8) { transition-delay: 1.05s; }

/* Hero entrance — CSS keyframes (no JS timing dependency, works reliably on iOS).
   JS locks inline styles on animationend to prevent iOS scroll-back fill-mode recompute. */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes heroImageFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to   { opacity: 1; transform: scale(1); }
}

.hero-anim {
  opacity: 0;
  animation: heroFadeUp 0.6s ease forwards;
}

.hero-anim-delay-1 { animation-delay: 0.1s; }
.hero-anim-delay-2 { animation-delay: 0.2s; }

.hero-image-anim {
  opacity: 0;
  animation: heroImageFadeIn 0.7s ease 0.15s forwards;
}

/* ==============================================
   PRICES MODAL (centered fade-in)
   ============================================== */
.prices-modal__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1000;
  animation: pricesModalFadeIn 200ms ease forwards;
}

.prices-modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1001;
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  animation: pricesModalFadeIn 200ms ease forwards;
}

.prices-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.prices-modal__title {
  font-size: 22px;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
}

.prices-modal__close {
  flex-shrink: 0;
  border: none;
  background: none;
  padding: 4px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.prices-modal .price-card {
  border: none;
  padding: 0;
}

.prices-modal .price-table {
  border-spacing: 20px 0;
  margin: 0 -20px;
}

/* Info icon button — inserted by JS, shown only on mobile via responsive.css */
.prices-bar__info {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  z-index: 1;
}

@keyframes pricesModalFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}


@keyframes pricesModalFadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .hero-anim,
  .hero-image-anim,
  .reveal,
  .reveal.reveal-hidden,
  .growth-card .star-badge,
  .growth-card .growth-text,
  .prices-modal,
  .prices-modal__backdrop {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}
/* ==============================================
   SECTION-SPECIFIC LAYOUTS
   Ordered by document flow
   ============================================== */

/* --- Section divider --- */
.section-divider {
  border: none;
  border-top: 1px solid var(--border-gray);
  margin: 0 auto;
}

/* --- Hero --- */
.hero {
  padding: 32px 0;
  display: flex;
  justify-content: center;
}

.hero-inner.container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border: 1px solid var(--border-gray);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 7vh, 100px) var(--space-2xl);
  max-width: calc(var(--max-width) - 64px);
  width: calc(100% - 64px);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
  width: 805px;
  flex-shrink: 0;
}

.hero-top {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.hero h1 { color: var(--black); }

.hero-ctas {
  display: flex;
  gap: 13px;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  flex-shrink: 1;
}

.hero-image img {
  max-height: 660px;
  width: auto;
  object-fit: contain;
}

.hero-hands {
  display: none;
}

/* --- Sell & Buy Process (shared) --- */
.sell-process,
.buy-process {
  padding: var(--space-3xl) 0;
}

.sell-process .container,
.buy-process .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2xl);
}

.sell-header,
.buy-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.sell-header h2,
.buy-header h2 {
  text-align: center;
}

.section-desc {
  text-align: center;
  color: var(--medium-gray);
  font-size: 16px;
  max-width: 600px;
  margin: 4px auto 0;
}

/* Prices bar — seamless marquee */
@keyframes pricesScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.prices-bar {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 40px, black calc(100% - 40px), transparent);
}

.prices-bar__scroll {
  display: flex;
  width: max-content;
  animation: pricesScroll var(--marquee-duration, 35s) linear infinite;
}


.prices-bar__track {
  display: flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
  padding-right: 12px;
}

.prices-bar__logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.prices-bar__logo img {
  display: block;
}

.prices-bar__text {
  font-size: 16px;
  color: var(--black);
  margin: 0 12px;
}

.prices-bar__item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  background: var(--green-bg-light);
  border-radius: 30px;
  font-size: 16px;
  color: var(--black);
}

.prices-bar__item strong {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-text);
}

.prices-bar__item img {
  flex-shrink: 0;
}

/* Sell steps variant (centered text, inline number) */
.sell-step .step-top {
  align-items: center;
  text-align: center;
  padding: 0 32px;
  gap: 20px;
}

.sell-step .step-header {
  display: block;
  text-align: center;
}

.sell-step .step-header .step-number {
  display: inline;
  vertical-align: middle;
  margin-right: 16px;
}

.sell-step .step-header h3 {
  display: inline;
}

.sell-step .step-top p {
  color: var(--text-body);
}

.sell-step {
  gap: 32px;
}

.sell-step .step-img {
  order: 0;
}

.step-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
}

/* Sell video card — background image variant */
.sell-video-card--bg {
  position: relative;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  max-width: 994px;
  aspect-ratio: 994 / 480;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
}

.sell-video-card--bg > picture {
  position: absolute;
  inset: 0;
}

.sell-video-card--bg > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.sell-video-player--large {
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}

.sell-video-player--large .play-icon {
  position: relative;
  z-index: 1;
  opacity: 1;
  width: 60px;
  height: 42px;
}

.sell-video-caption {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  text-align: center;
}

/* Sell steps grid override — tighter gap matching Figma */
.sell-steps {
  gap: 20px;
}


/* --- Why Choose Lombard24 --- */
.why-choose {
  padding: var(--space-3xl) 0;
}

.why-choose > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
}

.why-benefits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  width: 100%;
}

.why-benefits h2 {
  text-align: center;
  line-height: 1.15;
}

.why-benefits .section-heading {
  margin-bottom: 80px;
}

/* --- Reputation (inside why-choose) --- */
.reputation-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  padding: 0 32px;
  scroll-margin-top: 120px;
}

.reputation-block > h3 {
  font-size: 36px;
  text-align: center;
  line-height: 1.15;
}

.reputation-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-2xl);
  width: 100%;
}

.reputation-stat {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 367px;
  flex-shrink: 0;
}

.stat-counter {
  display: flex;
  align-items: center;
  gap: 24px;
}

.stat-counter .stat-icon { flex-shrink: 0; }

.stat-numbers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-numbers .label {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.stat-numbers .number {
  font-size: 48px;
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
}

.reputation-stat > p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.branch-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(max(180px, calc(25% - 24px)), 1fr));
  gap: 32px;
  flex: 1;
  min-width: 0;
}

/* CTA inside why-choose */
.why-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
  margin-top: 60px;
}

.why-cta p {
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.buy-header {
  --marquee-duration: 20s;
}

/* Buy cards — two side-by-side */
.buy-cards {
  display: flex;
  gap: 40px;
  width: 100%;
}

.buy-card {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 40px;
  gap: 40px;
  background: var(--white);
  border: 1px solid #E0E0E0;
  border-radius: 20px;
}

.buy-card__left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.buy-card__left h3 {
  font-size: 32px;
  line-height: 1.15;
}

.buy-card__left p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.5;
}

.buy-card__steps {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.buy-card__step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--black);
  line-height: 1.5;
}

.buy-card__step .step-number {
  font-size: 36px;
  font-weight: 800;
  color: var(--green-primary);
  line-height: 1;
  flex-shrink: 0;
  min-width: 24px;
}

/* Calculator embedded in buy card */
.buy-card .buying-option-card {
  box-shadow: 0px 16px 20px -6px rgba(12, 12, 13, 0.12), 0px 4px 6px -2px rgba(12, 12, 13, 0.06);
  border-radius: 16px;
  flex-shrink: 0;
  width: 330px;
}

/* In-store card variant */
.buy-card--store {
  align-items: flex-start;
}

/* Store panel — elevated sub-card matching calc card */
.buy-card__store-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 32px;
  gap: 20px;
  width: 330px;
  flex-shrink: 0;
  background: var(--white);
  box-shadow: 0px 16px 20px -6px rgba(12, 12, 13, 0.12), 0px 4px 6px -2px rgba(12, 12, 13, 0.06);
  border-radius: 16px;
  align-self: stretch;
}

.buy-card__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.buy-card .buy-card__btn,
.buy-card .buying-option-card .btn {
  width: 100%;
  text-align: center;
  justify-content: center;
  font-size: 16px;
}

/* Buy video card */
.buy-video-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 994px;
  width: 100%;
  aspect-ratio: 994 / 480;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
}

.buy-video-card > picture {
  position: absolute;
  inset: 0;
}

.buy-video-card > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.buy-video-card .play-icon {
  position: relative;
  z-index: 1;
  opacity: 1;
  width: 60px;
  height: 42px;
}

/* --- Investment Gold Section --- */
.investment-gold {
  padding: var(--space-3xl) 0;
}

.investment-gold > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.investment-gold .section-heading {
  margin-bottom: 80px;
}

.investment-gold .cta-banner {
  margin-top: 80px;
}

.investment-gold h2 {
  text-align: center;
  line-height: 1.15;
}

/* --- Safety Net --- */
.safety-net-card {
  border: 4px solid var(--green-primary);
  border-radius: var(--radius-lg);
  max-width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: var(--space-2xl) 0 80px;
}

.safety-net {
  padding: var(--space-2xl) 0;
}

.safety-net .section-heading {
  margin-bottom: 52px;
}

.safety-net h2 {
  text-align: center;
}


.growth-card {
  display: flex;
  align-items: center;
  gap: 32px;
  border-radius: 20px;
  max-width: 422px;
  margin: 0 auto 32px;
}

.growth-card .star-badge {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
}

.growth-card .star-badge img {
  width: 100%;
  height: 100%;
  display: block;
}

.growth-card .growth-text {
  color: var(--black);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.15;
}

.safety-net .description {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 0;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.chart-container { width: 100%; }
.chart-desktop { display: block; }
.chart-mobile {
  display: none;
  max-width: 700px;
  margin: 0 auto;
}

.chart-image {
  width: 100%;
  height: auto;
  display: block;
}

.bar-chart {
  width: 100%;
  height: auto;
  display: block;
}

.chart-label {
  font-family: var(--font-main);
  font-size: 13px;
  fill: var(--light-gray);
  font-weight: 400;
}

.chart-value {
  font-family: var(--font-main);
  font-size: 13px;
  fill: var(--dark-gray);
  font-weight: 700;
}

.chart-value-highlight {
  font-size: 15px;
  fill: var(--black);
}

.chart-year {
  font-family: var(--font-main);
  font-size: 14px;
  fill: var(--dark-gray);
  font-weight: 700;
}

/* --- 100 EUR Comparison --- */
.comparison {
  padding: var(--space-2xl) 0;
}

.comparison > .container > h2 {
  text-align: center;
  font-size: 36px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.comparison > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.comparison-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.comparison-card {
  flex: 1;
  min-height: 320px;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.comparison-card--gold {
  background-image: url('../images/sections/chart.png');
  background-image: -webkit-image-set(
    url('../images/sections/chart.webp') 1x,
    url('../images/sections/chart.png') 1x
  );
  background-image: image-set(
    url('../images/sections/chart.webp') type('image/webp'),
    url('../images/sections/chart.png') type('image/png')
  );
  background-position: right center;
}

.comparison-card--cash {
  background-image: url('../images/sections/wallet.png');
  background-image: -webkit-image-set(
    url('../images/sections/wallet.webp') 1x,
    url('../images/sections/wallet.png') 1x
  );
  background-image: image-set(
    url('../images/sections/wallet.webp') type('image/webp'),
    url('../images/sections/wallet.png') type('image/png')
  );
}

.comparison-card__top {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.comparison-card h3 {
  font-size: 36px;
  line-height: 1.15;
  color: var(--white);
  text-align: left;
  max-width: 50%;
}

.comparison-badge,
.comparison-result {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
}

.comparison-badge {
  white-space: nowrap;
}

.comparison-badge--positive,
.comparison-result--positive {
  background: #36AB46;
}

.comparison-badge--negative,
.comparison-result--negative {
  background: var(--red-error);
}

.comparison-card__bottom {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-top: auto;
}

.comparison-stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.comparison-stat__label {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--white);
}

.comparison-stat__value {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--white);
}


/* --- Liquidity --- */
.liquidity {
  padding: var(--space-2xl) 0;
}

.liquidity h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 16px;
}

.liquidity > .container > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--text-body);
  line-height: 1.5;
}

.liquidity-img {
  max-width: 1200px;
  aspect-ratio: 1200 / 489;
  margin: 0 auto 120px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--placeholder-gray);
}

.liquidity-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- FAQ --- */
.faq {
  padding: var(--space-3xl) 0;
}

.faq > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.faq-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xl);
  width: 100%;
  max-width: 807px;
}

.faq h2 {
  line-height: 1.15;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  width: 100%;
}

.faq-item {
  background: var(--white);
  box-shadow: 0px 4px 4px -1px rgba(12, 12, 13, 0.1), 0px 4px 4px -1px rgba(12, 12, 13, 0.05);
  border-radius: 20px;
  overflow: hidden;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 0 24px;
  gap: 24px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
  /* Button reset (semantic <button>) */
  background: none;
  border: none;
  font-family: var(--font-main);
  text-align: left;
  width: 100%;
}

.faq-question .toggle {
  font-size: 48px;
  line-height: 1.15;
  color: var(--green-primary);
  font-weight: 400;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.2s ease;
}

.faq-answer > p {
  overflow: hidden;
  padding: 0 24px;
  font-size: 16px;
  color: var(--dark-gray);
  line-height: 1.6;
  transition: padding 0.2s ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding: 8px 24px 20px;
}
.faq-item.open .toggle { transform: rotate(45deg); }

/* --- Contact CTA (inside FAQ) --- */
.contact-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  margin-top: 60px;
}

.contact-cta-block h3 {
  line-height: 1.15;
  text-align: center;
}

.contact-buttons {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-buttons .btn img,
.contact-buttons .btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* --- Footer (minimal) --- */
.footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-gray);
  text-align: center;
  font-size: 13px;
  color: var(--light-gray);
}
/* ==============================================
   GOLD CALCULATOR
   ============================================== */
.buying-option-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px;
  box-shadow: var(--shadow-card-sm);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Проба + Вес side by side */
.calc-row-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.calc-field-weight {
  width: 63px;
  flex-shrink: 0;
}

/* Weight stepper */
.weight-stepper {
  display: grid;
  grid-template-columns: 38px 20px;
  grid-template-rows: 20px 20px;
  gap: 4px;
  align-items: center;
}

.weight-input {
  grid-column: 1;
  grid-row: 1 / -1;
  width: 38px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-main);
  color: var(--black);
  text-align: center;
  background: var(--white);
  -webkit-appearance: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.weight-input::-webkit-outer-spin-button,
.weight-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.weight-arrow {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-gray-dark);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease;
  touch-action: manipulation;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: #6B7280;
}

.weight-arrow.up { grid-column: 2; grid-row: 1; }
.weight-arrow.down { grid-column: 2; grid-row: 2; }

@media (hover: hover) { .weight-arrow:hover { background: var(--bg-hover); } }
.weight-arrow svg { display: block; }

/* Buying option card buttons */
.buying-option-card .btn {
  width: 100%;
  text-align: center;
}

.calc-field label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}

.purity-toggle {
  display: flex;
  gap: 8px;
}

.purity-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-main);
  cursor: pointer;
  background: var(--bg-gray-dark);
  color: var(--black);
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .purity-btn:not(.active) {
    transition: background 0.15s ease;
  }
  .purity-btn:not(.active):hover {
    background: var(--bg-hover);
  }
}

.purity-btn.active {
  border-color: var(--green-primary);
  background: #F2FFF4;
}

.purity-btn img,
.purity-btn svg {
  width: 20px;
  height: 20px;
}

.calc-select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-input);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-family: var(--font-main);
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='9' viewBox='0 0 15 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l6.5 6.5L14 1' stroke='%23B9B9B9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 15px 9px;
  color: var(--black);
  padding-right: 40px;
}

.calc-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.calc-total .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--black);
}

.calc-total .price {
  font-size: 18px;
  font-weight: 700;
  color: var(--green-text);
}

/* ==============================================
   RESPONSIVE BREAKPOINTS
   Descending order: 1600 → 1400 → 1200 → 768 → 480
   ============================================== */

/* --- Large desktops ≤1600px --- */
@media (max-width: 1600px) {
  .hero { padding: 20px 0; }
  .hero-inner.container { padding: 40px 44px; }
  .hero-content { width: auto; flex: 1; min-width: 0; }
  h1 { font-size: 52px; }
  .hero-image img { max-height: 560px; }
  .price-table td { font-size: 20px; }
  .price-table th { font-size: 15px; }

  /* Sell & Buy process */
  .sell-process,
  .buy-process { padding: 100px 0; }
  .sell-process .container,
  .buy-process .container { gap: var(--space-xl); }
  .sell-header h2,
  .buy-header h2 { font-size: 44px; }
  .steps-grid { gap: 20px; }
  .buy-process .steps-grid { gap: 32px; }

  /* Why choose */
  .why-choose { padding: 100px 0; }
  .why-choose > .container { gap: var(--space-2xl); }
  .why-benefits { gap: 60px; }
  .why-benefits .section-heading { margin-bottom: 0; }
  .why-benefits h2 { font-size: 44px; }
  .benefit-block { gap: 60px; padding: 60px 32px; }
  .branch-cards { gap: 24px; }
  .why-cta { margin-top: 0; }

  /* Investment gold */
  .investment-gold { padding: 100px 0; }
  .investment-gold > .container { gap: 0; }
  .investment-gold h2 { font-size: 44px; }

  /* FAQ */
  .faq { padding: 100px 0; }
}

/* --- Intermediate ≤1400px --- */
@media (max-width: 1400px) {
  .hero-content { width: 500px; }
  h1 { font-size: 44px; }
  .hero { padding: 20px 0; }
  .hero-inner.container { padding: 48px 40px; }
  .price-table td { font-size: 18px; }
  .price-table th { font-size: 14px; }

  /* Sell & Buy process */
  .sell-process,
  .buy-process { padding: var(--space-2xl) 0; }
  .sell-process .container,
  .buy-process .container { gap: 48px; }
  .sell-header h2,
  .buy-header h2 { font-size: 40px; }
  .steps-grid { gap: 32px; }
  .step-top h3 { font-size: 20px; }
  .step-top p { font-size: 16px; }
  .sell-video-card { padding: 48px 32px; }
  .sell-video-text h3 { font-size: 20px; }
  .sell-video-text p { font-size: 16px; }
  .sell-video-player {
    width: 300px;
    height: 180px;
  }
  .buy-process .steps-grid { gap: 24px; }

  /* Why choose */
  .why-choose { padding: var(--space-2xl) 0; }
  .why-choose > .container { gap: var(--space-2xl); }
  .why-benefits { gap: var(--space-2xl); }
  .why-benefits h2 { font-size: 40px; }
  .benefit-block { gap: var(--space-xl); }
  .benefit-text h3 { font-size: 32px; }
  .benefit-text p { font-size: 16px; }

  .reputation-block > h3 { font-size: 32px; }
  .reputation-content { gap: 48px; }
  .reputation-stat { width: 320px; }
  .stat-numbers .number { font-size: 40px; }
  .stat-numbers .label { font-size: 18px; }
  .reputation-stat > p { font-size: 16px; }
  .stat-icon {
    width: 140px;
    height: auto;
  }
  .branch-card { padding: 16px; }
  .branch-cards { gap: 20px; }
  .branch-card .rating .stars { gap: 2px; }
  .branch-card .rating .stars svg { width: 12px; height: 12px; }
  .star-half { width: 12px; height: 12px; }
  .star-half svg { width: 12px; height: 12px; }
  .why-cta { margin-top: -24px; }

  /* Investment gold */
  .investment-gold { padding: var(--space-2xl) 0; }
  .investment-gold > .container { gap: var(--space-2xl); }
  .investment-gold .section-heading { margin-bottom: 0; }
  .investment-gold .cta-banner { margin-top: 0; }
  .investment-gold h2 { font-size: 40px; }

  /* FAQ */
  .faq { padding: var(--space-2xl) 0; }
}

/* --- Tablets / column layout ≤1200px --- */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }

  .chart-desktop { display: none; }
  .chart-mobile { display: block; }

  .hero { padding: 32px 0; }
  .hero-inner.container {
    flex-direction: column;
    padding: 48px 40px;
    text-align: center;
    gap: 32px;
  }
  .hero-content {
    width: auto;
    align-items: center;
    gap: 40px;
  }
  .hero-top {
    align-items: center;
    gap: 32px;
  }
  .hero-image { order: -1; }
  .hero-image img { max-height: 360px; }
  .price-card { align-self: center; padding: 20px; }
  .price-group { align-items: center; }
  .hero-ctas { justify-content: center; }
  h1 { font-size: 40px; }
  .price-table td { font-size: 18px; }
  .price-table th { font-size: 14px; }
  .price-table {
    border-spacing: 16px 0;
    margin: 0 -16px;
  }
  /* Sell & Buy process */
  .sell-process,
  .buy-process { padding: var(--space-2xl) 0; }
  .sell-process .container,
  .buy-process .container { gap: 48px; }
  .sell-header h2,
  .buy-header h2 { font-size: 36px; }
  .section-badge { font-size: 16px; }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    max-width: 600px;
    margin: 0 auto;
  }
  .step { gap: 24px; }

  .sell-video-card {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 32px;
  }
  .sell-video-text { align-items: center; }
  .sell-video-player {
    width: 100%;
    max-width: 400px;
    height: 220px;
  }
  .buy-process .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: none;
    margin: 0;
  }

  /* Buy cards — stack vertically */
  .buy-cards { flex-direction: column; align-items: stretch; }
  .buy-card { max-width: 700px; margin: 0 auto; width: 100%; }

  .buy-video-section { padding: 32px 0; }

  /* Why choose */
  .why-choose { padding: var(--space-2xl) 0; }
  .why-choose > .container { gap: var(--space-2xl); }
  .why-benefits { gap: var(--space-xl); }
  .why-benefits h2 { font-size: 36px; }
  .benefit-block {
    flex-direction: column;
    gap: 32px;
    max-width: 600px;
  }
  .benefit-block.reverse { flex-direction: column; }
  .benefit-img { order: -1; }
  .benefit-text { gap: 16px; }
  .benefit-text h3 { font-size: 28px; }
  .benefit-text p { font-size: 16px; }

  .reputation-block > h3 { font-size: 28px; }
  .reputation-content {
    flex-direction: column;
    align-items: center;
    gap: 48px;
  }
  .reputation-stat {
    width: 100%;
    max-width: 600px;
    align-items: center;
    text-align: center;
  }
  .stat-numbers { text-align: left; }
  .reputation-stat > p { text-align: center; }
  .branch-cards { width: 100%; }
  .why-cta { margin-top: -36px; }
  .why-cta p { text-align: center; }

  /* Investment gold */
  .investment-gold { padding: var(--space-2xl) 0; }
  .investment-gold > .container { gap: var(--space-xl); }
  .investment-gold h2 { font-size: 36px; }
  .cta-banner p { text-align: center; }
  .btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  /* Safety-net */
  .safety-net-card { padding: var(--space-xl) 0; max-width: calc(100% - var(--space-2xl)); margin: 32px auto; }
  .safety-net { padding: var(--space-2xl) 0; }
  .safety-net h2 { font-size: 40px; }

  .safety-net .section-heading { margin-bottom: 40px; }
  .growth-card {
    max-width: 440px;
    padding: 2px 32px 2px 8px;
  }
  .growth-card .star-badge {
    width: 170px;
    height: 170px;
  }
  .growth-card .growth-text { font-size: 26px; }
  .safety-net .description { font-size: 16px; }

  /* Comparison */
  .comparison > .container > h2 { font-size: 32px; }
  .comparison > .container > p { font-size: 16px; }
  .comparison-card {
    padding: 36px;
    min-height: 400px;
    overflow: hidden;
  }
  .comparison-card__top { display: contents; }
  .comparison-card h3 {
    font-size: 32px;
    line-height: 1.2;
    order: -1;
    margin-bottom: 40px;
  }
  .comparison-card__bottom { margin-top: 0; gap: 20px; }
  .comparison-badge {
    font-size: min(16px, 3vw);
    padding: 4px 12px;
    border-radius: 20px;
    order: 2;
    align-self: flex-start;
    margin-top: auto;
  }
  .comparison-stat__label { font-size: 16px; }
  .comparison-stat__value { font-size: 16px; }
  .comparison-result { font-size: 16px; padding: 4px 12px; }

  /* Liquidity */
  .liquidity h2 { font-size: 32px; }
  .liquidity > .container > p { font-size: 16px; }
  .site-header { height: 100px; }
  .header-spacer { height: 100px; }
}

/* --- Small tablets / large phones ≤768px --- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .desktop-br { display: none; }
  .site-header { height: 80px; }
  .header-spacer { height: 80px; }
  .section-divider { margin-top: 8px; margin-bottom: 8px; }

  .prices-bar-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .prices-bar-wrap .prices-bar {
    overflow: hidden;
    min-width: 0;
    flex: 1;
    mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 24px), transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20px, black calc(100% - 24px), transparent);
  }
  .prices-bar__info { display: flex; }

  .hero { padding: 24px 20px; }
  .hero-inner.container {
    padding: 32px 20px;
    border-radius: var(--radius-md);
    gap: 28px;
    width: 100%;
  }
  h1 { font-size: 32px; }
  .hero-content { gap: 32px; }
  .hero-top { gap: 24px; }
  .price-card { padding: 20px; }
  .price-table {
    border-spacing: 20px 0;
    margin: 0 -20px;
  }
  .price-table td { font-size: 16px; }
  .prices-bar__item strong { font-size: 16px; }
  .price-table th {
    font-size: 14px;
    padding: 0 0 10px;
  }
  .btn {
    font-size: 16px;
    min-height: 48px;
    height: auto;
    padding: 8px 18px;
  }
  .hero-image img { max-height: 300px; }

  .sell-process,
  .buy-process { padding: var(--space-xl) 0; }
  .sell-process .container,
  .buy-process .container { gap: 36px; }
  .sell-header h2,
  .buy-header h2 { font-size: 28px; }
  .sell-header,
  .buy-header { gap: 12px; }
  .section-heading { gap: 8px; }
  .section-badge {
    font-size: 15px;
    padding: 4px 12px;
  }
  .steps-grid { gap: 36px; }
  .step-header { gap: 14px; }
  .step-top h3 { font-size: 18px; }
  .sell-step { gap: 24px; }
  .sell-steps { gap: 48px; }
  .sell-step .step-top h3 { font-size: 22px; }
  .sell-step .step-header .step-number { line-height: 0; }
  .step-top p { font-size: 16px; }
  .sell-cta p {
    font-size: 16px;
    text-align: center;
  }

  .sell-video-card {
    padding: 32px 20px;
    gap: 24px;
  }
  .sell-video-text h3 { font-size: 18px; }
  .sell-video-text p { font-size: 16px; }
  .sell-video-player { height: 180px; }

  /* Buy process — single column */
  .buy-process .steps-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    max-width: 600px;
    margin: 0 auto;
  }

  /* Calculator fields — stack vertically on touch */
  .calc-row-top {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .calc-field-weight {
    width: auto;
    flex-shrink: 1;
  }
  .purity-toggle { width: 100%; }
  .purity-btn { flex: 1; }

  /* Weight stepper — horizontal +/- for touch */
  .weight-stepper {
    display: flex;
    align-items: center;
    gap: 8px;
  }
  .weight-arrow {
    width: 48px;
    min-width: 48px;
    height: 48px;
    flex-shrink: 0;
    border-radius: 8px;
    font-size: 20px;
  }
  .weight-input {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 48px;
    font-size: 18px;
  }

  /* Why choose */
  .why-choose { padding: 60px 0; }
  .why-choose > .container { gap: 60px; }
  .why-benefits { gap: 56px; }
  .why-benefits h2 { font-size: 30px; }
  .benefit-block { gap: 24px; }
  .benefit-text { gap: 16px; }
  .benefit-text h3 { font-size: 24px; }
  .benefit-text p { font-size: 16px; }

  .reputation-block > h3 { font-size: 24px; text-align: left; }
  .reputation-block { gap: 48px; align-items: flex-start; }
  .reputation-stat { align-items: flex-start; text-align: left; }
  .reputation-stat > p { text-align: left; }
  .reputation-content { gap: 36px; }
  .stat-counter { gap: 20px; }
  .stat-icon { width: 120px; }
  .stat-numbers .number { font-size: 40px; }
  .stat-numbers .label { font-size: 18px; }
  .reputation-stat > p { font-size: 16px; }
  .branch-cards {
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
  .branch-card {
    padding: 16px;
    gap: 16px;
  }
  .branch-card h3 { font-size: 14px; }
  .branch-card .address { font-size: 11px; }
  .branch-card .rating { font-size: 14px; }
  .why-cta { margin-top: 8px; }
  .why-cta p { font-size: 16px; }

  /* Investment gold */
  .investment-gold { padding: 60px 0; }
  .investment-gold > .container { gap: 52px; }
  .investment-gold h2 { font-size: 30px; }
  .investment-gold .benefit-block + .cta-banner { padding-top: 32px; border-top: 1px solid var(--border-gray); }
  .cta-banner p { font-size: 16px; }

  /* Safety-net */
  .safety-net-card { padding: 48px 0; max-width: calc(100% - 40px); margin: 32px auto; }
  .safety-net { padding: 48px 0; }
  .safety-net h2 { font-size: 32px; }

  .safety-net .section-heading { margin-bottom: 32px; }
  .growth-card {
    flex-direction: column;
    max-width: 360px;
    padding: 0 24px 24px;
    text-align: center;
  }
  .growth-card .star-badge {
    width: 160px;
    height: 160px;
  }
  .growth-card .growth-text { font-size: 22px; }
  .safety-net .description { font-size: 16px; margin-top: 8px; }

  /* Comparison */
  .comparison { padding: 48px 0; }
  .comparison > .container > h2 { font-size: 28px; }
  .comparison > .container > p { font-size: 16px; margin-bottom: 24px; }
  .comparison-cards { flex-direction: column; gap: 20px; }
  .comparison-card {
    min-height: 380px;
    padding: 32px;
    overflow: hidden;
  }
  .comparison-card__top { display: contents; }
  .comparison-card h3 {
    font-size: 28px;
    line-height: 1.2;
    order: -1;
    margin-bottom: 32px;
  }
  .comparison-card__bottom { margin-top: 0; gap: 16px; }
  .comparison-badge {
    font-size: min(15px, 3.6vw);
    padding: 4px 12px;
    border-radius: 20px;
    order: 2;
    align-self: flex-start;
    margin-top: auto;
  }
  .comparison-stat__label { font-size: 15px; }
  .comparison-stat__value { font-size: 15px; }
  .comparison-result { font-size: 15px; padding: 4px 12px; }

  /* Liquidity */
  .liquidity { padding: 48px 0; }
  .liquidity h2 { font-size: 28px; }
  .liquidity > .container > p { font-size: 16px; margin-bottom: 24px; }
  .liquidity-img { margin-bottom: 60px; border-radius: 16px; }

  /* Buy card internals — stack text above calculator */
  .buy-cards { gap: 28px; }
  .buy-card { flex-direction: column; gap: 28px; padding: 28px; }
  .buy-card .buying-option-card { width: 100%; }
  .buy-card__store-panel {
    width: 100%;
    align-items: stretch;
    justify-content: center;
    padding: 20px;
    align-self: auto;
  }
  .buy-card__icon { flex: 0; }
  .buy-card__left h3 { font-size: 24px; }

  .buy-video-section { padding: 24px 0; }

  /* Benefit block — reduce padding for tablet */
  .benefit-block { padding: 0; max-width: none; }

  /* Reputation block — remove horizontal padding */
  .reputation-block { padding: 0; }

  /* FAQ */
  .faq { padding: var(--space-xl) 0; }
  .faq > .container { gap: 36px; }
  .faq h2 { font-size: 32px; }
  .faq-content { gap: 40px; }
  .faq-list { gap: 20px; }
  .faq-question {
    min-height: auto;
    padding: 24px 20px;
    font-size: 16px;
  }
  .faq-question .toggle { font-size: 36px; }

  .contact-cta-block { margin-top: 48px; }
  .contact-cta-block h3 { font-size: 20px; }
  .contact-buttons {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
  }
}

/* --- Mobile phones ≤480px --- */
@media (max-width: 480px) {
  .hero { padding: 16px 20px; }
  .hero-inner.container {
    padding: 28px 20px;
    gap: 28px;
  }
  h1 { font-size: 32px; }
  .hero-content { gap: 28px; }
  .hero-top { gap: 24px; }
  .price-card { padding: 16px; }
  .price-table {
    border-spacing: 16px 0;
    margin: 0 -16px;
  }
  .price-table td {
    font-size: 16px;
    padding: 3px 0;
  }
  .prices-bar__item strong { font-size: 16px; }
  .price-table th {
    font-size: 13px;
    padding: 0 0 8px;
  }
  .purity-dot {
    width: 16px;
    height: 16px;
  }
  .btn {
    font-size: 15px;
    min-height: 44px;
    height: auto;
    padding: 8px 16px;
    border-radius: 22px;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn { width: 100%; }
  .hero-image { display: none; }
  .hero-hands {
    display: flex;
    align-items: flex-start;
    align-self: stretch;
    gap: 14px;
    order: -1;
    margin: 0 -20px -12px;
  }
  .hero-hands picture:first-child {
    flex: 165;
    min-width: 0;
  }
  .hero-hands picture:last-child {
    flex: 199;
    min-width: 0;
  }
  .hero-hands img {
    width: 100%;
    height: auto;
  }

  .sell-process,
  .buy-process { padding: 56px 0; }
  .sell-process .container,
  .buy-process .container { gap: 32px; }
  .sell-header h2,
  .buy-header h2 { font-size: 28px; }
  .steps-grid { gap: 32px; }
  .step-top { gap: 14px; }
  .step-header { gap: 10px; }
  .step-top h3 { font-size: 18px; }
  .sell-step { gap: 20px; }
  .sell-step .step-top { gap: 8px; }
  .sell-steps { gap: 48px; }
  .sell-step .step-top h3 { font-size: 20px; }
  .step-top p { font-size: 16px; }
  .sell-cta p { font-size: 16px; }
  .btn-icon {
    font-size: 14px;
    gap: 8px;
  }
  .btn-icon svg {
    width: 20px;
    height: 20px;
  }

  /* Full-width buttons on mobile */
  .btn-primary,
  .btn-secondary,
  .btn-outline {
    align-self: stretch;
    width: 100%;
  }
  .btn-group {
    align-self: stretch;
  }

  .sell-video-card {
    padding: 24px 16px;
    gap: 20px;
  }
  .sell-video-text h3 { font-size: 18px; }
  .sell-video-text p { font-size: 16px; }
  .sell-video-player { height: 160px; }

  .buy-process .steps-grid { gap: 32px; }
  /* Buy card */
  .buy-cards { gap: 24px; }
  .buy-card { padding: 24px; gap: 24px; }
  .buy-card__left h3 { font-size: 20px; }
  .buy-card__left p { font-size: 16px; }

  .buy-video-section { padding: 24px 0; }
  .buying-option-card {
    padding: 20px;
    gap: 16px;
  }
  .proba-btn {
    padding: 8px 12px;
    font-size: 14px;
  }

  /* Why choose */
  .why-choose { padding: 56px 0; }
  .why-choose > .container { gap: 56px; }
  .why-benefits { gap: 48px; }
  .why-benefits h2 { font-size: 28px; }
  .benefit-block { gap: 24px; padding: 0; max-width: none; }
  .benefit-text { gap: 16px; }
  .benefit-text h3 { font-size: 20px; }
  .benefit-text p { font-size: 16px; }

  .reputation-block > h3 { font-size: 20px; }
  .reputation-block { gap: 40px; }
  .reputation-content { gap: 32px; }
  .stat-icon { width: 100px; }
  .stat-numbers .number { font-size: 36px; }
  .stat-numbers .label { font-size: 16px; }
  .reputation-stat > p { font-size: 16px; }
  .branch-cards {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }
  .branch-card {
    padding: 14px;
    gap: 12px;
  }
  .why-cta { margin-top: 8px; }
  .why-cta p { font-size: 16px; }

  /* Investment gold */
  .investment-gold { padding: 56px 0; }
  .investment-gold > .container { gap: 48px; }
  .investment-gold h2 { font-size: 28px; }
  .cta-banner p { font-size: 16px; }

  /* Safety-net */
  .safety-net-card { padding: 40px 0; max-width: calc(100% - 40px); margin: 28px auto; }
  .safety-net { padding: 48px 0; }
  .safety-net h2 { font-size: 28px; }

  .safety-net .section-heading { margin-bottom: 24px; }
  .growth-card {
    max-width: 320px;
    padding: 0 20px 20px;
  }
  .growth-card .star-badge {
    width: 140px;
    height: 140px;
  }
  .growth-card .growth-text { font-size: 18px; }
  .safety-net .description { font-size: 16px; margin-top: 8px; }

  /* Comparison */
  .comparison { padding: 48px 0; }
  .comparison > .container > h2 { font-size: 28px; }
  .comparison > .container > p { font-size: 16px; margin-bottom: 24px; }
  .comparison > .container > p { margin-bottom: 40px; }
  .comparison-cards { flex-direction: column; gap: 20px; }
  .comparison-card {
    max-width: none;
    padding: 40px;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
  }
  .comparison-card--cash {
    background-position: 52% center;
  }
  .comparison-card__top {
    display: contents;
  }
  .comparison-card h3 {
    font-size: 32px;
    max-width: 300px;
    line-height: 1.2;
    order: -1;
    margin-bottom: 40px;
  }
  .comparison-card__bottom {
    margin-top: 0;
    gap: 20px;
  }
  .comparison-badge {
    font-size: min(16px, 3.8vw);
    padding: 4px 12px;
    border-radius: 20px;
    order: 2;
    align-self: flex-start;
    margin-top: auto;
  }
  .comparison-stat__label { font-size: 16px; }
  .comparison-stat__value { font-size: 16px; }
  .comparison-result { font-size: 16px; padding: 4px 12px; }

  /* Liquidity */
  .liquidity { padding: 48px 0; }
  .liquidity h2 { font-size: 28px; }
  .liquidity > .container > p { font-size: 16px; margin-bottom: 24px; }
  .liquidity-img { margin-bottom: 48px; border-radius: 12px; }

  /* FAQ */
  .faq { padding: 56px 0; }
  .faq > .container { gap: 36px; }
  .faq h2 { font-size: 28px; }
  .faq-content { gap: 36px; }
  .faq-list { gap: 20px; }
  .faq-question {
    min-height: auto;
    padding: 20px 16px;
    font-size: 17px;
  }
  .faq-question .toggle {
    font-size: 28px;
    flex-shrink: 0;
    margin-left: 12px;
  }
  .faq-answer > p { font-size: 16px; }
  .faq-item.open .faq-answer > p { padding: 8px 16px 20px; }

  .contact-cta-block {
    margin-top: 40px;
    align-self: stretch;
  }
  .contact-cta-block h3 { font-size: 18px; }
  .contact-buttons {
    max-width: none;
  }
  .contact-buttons .btn {
    font-size: 15px;
    width: 100%;
  }
}
