/* =========================================================
   Elegance Gem & Jewels — main stylesheet
   Brand colours come from the shop logo (royal blue + gold).
   Change them here and the whole site updates.
   ========================================================= */
:root {
  --blue: #0058a3;
  --navy: #003366;
  --deep: #001a38;
  --gold: #f2c200;
  --gold-rich: #d4a017;
  --gold-soft: #f7e3a1;
  --ivory: #fbf8f1;
  --cream: #f3ecdc;
  --ink: #18202e;
  --muted: #5d6676;
  --line: #e4dccb;
  --white: #ffffff;
  --wa: #1fa855;

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(0, 26, 56, .35);
  --max: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; color: var(--deep); }
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 90px 0; }
.section--tight { padding: 60px 0; }
.center { text-align: center; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--gold-rich); font-weight: 500; margin-bottom: 14px;
}
.eyebrow::before { content: "★"; font-size: .8rem; color: var(--gold); }
.section-head { max-width: 640px; margin: 0 auto 50px; text-align: center; }
.section-head p { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-size: .95rem; font-weight: 500; letter-spacing: .04em;
  border: 1.5px solid transparent; cursor: pointer; transition: .25s ease;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--gold { background: var(--gold); color: var(--deep); }
.btn--gold:hover { background: #ffd633; transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(242, 194, 0, .8); }
.btn--outline { border-color: rgba(255,255,255,.6); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--deep); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); transform: translateY(-2px); }
.btn--wa { background: var(--wa); color: var(--white); }
.btn--wa:hover { background: #178a45; transform: translateY(-2px); }
.btn--block { width: 100%; }

/* ---------- Top bar + Header ---------- */
.topbar {
  background: var(--deep); color: var(--gold-soft);
  font-size: .82rem; letter-spacing: .04em;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold); }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, .94);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .container { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 1.75rem; font-weight: 700; color: var(--navy); letter-spacing: .02em; }
.brand-sub { font-size: .66rem; letter-spacing: .34em; text-transform: uppercase; color: var(--gold-rich); margin-top: 5px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { font-size: .92rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--gold); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--blue); }
.nav .btn { padding: 10px 20px; text-transform: none; letter-spacing: .02em; }
.nav .btn::after { display: none; }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--navy); margin: 6px 0; transition: .3s; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 0%, #0a5aa8 0%, var(--navy) 45%, var(--deep) 100%);
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(242,194,0,.18) 1px, transparent 1.4px);
  background-size: 26px 26px; opacity: .5; pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: italic; color: var(--gold); font-weight: 500; }
.hero p.lead { font-size: 1.15rem; color: #d6e2f2; max-width: 520px; margin-bottom: 34px; }
.hero .eyebrow { color: var(--gold); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 30px; margin-top: 46px; flex-wrap: wrap; }
.hero-badges div { border-left: 2px solid var(--gold); padding-left: 14px; }
.hero-badges strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--gold); line-height: 1.1; }
.hero-badges span { font-size: .82rem; color: #b8c8de; letter-spacing: .06em; }

.hero-media { position: relative; }
.hero-media .frame {
  border-radius: 200px 200px var(--radius) var(--radius);
  overflow: hidden; border: 3px solid var(--gold);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55);
  aspect-ratio: 3 / 4;
}
.hero-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .seal {
  position: absolute; left: -30px; bottom: 40px; width: 110px; height: 110px;
  border-radius: 50%; background: var(--ivory); padding: 6px;
  box-shadow: var(--shadow);
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; color: var(--white); text-align: center;
  padding: 110px 0 90px;
  background-color: var(--deep); background-position: center; background-size: cover;
}
.page-banner h1 { color: var(--white); margin-bottom: .2em; }
.page-banner p { color: #d6e2f2; max-width: 560px; margin: 0 auto; }
.page-banner .eyebrow { color: var(--gold); }
.crumbs { font-size: .85rem; color: var(--gold-soft); margin-top: 18px; letter-spacing: .06em; }
.crumbs a:hover { color: var(--gold); }

/* ---------- Trust strip ---------- */
.strip { background: var(--white); border-bottom: 1px solid var(--line); }
.strip .container { display: grid; grid-template-columns: repeat(4, 1fr); }
.strip-item { display: flex; align-items: center; gap: 14px; padding: 28px 20px; border-right: 1px solid var(--line); }
.strip-item:last-child { border-right: 0; }
.strip-item svg { width: 38px; height: 38px; color: var(--gold-rich); flex-shrink: 0; }
.strip-item strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--navy); line-height: 1.2; }
.strip-item span { font-size: .85rem; color: var(--muted); }

