/* Charlie's Currency Exchange — Main Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold:       #D9B550;
  --gold-light: #E8C766;
  --gold-dark:  #A88830;
  --dark:       #1a1a1a;
  --dark-2:     #222;
  --dark-3:     #2c2c2c;
  --dark-4:     #383838;
  --text:       #ffffff;
  --text-muted: #d6d6d6;
  --border:     #333333;
  --radius:     3px;
  --trans:      0.2s ease;
  --font:       'Montserrat', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.65;
}

a { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold-light); }

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

/* ── TOP BAR ── */
.top-bar {
  background: #111;
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.top-bar .inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar a { color: var(--text-muted); }
.top-bar a:hover { color: var(--gold); }
.top-bar .phone { color: var(--text-muted); }
.top-bar .phone span { margin-right: 8px; }
@media (max-width: 600px) {
  .top-bar .inner { flex-direction: column; gap: 4px; text-align: center; }
}

/* ── HEADER / NAV ── */
header.site-header {
  background: var(--dark-2);
  border-bottom: 2px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.site-logo img { height: 48px; width: auto; }
.site-logo .logo-svg { height: 48px; width: 48px; }

nav.main-nav { display: flex; align-items: center; gap: 4px; }
nav.main-nav a {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: var(--radius);
  transition: color var(--trans), background var(--trans);
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active {
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}
nav.main-nav a.external { opacity: 0.75; }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: transform var(--trans), opacity var(--trans);
}

@media (max-width: 900px) {
  .hamburger { display: flex; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--dark-2);
    border-bottom: 2px solid var(--gold);
    padding: 12px 0;
    flex-direction: column;
    align-items: stretch;
    z-index: 99;
    box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav a { padding: 12px 24px; font-size: 14px; }
}

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, #111 0%, #1e1e1e 50%, #151515 100%);
  text-align: center;
  padding: 64px 24px;
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.page-hero h1 {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.page-hero .hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--trans);
  border: 2px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: #111;
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: #111;
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: #111;
  transform: translateY(-1px);
}

/* ── SECTION LAYOUT ── */
section { padding: 64px 0; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.section-heading {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}
.section-text {
  color: var(--text-muted);
  max-width: 700px;
  line-height: 1.8;
  font-size: 16px;
}

/* ── SERVICES CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.service-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 28px 24px;
  text-align: center;
  border-radius: var(--radius);
  transition: transform var(--trans), box-shadow var(--trans);
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.service-card .icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.service-card h3 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--gold);
  padding: 40px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-item .number {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: #111;
  line-height: 1;
  margin-bottom: 6px;
}
.stat-item .label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(0,0,0,0.7);
}
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

/* ── STEPS / PROCESS ── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 40px;
  counter-reset: steps;
}
.step-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: var(--radius);
  position: relative;
  counter-increment: steps;
}
.step-card::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 40px;
  font-weight: 900;
  color: rgba(201,168,76,0.15);
  line-height: 1;
}
.step-card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.step-card p { font-size: 15px; color: var(--text-muted); }

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { margin-bottom: 24px; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}
.contact-detail .icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.contact-detail .text { font-size: 16px; color: var(--text-muted); }
.contact-detail .text strong { display: block; color: var(--text); font-size: 14px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 2px; }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-group input,
.form-group textarea,
.form-group select {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font);
  transition: border-color var(--trans);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.form-group textarea { min-height: 120px; resize: vertical; }
@media (max-width: 700px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── NOTE BOX ── */
.note-box {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: var(--radius);
}
.note-box .note-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.note-box p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.note-box strong { color: var(--text); }
.note-box em { font-style: italic; font-size: 14px; }

/* ── CURRENCY CALCULATOR ── */
.calc-wrapper {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto 40px;
}
.calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.calc-tab {
  padding: 14px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  transition: background var(--trans), color var(--trans);
  background: var(--dark-4);
  color: var(--text-muted);
  border: none;
  font-family: var(--font);
}
.calc-tab.active { background: var(--dark-3); color: var(--text); }
.calc-tab:hover { color: var(--text); }
.calc-body { padding: 24px; }
.calc-updated {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}
.calc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
  align-items: end;
}
.calc-row label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
.calc-row input,
.calc-row select {
  background: var(--dark-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 16px;
  color: var(--text);
  font-family: var(--font);
  width: 100%;
  transition: border-color var(--trans);
}
.calc-row input:focus,
.calc-row select:focus { outline: none; border-color: var(--gold); }
.calc-row select option { background: var(--dark-3); }

/* ── RATES TABLE ── */
.rates-section { padding: 40px 0; }
.rates-section h2 {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.rates-table-wrap { overflow-x: auto; }
.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.rates-table thead tr {
  background: var(--gold);
  color: #111;
}
.rates-table thead th {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: left;
}
.rates-table tbody tr { border-bottom: 1px solid var(--border); }
.rates-table tbody tr:nth-child(even) { background: var(--dark-3); }
.rates-table tbody tr:hover { background: rgba(201,168,76,0.06); }
.rates-table td {
  padding: 10px 14px;
  vertical-align: middle;
}
.rates-table .flag-cell { width: 32px; padding-right: 4px; }
.rates-table .flag-cell img { width: 24px; height: 16px; object-fit: cover; border-radius: 2px; }
.rates-table .flag-emoji { font-size: 20px; }
.rates-table .rate-val { font-weight: 600; }
.rates-table .buy { color: #6fcf97; }
.rates-table .sell { color: #eb5757; }

/* ── GOLD PAGE ── */
.gold-iframe-wrap {
  width: 100%;
  min-height: 2600px;
}
.gold-iframe-wrap iframe {
  width: 100%;
  height: 2600px;
  border: none;
  display: block;
}

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── CONTACT PAGE CARDS ── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.contact-card {
  background: var(--dark-3);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  padding: 32px 24px;
  text-align: center;
  border-radius: var(--radius);
}
.contact-card .card-icon {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: #111;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin: 0 auto 16px;
}
.contact-card h3 {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-card p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
}
.contact-card p a { color: var(--gold); }
.contact-card p a:hover { color: var(--gold-light); }
@media (max-width: 700px) {
  .contact-cards { grid-template-columns: 1fr; }
}

/* ── FOOTER ── */
footer.site-footer {
  background: #111;
  border-top: 2px solid var(--gold);
  padding: 40px 0 20px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-brand .logo-wrap { margin-bottom: 16px; }
.footer-brand .logo-wrap img { height: 40px; width: auto; }
.footer-brand p { font-size: 15px; color: var(--text-muted); line-height: 1.7; }
.footer-links h4,
.footer-contact h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 8px; }
.footer-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color var(--trans);
}
.footer-links a:hover { color: var(--gold); }
.footer-contact p { font-size: 15px; color: var(--text-muted); line-height: 1.9; }
.footer-contact a { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}
@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ── HOME PAGE SPECIFIC ── */
.home-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse 60% 70% at 75% 50%, rgba(255, 196, 64, .22), transparent 70%),
    radial-gradient(ellipse 80% 60% at 10% 100%, rgba(201, 168, 76, .10), transparent 70%),
    #060606;
  padding: 72px 24px 80px;
  border-bottom: 1px solid #2a2208;
}
.hero-rays {
  position: absolute; top: 50%; left: 75%; width: 1400px; height: 1400px; margin: -700px 0 0 -700px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 210, 90, .07) 0deg 6deg, transparent 6deg 18deg);
  -webkit-mask-image: radial-gradient(circle, #000 0, transparent 55%);
          mask-image: radial-gradient(circle, #000 0, transparent 55%);
  animation: rays-turn 60s linear infinite;
  pointer-events: none;
}
@keyframes rays-turn { to { transform: rotate(360deg); } }

.hero-inner {
  position: relative; z-index: 1; max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 40px;
}
.home-hero .eyebrow {
  font-size: 14px; font-weight: 800; letter-spacing: 4px; color: var(--gold);
  text-transform: uppercase; margin-bottom: 18px;
}
.home-hero .hero-title {
  font-size: clamp(40px, 6.4vw, 82px); font-weight: 900; line-height: .98;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 24px;
}
.home-hero .h1-white { display: block; color: #fff; }
.home-hero .h1-gold {
  display: block;
  background: linear-gradient(100deg, #b07a17 0%, #ffe18a 22%, #fff6d5 30%, #f2c94c 40%, #b07a17 60%, #ffe18a 80%, #b07a17 100%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gold-sheen 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 24px rgba(255, 190, 60, .25));
}
@keyframes gold-sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero-sub { font-size: clamp(15px, 1.6vw, 18px); color: #d6d6d6; max-width: 560px; line-height: 1.65; margin-bottom: 32px; }
.home-hero .hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.btn-lg { padding: 16px 32px; font-size: 15px; }
.home-hero .btn-gold { box-shadow: 0 10px 30px rgba(255, 190, 60, .28); }
.home-hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .55); }
.home-hero .btn-outline:hover { background: #fff; border-color: #fff; color: #111; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 700; color: #f1f1f1; letter-spacing: .5px; }
.hero-points li::before { content: '✓'; color: var(--gold); margin-right: 8px; font-weight: 900; }

/* 3D coin */
.coin-stage { position: relative; height: 420px; display: flex; align-items: center; justify-content: center; perspective: 1100px; }
.coin-glow {
  position: absolute; width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 205, 80, .55) 0%, rgba(255, 170, 30, .18) 40%, transparent 70%);
  filter: blur(10px); animation: glow-pulse 3.5s ease-in-out infinite;
}
@keyframes glow-pulse { 0%, 100% { transform: scale(.92); opacity: .75; } 50% { transform: scale(1.06); opacity: 1; } }
.coin-float { animation: coin-float 4s ease-in-out infinite; transform-style: preserve-3d; }
@keyframes coin-float { 0%, 100% { transform: translateY(-10px) rotateX(10deg); } 50% { transform: translateY(12px) rotateX(16deg); } }
.coin {
  --size: 290px; --depth: 18px;
  position: relative; width: var(--size); height: var(--size);
  transform-style: preserve-3d; animation: coin-spin 7s cubic-bezier(.55, .05, .45, .95) infinite;
}
@keyframes coin-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.coin-face {
  position: absolute; inset: 0; border-radius: 50%; overflow: hidden;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.coin-face svg { width: 100%; height: 100%; display: block; }
.coin-front { transform: translateZ(calc(var(--depth) / 2)); }
.coin-back  { transform: rotateY(180deg) translateZ(calc(var(--depth) / 2)); }
.coin-face::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .55) 48%, transparent 60%);
  background-size: 300% 100%; animation: coin-shine 3.5s ease-in-out infinite; mix-blend-mode: soft-light;
}
@keyframes coin-shine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -40% 0; } }
.coin-edge i {
  position: absolute; inset: 0; border-radius: 50%;
  background: linear-gradient(90deg, #6d4708, #d9a53a 30%, #f7d77c 50%, #b07d1f 75%, #5e3d06);
  transform: translateZ(calc((var(--i) - 7) * var(--depth) / 15));
}
.coin-shadow {
  position: absolute; bottom: 26px; width: 210px; height: 26px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .75), transparent 70%);
  animation: shadow-breathe 4s ease-in-out infinite;
}
@keyframes shadow-breathe { 0%, 100% { transform: scale(1); opacity: .9; } 50% { transform: scale(.82); opacity: .6; } }

