/* ============================================================
   Sahyog Diamond — Stylesheet
   Brand tokens derived from the logo (navy / royal blue / sky blue).
   ============================================================ */

:root {
  /* Brand palette */
  --color-navy: #1B3C8C;
  --color-royal: #2C5FA8;
  --color-sky: #5FB6E8;
  --color-ice-white: #F7FAFD;
  --color-white: #FFFFFF;
  --color-ink: #1A2233;

  --gradient-brand: linear-gradient(120deg, var(--color-navy) 0%, var(--color-royal) 55%, var(--color-sky) 100%);
  --gradient-brand-soft: linear-gradient(120deg, rgba(27,60,140,0.08) 0%, rgba(95,182,232,0.10) 100%);

  /* Type */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --max-width: 1200px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-soft: 0 12px 32px rgba(27,60,140,0.10);
  --shadow-card: 0 6px 20px rgba(27,60,140,0.08);

  --header-h: 112px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0 0 0.5em; color: var(--color-navy); }
p { margin: 0 0 1em; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } }

.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--color-navy); color: #fff;
  padding: 12px 20px; z-index: 200; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 3px solid var(--color-sky);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-royal);
  margin-bottom: 0.6em;
}
.eyebrow.light { color: var(--color-sky); }
.center { text-align: center; }
.section-sub { max-width: 640px; margin: 0 auto 2.5rem; color: #4a5468; }
.section-sub.center { margin-left: auto; margin-right: auto; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 30px; border-radius: 999px; font-weight: 600; font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.3s ease;
  border: 2px solid transparent; cursor: pointer;
}
.btn-primary {
  background: var(--gradient-brand); color: #fff; background-size: 160% 160%; background-position: 0% 50%;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover { background-position: 100% 50%; transform: translateY(-2px); }
/* In the hero the brand gradient is also the background, so the gradient button
   disappears into it (1.08:1). Solid white gives 10.14:1 text contrast and
   5.89:1 against the hero. Scoped to .hero so the contact/popup submit buttons
   keep the gradient. */
.hero .btn-primary {
  background-color: #FFFFFF;
  background-image: none;
  color: var(--color-navy);
}
.hero .btn-primary:hover {
  background-color: #F0F4FA;
  background-image: none;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent; border-color: rgba(255,255,255,0.55); color: #fff;
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }
.hero + .section .btn-ghost,
.contact .btn-ghost { border-color: var(--color-navy); color: var(--color-navy); }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,60,140,0.08);
  transition: box-shadow 0.3s ease;
  height: var(--header-h);
  display: flex; align-items: center;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(27,60,140,0.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; width: 100%; }
.brand-logo { height: 104px; width: auto; display: block; }
@media (max-width: 640px) { .brand-logo { height: 84px; } }

.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-weight: 600; font-size: 0.95rem; color: var(--color-ink); position: relative; padding: 6px 0;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--gradient-brand); transition: width 0.25s ease;
}
.main-nav a:hover::after, .main-nav a:focus-visible::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--color-navy); }

.header-actions { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--color-navy); }
.header-phone span { white-space: nowrap; }
.header-whatsapp { display: flex; color: #25D366; }
.header-whatsapp:hover { opacity: 0.8; }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-navy); transition: transform 0.25s ease, opacity 0.25s ease; }
.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); }

@media (max-width: 900px) {
  .main-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
    background: var(--color-white); z-index: 150;
    transform: translateX(100%); transition: transform 0.3s ease; overflow-y: auto;
    padding: 32px 24px;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav ul { flex-direction: column; gap: 8px; }
  .main-nav a { display: block; padding: 14px 8px; font-size: 1.1rem; border-bottom: 1px solid rgba(27,60,140,0.08); }
  .header-phone span { display: none; }
  .nav-toggle { display: flex; }
}

