/* =============================================================
   Royal Celebrations — Core Styles
   File: css/style.css
   Purpose: Reusable components, layout system, sections.
   Imports variables.css for all tokens.
   ============================================================= */

@import url('variables.css');

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  color: var(--color-heading);
  line-height: var(--lh-tight);
  margin: 0 0 var(--space-3);
  font-weight: 700;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: min(94%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--space-4);
}

.section {
  padding-block: var(--space-9);
}
.section--tight { padding-block: var(--space-8); }
.section--alt { background: var(--color-surface-alt); }
.section--dark {
  background: var(--royal-burgundy);
  color: #fff;
}
.section--dark h2,
.section--dark h3 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.82); }

/* Higher-contrast trust cards on the burgundy section */
.section--dark .stat-card {
  background: var(--royal-burgundy-light);
  border-color: rgba(255,255,255,0.16);
}
.section--dark .stat-card .num { color: #fff; }
.section--dark .stat-card .label { color: var(--bg-cream); }

.grid { display: grid; gap: var(--space-4); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.mb-4 { margin-bottom: var(--space-4); }

/* Dropdown caret — CSS-drawn triangle (no literal glyph) */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 0.35em;
  vertical-align: middle;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform var(--transition);
}
.nav-item.has-dropdown:hover .caret,
.nav-item.has-dropdown.open .caret { transform: rotate(180deg); }
.mt-6 { margin-top: var(--space-6); }
.muted { color: var(--color-text-muted); }

/* ============================================================
   SECTION HEADING (reusable)
   Small uppercase eyebrow + accent line + big heading + intro
   ============================================================ */
.section-head { max-width: 720px; margin-bottom: var(--space-6); }
.section-head.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--luxury-gold-dark);
  margin-bottom: var(--space-2);
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--luxury-gold);
  vertical-align: middle;
  margin-right: 12px;
}
.section-head.center .eyebrow::before { display: none; }
.section--dark .eyebrow { color: var(--luxury-gold-light); }

.section-head h2 { margin-bottom: var(--space-2); }
.section-head p { color: var(--color-text-muted); font-size: 1.1rem; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: var(--fs-small);
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn:focus-visible { outline: 3px solid var(--luxury-gold-light); outline-offset: 2px; }

.btn-primary {
  background: var(--royal-burgundy);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover {
  background: var(--royal-burgundy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-dark));
  color: var(--dark-brown);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); filter: brightness(1.06); box-shadow: var(--shadow-gold); }

.btn-outline {
  background: transparent;
  border-color: var(--royal-burgundy);
  color: var(--royal-burgundy);
}
.btn-outline:hover { background: var(--royal-burgundy); color: #fff; }

.btn-light {
  background: #fff; color: var(--royal-burgundy);
}
.btn-light:hover { background: var(--bg-cream); transform: translateY(-2px); }

.btn-lg { padding: 18px 38px; font-size: 1rem; }
.btn-sm { padding: 18px 42px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================
   NAVBAR (sticky)
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: var(--nav-height);
  padding: 10px 0;
  background: rgba(251, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: var(--shadow-sm);
  min-height: var(--nav-height);
  padding: 6px 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-inline: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  flex-shrink: 0;
}
.navbar .brand img {
  width: 220px;
  height: auto;
  object-fit: contain;
  max-width: none;
}

.nav-menu { display: flex; align-items: center; gap: 28px; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  font-size: 17px;
  font-weight: 500;
  color: var(--grey-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--royal-burgundy); }
.nav-link.active { background: var(--bg-cream); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  max-width: calc(100vw - 24px);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: var(--space-2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
}
.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: var(--fs-small);
  color: var(--grey-700);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--bg-cream); color: var(--royal-burgundy); }
.dropdown-menu .dd-title {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--royal-burgundy);
  font-weight: 600;
  padding: 6px 14px 4px;
}
.dropdown-menu .dd-desc { font-size: 0.78rem; color: var(--grey-400); padding: 0 14px 8px; }

