/* ===== VNL Diamond Landing Page — Design Tokens ===== */
:root {
  --color-bg: #faf6f0;
  --color-bg-alt: #f5ede1;
  --color-ink: #241f19;
  --color-ink-soft: #5a5148;
  --color-gold: #b8873a;
  --color-gold-dark: #8a621f;
  --color-gold-light: #f0dfb8;
  --color-rose: #c98a7a;
  --color-white: #ffffff;
  --color-border: #e8dcc6;
  --font-heading: Georgia, "Times New Roman", "Noto Serif", "Liberation Serif", "DejaVu Serif", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 20px rgba(26,26,26,0.08);
  --shadow-hover: 0 10px 30px rgba(26,26,26,0.14);
  --container-w: 1200px;
  --header-h: 72px;
}

* { 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-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-heading); margin: 0 0 0.5em; line-height: 1.25; }
p { margin: 0 0 1em; }
.container { max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
}
.btn-primary { background: var(--color-gold); color: var(--color-white); }
.btn-primary:hover { background: var(--color-gold-dark); transform: translateY(-1px); box-shadow: var(--shadow-hover); }
.btn-secondary { background: transparent; border-color: var(--color-ink); color: var(--color-ink); }
.btn-secondary:hover { background: var(--color-ink); color: var(--color-white); }
.btn-block { width: 100%; border: none; font-size: 1.05rem; padding: 16px; }
.link-cta { color: var(--color-gold-dark); font-weight: 600; border-bottom: 2px solid var(--color-gold); padding-bottom: 2px; }

.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; }
.badge-gia { background: var(--color-gold-light); color: var(--color-gold-dark); }

.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); text-align: center; }
.section-subtitle { text-align: center; color: var(--color-ink-soft); max-width: 640px; margin: 0 auto 2.5rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo { font-family: var(--font-heading); font-size: 1.4rem; font-weight: bold; letter-spacing: 0.5px; }
.logo span { color: var(--color-gold); font-style: italic; }
.main-nav { display: flex; gap: 28px; }
.main-nav a { font-size: 0.95rem; font-weight: 500; }
.main-nav a:hover { color: var(--color-gold-dark); }
.header-phone { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--color-gold-dark); }
.header-phone img { filter: invert(63%) sepia(46%) saturate(600%) hue-rotate(2deg); }

/* ===== Hero (2.1) ===== */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #fffdf9 0%, var(--color-bg) 100%); }
.hero-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center; }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--color-white); box-shadow: var(--shadow-card); aspect-ratio: 5/4; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transition: transform 0.3s ease; }
.hero-media.zoomed img { transform: scale(1.5); }
.zoom-hint {
  position: absolute; bottom: 16px; right: 16px;
  background: rgba(26,26,26,0.75); color: #fff; border: none;
  padding: 8px 14px; border-radius: 999px; font-size: 0.8rem; cursor: pointer;
}
.hero-content h1 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-top: 14px; }
.subheadline { font-size: 1.1rem; color: var(--color-ink-soft); }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }

/* ===== Trust bar (2.2) ===== */
.trust-bar { background: var(--color-ink); padding: 22px 0; }
.trust-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.trust-item { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #f4efe4; font-size: 0.9rem; font-weight: 500; }
.trust-item img { filter: none; }

/* ===== Collection (2.3) ===== */
.collection { padding: 72px 0; }
.filters { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; margin-bottom: 36px; }
.filter-group { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; font-weight: 600; color: var(--color-ink-soft); }
.filter-group select {
  padding: 10px 14px; border-radius: var(--radius); border: 1px solid var(--color-border);
  background: var(--color-white); font-size: 0.95rem; min-width: 180px;
}
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card {
  background: var(--color-white); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-card); transition: box-shadow 0.2s ease, transform 0.2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.product-media { position: relative; aspect-ratio: 1/1; overflow: hidden; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.product-media img.detail-img { position: absolute; inset: 0; opacity: 0; }
.product-card:hover .detail-img { opacity: 1; }
.product-card:hover .front-img { opacity: 0; }
.product-body { padding: 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-body h3 { font-size: 1.15rem; margin: 0; }
.product-meta { font-size: 0.85rem; color: var(--color-ink-soft); }
.product-price { font-weight: 700; color: var(--color-gold-dark); font-size: 1.1rem; margin-top: auto; }
.product-body .btn { margin-top: 10px; }
.no-results { text-align: center; color: var(--color-ink-soft); padding: 40px 0; grid-column: 1/-1; }

.lifestyle-photo { margin: 48px 0 0; text-align: center; }
.lifestyle-photo img { border-radius: var(--radius-lg); margin: 0 auto; width: 100%; max-height: 420px; object-fit: cover; object-position: center 30%; }
.lifestyle-photo figcaption { margin-top: 12px; font-style: italic; color: var(--color-ink-soft); }

/* ===== Specs (2.4) ===== */
.specs { padding: 72px 0; background: var(--color-bg-alt); }
.specs-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.specs-table-wrap .section-title, .specs-table-wrap .section-subtitle { text-align: left; margin-left: 0; }
.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; background: var(--color-white); border-radius: var(--radius); overflow: hidden; }
.specs-table th, .specs-table td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-border); }
.specs-table th { width: 220px; font-weight: 600; color: var(--color-ink-soft); }
.specs-table .hint { display: block; font-size: 0.8rem; color: #8a8577; margin-top: 2px; }
.policy-icons { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.policy-icons div { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; font-weight: 500; }
.cert-image { text-align: center; }
.cert-image img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.cert-caption { font-size: 0.85rem; color: var(--color-ink-soft); margin-top: 12px; }

/* ===== Brand story (2.5) ===== */
.brand-story { padding: 72px 0; }
.story-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.story-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-card); width: 100%; max-height: 460px; object-fit: cover; object-position: center 25%; }
.story-content .section-title, .story-content .section-subtitle { text-align: left; margin-left: 0; }