/* ============ HERO ============ */
.hero {
  position: relative; overflow: hidden;
  background: var(--gradient-brand);
  color: #fff;
  padding: 140px 0 100px;
  isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.55; mix-blend-mode: luminosity;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(27,60,140,0.92) 0%, rgba(44,95,168,0.85) 55%, rgba(95,182,232,0.55) 100%);
}
@keyframes heroZoom {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-1%, -1%); }
}
.hero-facets { position: absolute; inset: 0; z-index: -1; opacity: 0.18; }
.facet { position: absolute; color: #fff; animation: facetDrift 16s ease-in-out infinite alternate; }
.facet-a { width: 520px; height: 520px; top: -120px; right: -140px; }
.facet-b { width: 340px; height: 340px; bottom: -100px; left: -80px; opacity: 0.7; animation-duration: 20s; animation-delay: -4s; }
@keyframes facetDrift {
  from { transform: rotate(0deg) translateY(0); }
  to { transform: rotate(6deg) translateY(-14px); }
}
@media (max-width: 640px) { .facet-a { width: 340px; height: 340px; } .facet-b { width: 220px; height: 220px; } }

.hero-sparkles { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.spark {
  position: absolute; width: 5px; height: 5px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 8px 2px rgba(255,255,255,0.8);
  opacity: 0; animation: sparkle 4.5s ease-in-out infinite;
}
.s1 { top: 18%; left: 12%; animation-delay: 0s; }
.s2 { top: 62%; left: 22%; animation-delay: 1.1s; }
.s3 { top: 30%; left: 82%; animation-delay: 2.2s; }
.s4 { top: 75%; left: 70%; animation-delay: 0.6s; }
.s5 { top: 46%; left: 48%; animation-delay: 3s; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 1; transform: scale(1.4); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-bg img, .hero-bg video, .facet, .spark { animation: none; }
}

.hero-inner { max-width: 760px; }
.hero h1 {
  color: #fff; font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 600; margin-bottom: 0.4em;
}
.hero .eyebrow { color: rgba(255,255,255,0.85); }
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.88); max-width: 600px; margin-bottom: 2em; }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 3.5rem; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.25); }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: #fff; }
.hero-stats dd { margin: 0; font-size: 0.85rem; color: rgba(255,255,255,0.8); }

/* ============ TICKER ============ */
.ticker {
  background: var(--color-navy); overflow: hidden; white-space: nowrap;
  padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ticker-track {
  display: inline-flex; align-items: center; gap: 14px;
  animation: tickerScroll 30s linear infinite;
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; color: rgba(255,255,255,0.85);
}
.ticker-track span { flex-shrink: 0; }
.ticker-dot { color: var(--color-sky); font-size: 0.6rem; }
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; overflow-x: auto; }
}

/* ============ ABOUT ============ */
.about-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }

.facet-mask {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  aspect-ratio: 1 / 1; overflow: hidden; background: var(--gradient-brand-soft);
  position: relative;
}
.facet-mask picture, .facility-photo picture, .product-banner picture, .inventory-photo picture {
  display: block; width: 100%; height: 100%;
}
.facet-mask img {
  width: 100%; height: 100%; object-fit: cover;
  animation: facetBreathe 10s ease-in-out infinite;
}
.facet-mask::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(140deg, rgba(27,60,140,0.18), transparent 60%);
  pointer-events: none;
}
@keyframes facetBreathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .facet-mask img { animation: none; } }