.nav-cta { display: flex; align-items: center; gap: var(--space-3); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--royal-burgundy);
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdown indicator for mobile */
.dropdown-indicator {
  display: none;
  flex-shrink: 0;
  width: 16px; height: 16px;
  margin-left: 4px;
  color: var(--grey-500);
  transition: transform var(--transition);
}
.nav-item.has-dropdown.open .dropdown-indicator { transform: rotate(180deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--royal-burgundy-deep);
  color: #fff;
  padding-block: var(--space-10);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 80% 10%, rgba(201,162,75,0.22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(201,162,75,0.10), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-10);
  align-items: center;
}
.hero h1 {
  color: #fff;
  font-size: var(--fs-display);
  margin-bottom: var(--space-3);
}
.hero .eyebrow { color: var(--luxury-gold-light); }
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.85);
  max-width: 540px;
  margin-bottom: var(--space-5);
}
.hero-actions { display: flex; gap: var(--space-2); flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: var(--space-5);
  margin-top: var(--space-6);
  flex-wrap: wrap;
}
.hero-stats .stat-num {
  font-family: var(--font-serif);
  font-size: var(--stat-num-size, 2rem);
  color: var(--luxury-gold-light);
  font-weight: 700;
}
.hero-stats .stat-label { font-size: var(--stat-label-size, 0.85rem); color: rgba(255,255,255,0.7); }

.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,162,75,0.35);
  aspect-ratio: 4 / 5;
  background: var(--royal-burgundy);
  max-width: 80%;
  margin-inline: auto;
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  transition: var(--transition);
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.icon-card .card-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  color: var(--royal-burgundy);
  margin-bottom: var(--space-3);
}
/* Decorative mark inside icon circles (replaces literal "?" glyph) */
.card-icon { position: relative; }
.card-icon::after {
  content: "\2666"; /* diamond */
  font-size: 1.4rem;
  line-height: 1;
  color: var(--royal-gold, #d4af37);
}
.icon-card h3 { font-size: 1.3rem; margin-bottom: var(--space-2); }
.icon-card p { font-size: var(--fs-small); color: var(--color-text-muted); }

/* Product card */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-cream);
}
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.product-card:hover .product-media img { transform: scale(1.05); }
.product-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--luxury-gold);
  color: var(--dark-brown);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.product-body { padding: var(--space-3); }
.product-body h3 { font-size: 1.2rem; margin-bottom: 6px; }
.product-meta { font-size: 0.82rem; color: var(--grey-400); margin-bottom: var(--space-2); }
.product-price {
  font-family: var(--font-serif);
  font-size: 1.35rem; color: var(--royal-burgundy); font-weight: 700;
}
.product-price small { font-size: 0.8rem; color: var(--grey-400); font-weight: 400; }

/* Category card */
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.category-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.category-card:hover img { transform: scale(1.06); }
.category-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,16,26,0.95) 0%, rgba(44,16,26,0.6) 40%, rgba(44,16,26,0.1) 70%, transparent 100%);
}
.category-body { position: relative; z-index: 1; padding: var(--space-4) var(--space-4) var(--space-5); }
.category-body h3 { color: #fff; font-size: 1.4rem; margin-bottom: 6px; line-height: 1.2; }
.category-body span { font-size: 0.85rem; color: rgba(255,255,255,0.85); line-height: 1.4; }

/* Stat card */
.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5) var(--space-4);
  text-align: center;
}
.stat-card .num {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  color: var(--royal-burgundy);
  font-weight: 800;
  line-height: 1;
}
.stat-card .label { color: var(--color-text-muted); margin-top: var(--space-2); font-size: var(--fs-small); }

