/* =========================================================
   Gold Gem — Dark Blue & Gold theme
   ========================================================= */

:root {
  --navy-950: #040a18;
  --navy-900: #071230;
  --navy-850: #0a1838;
  --navy-800: #0e2048;
  --navy-700: #16306a;
  --navy-600: #1f3f86;
  --line: rgba(212, 175, 55, 0.18);
  --line-soft: rgba(255, 255, 255, 0.08);

  --gold: #d4af37;
  --gold-light: #f3dc8f;
  --gold-deep: #a8832a;
  --gold-grad: linear-gradient(120deg, #a8832a 0%, #f3dc8f 35%, #d4af37 55%, #fff1c1 70%, #b8902e 100%);

  --text: #e9edf7;
  --muted: #9fadc9;
  --whatsapp: #25d366;

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

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.7);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--navy-900);
  background-image:
    radial-gradient(1200px 600px at 85% -10%, rgba(31, 63, 134, .45), transparent 60%),
    radial-gradient(900px 500px at -10% 40%, rgba(22, 48, 106, .35), transparent 60%);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .01em; }
p { margin: 0 0 1em; }
em { font-style: italic; }

.container { width: min(1200px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.gold-text {
  background: var(--gold-grad);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
}
@keyframes shimmer { to { background-position: -250% 0; } }

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .9rem;
  display: inline-flex;
  align-items: center;
  gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  --pad: .85rem 1.6rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: var(--pad);
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: .92rem;
  letter-spacing: .06em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.btn-sm { --pad: .55rem 1.1rem; font-size: .82rem; }
.btn-lg { --pad: 1.05rem 2rem; font-size: 1rem; }
.btn-gold {
  background: var(--gold-grad);
  background-size: 200% 100%;
  color: var(--navy-950);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, .55);
}
.btn-gold:hover { background-position: 100% 0; box-shadow: 0 14px 34px -10px rgba(212, 175, 55, .75); }
.btn-ghost { border-color: rgba(212, 175, 55, .55); color: var(--gold-light); background: rgba(7, 18, 48, .35); }
.btn-ghost:hover { background: rgba(212, 175, 55, .12); border-color: var(--gold); }
.btn-whatsapp { background: var(--whatsapp); color: #062b14; font-weight: 600; }
.btn-whatsapp svg { width: 22px; height: 22px; fill: currentColor; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  transition: background .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.scrolled {
  background: rgba(4, 10, 24, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 600; letter-spacing: .04em; }
.brand-mark { color: var(--gold); font-size: 1.1rem; animation: spin-slow 12s linear infinite; display: inline-block; }
.brand-name em { font-style: italic; color: var(--gold); }
.brand-logo { width: 52px; height: 52px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(212, 175, 55, .55), 0 4px 14px rgba(0, 0, 0, .45); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-tag { font-family: var(--sans, inherit); font-size: .62rem; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); margin-top: .3rem; }
.site-footer .brand-logo { width: 64px; height: 64px; }
@keyframes spin-slow { to { transform: rotateY(360deg); } }

.nav-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 1.6rem; }
.nav-link { font-size: .88rem; letter-spacing: .05em; position: relative; padding: .3rem 0; color: #cfd7ea; transition: color .3s; }
.nav-link::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav-link:hover, .nav-link.active { color: var(--gold-light); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; width: 44px; height: 44px; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--gold); margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 5rem;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; animation: kenburns 22s ease-in-out infinite alternate; }
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 24, .96) 0%, rgba(7, 18, 48, .85) 40%, rgba(7, 18, 48, .35) 75%, rgba(7, 18, 48, .55) 100%),
    linear-gradient(0deg, var(--navy-900) 0%, transparent 25%);
}
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.15) translateX(-2%); } }