.section h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section h2.center { max-width: 640px; margin-left: auto; margin-right: auto; }
.trust-points { margin-top: 1.5rem; display: flex; flex-direction: column; gap: 12px; }
.trust-points li, .hub-list li { display: flex; gap: 10px; align-items: flex-start; color: #333d52; }
.tp-icon { color: var(--color-sky); flex-shrink: 0; margin-top: 2px; }

/* ============ WHY CHOOSE ============ */
.why-heading { max-width: 640px; margin: 0 auto 3.5rem; text-align: center; }
.why-heading .section-sub { color: var(--color-royal); font-weight: 600; margin-top: 0.6em !important; }

/* Three featured pillars — the primary differentiators, given room to breathe */
.why-featured {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: rgba(27,60,140,0.1); border: 1px solid rgba(27,60,140,0.1);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 4px;
}
@media (max-width: 780px) { .why-featured { grid-template-columns: 1fr; } }

.why-pillar {
  background: var(--color-white); padding: 44px 32px; position: relative;
  transition: background 0.25s ease;
}
.why-pillar:hover { background: var(--gradient-brand-soft); }
.why-pillar-num {
  display: block; font-family: var(--font-display); font-size: 0.95rem; font-weight: 700;
  color: var(--color-sky); letter-spacing: 0.08em; margin-bottom: 20px;
}
.why-pillar-icon { width: 40px; height: 40px; color: var(--color-navy); margin-bottom: 18px; }
.why-pillar h3 { font-size: 1.3rem; margin-bottom: 0.4em; }
.why-pillar p { font-size: 0.95rem; color: #4a5468; margin: 0; }

/* Remaining differentiators — compact, secondary rhythm */
.why-list {
  display: grid; grid-template-columns: 1fr 1fr; margin-top: 56px;
  border-top: 1px solid rgba(27,60,140,0.12);
}
@media (max-width: 780px) { .why-list { grid-template-columns: 1fr; } }

.why-list-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 26px 8px;
  border-bottom: 1px solid rgba(27,60,140,0.12);
}
.why-list-item:nth-child(odd) { border-right: 1px solid rgba(27,60,140,0.12); padding-right: 32px; }
.why-list-item:nth-child(even) { padding-left: 32px; }
@media (max-width: 780px) {
  .why-list-item:nth-child(odd) { border-right: none; padding-right: 8px; }
  .why-list-item:nth-child(even) { padding-left: 8px; }
}
.why-list-icon { width: 30px; height: 30px; color: var(--color-royal); flex-shrink: 0; margin-top: 2px; }
.why-list-item h3 { font-size: 1.05rem; margin-bottom: 0.3em; }
.why-list-item p { font-size: 0.9rem; color: #4a5468; margin: 0; }

/* ============ FACILITY GALLERY ============ */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 3rem; }
.facility-photo {
  margin: 0; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-card);
  aspect-ratio: 3 / 4; transition: opacity 0.6s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.facility-photo:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.facility-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.facility-photo:hover img { transform: scale(1.06); }
/* 5 photos: the last one spans 2 columns so the grid fills exactly
   (3+3 at desktop, 2+2+2 at tablet) with no orphan in the final row. */
.facility-photo:last-child { grid-column: span 2; aspect-ratio: 3 / 2; }
@media (max-width: 780px) {
  .facility-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .facility-grid { grid-template-columns: 1fr; }
  .facility-photo { aspect-ratio: 4 / 3; }
  .facility-photo:last-child { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ============ PRODUCTS / SHAPES ============ */
.products { padding-top: 0; }
.products .container { padding-top: 64px; }
.product-banner {
  position: relative; height: 260px; margin-bottom: 64px; overflow: hidden;
  clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
}
.product-banner img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  animation: bannerPan 18s ease-in-out infinite alternate;
}
.product-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(27,60,140,0.85) 0%, rgba(27,60,140,0.15) 60%);
}
@keyframes bannerPan {
  from { transform: scale(1.06) translateX(0); }
  to { transform: scale(1.14) translateX(-2%); }
}
@media (max-width: 640px) { .product-banner { height: 180px; } }
@media (prefers-reduced-motion: reduce) { .product-banner img { animation: none; } }
.shape-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .shape-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .shape-grid { grid-template-columns: repeat(2, 1fr); } }

.shape-card {
  text-align: center; padding: 28px 16px; border-radius: var(--radius-md);
  background: var(--color-ice-white); transition: background 0.25s ease, transform 0.25s ease, opacity 0.6s ease;
}
.shape-card:hover { background: var(--gradient-brand-soft); transform: translateY(-4px); }
.shape-card:hover .shape-icon { transform: scale(1.15) rotate(8deg); color: var(--color-royal); }
.shape-icon { width: 56px; height: 56px; color: var(--color-navy); margin: 0 auto 14px; transition: transform 0.3s ease, color 0.3s ease; }