/* ============================================================
   FEATURE ROW (split)
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-7);
  align-items: center;
}
.split.reverse .split-media { order: 2; }
.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 4;
  background: var(--bg-cream);
}
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split ul.checklist { margin-top: var(--space-3); }
.split ul.checklist li {
  display: flex; align-items: flex-start; gap: 12px;
  margin-bottom: var(--space-2);
  font-size: var(--fs-small);
}
.split ul.checklist li svg { flex: none; margin-top: 3px; color: var(--luxury-gold-dark); }
/* Checklist marker: gold check (replaces literal "?" glyph) */
.split ul.checklist li > span:first-child,
ul li > span.mark {
  flex: none; width: 18px; height: 18px; margin-top: 1px;
  display: inline-grid; place-items: center;
  color: transparent; font-size: 0;
  position: relative;
}
.split ul.checklist li > span:first-child::before,
ul li > span.mark::before {
  content: "\2713"; /* checkmark */
  color: var(--luxury-gold-dark, #d4af37);
  font-size: 0.95rem; line-height: 1; font-weight: 700;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.testimonial-card .quote {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--grey-700);
  flex: 1;
  margin-bottom: var(--space-3);
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-author .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-cream);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 700;
  color: var(--royal-burgundy);
}
.testimonial-author .name { font-weight: 600; }
.testimonial-author .role { font-size: 0.82rem; color: var(--grey-400); }

/* ============================================================
   TIMELINE / PROCESS
   ============================================================ */
.timeline { position: relative; max-width: 880px; margin-inline: auto; }
.timeline::before {
  content: ""; position: absolute; left: 28px; top: 0; bottom: 0;
  width: 2px; background: var(--grey-200);
}
.timeline-step { position: relative; padding-left: 80px; margin-bottom: var(--space-6); }
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step .step-no {
  position: absolute; left: 0; top: 0;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--royal-burgundy); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700;
  border: 4px solid var(--bg-warm-white);
  box-shadow: var(--shadow-sm);
}
.timeline-step h3 { font-size: 1.25rem; margin-bottom: 6px; }
.timeline-step p { font-size: var(--fs-small); color: var(--color-text-muted); margin: 0; }

/* Horizontal process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); }
.process-step {
  text-align: center;
  padding: var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.process-step .step-no {
  width: 56px; height: 56px; margin: 0 auto var(--space-3);
  border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-cream); color: var(--royal-burgundy);
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 6px; }
.process-step p { font-size: 0.85rem; color: var(--color-text-muted); margin: 0; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.gallery-item {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  aspect-ratio: 1; cursor: pointer; background: var(--bg-cream);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(44,16,26,0.85), transparent 55%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: var(--space-3);
  color: #fff; font-family: var(--font-serif); font-size: 1.1rem;
}
.gallery-item:hover .overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(27, 16, 12, 0.92);
  display: none; align-items: center; justify-content: center;
  padding: var(--space-4);
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90%; max-height: 85%; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.lightbox .close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: #fff; font-size: 2.5rem; line-height: 1;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 860px; margin-inline: auto; }
.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-2);
  background: var(--color-surface);
  overflow: hidden;
}
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: var(--space-3) var(--space-4);
  font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
  color: var(--royal-burgundy);
  display: flex; justify-content: space-between; align-items: center; gap: var(--space-3);
}
.faq-q .icon { transition: var(--transition); color: var(--luxury-gold-dark); flex: none; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height var(--transition);
  padding: 0 var(--space-4);
}
.faq-a p { font-size: var(--fs-small); color: var(--color-text-muted); padding-bottom: var(--space-3); margin: 0; }

/* ============================================================
   FORMS
   ============================================================ */
.form-grid { display: grid; gap: var(--space-3); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-3); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: var(--fs-small); font-weight: 600; color: var(--grey-700);
}
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: var(--fs-small);
  padding: 13px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: var(--transition);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--luxury-gold);
  box-shadow: 0 0 0 3px rgba(201,162,75,0.16);
}
.field textarea { resize: vertical; min-height: 130px; }
.field .hint { font-size: 0.78rem; color: var(--grey-400); }
.field .error-msg { font-size: 0.78rem; color: var(--color-danger); display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--color-danger); }
.field.invalid .error-msg { display: block; }

.form-note { font-size: 0.85rem; color: var(--color-text-muted); }