.sparkle {
  position: absolute; width: 18px; height: 18px; background: #fff6cf;
  clip-path: polygon(50% 0, 60% 40%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 40%);
  filter: drop-shadow(0 0 6px #ffd76a); opacity: 0; animation: twinkle 2.8s ease-in-out infinite;
}
.sparkle.s1 { top: 14%; left: 22%; animation-delay: .2s; }
.sparkle.s2 { top: 24%; right: 16%; width: 12px; height: 12px; animation-delay: 1.1s; }
.sparkle.s3 { bottom: 24%; left: 14%; width: 10px; height: 10px; animation-delay: 1.8s; }
.sparkle.s4 { bottom: 16%; right: 24%; animation-delay: 2.4s; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 45% { opacity: 1; transform: scale(1) rotate(45deg); } }

@media (max-width: 900px) {
  .home-hero { padding: 40px 20px 56px; }
  .hero-inner { grid-template-columns: 1fr; gap: 8px; text-align: center; }
  .coin-stage { order: -1; height: 280px; }
  .coin { --size: 200px; --depth: 14px; }
  .coin-glow { width: 280px; height: 280px; }
  .coin-shadow { width: 150px; bottom: 14px; }
  .hero-rays { left: 50%; top: 22%; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .home-hero .hero-btns, .hero-points { justify-content: center; }
}

/* Live ticker */
.ticker {
  display: flex; align-items: stretch; background: #0c0c0c; border-top: 1px solid #3a2e0c; border-bottom: 1px solid #3a2e0c;
  font-size: 15px; color: #e8e8e8; overflow: hidden;
}
.ticker[hidden] { display: none; }
.ticker-label {
  flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 0 18px;
  background: var(--gold); color: #111; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; font-size: 13px;
}
.ticker-label::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #c0392b; animation: live-dot 1.2s ease-in-out infinite; }
@keyframes live-dot { 50% { opacity: .25; } }
.ticker-viewport { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: inline-flex; white-space: nowrap; animation: ticker-move 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker-move { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick { display: inline-flex; align-items: center; gap: 6px; padding: 12px 26px; border-right: 1px solid #262626; }
.tick img { width: 20px; height: 12px; object-fit: cover; border-radius: 2px; }
.tick b { color: #fff; font-weight: 800; margin-right: 4px; }
.tick i { font-style: normal; color: #8f8f8f; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.tick .t-gold { color: #f5c542; }
.tick .t-silver { color: #d9dde2; }

@media (prefers-reduced-motion: reduce) {
  .hero-rays, .coin, .coin-float, .coin-glow, .coin-shadow, .coin-face::after, .sparkle, .home-hero .h1-gold, .ticker-label::before { animation: none; }
  .coin { transform: rotateY(-22deg); }
  .sparkle { opacity: .8; }
  .ticker-viewport { overflow-x: auto; }
  .ticker-track { animation: none; }
}

/* ── MAP EMBED ── */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-top: 32px;
}
.map-wrap iframe {
  width: 100%;
  height: 260px;
  border: none;
  display: block;
  filter: grayscale(100%) invert(92%) contrast(83%);
}

/* ── PAGE INTRO ── */
.page-intro {
  background: var(--dark-3);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
}

/* ── HOME ABOUT GRID ── */
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 768px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── MISC ── */
.gold-text { color: var(--gold); }
.text-center { text-align: center; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── CONTACT BUTTONS ── */
.contact-actions-text { margin-bottom: 24px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.contact-actions .btn { text-align: center; width: 100%; }
.btn-whatsapp { background: #25D366; border-color: #25D366; color: #fff; }
.btn-whatsapp:hover { background: #1ebe5b; border-color: #1ebe5b; color: #fff; }

/* ── GOLD & SILVER (tabbed product grid) ── */
.metals-hero .metals-hero-text { max-width: 720px; margin: 0 auto 28px; color: #cfcfcf; font-size: 17px; }
.metals-hero .metals-hero-text strong { color: #fff; }

.metals { background: #f6f5f1; color: #1a1a1a; }
.metals-spot {
  display: flex; justify-content: center; gap: 28px; flex-wrap: wrap;
  background: #111; color: #ccc; border-radius: 6px; padding: 12px 20px;
  font-size: 16px; font-weight: 700; letter-spacing: .5px; margin-bottom: 32px;
}
.metals-spot strong { color: var(--gold); }

.metals-tabs {
  display: flex; justify-content: center; margin: 0 auto 20px; width: fit-content; max-width: 100%;
  border: 1px solid #ddd; border-radius: 6px; overflow: hidden; background: #fff;
}
.metals-tab {
  font: 500 clamp(15px, 2.2vw, 22px)/1 var(--font); padding: 16px clamp(14px, 3vw, 28px);
  background: #fff; color: #333; border: none; border-right: 1px solid #ddd; cursor: pointer; transition: background var(--trans), color var(--trans);
}
.metals-tab:last-child { border-right: none; }
.metals-tab:hover { background: #faf6ea; }
.metals-tab.is-active { background: var(--gold); color: #111; font-weight: 700; }

.metals-currency { display: flex; justify-content: center; margin-bottom: 36px; }
.metals-cur {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; font: 500 15px var(--font);
  background: #fff; color: #555; border: 1px solid #ddd; cursor: pointer;
}
.metals-cur:first-child { border-radius: 4px 0 0 4px; }
.metals-cur:last-child  { border-radius: 0 4px 4px 0; border-left: none; }
.metals-cur img { width: 22px; height: 14px; object-fit: cover; border-radius: 2px; display: inline-block; }
.metals-cur.is-active { background: #ece9df; color: #111; font-weight: 700; }

.metals-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.metals-updated { font-size: 15px; color: #666; }
.metals-view { display: flex; }
.metals-view-btn { background: #fff; color: #666; border: 1px solid #ddd; padding: 8px 12px; cursor: pointer; display: inline-flex; }
.metals-view-btn:first-child { border-radius: 4px 0 0 4px; }
.metals-view-btn:last-child  { border-radius: 0 4px 4px 0; border-left: none; }
.metals-view-btn.is-active { background: #ece9df; color: #111; }

.metals-error { background: #fff3cd; border: 1px solid #f0c36d; color: #7a5b00; padding: 12px 16px; border-radius: 4px; margin-bottom: 16px; font-size: 16px; }

.metals-group-title { font-size: 18px; font-weight: 800; letter-spacing: .5px; margin: 8px 0 16px; color: #111; }
.metals-list + .metals-group-title { margin-top: 40px; }
.metals-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .metals-list { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px)  { .metals-list { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

.metal-card {
  background: #fff; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.05); transition: transform .2s ease, box-shadow .2s ease;
}
.metal-card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.08), 0 14px 30px rgba(0,0,0,.10); }
.metal-img { position: relative; aspect-ratio: 1; background: #fff; display: flex; align-items: center; justify-content: center; padding: 18px; }
.metal-img img { width: 100%; height: 100%; object-fit: contain; }
.metal-badge {
  position: absolute; top: 12px; left: 12px; font-size: 13px; font-weight: 800; letter-spacing: .8px;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px;
}
.metal-badge.is-sale    { background: #c0392b; color: #fff; }
.metal-badge.is-instock { background: #e6f4ea; color: #1e7e34; }
.metal-badge.is-out     { background: #f8d7da; color: #721c24; }
.metal-body { padding: 4px 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.metal-name { font-size: 17px; font-weight: 700; line-height: 1.3; color: #111; margin-bottom: 6px; }
.metal-sub { font-size: 15px; color: #777; margin-bottom: 4px; }
.metal-price { font-size: 17px; color: #444; }
.metal-price strong { color: #111; font-weight: 800; }

/* Purity coin for jewelry cards */
.karat-coin {
  width: 62%; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: clamp(22px, 4vw, 38px); letter-spacing: 1px;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,.35), inset 0 -8px 16px rgba(0,0,0,.25), 0 6px 16px rgba(0,0,0,.18);
}
.karat-coin span { text-shadow: 0 1px 0 rgba(255,255,255,.5), 0 -1px 0 rgba(0,0,0,.25); }
.karat-coin.is-gold     { background: radial-gradient(circle at 35% 30%, #fff3b8, #e2b94e 45%, #a87a1f 100%); color: #6e4c0c; }
.karat-coin.is-silver   { background: radial-gradient(circle at 35% 30%, #ffffff, #c9cdd2 45%, #8a9097 100%); color: #4a4f55; }
.karat-coin.is-platinum { background: radial-gradient(circle at 35% 30%, #f4f6f8, #b8c0c8 45%, #77808a 100%); color: #3c444c; }

.metals-plated { margin-top: 20px; font-size: 15px; color: #666; }
.metals-note { margin-top: 28px; font-size: 15px; color: #666; text-align: center; }

/* List view */
.metals-grid.is-list .metals-list { grid-template-columns: 1fr; gap: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.metals-grid.is-list .metal-card { position: relative; flex-direction: row; align-items: center; border-radius: 0; box-shadow: none; border-bottom: 1px solid #eee; }
.metals-grid.is-list .metal-card:hover { transform: none; background: #fcfaf4; }
.metals-grid.is-list .metal-img { position: static; width: 76px; flex: 0 0 76px; padding: 8px; }
.metals-grid.is-list .metal-badge { top: 50%; right: 16px; left: auto; transform: translateY(-50%); }
.metals-grid.is-list .metal-body {
  flex: 1; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) 180px 180px;
  align-items: center; gap: 4px 20px; padding: 12px 130px 12px 8px;
}
.metals-grid.is-list .metal-name { margin: 0; font-size: 17px; }
.metals-grid.is-list .metal-sub { margin: 0; }
.metals-grid.is-list .karat-coin { width: 52px; font-size: 17px; }
@media (max-width: 720px) {
  .metals-grid.is-list .metal-body { grid-template-columns: 1fr 1fr; padding: 10px 12px 10px 4px; }
  .metals-grid.is-list .metal-name { grid-column: 1 / -1; padding-right: 84px; }
  .metals-grid.is-list .metal-badge { top: 10px; right: 10px; transform: none; font-size: 12px; padding: 3px 8px; }
}

/* Loading skeleton */
.metal-card.is-skeleton .metal-img { background: linear-gradient(90deg, #f1f0ec 25%, #e8e6df 37%, #f1f0ec 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.metal-card.is-skeleton .metal-body span { display: block; height: 12px; margin: 6px 0; border-radius: 4px; background: #eee; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }

.metals-chart-wrap { margin-top: 56px; }
.metals-chart-title { font-size: 20px; font-weight: 800; text-align: center; margin-bottom: 16px; color: #111; }
.metals-chart { height: 420px; background: #fff; border-radius: 8px; overflow: hidden; }
@media (max-width: 720px) {
  .metals-chart { height: 320px; }
  .metal-name { font-size: 17px; }
  .metal-price { font-size: 15px; }
  .metal-body { padding: 4px 12px 14px; }
}

/* ── WHATSAPP ── */
.top-bar .top-wa { color: #25D366; font-weight: 700; }
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 200;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px;
  background: #25D366; color: #fff; border-radius: 40px; font-weight: 800; font-size: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-float:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,.4); }
@media (max-width: 600px) {
  .wa-float { padding: 14px; right: 16px; bottom: 16px; }
  .wa-float span { display: none; }
}
@media (max-width: 900px) {
  .top-bar .top-wa, .top-bar .top-wa-sep { display: none; }
  .wa-float { padding: 14px; }
  .wa-float span { display: none; }
}

/* ── SITE-WIDE RATES RUNNER ── */
a.ticker-label, a.ticker-label:hover { color: #111; text-decoration: none; }
a.ticker-label:hover { background: var(--gold-light); }
@media (max-width: 600px) {
  .metals-tabs { width: 100%; }
  .metals-tab { flex: 1 1 0; min-width: 0; padding: 14px 2px; font-size: 16px; }
}

/* ── FAQ ── */
.faq-title { font-size: clamp(22px, 3vw, 30px); font-weight: 900; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 28px; text-align: center; }
.faq-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto; }
.faq-item { padding: 22px 24px; border-radius: 8px; }
.faq-item h3 { font-size: 16px; font-weight: 800; margin-bottom: 8px; }
.faq-item p { font-size: 16px; line-height: 1.65; }
.faq-dark { background: var(--dark-3); border-top: 1px solid var(--border); }
.faq-dark .faq-item { background: var(--dark-2); border: 1px solid var(--border); }
.faq-dark .faq-item h3 { color: var(--gold); }
.faq-dark .faq-item p { color: #cfcfcf; }
.faq-light { background: #f6f5f1; color: #1a1a1a; padding-top: 0; }
.faq-light .faq-title { color: #111; }
.faq-light .faq-item { background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 6px 18px rgba(0,0,0,.05); }
.faq-light .faq-item h3 { color: #111; }
.faq-light .faq-item p { color: #444; }
@media (max-width: 720px) { .faq-list { grid-template-columns: 1fr; } }

/* ── READABILITY (bigger, brighter, bolder on dark) ── */
.section-text, .step-card p, .service-card p, .contact-detail .text, .note-box p, .footer-brand p, .footer-contact p { color: #e2e2e2; }
.section-heading { letter-spacing: .5px; }
.tick i { color: #c4c4c4; }
.tick { font-weight: 600; }
.metals-updated, .metals-plated, .metals-note { color: #444; }
.metal-sub { color: #555; }
.metal-price { color: #333; }
.metal-more { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 800; color: #9a7a1c; letter-spacing: .3px; }
a.metal-card { color: inherit; text-decoration: none; }
a.metal-card:hover .metal-more { color: #6e5612; }
@media (max-width: 600px) {
  .metals-tab { font-size: 13px; line-height: 1.15; white-space: normal; padding: 10px 2px; }
  .ticker-label { font-size: 11px; padding: 0 12px; }
}

/* ── PRODUCT PAGES ── */
.crumbs { background: #111; border-bottom: 1px solid var(--border); font-size: 14px; padding: 12px 0; color: #bdbdbd; }
.crumbs a { color: var(--gold); font-weight: 600; }
.crumbs span { margin: 0 6px; }
.crumbs span[aria-current] { margin: 0; color: #e6e6e6; }
.product { padding: 48px 0 64px; }
.product-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; align-items: start; }
.product-media { background: #fff; border-radius: 12px; padding: 28px; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0,0,0,.45); }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-media .karat-coin { width: 60%; font-size: 56px; }
.product-info .eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.product-info h1 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 900; line-height: 1.15; margin-bottom: 14px; }
.product-badge { position: static; display: inline-block; margin-bottom: 18px; font-size: 13px; }
.product-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 8px 0 18px; }
.product-price { background: #111; border: 1px solid #3a2e0c; border-radius: 10px; padding: 18px 20px; display: flex; flex-direction: column; gap: 4px; }
.product-price span { font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #cfcfcf; }
.product-price strong { font-size: clamp(24px, 3vw, 32px); font-weight: 900; color: var(--gold); line-height: 1.1; }
.product-price small { font-size: 13px; color: #bdbdbd; }
.product-meta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.product-meta .metals-currency { margin: 0; }
.product-updated { font-size: 14px; color: #cfcfcf; }
.product-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.product-specs { width: 100%; border-collapse: collapse; font-size: 16px; }
.product-specs th, .product-specs td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--border); vertical-align: top; }
.product-specs th { width: 38%; color: #bdbdbd; font-weight: 700; }
.product-specs td { color: #f2f2f2; font-weight: 600; }
.product-about { max-width: 900px; margin-top: 48px; }
.product-about h2 { font-size: 22px; font-weight: 900; color: #fff; margin: 32px 0 10px; }
.product-about p { color: #e2e2e2; line-height: 1.75; margin-bottom: 12px; }
.product-related { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 24px; margin: 6px 0 28px; }
.product-related a { font-weight: 700; }
@media (max-width: 860px) {
  .product { padding-top: 28px; }
  .product-grid { grid-template-columns: 1fr; gap: 28px; }
  .product-media { max-width: 460px; width: 100%; margin: 0 auto; }
  .product-related { grid-template-columns: 1fr; }
  .product-ctas .btn { flex: 1 1 100%; text-align: center; }
}
/* Long email/phone strings must wrap on phones now that text is larger. */
.contact-grid > *, .contact-cards > *, .home-about-grid > *, .footer-grid > * { min-width: 0; }
.contact-detail .text a, .contact-card a, .footer-contact a, .top-bar a { overflow-wrap: anywhere; }

/* Calculator rate line */
.calc-rate { margin-top: 18px; padding: 16px; border-radius: 8px; background: #111; border: 1px solid #3a2e0c; text-align: center; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 10px; }
.calc-rate[hidden] { display: none; }
.calc-rate-label { font-size: 18px; font-weight: 800; color: #e6e6e6; }
.calc-rate strong { font-size: clamp(26px, 5vw, 34px); font-weight: 900; color: var(--gold); line-height: 1.1; }
.calc-rate-or { font-size: 18px; font-weight: 700; color: #cfcfcf; }
.calc-rate small { flex-basis: 100%; font-size: 14px; color: #cfcfcf; }

/* Calculator money fields: symbol + editable amount in one box */
.calc-row-single { grid-template-columns: 1fr; }
.money-input {
  display: flex; align-items: center; gap: 8px;
  background: var(--dark-4); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0 12px; transition: border-color var(--trans);
}
.money-input:focus-within { border-color: var(--gold); }
.money-sym { flex: 0 0 auto; font-size: 18px; font-weight: 800; color: var(--gold); white-space: nowrap; }
.calc-row .money-input input {
  flex: 1 1 auto; min-width: 0; border: none; background: transparent; padding: 12px 0;
  font-size: 20px; font-weight: 700; color: #fff;
}
.calc-row .money-input input:focus { outline: none; }
.calc-row-single .money-input input { font-size: 22px; }
.calc-msg { margin-top: 4px; font-size: 15px; font-weight: 600; color: #f0b429; text-align: center; }
.calc-msg[hidden] { display: none; }
/* Make the selected calculator mode obvious */
.calc-tab.active { background: var(--gold); color: #111; }
.calc-tab.active small { color: #2a2205; }
.calc-tab:not(.active):hover { background: var(--dark-4); }

/* ── RATE TABLES: bigger rows and flags that can't be squeezed away ── */
.rates-table { font-size: 18px; }
.rates-table thead th { padding: 14px 16px; font-size: 14px; }
.rates-table td { padding: 16px; }
.rates-table .flag-cell { width: 64px; min-width: 64px; padding-right: 6px; }
.rates-table .flag-cell img {
  width: 44px; height: 29px; max-width: none; object-fit: cover; border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(255,255,255,.15);
}
.rates-table .rate-val { font-size: 19px; font-weight: 800; }
.rates-table td strong { font-size: 18px; letter-spacing: .5px; }
@media (max-width: 700px) {
  .rates-table { font-size: 16px; }
  .rates-table .country-cell, .rates-table .currency-cell { display: none; }   /* flag + code identify it */
  .rates-table thead th { padding: 12px 8px; font-size: 12px; }
  .rates-table td { padding: 14px 8px; }
  .rates-table .flag-cell { width: 48px; min-width: 48px; padding-left: 10px; }
  .rates-table .flag-cell img { width: 36px; height: 24px; }
  .rates-table .rate-val { font-size: 17px; }
}
@media (max-width: 700px) {
  .rates-table td { padding: 14px 6px; }
  .rates-table .rate-val { font-size: 15px; letter-spacing: -.2px; }
  .rates-table .flag-cell { padding-left: 8px; }
}
@media (max-width: 360px) {
  .rates-table .flag-cell { width: 40px; min-width: 40px; padding-left: 6px; }
  .rates-table .flag-cell img { width: 30px; height: 20px; }
  .rates-table .rate-val { font-size: 14px; }
  .rates-table td strong { font-size: 15px; }
  .rates-table thead th { font-size: 11px; padding: 10px 5px; }
}