.shape-photo {
  width: 140px; height: 140px; margin: 0 auto 14px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; padding: 22px;
  background: var(--gradient-brand-soft);
  box-shadow: inset 0 0 0 3px var(--color-white), 0 4px 14px rgba(27,60,140,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.shape-photo img { width: 100%; height: 100%; object-fit: contain; }
.shape-card:hover .shape-photo { transform: scale(1.08); box-shadow: inset 0 0 0 3px var(--color-white), 0 8px 20px rgba(27,60,140,0.2); }
@media (max-width: 900px) { .shape-photo { width: 110px; height: 110px; padding: 18px; } }
@media (max-width: 640px) { .shape-photo { width: 96px; height: 96px; padding: 16px; } }
.shape-card h3 { font-size: 1.1rem; margin-bottom: 0.3em; }
.shape-card p { font-size: 0.85rem; color: #5a6478; margin: 0; }

/* ============ CARAT RANGE VISUAL ============ */
/* ---- grades & colours shown on the products page ---- */
.spec-showcase {
  margin-top: 5rem;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 44px;
  background: var(--color-ice-white); border-radius: var(--radius-lg); padding: 40px;
}
@media (max-width: 780px) { .spec-showcase { grid-template-columns: 1fr; gap: 32px; padding: 32px 24px; } }
.spec-showcase-group h3 {
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-royal);
  margin-bottom: 4px;
}
.spec-showcase-group p { font-size: 0.85rem; color: #5a6478; margin: 0 0 16px; }
.spec-pill-set { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
/* pills only look interactive when they actually are links */
a.spec-pill { cursor: pointer; transition: border-color 0.15s ease, background 0.15s ease; }
a.spec-pill:hover { border-color: var(--color-sky); background: var(--gradient-brand-soft); }
a.spec-pill:focus-visible { outline: 2px solid var(--color-sky); outline-offset: 2px; }

.carat-range {
  margin-top: 5rem; display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 48px; align-items: center;
  background: var(--gradient-brand-soft); border-radius: var(--radius-lg); padding: 40px;
}
@media (max-width: 780px) { .carat-range { grid-template-columns: 1fr; padding: 32px 24px; } }
.carat-range-copy h3 {
  font-family: var(--font-body); font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800;
  letter-spacing: -0.01em; margin-bottom: 0.3em;
}
.carat-range-copy p { color: #4a5468; margin: 0; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.06em; }

.carat-range-visual { position: relative; height: 140px; }
.carat-wave { position: absolute; inset: 0; width: 100%; height: 100%; }
.carat-wave path { stroke-dasharray: 10 6; animation: waveFlow 5s linear infinite; }
@keyframes waveFlow { to { stroke-dashoffset: -160; } }

.carat-diamonds {
  position: absolute; bottom: 4px; left: 0; right: 0;
  display: flex; align-items: flex-end; justify-content: space-between; padding: 0 4px;
}
.carat-dot {
  display: block; width: calc(16px * var(--s)); height: calc(16px * var(--s));
  background: linear-gradient(145deg, #ffffff, var(--color-sky) 70%, var(--color-royal));
  clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%);
  box-shadow: 0 3px 8px rgba(27,60,140,0.25);
  animation: caratBob 3.2s ease-in-out infinite;
}
.carat-dot:nth-child(odd) { animation-delay: -1s; }
.carat-dot:nth-child(3n) { animation-delay: -2s; }
@keyframes caratBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@media (prefers-reduced-motion: reduce) {
  .carat-wave path, .carat-dot { animation: none; }
}

/* ============ STAT PRIMITIVES ============ */
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 3rem; text-align: center;
}
@media (max-width: 780px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--color-navy); }
.stat-num.big { font-size: 4rem; }
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: #5a6478; }

/* ============ INVENTORY HIGHLIGHT ============ */
.inventory-highlight { background: var(--color-ice-white); overflow: hidden; }
.inventory-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .inventory-grid { grid-template-columns: 1fr; gap: 40px; } }

.inventory-hero-stat { margin: 1.5rem 0 2rem; display: flex; flex-direction: column; }
.inventory-hero-stat .stat-num.big {
  background: var(--gradient-brand); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-size: clamp(2.6rem, 5vw, 4.2rem);
}
.stat-grid-mini { grid-template-columns: repeat(3, 1fr); text-align: left; gap: 20px; margin-top: 0; }
.stat-grid-mini .stat-num { font-size: 1.9rem; }
@media (max-width: 560px) { .stat-grid-mini { grid-template-columns: 1fr 1fr; } }

.inventory-photos { position: relative; height: 420px; }
@media (max-width: 640px) { .inventory-photos { height: 320px; } }
.inventory-photo {
  position: absolute; overflow: hidden; border-radius: 8px;
  box-shadow: var(--shadow-soft);
}
.inventory-photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.85);
}
.inventory-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(27,60,140,0.45), rgba(95,182,232,0.15) 70%);
  mix-blend-mode: multiply;
}
.photo-a {
  top: 0; right: 0; width: 68%; height: 62%;
  clip-path: polygon(8% 0, 100% 0, 100% 100%, 0 100%);
  animation: floatSlow 7s ease-in-out infinite;
}
.photo-b {
  bottom: 0; left: 0; width: 62%; height: 55%;
  clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
  animation: floatSlow 8s ease-in-out infinite reverse;
}
@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.inventory-plus {
  position: absolute; top: 46%; left: 46%; transform: translate(-50%, -50%);
  font-family: var(--font-display); font-size: 2.4rem; color: var(--color-royal);
  background: var(--color-white); width: 56px; height: 56px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-card);
  animation: spin 12s linear infinite;
}
@keyframes spin { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .photo-a, .photo-b, .inventory-plus { animation: none; }
}