/* Keyboard focus visibility for links & interactive text */
a:focus-visible,
.footer-links a:focus-visible,
.nav-link:focus-visible,
.faq-q:focus-visible,
.slider-arrow:focus-visible,
.pagination a:focus-visible {
  outline: 3px solid var(--luxury-gold-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.form-success {
  display: none; padding: var(--space-4);
  background: rgba(47,125,79,0.10); border: 1px solid var(--color-success);
  border-radius: var(--radius-md); color: var(--color-success); font-weight: 600;
  text-align: center; margin-top: var(--space-3);
}
.form-success.show { display: block; }

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb { padding-block: var(--space-3); background: var(--color-surface-alt); border-bottom: 1px solid var(--color-border); }
.breadcrumb ul { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--grey-400); flex-wrap: wrap; }
.breadcrumb li::after { content: "/"; margin-left: 8px; color: var(--grey-300); }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a:hover { color: var(--royal-burgundy); }
.breadcrumb .current { color: var(--royal-burgundy); font-weight: 600; }

/* ============================================================
   PAGE HEADER (inner pages)
   ============================================================ */
.page-header {
  background: var(--royal-burgundy-deep);
  color: #fff;
  padding-block: var(--space-8);
  position: relative; overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 85% 20%, rgba(201,162,75,0.20), transparent 60%);
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: var(--fs-h1); margin-bottom: var(--space-2); }
.page-header p { color: rgba(255,255,255,0.82); max-width: 620px; margin: 0; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--royal-burgundy), var(--royal-burgundy-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-8) var(--space-6);
  text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 60% at 90% 10%, rgba(201,162,75,0.25), transparent 60%);
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; margin-bottom: var(--space-2); }
.cta-banner p { color: rgba(255,255,255,0.85); max-width: 560px; margin: 0 auto var(--space-4); }
.cta-banner .hero-actions { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-brown);
  color: rgba(255,255,255,0.78);
  padding-block: var(--space-8) var(--space-4);
  line-height: var(--lh-normal);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-6);
}
.footer p { max-width: 34ch; line-height: var(--lh-normal); }
.footer .logo-sm { width: 96px; height: auto; object-fit: contain; }
.footer h4 {
  color: #fff; font-family: var(--font-serif);
  font-size: 1.15rem; margin-bottom: var(--space-3);
}
.footer .brand-name { color: #fff; font-size: 1.5rem; }
.footer .brand-tag { color: var(--luxury-gold-light); }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: var(--fs-small); color: rgba(255,255,255,0.7); transition: var(--transition); }
.footer-links a:hover { color: var(--luxury-gold-light); padding-left: 4px; }
.footer-contact li { display: flex; gap: 10px; font-size: var(--fs-small); margin-bottom: 12px; align-items: flex-start; }
.footer-contact svg { flex: none; color: var(--luxury-gold-light); margin-top: 2px; }
.footer-contact a { color: rgba(255,255,255,0.78); text-decoration: none; transition: var(--transition); }
.footer-contact a:hover { color: var(--luxury-gold-light); }
.footer-bottom {
  margin-top: var(--space-6);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-2);
  font-size: 0.82rem; color: rgba(255,255,255,0.55);
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.08); color: #fff; transition: var(--transition);
}
.footer-social a:hover { background: var(--luxury-gold); color: var(--dark-brown); transform: translateY(-2px); }
.footer-social a svg { display: block; }

/* Quick-contact quote buttons — single line, inline-flex pills */
.footer-quote-links {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-2);
}
.footer-quote-links a {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: #fff;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  transition: var(--transition);
}
.footer-quote-links a:hover {
  background: var(--luxury-gold);
  color: var(--dark-brown);
  border-color: var(--luxury-gold);
}

