/* ═══════════════════════════════════════════════════════════
   Truce & Co. — Luxury Jewellery Stylesheet
   ═══════════════════════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --ivory: #FAF8F5;
  --stone: #EFE9E0;
  --taupe: #D8CFC3;
  --espresso: #1A1612;
  --charcoal: #2B2420;
  --gold: #C4A96A;
  --cream: #F5F0E8;
  --gold-soft: rgba(196, 169, 106, 0.15);
  --shadow-sm: 0 2px 8px rgba(26, 22, 18, 0.06);
  --shadow-md: 0 4px 20px rgba(26, 22, 18, 0.08);
  --shadow-lg: 0 8px 40px rgba(26, 22, 18, 0.12);
  --shadow-gold: 0 4px 24px rgba(196, 169, 106, 0.2);
  --ease-luxury: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
  color-scheme: light;
}

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--espresso);
  font-family: 'Jost', 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }

/* ─── Skip Navigation ─── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10001;
  padding: 12px 24px;
  background: var(--espresso);
  color: var(--ivory);
  font-size: 14px;
  letter-spacing: 0.06em;
  transition: top 0.3s;
}
.skip-nav:focus {
  top: 8px;
}

/* ─── Typography ─── */
.heading-font {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
}

/* ─── Loader ─── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity 0.6s var(--ease-luxury);
}
#loader.hide { opacity: 0; pointer-events: none; }
#loader svg { animation: loaderPulse 2s ease-in-out infinite; }
@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; transform: scale(0.95); }
  50% { opacity: 1; transform: scale(1); }
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  transition: all 0.5s var(--ease-luxury);
}
.site-header.scrolled {
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(216, 207, 195, 0.2);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  transition: height 0.5s var(--ease-luxury);
}
.site-header.scrolled .header-inner { height: 64px; }

.brand-logo {
  cursor: pointer;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.08em;
  transition: all 0.5s;
  background: none;
  border: none;
  padding: 0;
}
.site-header.scrolled .brand-logo { font-size: 20px; }
.brand-logo .amp { color: var(--gold); }

/* Navigation links */
.desktop-nav { display: flex; gap: 16px; align-items: center; }
.nav-link {
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  font-weight: 400;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.nav-link.active {
  color: var(--gold) !important;
  border-bottom-color: var(--gold);
  font-weight: 500;
}

@media (hover: hover) {
  .nav-link:hover { color: var(--gold) !important; }
}

/* Mobile menu button */
.mobile-menu-btn {
  display: none;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

/* Mobile menu overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(250, 248, 245, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  animation: menuFadeIn 0.3s var(--ease-luxury);
}
.mobile-menu-link {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 24px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px 16px;
  transition: color 0.3s;
}
.mobile-menu-link.active { color: var(--gold); }

@keyframes menuFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── Buttons ─── */
.btn {
  padding: 16px 40px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-family: 'Jost', sans-serif;
  font-weight: 400;
  border: none;
  cursor: pointer;
  transition: all 0.4s var(--ease-luxury);
  display: inline-block;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--espresso);
  color: var(--ivory);
  border: 1px solid var(--espresso);
}
.btn-secondary {
  background: transparent;
  color: var(--espresso);
  border: 1px solid var(--taupe);
}
.btn-gold {
  background: var(--gold);
  color: var(--ivory);
  border: 1px solid var(--gold);
}
.btn-light {
  background: transparent;
  color: var(--ivory);
  border: 1px solid rgba(250, 248, 245, 0.4);
}

/* Gold shimmer effect on CTA buttons */
.btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 200%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.15) 50%, transparent 100%);
  animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(50%); }
}

@media (hover: hover) {
  .btn-primary:hover {
    background: var(--charcoal);
    border-color: var(--charcoal);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
  }
  .btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
  }
  .btn-gold:hover {
    background: #b89a5a;
    border-color: #b89a5a;
    box-shadow: var(--shadow-gold);
    transform: translateY(-1px);
  }
  .btn-light:hover {
    background: rgba(250, 248, 245, 0.12);
    border-color: rgba(250, 248, 245, 0.6);
  }
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ─── Sections ─── */
.section {
  padding: 80px 24px;
}
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.section-bg-stone { background: var(--stone); }
.section-bg-cream { background: var(--cream); }
.section-bg-espresso { background: var(--espresso); color: var(--ivory); }
.section-bg-ivory { background: var(--ivory); }

/* ─── Section Titles ─── */
.section-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 34px;
  font-weight: 400;
  text-align: center;
  margin-bottom: 12px;
  line-height: 1.2;
}
.section-subtitle {
  text-align: center;
  color: var(--charcoal);
  font-size: 14px;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.8;
}