.hero-content { max-width: 1200px; }
.hero-title { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 500; line-height: 1.02; margin-bottom: 1.5rem; }
.hero-title .line { display: block; }
.hero-title .word { display: inline-block; opacity: 0; transform: translateY(40px) rotateX(40deg); filter: blur(6px); animation: word-in 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(1) .word:nth-child(1) { animation-delay: .15s; }
.hero-title .line:nth-child(1) .word:nth-child(2) { animation-delay: .3s; }
.hero-title .line:nth-child(2) .word:nth-child(1) { animation-delay: .5s; }
.hero-title .line:nth-child(2) .word:nth-child(2) { animation-delay: .65s; }
.hero-title .gold-text .word { background: var(--gold-grad); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: word-in 1.1s var(--ease) forwards, shimmer 6s linear infinite; }
@keyframes word-in { to { opacity: 1; transform: none; filter: blur(0); } }

.hero-lead { max-width: 560px; font-size: 1.12rem; color: #c9d2e8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 3rem; }
.hero-stats { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 2.5rem; }
.hero-stats li { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 1rem; }
.hero-stats strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; color: var(--gold-light); line-height: 1.1; }
.hero-stats span { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

.scroll-cue { position: absolute; left: 50%; bottom: 1.8rem; width: 26px; height: 42px; border: 1px solid rgba(212, 175, 55, .6); border-radius: 20px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold); animation: scroll-dot 1.8s infinite; }
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* sparkles */
.sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.sparkles i { position: absolute; width: 6px; height: 6px; background: var(--gold-light); clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); opacity: 0; animation: twinkle 4s ease-in-out infinite; }
.sparkles i:nth-child(1) { top: 18%; left: 62%; animation-delay: .2s; width: 10px; height: 10px; }
.sparkles i:nth-child(2) { top: 34%; left: 78%; animation-delay: 1.4s; }
.sparkles i:nth-child(3) { top: 62%; left: 70%; animation-delay: 2.1s; width: 12px; height: 12px; }
.sparkles i:nth-child(4) { top: 24%; left: 90%; animation-delay: 3s; }
.sparkles i:nth-child(5) { top: 74%; left: 86%; animation-delay: .9s; width: 9px; height: 9px; }
.sparkles i:nth-child(6) { top: 46%; left: 58%; animation-delay: 2.6s; }
.sparkles i:nth-child(7) { top: 12%; left: 40%; animation-delay: 1.8s; }
.sparkles i:nth-child(8) { top: 82%; left: 52%; animation-delay: 3.4s; width: 8px; height: 8px; }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.3) rotate(0); } 50% { opacity: 1; transform: scale(1) rotate(90deg); } }

/* ---------- Trust strip ---------- */
.trust { border-block: 1px solid var(--line); background: rgba(4, 10, 24, .55); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { display: flex; align-items: center; gap: 1rem; padding: 1.6rem 1rem; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
.trust-icon { font-size: 1.5rem; color: var(--gold); width: 48px; height: 48px; flex: none; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; }
.trust-item p { margin: 0; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.trust-item strong { display: block; color: var(--text); font-weight: 500; font-size: .95rem; }

/* ---------- Sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-950) 0%, var(--navy-850) 100%); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section-head-left { text-align: left; margin: 0 0 2rem; }
.section-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 500; }
.section-lead { color: var(--muted); font-size: 1.05rem; }
.sub-title { font-size: 1.9rem; margin-bottom: .2rem; }

/* ---------- Gem cards ---------- */
.gem-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.gem-card {
  background: linear-gradient(180deg, rgba(14, 32, 72, .9), rgba(7, 18, 48, .95));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.gem-card:hover { transform: translateY(-8px); border-color: rgba(212, 175, 55, .55); box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .8), 0 0 0 1px rgba(212, 175, 55, .15); }
.gem-media { position: relative; aspect-ratio: 4 / 3.3; overflow: hidden; }
.gem-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gem-card:hover .gem-media img { transform: scale(1.08); }
.gem-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 18, 48, .7), transparent 50%); }
.gem-tag { position: absolute; top: 1rem; left: 1rem; z-index: 1; display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .8rem; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; border-radius: 999px; background: rgba(4, 10, 24, .75); backdrop-filter: blur(6px); border: 1px solid var(--line); }
.gem-tag::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--chip); box-shadow: 0 0 10px var(--chip); }
.gem-body { padding: 1.6rem 1.6rem 1.8rem; display: flex; flex-direction: column; flex: 1; }
.gem-body h3 { font-size: 1.9rem; margin-bottom: .1rem; }
.gem-sub { color: var(--gold); font-family: var(--serif); font-style: italic; font-size: 1.1rem; margin-bottom: .7rem; }
.gem-body > p:not(.gem-sub):not(.gem-price) { color: var(--muted); font-size: .95rem; }
.gem-price { margin-top: auto; font-size: .9rem; color: var(--muted); }
.gem-price strong { color: var(--gold-light); font-weight: 500; font-size: 1.1rem; }
.gem-actions { display: flex; gap: .7rem; flex-wrap: wrap; }