/* ============ GLOBAL PRESENCE ============ */
.global-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .global-grid { grid-template-columns: 1fr; } }
.hub-list { margin-top: 1.4rem; display: flex; flex-direction: column; gap: 10px; }
.global-stat {
  background: var(--color-ice-white); border-radius: var(--radius-lg); padding: 48px;
  text-align: center; clip-path: polygon(6% 0, 100% 0, 100% 94%, 94% 100%, 0 100%, 0 6%);
}
.global-stat .stat-num.big { color: var(--color-navy); }
.global-stat .stat-label { color: var(--color-royal); }

.global-map {
  margin-top: 56px; position: relative; background: var(--color-white);
  border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card);
}
.global-map svg { width: 100%; height: auto; overflow: visible; display: block; }
.map-base { opacity: 0.55; }

.route-path {
  stroke: var(--color-sky); stroke-width: 2; stroke-dasharray: 6 6; opacity: 0.75;
  animation: routeFlow 3.5s linear infinite;
  transition: stroke-width 0.25s ease, opacity 0.25s ease, stroke 0.25s ease;
}
@keyframes routeFlow { to { stroke-dashoffset: -48; } }

.node-label {
  font-family: var(--font-body); font-size: 15px; font-weight: 700; letter-spacing: 0.04em;
  fill: var(--color-ink); transition: font-size 0.25s ease, fill 0.25s ease;
}
.hub-label { fill: var(--color-navy); font-size: 15px; }

circle.dest { fill: var(--color-royal); transition: transform 0.25s ease, fill 0.25s ease; transform-origin: center; transform-box: fill-box; }
.pulse-ring { animation: pulseRing 2.4s ease-out infinite; transform-origin: center; transform-box: fill-box; }
@keyframes pulseRing {
  0% { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.8); opacity: 0; }
}

/* Interactive hover: brighten this market's route + node, grow its label */
.market { cursor: pointer; }
.market:hover .route-path { stroke: var(--color-navy); stroke-width: 3; opacity: 1; animation-duration: 1.4s; }
.market:hover circle.dest:not(.pulse-ring) { transform: scale(1.5); fill: var(--color-navy); }
.market:hover .node-label { font-size: 18px; fill: var(--color-navy); }

.map-hint {
  text-align: center; font-size: 0.78rem; color: #5a6478; margin: 14px 0 0;
  text-transform: uppercase; letter-spacing: 0.08em;
}

