:root{
  --page: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;

  --gold: #d4af37;
  --gold-dark: #b8941f;

  --wrap: 1220px;
  --pad: 32px;

  --ticker-h: 48px;
  --header-h: 84px;
  --header-total: var(--header-h);

  --hero-blur: 2px;
  --hero-controls-space: 96px;
  --hero-shift: 8vh;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif; color: var(--ink); background: var(--page); line-height: 1.6; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

.price-ticker{
  position: fixed; top: 0; left: 0; right: 0; z-index: 1001;
  background: #0b1327; color: #fff; height: var(--ticker-h);
  display: flex; align-items: center; box-shadow: 0 1px 0 rgba(15,23,42,.08);
}
.ticker-container{ max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad);
  height: 100%; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; }
.ticker-left{ display:flex; align-items:center; gap:16px; }
.ticker-status{ display:flex; align-items:center; gap:8px; font:600 13px/1 Inter; color:#cbd5e1; }
.ticker-status::before{ content:'●'; color:#10b981; font-size:12px; }
.refresh-timer{ font:600 13px/1 Inter; color:#cbd5e1; }
#refresh-countdown{ color:#fff; font-weight:800; letter-spacing:.3px; min-width:48px; display:inline-block; text-align:center; }

.ticker-center{ display:flex; align-items:center; justify-content:center; gap:18px; white-space:nowrap; overflow-x:auto; scrollbar-width:none; }
.ticker-center::-webkit-scrollbar{ display:none; }
.price-item{ display:flex; align-items:center; gap:10px; padding:6px 14px; background:rgba(255,255,255,.10); border-radius:10px; }
.metal-name{ font:700 12px/1 Inter; color:#e2e8f0; letter-spacing:.4px; }
.price{ font:800 14px/1 Inter; color:#fff; font-variant-numeric: tabular-nums; }
.price.loading{ opacity:.6; }
.price.updated{ animation: flash .35s ease; }
@keyframes flash{ from{opacity:.6} to{opacity:1} }

.currency-dropdown{ position:relative; }
.currency-button{ display:flex; align-items:center; gap:10px; padding:6px 14px; min-width:92px;
  border:1px solid rgba(255,255,255,.25); border-radius:10px; background:rgba(255,255,255,.10); color:#fff; cursor:pointer; font:800 14px/1 Inter; }
.currency-caret{ width:0;height:0;border-left:5px solid transparent;border-right:5px solid transparent;border-top:5px solid #fff; }
.currency-menu{ position:absolute; top:calc(100% + 8px); right:0; width:260px; display:none; background:#fff; border:1px solid var(--line); border-radius:12px; box-shadow:0 24px 50px rgba(2,6,23,.15); padding:8px 0; z-index:10; color: var(--ink); }
.currency-menu.show{ display:block; }
.currency-list{ list-style:none; margin:0; padding:0; }
.currency-item{ padding:12px 14px; cursor:pointer; }
.currency-item:hover{ background:#f8fafc; }
.sr-only{ position:absolute!important; width:1px; height:1px; overflow:hidden; clip: rect(1px,1px,1px,1px); }

header{
  position: fixed; top: var(--ticker-h); left: 0; right: 0; z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--line); height: var(--header-total);
  display:flex; align-items:center;
}
header .inner{ width:100%; display:flex; align-items:center; justify-content:space-between; }

.logo { display:block; line-height:0; }
.logo-img{
  display:block;
  height: 56px;
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

nav ul{ display:flex; gap:32px; list-style:none; }
nav a{ text-decoration:none; color:var(--ink); font-weight:700; font-size:16px; padding:10px 14px; border-radius:8px; position:relative; }
nav a:hover{ color:var(--gold-dark); background:rgba(212,175,55,.10); }
nav a::after{ content:''; position:absolute; left:14px; right:14px; bottom:6px; height:2px; background:var(--gold); transform:scaleX(0); transform-origin:left; transition:.25s; }
nav a:hover::after, nav a[aria-current="page"]::after{ transform:scaleX(1); }

.menu-toggle{ display:none; flex-direction:column; gap:4px; padding:10px; border-radius:8px; }
.menu-toggle span{ height:3px; width:24px; background:var(--ink); border-radius:2px; display:block; }

.hero{ margin-top: calc(var(--ticker-h) + var(--header-total)); position:relative; min-height: calc(100vh - var(--ticker-h) - var(--header-total)); overflow:hidden; }
.hero-carousel{ position:relative; height: calc(100vh - var(--ticker-h) - var(--header-total)); }
.carousel-slides{ position:absolute; inset:0; z-index:0; }
.carousel-slide{ position:absolute; inset:0; opacity:0; transition:opacity 1s ease; background-size:cover; background-position:center; filter: blur(var(--hero-blur)); transform: scale(1.035); }
.carousel-slide.active{ opacity:1; }
.hero-overlay{ position:absolute; inset:0; z-index:1; background: linear-gradient(135deg, rgba(15,23,42,.70) 0%, rgba(30,41,59,.60) 100%); }

.hero-content{ position:relative; z-index:2; height: calc(100vh - var(--ticker-h) - var(--header-total) - var(--hero-controls-space)); color:#fff; display:flex; align-items:center; justify-content:center; text-align:center; margin: 0 auto; }
.hero-content .wrap{ max-width: 980px; padding: 0 var(--pad); width:100%; height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; transform: translateY(calc(-1 * var(--hero-shift))); }
.hero h1{ font-family:"Playfair Display", serif; font-size: clamp(3rem, 6vw, 5rem); line-height:1.08; margin-bottom:26px; text-shadow:0 6px 16px rgba(0,0,0,.35); }
.hero .accent{ color:#fff; }
.hero p{ font-size: clamp(1.1rem, 2vw, 1.4rem); color: rgba(255,255,255,.95); text-shadow:0 2px 8px rgba(0,0,0,.3); }
.hero p + p{ margin-top:16px; }

.hero-cta{ margin-top:40px; display:flex; gap:18px; justify-content:center; flex-wrap:wrap; }
.btn{ display:inline-flex; align-items:center; gap:8px; padding:16px 30px; border-radius:12px; font-weight:700; text-decoration:none; font-size:15px; border:2px solid transparent; transition:.2s; }
.btn-primary{ background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%); color:#fff; box-shadow: 0 10px 28px rgba(212,175,55,.3); }
.btn-primary:hover{ transform: translateY(-2px); }
.btn-secondary{ background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.35); }
.btn-secondary:hover{ background: rgba(255,255,255,.2); }

.carousel-nav{ position:absolute; top:50%; transform:translateY(-50%); z-index:3; width:48px;height:48px;border-radius:50%;
  display:flex;align-items:center;justify-content:center; background:rgba(255,255,255,.20); color:#fff; border:2px solid rgba(255,255,255,.35); font-weight:800; cursor:pointer; }
.carousel-nav.prev{ left:28px; } .carousel-nav.next{ right:28px; }
.carousel-dots{ position:absolute; bottom:38px; left:50%; transform:translateX(-50%); display:flex; gap:10px; z-index:3; }
.carousel-dot{ width:12px;height:12px;border-radius:50%; background:rgba(255,255,255,.45); border:2px solid transparent; cursor:pointer; }
.carousel-dot.active{ background:var(--gold); border-color:#fff; transform:scale(1.12); }

section{ padding: 120px 0; }

.section-header{ text-align:center; margin-bottom: 80px; }
.section-header h2{ font-family:"Playfair Display", serif; font-size: clamp(2rem,3.5vw,2.8rem); }
.section-header p{ color:var(--muted); font-size:1.1rem; max-width:680px; margin:14px auto 0; }
.underline{ width:80px; height:4px; background: linear-gradient(90deg, var(--gold), var(--gold-dark)); border-radius:99px; margin:22px auto 0; }

.about .container{ display:grid; grid-template-columns: 1fr 1fr; gap:80px; align-items:center; }
.about p{ color:#111827; font-size:1.125rem; line-height:1.85; margin-bottom:18px; }
.about-image{ height: 500px; border-radius:24px; overflow:hidden; box-shadow: 0 18px 40px rgba(2,6,23,.12); }
.about-image img{ width:100%; height:100%; object-fit:cover; }

.products{
  background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
  position:relative;

  padding-top: 68px;
}
.products .section-header{ margin-bottom: 56px; }

.product-showcase{ display:grid; grid-template-columns: repeat(2, 1fr); gap:40px; margin-bottom:56px; }
.product-hero-card{ background:#fff; border:1px solid var(--line); border-radius:22px; overflow:hidden; box-shadow:0 18px 40px rgba(2,6,23,.08); transition:.25s; }
.product-hero-card:hover{ transform: translateY(-8px); }
.product-hero-image{ height:320px; background:linear-gradient(135deg,#f8fafc 0%, #e2e8f0 100%); overflow:hidden; }
.product-hero-image img{ width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.product-hero-card:hover img{ transform: scale(1.06); }
.product-hero-content{ padding:34px; }
.product-hero-content h3{ font-family:"Playfair Display", serif; font-size:1.75rem; margin-bottom:10px; }
.product-hero-content p{ color:var(--muted); }

.product-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap:32px; }
.product-card{ background:#fff; border:1px solid var(--line); border-radius:20px; overflow:hidden; transition:.25s; box-shadow:0 10px 22px rgba(2,6,23,.06); }
.product-card:hover{ transform: translateY(-6px); }
.product-image{ height:240px; background:linear-gradient(135deg,#f8fafc 0%, #e2e8f0 100%); overflow:hidden; }
.product-image img{ width:100%; height:100%; object-fit:cover; transition: transform .35s ease; }
.product-card:hover .product-image img{ transform: scale(1.05); }
.product-content{ padding:28px; }
.product-content h3{ font-family:"Playfair Display", serif; font-size:1.5rem; margin-bottom:8px; }
.product-content p{ color:var(--muted); }

.contact{ background: #0b1327; color:#fff; position:relative; padding: 64px 0 28px; }

.contact .container{
  position:relative;
  z-index:1;
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:32px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.contact .section-header{ text-align:center; margin-bottom: 0; }
.contact .section-header h2{ color:#fff; }

.contact-info{
  background: transparent;
  border:none;
  border-radius:0;
  padding:0;
  backdrop-filter: none;
  width:100%;
  max-width:600px;
  box-shadow: none;
  overflow: visible;
  background-clip: initial;
  outline: none;
}
.contact-list{ display:grid; gap:12px; margin:0; padding:0; }
.contact-row{ display:grid; grid-template-columns: 1fr; align-items:start; gap:4px; padding:2px 0; }
.contact-label{ font-weight:700; letter-spacing:.2px; color:#e5e7eb; font-size:0.98rem; }
.contact-value{ color: rgba(255,255,255,.96); font-size:1.125rem; line-height:1.55; }
.contact-value a{ color:#fff; text-decoration:none; }
.contact-value a:hover{ color: var(--gold); text-decoration: none; }

.columns { display:flex; gap:40px; justify-content:space-between; }
.column { flex:1; min-width:0; }
.column-header { font-family:'Playfair Display', serif; font-size:1.8rem; margin-bottom:24px; padding-bottom:12px; border-bottom:2px solid var(--gold); color:#fff; }
.info-item { margin-bottom:24px; }
.info-label { font-weight:700; color:#cbd5e1; font-size:1rem; margin-bottom:6px; letter-spacing:.5px; }
.info-value { color: rgba(255,255,255,.96); font-size:1.1rem; line-height:1.5; }
.info-value a { color:#fff; text-decoration:none; transition: color .3s; }
.info-value a:hover { color: var(--gold); text-decoration: none; }

@media (max-width: 900px){
  .columns{ flex-direction:column; gap:30px; }
  .column{ width:100%; }
}

footer{ background: var(--ink); color: rgba(255,255,255,.8); padding:24px 0; border-top:none; }
.footer-content{ display:grid; grid-template-columns: 2fr 1fr 1fr; gap:60px; }
.footer-brand h3{ font-family:"Playfair Display", serif; color:#fff; margin-bottom:10px; }
.footer-section h4{ color:#fff; margin-bottom:12px; }
.footer-section a{ color: rgba(255,255,255,.8); text-decoration:none; }
.footer-section a:hover{ color: var(--gold); }
.footer-bottom{ text-align:center; margin-top:0; border-top:none; padding-top:0; color: rgba(255,255,255,.70); }

@media (max-width: 1024px){
  :root{ --pad:24px; }
  .about .container, .contact .container{ grid-template-columns:1fr; gap:48px; }
  .product-showcase{ grid-template-columns:1fr; }
  .product-grid{ grid-template-columns:1fr; }
  .contact-info{ max-width:600px; }
  .contact{ padding: 56px 0 20px; }
}

@media (max-width: 768px){
  :root{ --ticker-h: 64px; --header-h: 78px; }
  :root{ --hero-controls-space: 72px; --hero-shift: 3vh; }

  .ticker-left, .ticker-right{ display:none !important; }
  .ticker-container{ grid-template-columns: 1fr; gap: 0; }

  .ticker-center{
    display:flex;
    align-items:center;
    gap:8px;
    padding:0 8px;
    white-space:nowrap;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .ticker-center::-webkit-scrollbar{ display:none; }

  .price-item{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    flex: 0 1 auto;
    min-width: 88px;
    padding: 8px 10px;
    border-radius: 0;
    background: transparent;
    gap:6px;
  }

  .metal-name{ font-weight:700; font-size:11px; color:#e2e8f0; letter-spacing:.4px; }
  .price{ font-weight:800; font-size:16px; color:#fff; line-height:1; }

  
  .about-image { display: none; }

  .menu-toggle{ display:flex; }
  nav{ position:fixed; inset: calc(var(--ticker-h) + var(--header-total)) 0 auto 0; display:none; background:rgba(255,255,255,.98); border-bottom:1px solid var(--line); }
  nav{ background:#ffffff; }
  nav.show{ display:block; }
  nav ul{ flex-direction:column; align-items:center; gap:8px; padding:18px 0; }
  nav a{ width:100%; text-align:center; padding:14px 18px; }
  .logo-img{ height: 44px; max-height: 44px; }

  .products{ padding-top: 56px; }
  .products .section-header{ margin-bottom: 44px; }
  .carousel-nav{ width:42px;height:42px; }
  .carousel-nav.prev{ left:18px; } .carousel-nav.next{ right:18px; }
  .carousel-dots{ bottom:22px; }
  section{ padding: 90px 0; }
  .contact{ padding: 44px 0 16px; }
}


@media (max-width: 768px){
  .carousel-nav{ display: none !important; }
  
  .hero-content .wrap{ transform: translateY(0); padding-top: 18px; padding-bottom: 18px; }
  
  .carousel-dots{ bottom:14px; }
  
  .hero-carousel{ height: calc(100vh - var(--ticker-h) - var(--header-total) - 12px); }
}

@media (max-width: 640px){
  .ticker-center{ gap:6px; padding:0 6px; }
  .price-item{ min-width:80px; padding:8px 10px; }
  .metal-name{ font-size:11px; }
  .price{ font-size:16px; }
}

@media (max-width: 480px){
  :root{ --ticker-h: 64px; }
  .ticker-center{ gap:6px; padding:0 6px; }
  .price-item{ min-width:72px; padding:6px 8px; }
  .metal-name{ font-size:10px; }
  .price{ font-size:14px; }
}