/* ─── Cards ─── */
.card {
  background: var(--ivory);
  flex: 1 1 320px;
  cursor: pointer;
  transition: all 0.4s var(--ease-luxury);
  overflow: hidden;
  border: 1px solid transparent;
}
.card-image {
  background-size: cover;
  background-position: center;
  height: 260px;
  transition: transform 0.6s var(--ease-luxury);
}
.card-body { padding: 28px 24px; }
.card-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 21px;
  margin-bottom: 8px;
}
.card-desc {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.7;
}

@media (hover: hover) {
  .card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
  .card:hover .card-image {
    transform: scale(1.04);
  }
}
.card:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* ─── Brand Image ─── */
.brand-img-wrapper {
  position: relative;
  overflow: hidden;
}
.brand-img {
  width: 100%;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-luxury);
}
.brand-img-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(26, 22, 18, 0.7));
  color: var(--ivory);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ─── Trust Badge ─── */
.trust-badge {
  text-align: center;
  flex: 1 1 140px;
  padding: 16px 12px;
}
.trust-badge-icon {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.trust-badge-label {
  font-size: 12px;
  margin-top: 8px;
  color: var(--charcoal);
  letter-spacing: 0.06em;
}

/* ─── Divider ─── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  gap: 0;
}
.divider-line {
  width: 60px;
  height: 1px;
  background: var(--taupe);
  opacity: 0.4;
}

/* ─── Diamond Shape / Setting selection grids ─── */
.shape-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.shape-option {
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  background: var(--stone);
  transition: all 0.3s var(--ease-luxury);
  flex: 1 1 120px;
  min-width: 110px;
  max-width: 150px;
  border: 1px solid transparent;
}
.shape-option.selected {
  background: var(--espresso);
  border-color: var(--gold);
}
.shape-option.selected .shape-label { color: var(--ivory); }

@media (hover: hover) {
  .shape-option:hover { border-color: var(--gold); transform: translateY(-3px); }
}
.shape-option:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.setting-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.setting-option {
  padding: 24px 16px;
  cursor: pointer;
  text-align: center;
  background: var(--stone);
  transition: all 0.3s var(--ease-luxury);
  flex: 1 1 160px;
  min-width: 150px;
  border: 1px solid transparent;
}
.setting-option.selected {
  background: var(--espresso);
  border-color: var(--gold);
}
.setting-option.selected .setting-name { color: var(--ivory); }
.setting-option.selected .setting-desc { color: rgba(250, 248, 245, 0.6); }

@media (hover: hover) {
  .setting-option:hover { border-color: var(--gold); }
}

/* Carat / Quality / Band option grids */
.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 700px;
  margin: 0 auto;
}
.option-item {
  padding: 18px 24px;
  cursor: pointer;
  text-align: center;
  background: var(--stone);
  transition: all 0.3s var(--ease-luxury);
  min-width: 90px;
  flex: 1 1 90px;
  border: 1px solid transparent;
}
.option-item.selected {
  background: var(--espresso);
  color: var(--ivory);
  border-color: var(--gold);
}
@media (hover: hover) {
  .option-item:hover { border-color: var(--gold); }
}
.option-item:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Metal swatches */
.metal-swatch {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s var(--ease-luxury);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
}
.metal-swatch.selected {
  border-color: var(--gold);
  transform: scale(1.08);
  box-shadow: var(--shadow-gold);
}
@media (hover: hover) {
  .metal-swatch:hover { transform: scale(1.06); }
}
.metal-swatch:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

/* ─── Ring Builder Progress Bar ─── */
.builder-progress {
  background: var(--stone);
  padding: 16px 24px;
}
.builder-progress-inner {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  gap: 4px;
  justify-content: center;
}
.progress-segment {
  flex: 1;
  height: 3px;
  cursor: pointer;
  transition: background 0.4s;
  border: none;
  padding: 0;
}
.progress-segment.active { background: var(--gold); }
.progress-segment.inactive { background: var(--taupe); }
.builder-step-label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.14em;
  margin-top: 12px;
  color: var(--charcoal);
  text-transform: uppercase;
}