@media (max-width: 640px) { .node-label { font-size: 12px; } .hub-label { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) {
  .route-path, .pulse-ring { animation: none; }
}

/* ============ CERTIFICATIONS ============ */
.cert-logos { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; margin: 2.5rem 0; }
.cert-badge {
  height: 128px; padding: 20px 34px; border: 1.5px solid rgba(27,60,140,0.14); border-radius: var(--radius-md);
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--color-white); box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.cert-badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.cert-badge img { height: 100%; width: auto; max-width: 260px; object-fit: contain; }
.cert-note { max-width: 600px; margin: 0 auto; color: #4a5468; }

/* ============ HOW ORDERING WORKS ============ */
.process-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin-top: 3.5rem;
  position: relative;
}
.process-step { text-align: center; position: relative; }
.process-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; margin-bottom: 18px;
  background: var(--gradient-brand); color: var(--color-white);
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  box-shadow: var(--shadow-card);
}
.process-step h3 { margin-bottom: 8px; }
.process-step p { color: #4a5468; font-size: 0.95rem; line-height: 1.6; margin: 0; }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}
@media (max-width: 520px) {
  .process-grid { grid-template-columns: 1fr; row-gap: 32px; }
}

/* ============ HOMEPAGE SECTION TEASERS ============ */
.teaser-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 3rem;
}
.teaser-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px 28px; border-radius: var(--radius-md);
  background: var(--color-white); border: 1px solid rgba(27,60,140,0.10);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.teaser-card:hover, .teaser-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-soft); }
