/* IGJI - International Gem & Jewellery Illustration
   Light, editorial design system - warm cream + amber accent, inspired by leading
   gemmological lab sites. */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;1,600&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --cream: #f7f2e8;
  --cream-alt: #efe6d3;
  --card: #ffffff;
  --ink: #202a37;
  --ink-soft: #3a4453;
  --muted: #6b7280;
  --amber: #c1832f;
  --amber-light: #e0aa5f;
  --amber-dark: #96661f;
  --amber-bg: rgba(193, 131, 47, 0.1);
  --border: #e7ddc8;
  --success: #1c7c4d;
  --success-bg: #e6f4ec;
  --danger: #b3261e;
  --danger-bg: #fbe9e8;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(32, 42, 55, 0.06);
  --shadow-lg: 0 16px 44px rgba(32, 42, 55, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink-soft);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }

em, .accent { color: var(--amber); font-style: italic; }

p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--amber); }
img { max-width: 100%; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-gold, .btn-amber {
  background: var(--amber);
  color: #fff;
}
.btn-gold:hover, .btn-amber:hover { background: var(--amber-dark); color: #fff; transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-navy { background: var(--ink); color: #fff; }
.btn-navy:hover { background: var(--ink-soft); color: #fff; transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 242, 232, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.28rem;
  line-height: 1.22;
  max-width: 300px;
}
.brand img { height: 84px; width: auto; flex-shrink: 0; }
@media (max-width: 1080px) {
  .brand { font-size: 1rem; max-width: 230px; }
  .brand img { height: 64px; }
}
@media (max-width: 620px) {
  .brand { font-size: 0.82rem; max-width: 170px; }
  .brand img { height: 48px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a.active { color: var(--amber); }
.nav-cta {
  background: var(--amber);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--amber-dark); }

.nav-toggle { display: none; background: none; border: none; color: var(--ink); font-size: 1.6rem; cursor: pointer; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--border);
    flex-direction: column; align-items: flex-start; gap: 0;
    padding: 8px 24px 20px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--border); width: 100%; }
  .nav-cta { display: inline-block; margin-top: 10px; }
}

/* ---------- Hero ---------- */
.hero { padding: 80px 0 100px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-card-wrap { order: -1; } }