.gem-card-cta { justify-content: center; text-align: center; background: radial-gradient(circle at 50% 30%, rgba(212, 175, 55, .16), transparent 60%), linear-gradient(180deg, var(--navy-800), var(--navy-900)); border-style: dashed; }
.gem-card-cta .gem-body { justify-content: center; align-items: center; }
.gem-card-cta p { color: var(--muted); }
.cta-icon { font-size: 3.2rem; color: var(--gold); line-height: 1; margin-bottom: 1rem; display: inline-block; animation: float 4s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px) rotate(8deg); } }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; }
.filter-bar-left { margin-bottom: 1.2rem; }
.chip-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .45rem .95rem; border-radius: 999px;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .03);
  color: var(--text); font: inherit; font-size: .82rem; cursor: pointer;
  transition: border-color .3s, background .3s, color .3s;
}
.chip i { width: 11px; height: 11px; border-radius: 50%; background: var(--chip, var(--gold-grad)); }
.chip:hover { border-color: rgba(212, 175, 55, .5); }
.chip.active { border-color: var(--gold); background: rgba(212, 175, 55, .14); color: var(--gold-light); }
.chip:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

.select-wrap select,
.field input, .field select, .field textarea,
.inline-form input {
  width: 100%;
  font: inherit;
  font-size: .92rem;
  color: var(--text);
  background: rgba(4, 10, 24, .6);
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  padding: .7rem .9rem;
  transition: border-color .3s, box-shadow .3s;
}
.select-wrap select { border-radius: 999px; padding: .5rem 1rem; }
select option { background: var(--navy-900); }
.field input:focus, .field select:focus, .field textarea:focus, .inline-form input:focus, .select-wrap select:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212, 175, 55, .15);
}
::placeholder { color: #6c7a99; }

/* More gems */
.more-gems { margin-top: 4rem; padding: 2.2rem; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(4, 10, 24, .45); }
.more-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.2rem; margin-bottom: 1.6rem; }
.mini-gem-list { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1rem; }
.mini-gem {
  display: flex; flex-direction: column; gap: .4rem; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(22, 48, 106, .35), rgba(7, 18, 48, .4));
  animation: pop-in .5s var(--ease) both;
}
.mini-gem header { display: flex; align-items: center; gap: .7rem; }
.mini-gem .swatch { width: 26px; height: 26px; flex: none; transform: rotate(45deg); border-radius: 4px; background: var(--chip); box-shadow: 0 0 16px -2px var(--chip), inset 0 0 6px rgba(255, 255, 255, .5); }
.mini-gem h4 { font-size: 1.25rem; margin: 0; }
.mini-gem p { margin: 0; font-size: .84rem; color: var(--muted); }
.mini-gem .price { color: var(--gold-light); font-size: .88rem; }
.mini-gem a { margin-top: .4rem; align-self: flex-start; font-size: .82rem; color: var(--gold); border-bottom: 1px solid currentColor; }
.empty-note { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 1.5rem; border: 1px dashed var(--line); border-radius: var(--radius); }
@keyframes pop-in { from { opacity: 0; transform: translateY(12px) scale(.97); } }

.request-gem label { display: block; margin-bottom: .6rem; color: var(--gold-light); font-family: var(--serif); font-size: 1.25rem; }
.inline-form { display: flex; gap: .7rem; flex-wrap: wrap; }
.inline-form input { flex: 1 1 260px; border-radius: 999px; padding: .8rem 1.2rem; }

/* ---------- Custom jewelry ---------- */
.custom-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 3.5rem; }
.custom-gallery figure { margin: 0; position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.custom-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.custom-gallery figure:hover img { transform: scale(1.07); }
.custom-gallery figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; font-family: var(--serif); font-size: 1.2rem; background: linear-gradient(0deg, rgba(4, 10, 24, .92), transparent); }

.builder { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 2rem; align-items: start; }
.builder-steps { display: flex; flex-direction: column; gap: 1.5rem; }
.step { margin: 0; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem 1.6rem 1.8rem; background: rgba(7, 18, 48, .6); min-width: 0; }
.step legend { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; padding: 0 .6rem; display: flex; align-items: center; gap: .7rem; }
.step-no { font-family: var(--sans); font-size: .75rem; letter-spacing: .1em; color: var(--navy-950); background: var(--gold-grad); border-radius: 999px; padding: .2rem .6rem; }