/* Newsletter */
.newsletter { display: flex; gap: 8px; margin-top: var(--space-2); }
.newsletter input {
  flex: 1; padding: 11px 14px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff; font-family: var(--font-sans);
}
.newsletter input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter input:focus { outline: none; border-color: var(--luxury-gold); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: var(--space-6); }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px;
  display: grid; place-items: center;
  border: 1px solid var(--color-border); border-radius: var(--radius-sm);
  font-size: var(--fs-small); color: var(--grey-700); transition: var(--transition);
}
.pagination a:hover { border-color: var(--royal-burgundy); color: var(--royal-burgundy); }
.pagination .active { background: var(--royal-burgundy); color: #fff; border-color: var(--royal-burgundy); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.blog-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-cream); }
.blog-media img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.blog-card:hover .blog-media img { transform: scale(1.05); }
.blog-body { padding: var(--space-3); }
.blog-meta { font-size: 0.78rem; color: var(--grey-400); margin-bottom: 8px; display: flex; gap: 10px; }
.blog-body h3 { font-size: 1.2rem; margin-bottom: var(--space-2); }
.blog-body p { font-size: var(--fs-small); color: var(--color-text-muted); }
.blog-body .read-more { color: var(--royal-burgundy); font-weight: 600; font-size: var(--fs-small); }

/* ============================================================
   SIDEBAR (blog / product filters)
   ============================================================ */
.sidebar { display: flex; flex-direction: column; gap: var(--space-4); }
.widget {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-3);
}
.widget h4 { font-size: 1.05rem; margin-bottom: var(--space-3); }
.widget ul li { margin-bottom: 10px; }
.widget ul li a { font-size: var(--fs-small); color: var(--grey-700); display: flex; justify-content: space-between; }
.widget ul li a:hover { color: var(--royal-burgundy); }
.widget .count { color: var(--grey-400); font-size: 0.8rem; }

/* ============================================================
   PRODUCT DETAIL
   ============================================================ */
.pd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7); align-items: start; }
.pd-gallery { display: grid; gap: var(--space-2); }
.pd-main-img {
  border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 1;
  background: var(--bg-cream); border: 1px solid var(--color-border);
}
.pd-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-2); }
.pd-thumb {
  border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 1;
  border: 2px solid transparent; background: var(--bg-cream); cursor: pointer; transition: var(--transition);
}
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pd-thumb.active, .pd-thumb:hover { border-color: var(--luxury-gold); }
.pd-info h1 { font-size: var(--fs-h1); margin-bottom: var(--space-2); }
.pd-price { font-family: var(--font-serif); font-size: 2rem; color: var(--royal-burgundy); font-weight: 700; margin-bottom: var(--space-3); }
.pd-meta-list { border-top: 1px solid var(--color-border); margin-top: var(--space-4); padding-top: var(--space-3); }
.pd-meta-list li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--color-border); font-size: var(--fs-small); }
.pd-meta-list .k { color: var(--color-text-muted); }
.pd-meta-list .v { font-weight: 600; }

/* ============================================================
   INFO / LEGAL PAGE
   ============================================================ */
.prose { max-width: 820px; }
.prose h2 { font-size: 1.6rem; margin-top: var(--space-6); }
.prose h3 { font-size: 1.25rem; margin-top: var(--space-4); }
.prose p, .prose li { color: var(--grey-700); }
.prose ul { padding-left: 20px; list-style: disc; margin-bottom: var(--space-3); }
.prose ul li { margin-bottom: 8px; }

/* ============================================================
   ANIMATIONS (scroll reveal)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: none; }

/* ============================================================
   LEGAL PAGE (Terms / Privacy) — TOC + numbered sections
   ============================================================ */
.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-7);
  align-items: start;
}
.legal-toc {
  position: sticky;
  top: calc(var(--nav-height) + var(--space-3));
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  box-shadow: var(--shadow-sm);
  max-height: calc(100vh - var(--nav-height) - var(--space-6));
  overflow-y: auto;
}
.legal-toc .toc-title {
  font-family: var(--font-sans);
  font-size: var(--fs-eyebrow);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--luxury-gold-dark);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--color-border);
}
.legal-toc ol {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc;
  padding: 0;
  margin: 0;
}
.legal-toc li {
  counter-increment: toc;
  list-style: none;
}
.legal-toc a {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--fs-small);
  line-height: 1.5;
  color: var(--grey-700);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  border-left: 3px solid transparent;
}
.legal-toc a::before {
  content: counter(toc, decimal) ".";
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--luxury-gold-dark);
  flex: none;
  width: 2.2em;
  text-align: right;
  margin-top: 0.1em;
}
.legal-toc a:hover {
  background: var(--bg-cream);
  color: var(--royal-burgundy);
  border-left-color: var(--luxury-gold);
}
.legal-toc a.active {
  background: var(--bg-cream);
  color: var(--royal-burgundy);
  font-weight: 600;
  border-left-color: var(--luxury-gold);
}
.legal-toc a.active::before {
  color: var(--royal-burgundy);
}