.eyebrow-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--amber-light);
  color: var(--amber-dark);
  background: var(--amber-bg);
  font-weight: 700; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 7px 16px; border-radius: 999px; margin-bottom: 22px;
}
.hero h1 { margin-bottom: 20px; }
.hero p.lead { font-size: 1.12rem; max-width: 500px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stats .stat-inline .num { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 1.7rem; color: var(--amber-dark); }
.hero-stats .stat-inline .label { font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Hero inline verify search ---------- */
.hero-verify {
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 30px;
}
.hero-verify .tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--amber-dark); margin-bottom: 10px; display: block; }
.hero-verify form { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-verify input[type="text"] {
  flex: 1; min-width: 200px;
  padding: 14px 16px; border-radius: 10px;
  border: 1.5px solid var(--border);
  font-size: 1rem; font-family: inherit; font-weight: 600;
  background: var(--cream);
  color: var(--ink);
}
.hero-verify input[type="text"]:focus { outline: none; border-color: var(--amber); }
.hero-verify button {
  padding: 14px 24px; border-radius: 10px; border: none;
  background: var(--amber); color: #fff; font-weight: 700; font-size: 0.96rem;
  cursor: pointer; transition: background 0.2s ease;
}
.hero-verify button:hover { background: var(--amber-dark); }
.hero-verify .hint { margin: 10px 0 0; font-size: 0.83rem; color: var(--muted); }

/* ---------- Real certificate photo frame ---------- */
.cert-photo-frame {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
  transform: rotate(-2deg);
  transition: transform 0.3s ease;
}
.cert-photo-frame:hover { transform: rotate(0deg); }
.cert-photo-frame img {
  width: 100%;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  border: 6px solid var(--card);
}
.cert-photo-tag {
  position: absolute;
  bottom: -16px; right: 14px;
  background: var(--amber);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(150, 102, 31, 0.35);
  display: flex; align-items: center; gap: 6px;
  white-space: nowrap;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
.section-tight { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section-head .eyebrow {
  color: var(--amber-dark);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.bg-alt { background: var(--cream-alt); }
.bg-highlight { background: var(--ink); color: #fff; }
.bg-highlight h2 { color: #fff; }
.bg-highlight p { color: rgba(255,255,255,0.75); }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card.card-flush { padding: 0; }
.card.card-flush .card-pad { padding: 28px 26px; }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px;
  background: var(--amber-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; margin-bottom: 18px; color: var(--amber-dark);
}
.card h3 { margin-bottom: 10px; }
.card p { margin-bottom: 0; }

/* ---------- Photo cards ---------- */
.card-photo {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: var(--cream-alt);
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-photo img { transform: scale(1.06); }
.card-photo .icon-badge {
  position: absolute; bottom: -20px; left: 22px;
  width: 46px; height: 46px; border-radius: 12px;
  background: var(--amber);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 6px 16px rgba(150, 102, 31, 0.35);
  border: 3px solid var(--card);
}
.card .card-pad.has-badge { padding-top: 34px; }

/* ---------- Photo gallery strip ---------- */
.gallery-strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
@media (max-width: 700px) { .gallery-strip { grid-template-columns: 1fr 1fr; } .gallery-strip .g-tall { grid-column: span 2; } }
.gallery-strip figure {
  margin: 0; position: relative; border-radius: 14px; overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-strip img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gallery-strip .g-tall { height: 420px; }
.gallery-strip .g-col { display: flex; flex-direction: column; gap: 18px; }
.gallery-strip .g-col figure { height: 201px; }
@media (max-width: 700px) { .gallery-strip .g-tall { height: 280px; } .gallery-strip .g-col { display: contents; } .gallery-strip .g-col figure { height: 180px; } }
.gallery-strip figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 16px 18px;
  background: linear-gradient(0deg, rgba(10,10,10,0.65), transparent);
  color: #fff; font-weight: 600; font-size: 0.88rem;
}

/* ---------- About story photo ---------- */
.story-photo { border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-lg); }
.story-photo img { width: 100%; height: 340px; object-fit: cover; }

/* ---------- Trust points ---------- */
.trust-item { display: flex; gap: 18px; }
.trust-item .icon { flex-shrink: 0; margin-bottom: 0; }
.trust-item h4 { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--ink); margin: 0 0 6px; font-size: 1rem; }
.trust-item p { margin: 0; font-size: 0.92rem; }

/* ---------- Verify steps ---------- */
.verify-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: vstep; }
@media (max-width: 700px) { .verify-steps { grid-template-columns: 1fr; } }
.verify-step { text-align: center; position: relative; }
.verify-step .vs-icon {
  counter-increment: vstep;
  width: 68px; height: 68px; margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--amber-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--amber-dark);
  position: relative;
}
.verify-step .vs-icon::after {
  content: counter(vstep, decimal-leading-zero);
  position: absolute; top: -8px; right: -8px;
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--amber); color: #fff;
  font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.75rem;
  display: flex; align-items: center; justify-content: center;
}
.verify-step h4 { font-family: 'Inter', sans-serif; font-weight: 700; margin: 0 0 8px; }
.verify-step p { font-size: 0.92rem; margin: 0; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 14px;
  padding: 4px 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '\002B';
  font-size: 1.3rem;
  color: var(--amber);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 18px; margin: 0; }

/* ---------- Process steps ---------- */
.process-list { counter-reset: step; max-width: 640px; }
.process-step {
  counter-increment: step;
  display: flex; gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.process-step:last-child { border-bottom: none; }
.process-step::before {
  content: counter(step, decimal-leading-zero);
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 1.15rem; color: var(--amber);
  flex-shrink: 0;
  width: 48px; height: 48px;
  border: 1.5px solid var(--amber-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.process-step h4 { font-family: 'Inter', sans-serif; font-weight: 700; color: var(--ink); margin: 4px 0 4px; font-size: 1.02rem; }
.process-step p { margin: 0; font-size: 0.92rem; }

.stat { text-align: center; }
.stat .num { font-family: 'Playfair Display', serif; font-size: 2.5rem; font-weight: 700; color: var(--amber-light); }
.stat .label { color: rgba(255,255,255,0.75); font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* ---------- Forms ---------- */
.form-group { margin-bottom: 20px; text-align: left; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: 0.9rem; color: var(--ink); }
.form-control {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-size: 1rem; font-family: inherit;
  background: var(--card);
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--amber); }

/* ---------- Alerts ---------- */
.alert { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 20px; }
.alert-success { background: var(--success-bg); color: var(--success); border: 1px solid rgba(28,124,77,0.25); }
.alert-danger { background: var(--danger-bg); color: var(--danger); border: 1px solid rgba(179,38,30,0.25); }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream-alt); color: var(--muted); padding: 56px 0 24px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { color: var(--ink); font-family: 'Inter', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand img { height: 30px; }
.footer-brand span { font-family: 'Playfair Display', serif; color: var(--ink); font-size: 1.1rem; font-weight: 700; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: var(--muted); }
.footer-grid a:hover { color: var(--amber-dark); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 22px; text-align: center; font-size: 0.85rem; color: var(--muted); }

/* ---------- Utility ---------- */
.badge { display: inline-block; padding: 5px 14px; border-radius: 999px; font-size: 0.78rem; font-weight: 700; }
.badge-gold { background: var(--amber-bg); color: var(--amber-dark); }
.text-center { text-align: center; }