.option-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .8rem; }
.gem-options { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.option { position: relative; }
.option input { position: absolute; opacity: 0; pointer-events: none; }
.option label {
  display: flex; flex-direction: column; gap: .25rem; height: 100%;
  padding: 1rem; border-radius: var(--radius); cursor: pointer;
  border: 1px solid var(--line-soft); background: rgba(255, 255, 255, .02);
  transition: border-color .3s, background .3s, transform .3s var(--ease);
}
.option label:hover { border-color: rgba(212, 175, 55, .45); transform: translateY(-2px); }
.option input:checked + label { border-color: var(--gold); background: rgba(212, 175, 55, .1); box-shadow: inset 0 0 0 1px var(--gold); }
.option input:focus-visible + label { outline: 2px solid var(--gold-light); outline-offset: 2px; }
.option .o-icon { font-size: 1.5rem; color: var(--gold); line-height: 1; }
.option .o-name { font-weight: 500; font-size: .95rem; }
.option .o-meta { font-size: .78rem; color: var(--muted); }
.option .o-swatch { width: 22px; height: 22px; border-radius: 50%; background: var(--chip); box-shadow: 0 0 12px -2px var(--chip), inset 0 0 5px rgba(255, 255, 255, .5); margin-bottom: .2rem; }
.option .o-diamond { width: 20px; height: 20px; transform: rotate(45deg); border-radius: 3px; margin: 4px 0 .35rem 4px; background: var(--chip); box-shadow: 0 0 14px -2px var(--chip), inset 0 0 6px rgba(255, 255, 255, .5); }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.5rem; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > span { font-size: .84rem; color: var(--muted); letter-spacing: .03em; display: flex; justify-content: space-between; }
.field output { color: var(--gold-light); font-weight: 500; }
.field-wide { grid-column: 1 / -1; }
.field textarea { resize: vertical; }
input[type="range"] { -webkit-appearance: none; appearance: none; padding: 0 !important; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--fill, 11%), rgba(255, 255, 255, .12) var(--fill, 11%)) !important; border: 0 !important; margin-top: .8rem; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 20px; height: 20px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--navy-900); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--gold-light); border: 3px solid var(--navy-900); box-shadow: 0 0 0 1px var(--gold); cursor: pointer; }