.legal-sections { display: flex; flex-direction: column; gap: var(--space-5); }
.legal-section {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-5);
  scroll-margin-top: calc(var(--nav-height) + var(--space-3));
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.legal-section:hover { box-shadow: var(--shadow-md); border-color: rgba(201,162,75,0.4); }
.legal-section h2 {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  margin: 0 0 var(--space-2);
}
.legal-section h2 .sec-no {
  flex: none;
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--luxury-gold), var(--luxury-gold-dark));
  color: var(--dark-brown);
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
}
.legal-section p { color: var(--grey-700); margin: 0; }
.legal-section p + p { margin-top: var(--space-3); }

.legal-meta {
  display: flex; flex-wrap: wrap; gap: var(--space-4);
  margin-top: var(--space-4);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem; color: var(--grey-500);
}
.legal-meta strong { color: var(--royal-burgundy); }

.legal-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--space-4);
  background: linear-gradient(135deg, var(--royal-burgundy), var(--royal-burgundy-deep));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-5);
  position: relative; overflow: hidden;
  margin-top: var(--space-6);
}
.legal-cta::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 80% at 90% 20%, rgba(201,162,75,0.25), transparent 60%);
}
.legal-cta > * { position: relative; z-index: 1; }
.legal-cta h3 { color: #fff; font-size: 1.5rem; margin: 0 0 6px; }
.legal-cta p { color: rgba(255,255,255,0.82); margin: 0; }

/* ============================================================
   404
   ============================================================ */
.error-code {
  font-family: var(--font-serif); font-size: clamp(6rem, 18vw, 13rem);
  color: var(--royal-burgundy); line-height: 1; font-weight: 800;
}
.error-code span { color: var(--luxury-gold); }

/* ============================================================
   UTILITIES (replaces one-off inline styles across pages)
   ============================================================ */
.eyebrow--gold { color: var(--luxury-gold-light); }
.text-small { font-size: var(--fs-small); }
.text-muted-soft { color: var(--grey-500); }
.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.text-burgundy { color: var(--royal-burgundy); }
.items-start { align-items: start; }
.text-on-dark { color: var(--white); }
.m-0 { margin: 0; }
.footer-blurb { font-size: var(--fs-small); }
.logo-sm { height: 48px; width: auto; }
.trusted-logo {
  font-size: 1.1rem;
  color: var(--grey-500);
  font-weight: 600;
  letter-spacing: 0.04em;
  position: relative;
  padding-left: 1.4rem;
}
.trusted-logo::before {
  content: "\2666"; /* diamond */
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--royal-gold, #d4af37);
  font-size: 0.9rem;
}
.brand-stack { display: inline-flex; flex-direction: column; }
.opacity-70 { opacity: 0.7; }
.tracking-wide { letter-spacing: 0.04em; }
.maxw-420 { max-width: 420px; }
.maxw-820 { max-width: 820px; margin-inline: auto; }
.center-box { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.center-actions { justify-content: center; margin-top: var(--space-4); }
.field--inline { width: auto; padding: 10px 14px; border: 1px solid var(--color-border); border-radius: var(--radius-sm); }
.meta-sub { font-size: 0.9rem; color: var(--grey-400); font-weight: 400; }

/* Sidebar layouts */
.with-sidebar--blog { display: grid; grid-template-columns: 300px 1fr; gap: var(--space-5); align-items: start; }
.with-sidebar--blog > * { min-width: 0; }
.blog-list { display: grid; gap: var(--space-4); }

/* Footer info widget (dark) */
.widget--dark { background: var(--royal-burgundy); color: var(--white); }
.widget--dark h4 { color: var(--white); }
.widget--dark p { font-size: var(--fs-small); color: rgba(255, 255, 255, 0.82); }

/* Light-on-dark text helpers */
.text-on-dark-80 { color: rgba(255, 255, 255, 0.8); }
.text-on-dark-82 { color: rgba(255, 255, 255, 0.82); }

/* Semi-transparent bordered surface (newsletter/quote cards on dark) */
.surface-ghost { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.12); }