/* ===== Compare (2.6) ===== */
.compare { padding: 72px 0; background: var(--color-bg-alt); }
.table-scroll { overflow-x: auto; }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--color-white); border-radius: var(--radius); overflow: hidden; }
.compare-table th, .compare-table td { padding: 14px 20px; border-bottom: 1px solid var(--color-border); text-align: left; }
.compare-table thead th { background: var(--color-ink); color: var(--color-white); }
.compare-table thead th.highlight { background: var(--color-gold-dark); }
.compare-table td.highlight { background: var(--color-gold-light); font-weight: 600; }

/* ===== Social proof (2.7) ===== */
.social-proof { padding: 72px 0; }
.stats-row { display: flex; justify-content: center; gap: 60px; margin-bottom: 48px; flex-wrap: wrap; }
.stat { text-align: center; }
.stat strong { display: block; font-family: var(--font-heading); font-size: 2rem; color: var(--color-gold-dark); }
.stat span { color: var(--color-ink-soft); font-size: 0.9rem; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial { background: var(--color-white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-card); margin: 0; }
.testimonial .avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--color-gold-light);
  color: var(--color-gold-dark); display: flex; align-items: center; justify-content: center;
  font-weight: 700; margin-bottom: 12px;
}
.testimonial p { font-style: italic; color: var(--color-ink-soft); }
.testimonial cite { font-style: normal; font-weight: 600; font-size: 0.85rem; }

/* ===== FAQ (2.8) ===== */
.faq { padding: 72px 0; background: var(--color-bg-alt); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--color-white); border-radius: var(--radius); margin-bottom: 12px;
  padding: 4px 20px; box-shadow: var(--shadow-card);
}
.faq-item summary {
  cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 4px; top: 14px; font-size: 1.3rem; color: var(--color-gold-dark);
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p { padding-bottom: 16px; color: var(--color-ink-soft); }

/* ===== Contact (2.9) ===== */
.contact { padding: 72px 0; }
.contact-inner { display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: start; }
.contact-form-wrap .section-title, .contact-form-wrap .section-subtitle { text-align: left; margin-left: 0; }
#lead-form { background: var(--color-white); padding: 28px; border-radius: var(--radius-lg); box-shadow: var(--shadow-card); }
.form-row { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-row label { font-size: 0.85rem; font-weight: 600; color: var(--color-ink-soft); }
.form-row input, .form-row select, .form-row textarea {
  padding: 12px 14px; border: 1px solid var(--color-border); border-radius: var(--radius);
  font-size: 1rem; font-family: inherit; width: 100%;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: 2px solid var(--color-gold); }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#form-status { text-align: center; font-weight: 600; min-height: 1.2em; margin-top: 12px; }
#form-status.success { color: #2e7d32; }
#form-status.error { color: #c62828; }

.contact-info { background: var(--color-ink); color: var(--color-white); padding: 28px; border-radius: var(--radius-lg); }
.contact-info h3 { color: var(--color-gold-light); }
.contact-info p { display: flex; align-items: center; gap: 8px; }
.contact-info img { filter: invert(85%) sepia(20%) saturate(400%) hue-rotate(2deg); }
.contact-info a { color: var(--color-gold-light); text-decoration: underline; }

/* ===== Footer (2.10) ===== */
.site-footer { background: #1c1712; color: #cfc4ac; padding: 48px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-logo { color: var(--color-white); margin-bottom: 12px; }
.footer-col h4 { color: var(--color-white); font-size: 0.95rem; margin-bottom: 12px; }
.footer-col a { display: block; margin-bottom: 8px; font-size: 0.9rem; }
.footer-col a:hover { color: var(--color-gold); }
.footer-inner p { font-size: 0.85rem; }

/* ===== Sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  display: none; background: var(--color-white); border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
}
.sticky-cta.visible { display: flex; }
.sticky-btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 0; font-weight: 700; }
.sticky-call { background: var(--color-ink); color: var(--color-white); }
.sticky-chat { background: var(--color-gold); color: var(--color-white); }
.sticky-btn img { filter: invert(100%); width: 18px; height: 18px; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .hero-inner, .specs-inner, .story-inner, .contact-inner { grid-template-columns: 1fr; }
  .story-media { order: -1; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { display: flex; }
  body { padding-bottom: 56px; }
}
@media (max-width: 520px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .stats-row { gap: 28px; }
}

/* ===== Dark mode ===== */
@media (prefers-color-scheme: dark) {
  :root {
    --color-bg: #16140f;
    --color-bg-alt: #1d1b15;
    --color-ink: #f3efe4;
    --color-ink-soft: #b8b2a0;
    --color-white: #221f18;
    --color-border: #35311f;
  }
  .site-header { background: rgba(22,20,15,0.92); }
  .product-media img, .cert-image img, .story-media img, .lifestyle-photo img { filter: brightness(0.92); }
  .trust-bar { background: #0c0b08; }
  #form-status.success { color: #7fd48a; }
  #form-status.error { color: #ef9a9a; }
}