/* summary */
.summary { position: sticky; top: calc(var(--header-h) + 1rem); }
.summary-inner { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; background: linear-gradient(180deg, var(--navy-800), var(--navy-950)); box-shadow: var(--shadow); }
.summary-visual, .portfolio-visual {
  position: relative; height: 150px; display: grid; place-items: center; margin: .3rem 0 1.2rem;
  border-radius: var(--radius); background: radial-gradient(circle at 50% 45%, rgba(31, 63, 134, .6), transparent 70%);
}
.sv-metal { position: absolute; width: 92px; height: 92px; border-radius: 50%; border: 9px solid var(--metal, #d4af37); top: 50%; left: 50%; transform: translate(-50%, -28%); box-shadow: inset 0 0 8px rgba(0, 0, 0, .5), 0 6px 20px rgba(0, 0, 0, .5); transition: border-color .5s; }
.sv-gem { position: absolute; top: 50%; left: 50%; width: calc(26px + var(--size, 1) * 6px); height: calc(26px + var(--size, 1) * 6px); transform: translate(-50%, -110%) rotate(45deg); border-radius: 5px; background: var(--gemc, #2a5bd7); box-shadow: 0 0 24px -2px var(--gemc, #2a5bd7), inset 0 0 10px rgba(255, 255, 255, .6), inset -6px -6px 12px rgba(0, 0, 0, .35); border: 3px solid var(--metal, #d4af37); transition: all .5s var(--ease); animation: gem-glow 3s ease-in-out infinite; }
@keyframes gem-glow { 50% { filter: brightness(1.25); } }
.summary-list { margin: 0 0 1.2rem; display: grid; gap: .55rem; }
.summary-list div { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; border-bottom: 1px dashed var(--line-soft); padding-bottom: .45rem; }
.summary-list dt { color: var(--muted); }
.summary-list dd { margin: 0; text-align: right; font-weight: 400; }
.summary-price { display: flex; flex-direction: column; gap: .2rem; }
.summary-price span { font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.summary-price strong { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; color: var(--gold-light); line-height: 1.2; }
.summary-price small { color: var(--muted); font-size: .76rem; }

/* portfolio */
.portfolio { margin-top: 3rem; animation: pop-in .8s var(--ease) both; }
.portfolio-card {
  position: relative; border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 3rem);
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950));
  border: 1px solid var(--gold); box-shadow: 0 0 0 6px rgba(212, 175, 55, .06), var(--shadow);
}
.portfolio-card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line); border-radius: calc(var(--radius-lg) - 8px); pointer-events: none; }
.portfolio-head { display: flex; justify-content: space-between; gap: 2rem; align-items: center; flex-wrap: wrap; margin-bottom: 1.5rem; }
.portfolio-head h3 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 0; }
.portfolio-visual { width: 200px; height: 170px; margin: 0; }
.pf-specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; margin: 0 0 2rem; }
.pf-specs div { padding: .9rem 1rem; border: 1px solid var(--line-soft); border-radius: var(--radius); background: rgba(4, 10, 24, .4); }
.pf-specs dt { font-size: .72rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold); margin-bottom: .2rem; }
.pf-specs dd { margin: 0; font-size: .98rem; }
.pf-quote { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-start; padding: 1.4rem 0; border-block: 1px solid var(--line); margin-bottom: 1.6rem; }
.pf-quote span { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; color: var(--gold); }
.pf-quote strong { font-family: var(--serif); font-size: clamp(1.8rem, 4vw, 2.4rem); color: var(--gold-light); font-weight: 600; }
.pf-breakdown { list-style: none; margin: 0; padding: 0; font-size: .88rem; color: var(--muted); min-width: 240px; }
.pf-breakdown li { display: flex; justify-content: space-between; gap: 1.5rem; padding: .2rem 0; }
.pf-breakdown li span { color: var(--text); }
.pf-link { margin-bottom: 1.6rem; }
.pf-link label { display: block; font-size: .84rem; color: var(--muted); margin-bottom: .5rem; }
.pf-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Trade ---------- */
.trade-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.trade-media { position: relative; padding-bottom: 3rem; }
.trade-media img { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 85%; border: 1px solid var(--line); box-shadow: var(--shadow); }
.trade-media .trade-media-small { position: absolute; right: 0; bottom: 0; width: 48%; aspect-ratio: 1; border: 6px solid var(--navy-900); animation: float 7s ease-in-out infinite; }
.trade-points { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .8rem; }
.trade-points li { padding-left: 1.8rem; position: relative; color: var(--muted); }
.trade-points li::before { content: "◆"; position: absolute; left: 0; top: .1rem; color: var(--gold); font-size: .8rem; }
.trade-points strong { color: var(--text); font-weight: 500; }
.trade-form { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 1.6rem; background: rgba(4, 10, 24, .5); }

/* ---------- Rough story ---------- */
.rough { overflow: hidden; isolation: isolate; }
.rough-bg { position: absolute; inset: 0; z-index: -1; opacity: .16; }
.rough-bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.rough-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--navy-950), transparent 30%, transparent 70%, var(--navy-850)); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.timeline li {
  position: relative; padding: 2rem 1.7rem 1.8rem; border-radius: var(--radius-lg);
  background: rgba(7, 18, 48, .75); border: 1px solid var(--line); backdrop-filter: blur(4px);
  transition: transform .5s var(--ease), border-color .5s;
}
.timeline li:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, .5); }
.tl-no { font-family: var(--serif); font-size: 3.2rem; font-weight: 700; line-height: 1; display: block; margin-bottom: .6rem; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.timeline h3 { font-size: 1.55rem; }
.timeline p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- Articles ---------- */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.article { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(14, 32, 72, .7), rgba(7, 18, 48, .9)); display: flex; flex-direction: column; transition: transform .5s var(--ease), border-color .5s; }
.article:hover { transform: translateY(-6px); border-color: rgba(212, 175, 55, .5); }
.article img { aspect-ratio: 16 / 8; object-fit: cover; width: 100%; }
.article-body { padding: 1.8rem 1.9rem 1.6rem; }
.article-tag { font-size: .72rem; letter-spacing: .24em; text-transform: uppercase; color: var(--gold); margin-bottom: .4rem; }
.article h3 { font-size: 1.85rem; }
.article p:not(.article-tag) { color: #bcc6dd; font-size: .95rem; }

/* ---------- Contact CTA ---------- */
.contact-cta { padding: clamp(4.5rem, 9vw, 7rem) 0; background: radial-gradient(800px 400px at 50% 0%, rgba(212, 175, 55, .12), transparent 70%), var(--navy-950); border-top: 1px solid var(--line); text-align: center; }
.contact-inner { max-width: 720px; }
.contact-form { margin-top: 2rem; text-align: left; }
.contact-or { margin: 1.8rem 0 1rem; color: var(--muted); font-size: .85rem; letter-spacing: .12em; text-transform: uppercase; }
.footer-contact a { color: var(--gold-light); }

/* ---------- Jewelry products & social ---------- */
.product-card .gem-media { aspect-ratio: 1; }
.product-card .gem-body h3 { font-size: 1.6rem; }
.product-card .gem-sub { font-size: 1rem; }
.product-card .gem-price { margin-bottom: 1rem; }
.social-links { list-style: none; margin: 0; padding: 0; display: flex; justify-content: center; gap: .8rem; }
.social-links a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(212, 175, 55, .55); color: var(--gold-light); transition: background .3s, color .3s, transform .3s; }
.social-links a:hover { background: var(--gold); color: var(--navy-950); transform: translateY(-2px); }
.social-links svg { width: 20px; height: 20px; fill: currentColor; }
.social-links svg.stroke { fill: none; stroke: currentColor; stroke-width: 1.8; }
.social-links svg.stroke circle:last-child { fill: currentColor; }