.teaser-eyebrow {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--color-royal);
}
.teaser-card h3 { font-size: 1.25rem; margin: 0; }
.teaser-card p { color: #4a5468; font-size: 0.95rem; line-height: 1.6; margin: 0; }
.teaser-link { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 0.9rem; color: var(--color-royal); }
/* 5 cards: the CTA spans 2 columns so no row is left with a gap */
.teaser-card-cta { background: var(--gradient-brand-soft); grid-column: span 2; }
@media (max-width: 900px) { .teaser-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .teaser-grid { grid-template-columns: 1fr; }
  .teaser-card-cta { grid-column: span 1; }
}

/* ============ CONTACT ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-details { margin-top: 1.8rem; display: flex; flex-direction: column; gap: 16px; }
.contact-details li { display: flex; align-items: center; gap: 12px; color: #333d52; }
.contact-details svg { color: var(--color-royal); flex-shrink: 0; }
.contact-details a:hover { color: var(--color-royal); }

.contact-map {
  margin-top: 24px; border-radius: var(--radius-md); overflow: hidden;
  box-shadow: var(--shadow-card); aspect-ratio: 16 / 10; background: var(--color-ice-white);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form {
  background: var(--color-ice-white); border-radius: var(--radius-lg); padding: 40px;
  display: grid; gap: 18px; box-shadow: var(--shadow-card);
}
.form-row { display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); }
.label-optional { font-weight: 400; color: #6b7488; font-size: 0.85em; }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px; border: 1.5px solid rgba(27,60,140,0.18); border-radius: 8px;
  font-family: inherit; font-size: 0.95rem; background: #fff; color: var(--color-ink);
  transition: border-color 0.2s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  border-color: var(--color-sky); outline: none;
}
/* ---- conditional diamond spec fields (shown only for "Loose Diamonds") ----
   The wrapper is a <fieldset disabled> when hidden, so its controls are
   excluded from FormData and from checkValidity() automatically. */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.spec-fields { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 18px; }
.spec-fields[hidden] { display: none; }

.chip-group { border: 0; padding: 0; margin: 0; min-width: 0; }
.chip-group legend { font-size: 0.85rem; font-weight: 600; color: var(--color-navy); padding: 0; margin-bottom: 8px; }
.chip-hint { font-weight: 400; color: #6b7488; font-size: 0.85em; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
/* shared pill visual: interactive chips in the forms, static pills on the
   products page. Restyle here and both stay in step. */
.chip span, .spec-pill {
  display: inline-block; padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid rgba(27,60,140,0.18); background: #fff;
  font-size: 0.85rem; line-height: 1.1; color: var(--color-ink);
}
.chip span {
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
  -webkit-user-select: none; user-select: none;
}
.chip input:hover + span { border-color: var(--color-sky); }
.chip input:checked + span { background: var(--color-navy); border-color: var(--color-navy); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--color-sky); outline-offset: 2px; }

.spec-note {
  font-size: 0.78rem; color: #5a6478; margin: 0;
  border-left: 3px solid var(--color-sky); padding-left: 10px;
}
@media (max-width: 560px) { .contact-form { padding: 28px 20px; } }

.form-note { font-size: 0.78rem; color: #5a6478; margin: 0; }
.form-submit { justify-self: start; }
.form-status { font-size: 0.9rem; font-weight: 600; min-height: 1.2em; margin: 0; }
.form-status.success { color: #1a7f4e; }
.form-status.error { color: #c23838; }

/* ============ FOOTER ============ */
.site-footer { background: var(--color-navy); color: rgba(255,255,255,0.85); padding: 72px 0 0; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
@media (max-width: 780px) { .footer-inner { grid-template-columns: 1fr; gap: 32px; } }
.footer-logo { height: 88px; width: auto; margin-bottom: 12px; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-brand p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }
.social-links { display: flex; gap: 14px; margin-top: 12px; }
.social-links a { color: #fff; opacity: 0.85; }
.social-links a:hover { opacity: 1; color: var(--color-sky); }
.footer-nav h3, .footer-contact h3 { color: #fff; font-family: var(--font-body); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1em; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,0.75); font-size: 0.92rem; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--color-sky); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; font-size: 0.92rem; }
.footer-contact p { margin: 0; color: rgba(255,255,255,0.75); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 24px; text-align: center; font-size: 0.82rem; color: rgba(255,255,255,0.6); }

/* ============ WHOLESALE PRICING POPUP ============ */
.popup-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(15,25,50,0.6); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; transition: opacity 0.3s ease;
}
.popup-overlay[hidden] { display: none; }
.popup-overlay.is-open { opacity: 1; }

.popup-modal {
  position: relative; background: var(--color-white); border-radius: var(--radius-lg);
  max-width: 620px; width: 100%; max-height: 90vh; overflow-y: auto;
  padding: 48px 44px 36px; box-shadow: 0 30px 80px rgba(10,20,50,0.35);
  transform: translateY(24px) scale(0.97); opacity: 0; transition: transform 0.35s ease, opacity 0.35s ease;
}
.popup-overlay.is-open .popup-modal { transform: translateY(0) scale(1); opacity: 1; }
@media (max-width: 640px) { .popup-modal { padding: 40px 24px 28px; } }

.popup-close {
  position: absolute; top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%;
  border: none; background: transparent; font-size: 1.6rem; line-height: 1; color: #8892a6;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
}
.popup-close:hover { background: var(--color-ice-white); color: var(--color-navy); }

.popup-diamond {
  display: block; text-align: center; color: var(--color-royal); font-size: 1.4rem; margin-bottom: 8px;
}
.popup-title {
  text-align: center; font-size: clamp(1.6rem, 4vw, 2.2rem); margin-bottom: 0.4em;
}
.popup-sub {
  text-align: center; color: #5a6478; font-size: 0.95rem; max-width: 460px; margin: 0 auto 2rem;
}

.popup-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.popup-form .form-row-full { grid-column: 1 / -1; }
.popup-form .popup-submit { grid-column: 1 / -1; width: 100%; margin-top: 4px; }
.popup-form .form-status { grid-column: 1 / -1; text-align: center; }
@media (max-width: 560px) { .popup-form { grid-template-columns: 1fr; } }

.popup-trust {
  text-align: center; font-size: 0.82rem; color: #5a6478; margin: 1.6rem 0 0;
}
.popup-trust b, .popup-trust strong { color: var(--color-navy); }

.form-response-note {
  text-align: center; font-size: 0.82rem; color: var(--color-royal); font-weight: 600; margin: 0.6rem 0 0;
}
.contact-form .form-response-note { text-align: left; margin-top: -6px; }

@media (prefers-reduced-motion: reduce) {
  .popup-overlay, .popup-modal { transition: none; }
}

/* ============ WHATSAPP FAB ============ */
.whatsapp-fab {
  position: fixed; bottom: 24px; right: 24px; width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2); z-index: 90; transition: transform 0.2s ease;
}
.whatsapp-fab:hover { transform: scale(1.08); }