/* ---------- Category tiles ---------- */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cat {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--cream); box-shadow: var(--shadow);
}
.cat img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat:hover img { transform: scale(1.06); }
.cat-label {
  position: absolute; inset: auto 0 0 0; padding: 22px 24px;
  background: linear-gradient(transparent, rgba(0, 26, 56, .88));
  color: var(--white); display: flex; justify-content: space-between; align-items: flex-end;
}
.cat-label h3 { color: var(--white); margin: 0; font-size: 1.6rem; }
.cat-label span { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

/* ---------- Product grid ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .3s ease, box-shadow .3s ease;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-img { position: relative; aspect-ratio: 1; background: var(--cream); overflow: hidden; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .product-img img { transform: scale(1.05); }
.tag {
  position: absolute; top: 12px; left: 12px; padding: 4px 12px; border-radius: 999px;
  background: var(--navy); color: var(--gold); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
}
.product-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.product-cat { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-rich); }
.product-name { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--deep); margin: 4px 0 4px; line-height: 1.2; }
.product-meta { font-size: .85rem; color: var(--muted); margin-bottom: 10px; }
.product-price { font-weight: 600; color: var(--blue); margin-bottom: 16px; margin-top: auto; }
.product .btn { padding: 11px 16px; font-size: .88rem; }

/* ---------- Filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 40px; }
.filter {
  padding: 10px 22px; border-radius: 999px; border: 1.5px solid var(--line);
  background: var(--white); font-family: var(--sans); font-size: .9rem; color: var(--ink); cursor: pointer; transition: .2s;
}
.filter:hover { border-color: var(--gold-rich); }
.filter.active { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-media .accent {
  position: absolute; right: -24px; bottom: -24px; width: 48%;
  border: 6px solid var(--ivory); border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 1; object-fit: cover;
}
.split-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before {
  content: "✓"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--gold-soft); color: var(--navy); font-weight: 700; font-size: .8rem;
  display: grid; place-items: center; margin-top: 2px;
}

/* ---------- Showcase banner ---------- */
.showcase {
  position: relative; color: var(--white); text-align: center;
  background: linear-gradient(rgba(0, 26, 56, .7), rgba(0, 26, 56, .85)), url("../images/showcase.jpg") center/cover fixed;
  padding: 120px 0;
}
.showcase h2 { color: var(--white); }
.showcase h2 em { color: var(--gold); font-style: italic; }
.showcase p { color: #d6e2f2; max-width: 600px; margin: 0 auto 32px; }

/* ---------- Values / cards ---------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.value {
  background: var(--white); padding: 36px 30px; border-radius: var(--radius);
  border: 1px solid var(--line); border-top: 3px solid var(--gold);
}
.value svg { width: 44px; height: 44px; color: var(--blue); margin-bottom: 14px; }
.value p { color: var(--muted); margin: 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 18px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); min-height: 260px; }
.gallery img:first-child { grid-row: span 2; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; }
.info-card { background: var(--navy); color: var(--white); border-radius: var(--radius); padding: 40px; }
.info-card h3 { color: var(--gold); }
.info-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.info-row:last-of-type { border-bottom: 0; }
.info-row svg { width: 24px; height: 24px; color: var(--gold); flex-shrink: 0; margin-top: 3px; }
.info-row small { display: block; font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); }
.info-row a:hover { color: var(--gold); }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 3px 0; }
.hours td:last-child { text-align: right; color: var(--gold-soft); }

.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.form-card p.note { color: var(--muted); font-size: .92rem; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin-bottom: 6px; font-weight: 500; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 1rem; background: var(--ivory); color: var(--ink); transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; }
.map iframe { width: 100%; height: 420px; border: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--gold); }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-top: 50px; padding-bottom: 50px; flex-wrap: wrap; }
.cta-band h2 { margin: 0; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.cta-band p { margin: 6px 0 0; color: var(--navy); }

/* ---------- Footer ---------- */
.footer { background: var(--deep); color: #b8c8de; padding: 70px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-name { color: var(--white); }
.footer h4 { color: var(--gold); font-family: var(--sans); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: var(--gold); }
.footer-about { margin-top: 18px; max-width: 300px; }
.footer-bottom { margin-top: 60px; border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; font-size: .85rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: var(--white);
  display: grid; place-items: center; box-shadow: 0 10px 28px -6px rgba(31,168,85,.7);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa);
  animation: pulse 2.2s infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .strip .container { grid-template-columns: 1fr 1fr; }
  .strip-item:nth-child(2) { border-right: 0; }
  .strip-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw);
    background: var(--deep); flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 26px; padding: 40px; transform: translateX(100%); transition: transform .35s ease, visibility .35s; z-index: 70;
    visibility: hidden;
  }
  .nav a { color: var(--white); font-size: 1.05rem; }
  .nav a.active { color: var(--gold); }
  .menu-open .nav { transform: none; visibility: visible; }
  .menu-toggle { position: relative; z-index: 80; }
  .menu-open .menu-toggle span { background: var(--gold); }
  .hero .container { grid-template-columns: 1fr; gap: 50px; padding-top: 50px; }
  .hero-media { max-width: 420px; margin: 0 auto; width: 100%; }
  .hero-media .seal { left: -10px; width: 90px; height: 90px; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .split-media .accent { right: -6px; bottom: -20px; }
  .cats, .values { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: span 2; grid-row: auto; }
  .showcase { background-attachment: scroll; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .topbar .hide-sm { display: none; }
  .topbar .container { justify-content: center; }
  .header .container { height: 70px; }
  .brand img { width: 44px; height: 44px; }
  .brand-name { font-size: 1.45rem; }
  .products { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-body { padding: 14px; }
  .product-name { font-size: 1.12rem; }
  .product .btn { padding: 10px 10px; font-size: .8rem; gap: 6px; }
  .product .btn svg { width: 16px; height: 16px; }
  .values, .footer-grid, .row-2 { grid-template-columns: 1fr; }
  .cats { gap: 12px; }
  .cat { aspect-ratio: 1; }
  .cat-label { padding: 14px; }
  .cat-label h3 { font-size: 1.15rem; }
  .cat-label span { display: none; }
  .strip .container { grid-template-columns: 1fr; }
  .strip-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .info-card, .form-card { padding: 28px 22px; }
  .hero-badges { gap: 20px; }
  .cta-band .container { text-align: center; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   MOBILE HOME PAGE (phones only, home page only)
   ========================================================= */
.m-only { display: none; }
@media (max-width: 600px) {
  .home .m-only { display: block; }
  .home .cta-band, .home .wa-float, .home .split-media,
  .home .hero-media, .home .hero .eyebrow { display: none; }
  .home { padding-bottom: 76px; }

  /* Full-screen photo hero */
  .home .hero {
    background: linear-gradient(180deg, rgba(0,26,56,0) 0%, rgba(0,26,56,0) 55%, rgba(0,26,56,.8) 75%, rgba(0,26,56,.97) 100%),
                url("../images/storefront.jpg") center 30%/cover;
  }
  .home .hero::before { display: none; }
  .home .hero .container {
    min-height: calc(100svh - 70px - 76px - 34px - 40px); display: flex; flex-direction: column; justify-content: flex-end;
    padding-top: 40px; padding-bottom: 28px; gap: 0;
  }
  .home .hero h1 { font-size: 2.5rem; margin-bottom: .35em; }
  .home .hero p.lead { font-size: 1rem; margin-bottom: 22px; color: #e3ebf6; }
  .home .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .home .hero-actions .btn { padding: 13px 8px; font-size: .84rem; white-space: nowrap; gap: 6px; }
  .home .hero-actions .btn svg { width: 18px; height: 18px; }
  .home .hero-badges { margin-top: 22px; gap: 8px; flex-wrap: nowrap; }
  .home .hero-badges div {
    flex: 1; border: 1px solid rgba(242,194,0,.45); border-radius: 12px; padding: 8px 6px; text-align: center;
    background: rgba(0,26,56,.45);
  }
  .home .hero-badges strong { font-size: 1.15rem; }
  .home .hero-badges span { font-size: .68rem; display: block; line-height: 1.25; }

  /* Quick action tiles */
  .m-quick.m-only { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 18px 14px; background: var(--white); border-bottom: 1px solid var(--line); }
  .m-quick a { display: flex; flex-direction: column; align-items: center; gap: 7px; font-size: .78rem; color: var(--navy); font-weight: 500; }
  .m-quick span { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--navy); color: var(--gold); }
  .m-quick span.wa { background: var(--wa); color: var(--white); }
  .m-quick svg { width: 26px; height: 26px; }

  /* Trust badges: compact 2x2 cards */
  .home .strip { background: var(--ivory); border: 0; }
  .home .strip .container { grid-template-columns: 1fr 1fr; gap: 10px; padding: 18px 14px 6px; }
  .home .strip-item { flex-direction: column; text-align: center; gap: 6px; padding: 16px 8px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; }
  .home .strip-item svg { width: 30px; height: 30px; }
  .home .strip-item strong { font-size: 1.05rem; }
  .home .strip-item span { font-size: .76rem; }

  /* Showroom: swipe gallery */
  .home .section { padding: 40px 0; }
  .home .split { gap: 0; }
  .m-gallery.m-only { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -20px 22px; padding: 0 20px 6px; scrollbar-width: none; }
  .m-gallery::-webkit-scrollbar { display: none; }
  .m-gallery img { flex: 0 0 78%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 16px; scroll-snap-align: center; }
  .home .split-text { display: flex; flex-direction: column; }
  .home .split-text h2 { font-size: 1.9rem; }
  .home .checks { margin: 10px 0 22px; gap: 8px; font-size: .92rem; }
  .home .split-text .btn { align-self: stretch; }

  /* Custom order */
  .home .showcase { padding: 56px 0; background-position: center; }
  .home .showcase h2 { font-size: 1.9rem; }
  .home .showcase p { font-size: .95rem; }

  /* Compact footer */
  .home .footer { padding-top: 40px; }
  .home .footer-grid > div:nth-child(2), .home .footer-grid > div:nth-child(3) { display: none; }
  .home .footer-grid { gap: 24px; }
  .home .footer-bottom { margin-top: 30px; }

  /* Sticky bottom bar */
  .m-bar.m-only {
    display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(0,26,56,.97); box-shadow: 0 -8px 24px rgba(0,0,0,.2);
  }
  .m-bar a { display: flex; align-items: center; justify-content: center; gap: 7px; height: 48px; border-radius: 12px; color: var(--gold-soft); font-size: .9rem; font-weight: 500; border: 1px solid rgba(242,194,0,.35); }
  .m-bar a.wa { background: var(--wa); color: var(--white); border: 0; }
  .m-bar svg { width: 20px; height: 20px; }
}

/* =========================================================
   GOLD RATE — header bar + Gold Rate page
   ========================================================= */
.goldbar { background: var(--deep); }
.goldbar .container { justify-content: center; padding-top: 0; padding-bottom: 0; }
.gb { display: flex; align-items: center; gap: 18px; min-height: 38px; color: #dfe7f2; font-size: .84rem; white-space: nowrap; }
.gb:hover .gb-title { text-decoration: underline; }
.gb-title { color: var(--gold); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .76rem; padding-right: 18px; border-right: 1px solid rgba(242,194,0,.35); }
.gb-label { color: var(--gold-soft); font-weight: 500; }
.gb-item { display: inline-flex; align-items: center; gap: 6px; }
.gb-item b { color: var(--white); font-weight: 600; letter-spacing: .02em; }
.gb-unit { color: #9fb2cc; font-size: .76rem; margin-left: -8px; }
.gd { display: inline-flex; align-items: center; gap: 2px; font-weight: 600; font-style: normal; }
.gd svg { flex-shrink: 0; }
.gd--up { color: #2fbf71; }
.gd--down { color: #ff5c5c; }
.gd--flat { color: #9fb2cc; }

.gcards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gcard { position: relative; background: linear-gradient(140deg, var(--navy), var(--deep)); color: var(--white); border-radius: var(--radius); padding: 30px 30px 26px; border: 1px solid rgba(242,194,0,.35); overflow: hidden; }
.gcard::after { content: "★"; position: absolute; right: 22px; top: 14px; color: var(--gold); opacity: .5; font-size: 1.3rem; }
.gcard-k { font-family: var(--serif); font-size: 2rem; color: var(--gold); font-weight: 700; line-height: 1; }
.gcard-k span { font-size: 1.1rem; color: var(--gold-soft); font-weight: 500; }
.gcard-p { margin-top: 14px; font-size: 1.05rem; color: #c9d6e8; }
.gcard-p strong { font-size: 2.3rem; color: var(--white); font-weight: 600; letter-spacing: .01em; }
.gcard-u { font-size: .85rem; color: #9fb2cc; margin: 4px 0 14px; }
.gchip { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.08); font-size: .85rem; font-weight: 600; }
.gupdated { text-align: center; color: var(--muted); font-size: .85rem; margin: 14px 0 34px; }

.gpanel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 26px; }
.gpanel h2 { font-size: 1.9rem; margin: 0 0 6px; }
.gpanel-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.granges { display: inline-flex; background: var(--ivory); border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.granges button { border: 0; background: none; padding: 7px 18px; border-radius: 999px; font: inherit; font-size: .88rem; cursor: pointer; color: var(--ink); }
.granges button.active { background: var(--navy); color: var(--gold); }
.glegend { display: flex; gap: 20px; justify-content: center; margin: 18px 0 4px; font-size: .85rem; color: var(--muted); }
.glegend span::before { content: ""; display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; vertical-align: -1px; }
.glegend .k24::before { background: var(--blue); }
.glegend .k22::before { background: var(--gold-rich); }
.gchart svg { width: 100%; height: auto; display: block; }
.gchart .cg { stroke: var(--line); stroke-width: 1; }
.gchart .cl { font-family: var(--sans); font-size: 11px; fill: var(--muted); }
.gchart .c24 { fill: var(--blue); }
.gchart .c22 { fill: var(--gold-rich); }
.gchart .l24 { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-linejoin: round; }
.gchart .l22 { fill: none; stroke: var(--gold-rich); stroke-width: 2.5; stroke-linejoin: round; stroke-dasharray: 7 5; }
.gchart .d24 { fill: var(--white); stroke: var(--blue); stroke-width: 2; }
.gchart .d22 { fill: var(--white); stroke: var(--gold-rich); stroke-width: 2; }

.gcalc p { color: var(--muted); }
.gcalc-row { display: grid; grid-template-columns: 1fr 1fr 1.3fr; gap: 16px; align-items: end; }
.gcalc-row .field { margin: 0; }
.gcalc-out { background: var(--navy); color: var(--white); border-radius: 10px; padding: 10px 18px; }
.gcalc-out small { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); }
.gcalc-out strong { font-size: 1.35rem; color: var(--gold); }

.gtable-wrap { overflow-x: auto; margin-top: 14px; }
.gtable { width: 100%; border-collapse: collapse; font-size: .95rem; }
.gtable th { background: var(--navy); color: var(--gold); text-align: left; font-weight: 500; padding: 14px 16px; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.gtable th:first-child { border-radius: 10px 0 0 10px; }
.gtable th:last-child { border-radius: 0 10px 10px 0; }
.gtable td { padding: 14px 16px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.gtable td .gd { font-size: .85rem; margin-left: 8px; }
.gtable td .gd--flat { color: var(--muted); }
.gnote { color: var(--muted); font-size: .88rem; text-align: center; max-width: 720px; margin: 10px auto 0; }
.gnote a { color: var(--blue); text-decoration: underline; }

@media (max-width: 860px) {
  .gb-label { display: none; }
}
@media (max-width: 600px) {
  .gb { gap: 12px; font-size: .78rem; min-height: 34px; }
  .gb-title { padding-right: 12px; font-size: .7rem; }
  .gb-unit { display: none; }
  .gcards { grid-template-columns: 1fr; gap: 14px; }
  .gcard { padding: 22px; }
  .gcard-p strong { font-size: 1.9rem; }
  .gpanel { padding: 20px 16px; }
  .gpanel h2 { font-size: 1.5rem; }
  .gcalc-row { grid-template-columns: 1fr 1fr; }
  .gcalc-out { grid-column: span 2; }
  .gtable { font-size: .85rem; }
  .gtable th, .gtable td { padding: 11px 10px; }
  .gtable td .gd { display: flex; margin: 2px 0 0; }
}
@media (max-width: 360px) { .gb-title { display: none; } }

/* =========================================================
   LIVE INTERNATIONAL PRICE — one-line gold bar below header (home)
   ========================================================= */
.spot { background: linear-gradient(90deg, #e9b600, var(--gold) 50%, #e9b600); color: var(--deep); border-bottom: 1px solid #c99a00; }
.spot-inner { display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 44px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.live { display: inline-flex; align-items: center; gap: 6px; background: var(--deep); color: var(--gold); font-weight: 700; font-size: .68rem; letter-spacing: .14em; padding: 3px 9px; border-radius: 999px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .25; } }
.spot-title { font-weight: 600; font-size: .92rem; padding-right: 16px; border-right: 1px solid rgba(0,26,56,.3); }
.spot-short { display: none; }
.spot-price { display: inline-flex; align-items: center; gap: 8px; }
.spot-price strong { font-size: 1.12rem; font-weight: 700; padding: 0 4px; border-radius: 5px; }
.spot-unit { font-size: .74rem; font-weight: 500; opacity: .75; margin-left: -4px; }
.spot-chg { font-weight: 700; font-size: .95rem; }
.spot-arrow { width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; }
.spot--down .spot-arrow { border-top: 9px solid #b3141b; }
.spot--up .spot-arrow { border-bottom: 9px solid #0b6b35; }
.spot--down .spot-chg { color: #b3141b; }
.spot--up .spot-chg { color: #0b6b35; }
.spot--flat .spot-chg { color: var(--navy); }
.flash-up { animation: flashUp 1.2s; }
.flash-down { animation: flashDown 1.2s; }
@keyframes flashUp { 0% { background: rgba(11,107,53,.3); } 100% { background: transparent; } }
@keyframes flashDown { 0% { background: rgba(179,20,27,.28); } 100% { background: transparent; } }
.spot-sel { display: inline-flex; gap: 6px; padding-left: 16px; border-left: 1px solid rgba(0,26,56,.3); }
.spot-sel select {
  appearance: none; -webkit-appearance: none; font: inherit; font-size: .78rem; color: var(--deep); font-weight: 500;
  padding: 3px 22px 3px 9px; border: 1px solid rgba(0,26,56,.35); border-radius: 6px; cursor: pointer;
  background: rgba(255,255,255,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='12' viewBox='0 0 10 14'%3E%3Cpath d='M5 1 1 5h8zM5 13 1 9h8z' fill='%23001a38'/%3E%3C/svg%3E") no-repeat right 7px center;
}
.spot-time { font-size: .74rem; opacity: .7; }
@media (max-width: 900px) {
  .spot-sel, .spot-time { display: none; }
}
@media (max-width: 600px) {
  .spot-inner { gap: 8px; min-height: 40px; padding-left: 12px; padding-right: 12px; }
  .spot-long, .spot-unit { display: none; }
  .spot-short { display: inline; }
  .live { padding: 3px 6px; font-size: 0; gap: 0; }
  .live-dot { width: 8px; height: 8px; }
  .spot-title { font-size: .82rem; padding-right: 8px; }
  .spot-price { gap: 6px; }
  .spot-price strong { font-size: 1rem; }
  .spot-chg { font-size: .82rem; }
  .spot-arrow { border-left-width: 5px; border-right-width: 5px; }
  .spot--down .spot-arrow { border-top-width: 7px; }
  .spot--up .spot-arrow { border-bottom-width: 7px; }
  .home .hero h1, .home .hero p.lead { display: none; }
}
@media (max-width: 360px) { .spot-title { font-size: .74rem; } .spot-chg { font-size: .74rem; } }