/* ─── Ring Builder Preview Panel ─── */
.builder-preview {
  position: sticky;
  top: 80px;
  background: var(--stone);
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(216, 207, 195, 0.5);
}
.builder-preview-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.preview-selections {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}
.preview-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(216, 207, 195, 0.3);
}
.preview-item-label {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.preview-item-value {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 15px;
  color: var(--espresso);
}

/* ─── Hero Sections ─── */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-home {
  min-height: 100vh;
  padding: 120px 24px 80px;
}
.hero-page {
  padding: 140px 24px 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.32);
}
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.hero-tag {
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 24px;
  font-weight: 500;
}
.hero-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: clamp(36px, 6vw, 64px);
  color: var(--ivory);
  line-height: 1.15;
  margin-bottom: 24px;
  font-weight: 400;
}
.hero-page .hero-title {
  font-size: clamp(32px, 5vw, 52px);
}
.hero-desc {
  color: rgba(250, 248, 245, 0.7);
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Form Inputs ─── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  font-weight: 400;
}
.form-input {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--taupe);
  background: var(--ivory);
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  color: var(--espresso);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(196, 169, 106, 0.12);
}
.form-input::placeholder {
  color: rgba(43, 36, 32, 0.4);
}
.form-input.error {
  border-color: #c44;
}
.form-error {
  font-size: 12px;
  color: #c44;
  margin-top: 4px;
}
textarea.form-input {
  min-height: 140px;
  resize: vertical;
}
select.form-input {
  color: var(--charcoal);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%232B2420' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

/* ─── FAQ Accordion ─── */
.faq-item {
  border-bottom: 1px solid rgba(216, 207, 195, 0.27);
}
.faq-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}
.faq-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.faq-question {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 18px;
  flex: 1;
  padding-right: 16px;
  color: var(--espresso);
}
.faq-icon {
  color: var(--gold);
  font-size: 20px;
  transition: transform 0.3s var(--ease-luxury);
  flex-shrink: 0;
}
.faq-icon.open { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 24px;
  color: var(--charcoal);
  line-height: 1.8;
  font-size: 14px;
  animation: faqReveal 0.3s var(--ease-luxury);
}
@keyframes faqReveal {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Footer ─── */
.site-footer {
  background: var(--espresso);
  color: var(--ivory);
  padding: 80px 24px 40px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin-bottom: 60px;
}
.footer-col { flex: 1 1 160px; }
.footer-col-wide { flex: 1 1 280px; }
.footer-heading {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-link {
  color: rgba(250, 248, 245, 0.6);
  font-size: 13px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.3s;
  display: block;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
}
@media (hover: hover) {
  .footer-link:hover { color: var(--gold); }
}
.footer-link:focus-visible { outline: 1px solid var(--gold); outline-offset: 2px; }

.footer-desc {
  color: rgba(250, 248, 245, 0.6);
  font-size: 14px;
  line-height: 1.8;
  max-width: 320px;
}
.footer-bottom {
  border-top: 1px solid rgba(250, 248, 245, 0.1);
  padding-top: 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.footer-copy {
  color: rgba(250, 248, 245, 0.35);
  font-size: 11px;
  letter-spacing: 0.06em;
}

/* ─── WhatsApp Button ─── */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 998;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
  border: none;
}
@media (hover: hover) {
  .whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.25);
  }
}

/* ─── Process Steps ─── */
.process-step {
  display: flex;
  gap: 28px;
  margin-bottom: 48px;
  align-items: flex-start;
}
.process-number {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 36px;
  color: var(--gold);
  min-width: 50px;
  font-weight: 400;
}
.process-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 22px;
  margin-bottom: 8px;
  font-weight: 400;
}
.process-desc {
  color: var(--charcoal);
  line-height: 1.8;
  font-size: 14px;
}

/* ─── Portfolio Grid ─── */
.portfolio-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.portfolio-item {
  flex: 1 1 320px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease-luxury);
  border: 1px solid transparent;
}
@media (hover: hover) {
  .portfolio-item:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
  }
  .portfolio-item:hover .portfolio-image {
    transform: scale(1.04);
  }
}
.portfolio-image {
  height: 300px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s var(--ease-luxury);
}
.portfolio-caption {
  padding: 24px;
  background: var(--ivory);
}
.portfolio-caption h3 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 19px;
  margin-bottom: 6px;
  font-weight: 400;
}
.portfolio-caption p {
  font-size: 13px;
  color: var(--charcoal);
  line-height: 1.7;
}