.footer-contact { margin-top: .8rem; word-break: break-word; }

/* ---------- Footer ---------- */
.site-footer { background: #030814; padding: 3.5rem 0 1.5rem; border-top: 1px solid var(--line); font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.site-footer h4 { font-size: 1.25rem; color: var(--gold-light); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; color: var(--muted); }
.site-footer a:hover { color: var(--gold-light); }
.site-footer .brand { margin-bottom: .8rem; }
.copyright { border-top: 1px solid var(--line-soft); padding-top: 1.3rem; color: #6c7a99; font-size: .8rem; text-align: center; }

/* ---------- Floating WhatsApp & toast ---------- */
.wa-float { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 60; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--whatsapp); color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6); transition: transform .3s var(--ease); }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--whatsapp); animation: ping 2.2s ease-out infinite; }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }
.wa-float:hover { transform: scale(1.08); }
@keyframes ping { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

.toast { position: fixed; left: 50%; bottom: 2rem; z-index: 70; transform: translate(-50%, 150%); padding: .8rem 1.4rem; border-radius: 999px; background: var(--navy-800); border: 1px solid var(--gold); color: var(--gold-light); font-size: .9rem; transition: transform .45s var(--ease); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-menu { gap: 1.1rem; }
  .nav-link { font-size: .8rem; }
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; order: -1; }
  .summary-inner { display: grid; grid-template-columns: 180px 1fr; gap: 0 1.5rem; align-items: center; }
  .summary-inner .eyebrow { grid-column: 1 / -1; }
  .summary-visual { grid-row: span 2; margin: 0; }
}

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1rem 1.25rem 1.5rem; background: rgba(4, 10, 24, .97); border-bottom: 1px solid var(--line);
    transform: translateY(-120%); opacity: 0; transition: transform .45s var(--ease), opacity .3s; pointer-events: none;
  }
  .nav-menu.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-menu li { border-bottom: 1px solid var(--line-soft); }
  .nav-menu li:last-child { border: 0; padding-top: 1rem; }
  .nav-link { display: block; padding: .9rem 0; font-size: 1rem; }
  .nav-menu .btn { width: 100%; }
  .site-header { background: rgba(4, 10, 24, .85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

  .gem-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(3) { border-left: 0; }
  .custom-gallery { grid-template-columns: repeat(2, 1fr); }
  .trade-grid { grid-template-columns: 1fr; }
  .trade-media { max-width: 520px; margin-inline: auto; }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand { font-size: 1.4rem; }
  .brand-logo { width: 44px; height: 44px; }
  .hero-stats { gap: 1.4rem; }
  .hero-stats strong { font-size: 1.7rem; }
  .gem-grid, .timeline, .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .field-grid { grid-template-columns: 1fr; }
  .summary-inner { display: block; }
  .summary-visual { margin: .3rem 0 1.2rem; }
  .more-gems { padding: 1.4rem; }
  .step { padding: 1.2rem 1.1rem 1.4rem; }
  .option-grid { grid-template-columns: repeat(2, 1fr); }
  .gem-options { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .portfolio-visual { width: 100%; }
  .wa-float { width: 54px; height: 54px; right: 1rem; bottom: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
  .reveal, .hero-title .word { opacity: 1; transform: none; filter: none; }
}