/* ─── Testimonial ─── */
.testimonial {
  text-align: center;
  padding: 16px;
  flex: 1 1 300px;
}
.testimonial-text {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-style: italic;
  font-size: 18px;
  line-height: 1.7;
  color: var(--espresso);
  margin-bottom: 16px;
}
.testimonial-author {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ─── Key Details Badges ─── */
.key-detail {
  background: var(--ivory);
  padding: 16px 24px;
  flex: 1 1 260px;
  font-size: 13px;
  color: var(--charcoal);
}
.key-detail .diamond-bullet {
  color: var(--gold);
  margin-right: 8px;
}

/* ─── Cookie Consent ─── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 997;
  background: var(--espresso);
  color: rgba(250, 248, 245, 0.8);
  padding: 16px 24px;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  animation: slideUp 0.4s var(--ease-luxury);
}
.cookie-banner button {
  padding: 8px 24px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

/* ─── Scroll Reveal Animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.7s var(--ease-luxury), transform 0.7s var(--ease-luxury);
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s var(--ease-luxury), transform 0.8s var(--ease-luxury);
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children > .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children > .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children > .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children > .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children > .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children > .reveal:nth-child(6) { transition-delay: 0.5s; }
.stagger-children > .reveal:nth-child(7) { transition-delay: 0.6s; }
.stagger-children > .reveal:nth-child(8) { transition-delay: 0.7s; }
.stagger-children > .reveal:nth-child(9) { transition-delay: 0.8s; }

/* Page transitions */
.page-enter {
  animation: pageEnter 0.5s var(--ease-luxury) forwards;
}
@keyframes pageEnter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal, .reveal-scale, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* ─── Loading Spinner ─── */
.form-loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(250, 248, 245, 0.3);
  border-top-color: var(--ivory);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  margin-right: 8px;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ═══════════════════════════════════════════════════════════ */

/* ─── Large Desktop (1200px+) ─── */
/* Default styles are for desktop */

/* ─── Tablet & Small Desktop (≤1024px) ─── */
@media (max-width: 1024px) {
  .desktop-nav { gap: 10px; }
  .nav-link { font-size: 9.5px; letter-spacing: 0.06em; }
  .section { padding: 64px 20px; }
  .card { flex: 1 1 280px; }
  .card-image { height: 220px; }
}

/* ─── Tablet (≤900px) ─── */
@media (max-width: 1100px) {
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: block; }

  .footer-grid { gap: 32px; }
  .footer-col { flex: 1 1 45%; }
  .footer-col-wide { flex: 1 1 100%; }

  .hero-home { min-height: 90vh; padding: 100px 20px 60px; }
  .hero-page { padding: 120px 20px 60px; }

  .portfolio-grid { gap: 16px; }
  .portfolio-item { flex: 1 1 280px; }
  .portfolio-image { height: 240px; }

  /* Builder: hide sticky preview on tablet, show inline */
  .builder-preview { position: static; margin-bottom: 24px; }
  .builder-layout { flex-direction: column; }
}

/* ─── Mobile (≤768px) ─── */
@media (max-width: 768px) {
  .section { padding: 56px 16px; }
  .section-title { font-size: 28px; }
  .section-subtitle { font-size: 13px; margin-bottom: 36px; }

  .card { flex: 1 1 100%; }
  .card-image { height: 200px; }

  .hero-home { min-height: 85vh; padding: 100px 16px 60px; }
  .hero-page { padding: 110px 16px 56px; }
  .hero-desc { font-size: 15px; margin-bottom: 32px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-actions .btn { width: 100%; max-width: 320px; }

  .shape-grid { gap: 10px; }
  .shape-option { flex: 1 1 95px; min-width: 90px; padding: 16px 10px; }
  .setting-grid { gap: 10px; }
  .setting-option { flex: 1 1 45%; min-width: 140px; }

  .process-step { gap: 16px; }
  .process-number { font-size: 28px; min-width: 40px; }
  .process-title { font-size: 19px; }

  .portfolio-item { flex: 1 1 100%; }
  .portfolio-image { height: 220px; }

  .footer-grid { gap: 28px; }
  .footer-col { flex: 1 1 45%; }
  .footer-col-wide { flex: 1 1 100%; }

  .testimonial { flex: 1 1 100%; }

  .btn { padding: 14px 32px; font-size: 12px; width: 100%; max-width: 320px; }

  .builder-progress { padding: 12px 16px; }

  .cookie-banner { flex-direction: column; text-align: center; gap: 12px; }
}

/* ─── Small Mobile (≤480px) ─── */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(28px, 8vw, 36px); }
  .hero-page .hero-title { font-size: clamp(26px, 7vw, 32px); }
  .hero-desc { font-size: 14px; }

  .section { padding: 48px 16px; }
  .section-title { font-size: 24px; }

  .shape-option { flex: 1 1 80px; min-width: 80px; padding: 14px 8px; }
  .shape-option svg { width: 44px; height: 44px; }

  .setting-option { flex: 1 1 100%; }

  .option-grid { gap: 8px; }
  .option-item { padding: 14px 16px; flex: 1 1 45%; min-width: 80px; }

  .process-step { flex-direction: column; gap: 8px; }
  .process-number { min-width: auto; }

  .footer-col { flex: 1 1 100%; }

  .mobile-menu-link { font-size: 20px; }

  .whatsapp-btn { bottom: 16px; right: 16px; width: 50px; height: 50px; }
}

/* ─── Touch device specifics ─── */
@media (pointer: coarse) {
  .btn, .nav-link, .shape-option, .setting-option, .option-item,
  .metal-swatch, .faq-button, .card, .footer-link, .mobile-menu-link,
  .portfolio-item {
    touch-action: manipulation;
  }
}
