/* ═══════════════════════════════════════════════════════════════
   INKVIN — Design Selection Page Styles
   ═══════════════════════════════════════════════════════════════ */

/* ── Google Font for Serif Layouts ── */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&display=swap');


/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.dsg-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(140px, 16vw, 220px) 0 clamp(80px, 12vw, 140px);
  background: var(--ink);
  text-align: center;
}
.dsg-hero-content { position: relative; z-index: 2; max-width: 780px; margin: 0 auto; }
.dsg-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.dsg-hero h1 { color: #fff; margin-bottom: 20px; }
.dsg-hero .text-lede { color: rgba(255,255,255,0.65); margin: 0 auto 36px; max-width: 620px; }
.dsg-hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.dsg-hero-ctas .btn-outline { color: rgba(255,255,255,0.8); border-color: rgba(255,255,255,0.2); }
.dsg-hero-ctas .btn-outline:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.4); }

/* Hero floating cards */
.dsg-hero-cards-wrap { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.dsg-hero-card {
  position: absolute;
  opacity: 0.18;
  animation: heroFloat 6s ease-in-out infinite;
}
.dsg-hero-card .card-mockup { box-shadow: 0 12px 40px rgba(0,0,0,0.4); pointer-events: none; }
.dsg-hero-card-1 { top: 15%; right: 5%; width: clamp(140px, 16vw, 220px); animation-delay: 0s; }
.dsg-hero-card-2 { top: 45%; right: 22%; width: clamp(120px, 14vw, 200px); animation-delay: 0.8s; }
.dsg-hero-card-3 { bottom: 10%; left: 5%; width: clamp(130px, 15vw, 210px); animation-delay: 1.6s; }
@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-12px) rotate(var(--r, 0deg)); }
}
.dsg-hero-card-1 { --r: -10deg; }
.dsg-hero-card-2 { --r: 5deg; }
.dsg-hero-card-3 { --r: -4deg; }
@media (max-width: 768px) {
  .dsg-hero-cards-wrap { display: none; }
}


/* ═══════════════════════════════════════════
   CATEGORY BAR
   ═══════════════════════════════════════════ */
.dsg-categories {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: var(--paper-bright);
  border-bottom: 1px solid var(--line);
  padding: 0;
}
.dsg-cat-scroll {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 14px 0;
  scroll-snap-type: x mandatory;
}
.dsg-cat-scroll::-webkit-scrollbar { display: none; }
.dsg-cat-btn {
  flex-shrink: 0;
  padding: 8px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  scroll-snap-align: start;
  white-space: nowrap;
}
.dsg-cat-btn:hover { border-color: var(--ink); color: var(--ink); }
.dsg-cat-btn.active {
  background: var(--ink);
  color: var(--paper-bright);
  border-color: var(--ink);
}


/* ═══════════════════════════════════════════
   FILTER TOOLBAR
   ═══════════════════════════════════════════ */
.dsg-catalogue { padding: clamp(32px, 5vw, 56px) 0 clamp(60px, 10vw, 120px); }

.dsg-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(28px, 4vw, 48px);
  flex-wrap: wrap;
}
.dsg-toolbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: 1; }
.dsg-toolbar-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }

.dsg-search {
  position: relative;
  flex: 0 1 240px;
  min-width: 180px;
}
.dsg-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--paper-bright);
  transition: border-color 0.2s ease;
}
.dsg-search input:focus { outline: none; border-color: var(--ink); }
.dsg-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.dsg-filters { display: flex; gap: 8px; flex-wrap: wrap; }
.dsg-filter-select {
  padding: 9px 32px 9px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.85rem;
  color: var(--ink);
  background: var(--paper-bright) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
  min-width: 0;
}
.dsg-filter-select:focus { outline: none; border-color: var(--ink); }
.dsg-filter-select:hover { border-color: #aaa; }

.dsg-clear {
  padding: 9px 16px;
  border: none;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
  white-space: nowrap;
}
.dsg-clear:hover { color: var(--ink); }

.dsg-count {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
  white-space: nowrap;
}
.dsg-count strong { color: var(--ink); font-weight: 700; }

/* Mobile filter button */
.dsg-mobile-filter-btn {
  display: none;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-bright);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
}
.dsg-mobile-filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }

@media (max-width: 768px) {
  .dsg-mobile-filter-btn { display: inline-flex; }
  .dsg-filters { display: none; flex-direction: column; width: 100%; gap: 8px; }
  .dsg-filters.dsg-filters-open { display: flex; }
  .dsg-filter-select { width: 100%; }
  .dsg-clear { width: 100%; text-align: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); }
  .dsg-toolbar { flex-direction: column; align-items: stretch; }
  .dsg-toolbar-left { flex-direction: column; }
  .dsg-toolbar-right { justify-content: space-between; }
  .dsg-search { flex: 1 1 100%; min-width: 100%; }
}


/* ═══════════════════════════════════════════
   DESIGN GRID
   ═══════════════════════════════════════════ */
.dsg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 1100px) { .dsg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .dsg-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }


/* ═══════════════════════════════════════════
   GRID ITEM
   ═══════════════════════════════════════════ */
.dsg-item {
  display: flex;
  flex-direction: column;
  background: var(--paper-bright);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
}
.dsg-item::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 40px; height: 40px;
  background: radial-gradient(circle, #D4A017 0.5px, transparent 0.5px);
  background-size: 5px 5px;
  opacity: 0;
  border-radius: 0 var(--radius-lg) 0 50%;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 3;
}
.dsg-item:hover::after { opacity: 0.15; }
.dsg-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(212, 160, 23, 0.2), 0 4px 12px rgba(10,17,40,0.03);
  border-color: #D4A017;
}
.dsg-item-preview {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 3vw, 28px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  min-height: 120px;
  overflow: hidden;
}
.dsg-item-preview::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 30px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C200,100 400,20 600,60 C800,100 1000,20 1200,60 L1200,120 L0,120 Z' fill='%23D4A017' opacity='0.1'/%3E%3Cpath d='M0,80 C150,110 350,50 600,80 C850,110 1050,50 1200,80 L1200,120 L0,120 Z' fill='%23E8730E' opacity='0.06'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 1;
  pointer-events: none;
}
.dsg-item-preview::after {
  content: 'INKVIN';
  position: absolute;
  bottom: 6px; right: 8px;
  font-size: 0.4rem;
  font-weight: 800;
  letter-spacing: 0.3em;
  color: #D4A017;
  opacity: 0.1;
  pointer-events: none;
  z-index: 2;
}
.dsg-new-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 3px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, #E8730E, #D4A017);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 3px 10px rgba(232, 115, 14, 0.3);
  z-index: 3;
  overflow: hidden;
}
.dsg-new-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: badge-shimmer 3s ease-in-out infinite;
}
@keyframes badge-shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

.dsg-item-info {
  padding: clamp(12px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dsg-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.dsg-item-id {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D4A017;
}
.dsg-item-style {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.dsg-item-name {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 700;
  margin: 0 0 4px;
  line-height: 1.3;
}
.dsg-item-prof {
  font-size: 0.75rem;
  color: var(--muted);
  margin: 0 0 10px;
}
.dsg-item-finishes {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.fin-tag {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 2px 7px;
  border-radius: 4px;
  background: var(--paper);
  color: var(--muted);
  border: 1px solid var(--line);
}
.fin-gold-foil { background: #FFF8E7; color: #9A7B2C; border-color: #E8D5A0; }
.fin-silver-foil { background: #F0F2F4; color: #666; border-color: #D0D5DA; }
.fin-embossed { background: #F5F0EB; color: #6B4C3B; border-color: #DDD0C5; }
.fin-uv { background: #EEF2FF; color: #4338CA; border-color: #C7D2FE; }
.fin-soft-touch { background: #F0FDF4; color: #166534; border-color: #BBF7D0; }

.dsg-item-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}
.dsg-btn-view {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dsg-btn-view:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.dsg-btn-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 12px;
  border: none;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #E8730E, #D4A017);
  color: #fff;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(232, 115, 14, 0.25);
  position: relative;
  overflow: hidden;
}
.dsg-btn-select::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.4s ease;
}
.dsg-btn-select:hover::after { left: 100%; }
.dsg-btn-select:hover { background: linear-gradient(135deg, #D4650C, #C49315); transform: translateY(-1px); box-shadow: 0 5px 16px rgba(232, 115, 14, 0.35); }

@media (max-width: 768px) {
  .dsg-item-info { padding: 10px 12px 14px; }
  .dsg-item-name { font-size: 0.82rem; }
  .dsg-item-prof { font-size: 0.68rem; margin-bottom: 6px; }
  .dsg-item-meta { margin-bottom: 4px; }
  .dsg-item-id, .dsg-item-style { font-size: 0.58rem; }
  .fin-tag { font-size: 0.52rem; padding: 1px 5px; }
  .dsg-item-finishes { margin-bottom: 10px; }
  .dsg-btn-view, .dsg-btn-select { font-size: 0.72rem; padding: 7px 8px; }
}

/* Empty state */
.dsg-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  text-align: center;
  color: var(--muted);
}
.dsg-empty p { font-size: 1.1rem; margin-bottom: 20px; }


/* ═══════════════════════════════════════════
   CARD MOCKUP — Physical Card Appearance
   ═══════════════════════════════════════════ */
.card-mockup {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 1px 3px rgba(0,0,0,0.07),
    0 4px 12px rgba(0,0,0,0.05),
    0 8px 24px rgba(0,0,0,0.03);
  border-bottom: 2px solid rgba(0,0,0,0.06);
  width: 100%;
  font-size: 14px;
  transition: transform 0.3s ease;
}
.card-mockup.card-h { aspect-ratio: 3.5 / 2; }
.card-mockup.card-v {
  aspect-ratio: 2 / 3.5;
  width: 62%;
  margin: 0 auto;
}
.card-mockup::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.04);
}
.dsg-item:hover .card-mockup { transform: translateY(-2px); }

.card-face {
  position: absolute;
  inset: 0;
}

/* Modal card (larger) */
.card-mockup-lg {
  font-size: clamp(16px, 2.5vw, 22px);
  max-width: 480px;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.08),
    0 8px 24px rgba(0,0,0,0.06),
    0 16px 48px rgba(0,0,0,0.04);
}
.card-mockup-lg.card-v { width: 55%; }

@media (max-width: 768px) {
  .card-mockup { font-size: 10px; }
  .card-mockup-lg { font-size: 14px; max-width: 100%; }
  .card-mockup-lg.card-v { width: 50%; }
}


/* ═══════════════════════════════════════════
   COLOR SCHEMES (33 schemes)
   Each sets: --cb (bg), --ct (text), --ca (accent),
   --cm (muted), --cac (accent-color)
   ═══════════════════════════════════════════ */
.cs-ivory-black     { --cb:#FAFAF5; --ct:#1a1a1a; --ca:#333; --cm:#888; --cac:#1a1a1a; }
.cs-white-navy      { --cb:#ffffff; --ct:#1a1a1a; --ca:#1e3a5f; --cm:#6b7280; --cac:#1e3a5f; }
.cs-grey-black      { --cb:#f0f0ef; --ct:#1a1a1a; --ca:#333; --cm:#777; --cac:#555; }
.cs-cream-brown     { --cb:#F5F0EB; --ct:#3d2b1f; --ca:#6b4c3b; --cm:#8b7355; --cac:#6b4c3b; }
.cs-navy-cream      { --cb:#F5F0EB; --ct:#1e2d4a; --ca:#1e2d4a; --cm:#5a6b7a; --cac:#1e2d4a; }
.cs-black-gold      { --cb:#111111; --ct:#f5f0e5; --ca:#c9a84c; --cm:#999; --cac:#c9a84c; }
.cs-midnight        { --cb:#0c111b; --ct:#f0f0f0; --ca:#ffffff; --cm:#888; --cac:#fff; }
.cs-navy-gold       { --cb:#162340; --ct:#f5f0e5; --ca:#c9a84c; --cm:#8899aa; --cac:#c9a84c; }
.cs-dark-purple     { --cb:#13101f; --ct:#f0f0f5; --ca:#8b5cf6; --cm:#9999bb; --cac:#8b5cf6; }
.cs-charcoal-gold   { --cb:#2a2a2a; --ct:#f5f0e5; --ca:#c9a84c; --cm:#aaa; --cac:#c9a84c; }
.cs-white-teal      { --cb:#ffffff; --ct:#1a1a1a; --ca:#0d7377; --cm:#6b7280; --cac:#0d7377; }
.cs-white-blue      { --cb:#ffffff; --ct:#1a1a1a; --ca:#2563eb; --cm:#6b7280; --cac:#2563eb; }
.cs-burgundy-cream  { --cb:#F5EFEB; --ct:#4a1c2c; --ca:#722f37; --cm:#8b6b6b; --cac:#722f37; }
.cs-teal-dark       { --cb:#0a4d50; --ct:#f0fafb; --ca:#88d8d8; --cm:#8bbcbc; --cac:#88d8d8; }
.cs-sage-cream      { --cb:#EFF3EC; --ct:#2d3a25; --ca:#5b7553; --cm:#778b6b; --cac:#5b7553; }
.cs-dark-gold       { --cb:#141410; --ct:#f5f0e5; --ca:#b8963e; --cm:#999; --cac:#b8963e; }
.cs-charcoal-white  { --cb:#2d2d2d; --ct:#f5f5f5; --ca:#ffffff; --cm:#aaa; --cac:#888; }
.cs-dark-white      { --cb:#111111; --ct:#ffffff; --ca:#ffffff; --cm:#aaa; --cac:#555; }
.cs-midnight-silver { --cb:#0c111b; --ct:#e0e4e8; --ca:#c0c4c8; --cm:#788090; --cac:#a0a8b0; }
.cs-white-green     { --cb:#ffffff; --ct:#1a1a1a; --ca:#2d6a4f; --cm:#6b7280; --cac:#2d6a4f; }
.cs-olive           { --cb:#ffffff; --ct:#2d2d2d; --ca:#5b6b3a; --cm:#888; --cac:#5b6b3a; }
.cs-concrete        { --cb:#ECEAE6; --ct:#1a1a1a; --ca:#555; --cm:#888; --cac:#333; }
.cs-blush-gold      { --cb:#FBF0ED; --ct:#3a2020; --ca:#b8963e; --cm:#8b7070; --cac:#b8963e; }
.cs-coral           { --cb:#ffffff; --ct:#333; --ca:#c14040; --cm:#888; --cac:#c14040; }
.cs-coffee          { --cb:#F0E8DF; --ct:#3d2b1f; --ca:#6b4226; --cm:#8b7355; --cac:#6b4226; }
.cs-rose-dark       { --cb:#241018; --ct:#f5e5ec; --ca:#d4688a; --cm:#aa8898; --cac:#d4688a; }
.cs-rose-light      { --cb:#F8E8E0; --ct:#3a2525; --ca:#b06060; --cm:#8b7070; --cac:#b06060; }
.cs-lavender        { --cb:#F0EDF5; --ct:#2d2535; --ca:#6b5b8d; --cm:#8880a0; --cac:#6b5b8d; }
.cs-dark-saffron    { --cb:#1a150e; --ct:#f5ede0; --ca:#d4873a; --cm:#aa9977; --cac:#d4873a; }
.cs-espresso        { --cb:#F2E8DD; --ct:#2d1f12; --ca:#5c3d1f; --cm:#8b7355; --cac:#5c3d1f; }
.cs-paprika         { --cb:#1a0e0a; --ct:#f5e8e0; --ca:#c85533; --cm:#aa8877; --cac:#c85533; }
.cs-forest          { --cb:#0f2b1d; --ct:#f0f5ef; --ca:#7fb069; --cm:#8baa8b; --cac:#7fb069; }
.cs-sky             { --cb:#f0f8ff; --ct:#1a2a3a; --ca:#1a73e8; --cm:#5a7a9a; --cac:#1a73e8; }


/* ═══════════════════════════════════════════
   FRONT CARD — STANDARD BASE
   (shared by 9 layout types)
   ═══════════════════════════════════════════ */
.cf-standard {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 14%;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.cf-standard .cf-deco { display: none; }
.cf-standard .cf-logo { display: none; }
.cf-standard .cf-tagline { display: none; }
.cf-standard .cf-header { display: flex; flex-direction: column; }
.cf-standard .cf-company {
  font-size: 0.52em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm);
}
.cf-standard .cf-body { display: flex; flex-direction: column; }
.cf-standard .cf-name {
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ct);
}
.cf-standard .cf-title {
  font-size: 0.48em;
  font-weight: 400;
  color: var(--cm);
  margin-top: 0.3em;
}
.cf-standard .cf-divider {
  width: 20px;
  height: 1px;
  background: var(--cac);
  margin: 0.8em 0;
  flex-shrink: 0;
}
.cf-standard .cf-footer {
  display: flex;
  flex-direction: column;
  gap: 0.12em;
}
.cf-standard .cf-footer span {
  font-size: 0.4em;
  color: var(--cm);
  line-height: 1.4;
}


/* ── 1. Minimal Editorial ── */
.cf-minimal-editorial {
  justify-content: space-between;
  text-align: left;
}
.cf-minimal-editorial .cf-deco {
  display: block;
  position: absolute;
  top: 0;
  left: 14%;
  width: 22px;
  height: 2px;
  background: var(--cac);
}
.cf-minimal-editorial .cf-header { margin-bottom: auto; }
.cf-minimal-editorial .cf-company { margin-bottom: 0.5em; }


/* ── 2. Luxury Serif ── */
.cf-luxury-serif {
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  font-family: 'Playfair Display', Georgia, serif;
}
.cf-luxury-serif .cf-deco {
  display: block;
  width: 50%;
  height: 1px;
  background: var(--cac);
  opacity: 0.25;
}
.cf-luxury-serif .cf-header { order: -1; }
.cf-luxury-serif .cf-company {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.25em;
  font-size: 0.42em;
}
.cf-luxury-serif .cf-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  font-size: 1.15em;
  letter-spacing: 0.08em;
}
.cf-luxury-serif .cf-title { font-family: 'Inter', sans-serif; }
.cf-luxury-serif .cf-divider { width: 30px; align-self: center; background: var(--cac); opacity: 0.4; }
.cf-luxury-serif .cf-footer { align-items: center; }


/* ── 3. Bold Grotesk ── */
.cf-bold-grotesk {
  justify-content: flex-end;
  padding: 10% 12%;
}
.cf-bold-grotesk .cf-name {
  font-size: 1.7em;
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 0.15em;
}
.cf-bold-grotesk .cf-company {
  font-size: 0.42em;
  letter-spacing: 0.12em;
  margin-bottom: 0.3em;
}
.cf-bold-grotesk .cf-title {
  font-size: 0.42em;
  text-align: right;
}
.cf-bold-grotesk .cf-divider { display: none; }
.cf-bold-grotesk .cf-footer {
  flex-direction: row;
  gap: 0.8em;
  margin-top: 0.6em;
  flex-wrap: wrap;
}
.cf-bold-grotesk .cf-footer span { font-size: 0.38em; }


/* ── 4. Border Frame ── */
.cf-border-frame {
  padding: 8%;
  align-items: center;
  justify-content: center;
  gap: 0.3em;
  text-align: center;
}
.cf-border-frame .cf-deco {
  display: block;
  position: absolute;
  inset: 8%;
  border: 1px solid var(--cac);
  opacity: 0.2;
  pointer-events: none;
}
.cf-border-frame .cf-header { padding: 0 6%; }
.cf-border-frame .cf-body { padding: 0 6%; }
.cf-border-frame .cf-footer { align-items: center; padding: 0 6%; }
.cf-border-frame .cf-divider { width: 28px; align-self: center; }
.cf-border-frame .cf-name { font-size: 1em; letter-spacing: 0.04em; }


/* ── 5. Full Bleed ── */
.cf-full-bleed {
  justify-content: space-between;
}
.cf-full-bleed .cf-deco {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--cac);
}
.cf-full-bleed .cf-name { font-size: 1.05em; }
.cf-full-bleed .cf-company { margin-bottom: 0.3em; }


/* ── 6. Dark Premium ── */
.cf-dark-premium {
  justify-content: space-between;
}
.cf-dark-premium .cf-deco {
  display: block;
  position: absolute;
  bottom: 14%;
  right: 14%;
  width: 28px;
  height: 1px;
  background: var(--cac);
  opacity: 0.5;
}
.cf-dark-premium .cf-header { margin-bottom: auto; }
.cf-dark-premium .cf-name {
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.06em;
}
.cf-dark-premium .cf-company { letter-spacing: 0.22em; }


/* ── 7. Pattern ── */
.cf-pattern {
  justify-content: space-between;
}
.cf-pattern .cf-deco {
  display: block;
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--cac) 0.5px, transparent 0.5px);
  background-size: 10px 10px;
  opacity: 0.06;
  pointer-events: none;
}
.cf-pattern .cf-header,
.cf-pattern .cf-body,
.cf-pattern .cf-footer,
.cf-pattern .cf-divider { position: relative; z-index: 1; }
.cf-pattern .cf-header { margin-bottom: auto; }


/* ── 8. Gradient Modern ── */
.cf-gradient-modern {
  padding-left: 20%;
  justify-content: space-between;
}
.cf-gradient-modern .cf-deco {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5%;
  background: linear-gradient(180deg, var(--cac), transparent 80%);
}
.cf-gradient-modern .cf-header { margin-bottom: auto; }
.cf-gradient-modern .cf-name { font-size: 1em; }


/* ── 9. Earthy Organic ── */
.cf-earthy-organic {
  justify-content: space-between;
}
.cf-earthy-organic .cf-deco {
  display: block;
  position: absolute;
  top: 10%;
  right: 10%;
  width: 2.5em;
  height: 2.5em;
  border-radius: 50%;
  border: 1px solid var(--cac);
  opacity: 0.12;
  pointer-events: none;
}
.cf-earthy-organic .cf-header { margin-bottom: auto; }
.cf-earthy-organic .cf-name { font-weight: 500; }
.cf-earthy-organic .cf-company { font-size: 0.48em; }


/* ═══════════════════════════════════════════
   FRONT CARD — SPLIT LAYOUT
   ═══════════════════════════════════════════ */
.cf-split {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.cf-split-left {
  width: 42%;
  background: var(--ca);
  color: var(--cb);
  padding: 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cf-split-left .cf-logo {
  font-size: 1.6em;
  font-weight: 700;
  opacity: 0.2;
  margin-bottom: auto;
}
.cf-split-left .cf-name {
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.2em;
}
.cf-split-left .cf-title {
  font-size: 0.4em;
  opacity: 0.7;
}
.cf-split-right {
  flex: 1;
  padding: 10% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cf-split-right .cf-company {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cm);
  margin-bottom: 0.5em;
}
.cf-split-right .cf-divider {
  width: 18px;
  height: 1px;
  background: var(--cac);
  margin: 0.5em 0;
}
.cf-split-right span {
  font-size: 0.38em;
  color: var(--cm);
  line-height: 1.5;
  display: block;
}


/* ═══════════════════════════════════════════
   FRONT CARD — MONOGRAM LAYOUT
   ═══════════════════════════════════════════ */
.cf-monogram {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 12%;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  justify-content: flex-end;
}
.cf-mono-bg {
  position: absolute;
  top: -10%;
  right: -5%;
  font-size: 6em;
  font-weight: 800;
  color: var(--cac);
  opacity: 0.06;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}
.cf-mono-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.cf-monogram .cf-company {
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm);
  margin-bottom: 0.4em;
}
.cf-monogram .cf-name {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.15;
}
.cf-monogram .cf-title {
  font-size: 0.45em;
  color: var(--cm);
  margin-top: 0.25em;
}
.cf-monogram .cf-divider {
  width: 18px;
  height: 1px;
  background: var(--cac);
  margin: 0.7em 0;
}
.cf-monogram span {
  font-size: 0.38em;
  color: var(--cm);
  line-height: 1.45;
  display: block;
}


/* ═══════════════════════════════════════════
   FRONT CARD — VERTICAL TYPE LAYOUT
   ═══════════════════════════════════════════ */
.cf-vert {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.cf-vert-name {
  width: 22%;
  background: var(--ca);
  color: var(--cb);
  display: flex;
  align-items: center;
  justify-content: center;
  writing-mode: vertical-lr;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.65em;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 8% 0;
}
.cf-vert-body {
  flex: 1;
  padding: 10% 8%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cf-vert .cf-company {
  font-size: 0.48em;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cm);
  margin-bottom: 0.3em;
}
.cf-vert .cf-title {
  font-size: 0.42em;
  color: var(--cm);
  margin-bottom: 0.6em;
}
.cf-vert .cf-divider {
  width: 16px;
  height: 1px;
  background: var(--cac);
  margin-bottom: 0.5em;
}
.cf-vert span {
  font-size: 0.36em;
  color: var(--cm);
  line-height: 1.5;
  display: block;
}


/* ═══════════════════════════════════════════
   FRONT CARD — ASYMMETRIC LAYOUT
   ═══════════════════════════════════════════ */
.cf-asym {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 12%;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  justify-content: space-between;
}
.cf-asym-name {
  font-size: 1.5em;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ct);
}
.cf-asym-line {
  width: 40px;
  height: 2px;
  background: var(--cac);
  margin: 0.4em 0;
  transform: rotate(-3deg);
}
.cf-asym-meta {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.cf-asym .cf-title {
  font-size: 0.45em;
  color: var(--cm);
}
.cf-asym .cf-company {
  font-size: 0.42em;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cm);
}
.cf-asym-contact {
  display: flex;
  gap: 0.6em;
  flex-wrap: wrap;
  margin-top: auto;
}
.cf-asym-contact span {
  font-size: 0.36em;
  color: var(--cm);
}


/* ═══════════════════════════════════════════
   FRONT CARD — PHOTO-READY LAYOUT
   ═══════════════════════════════════════════ */
.cf-photo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10%;
  gap: 8%;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.cf-photo-circle {
  width: 3.2em;
  height: 3.2em;
  border-radius: 50%;
  background: var(--ca);
  color: var(--cb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1em;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.9;
}
.cf-photo-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.cf-photo .cf-name {
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.2;
}
.cf-photo .cf-title {
  font-size: 0.4em;
  color: var(--cm);
  margin-top: 0.15em;
}
.cf-photo .cf-company {
  font-size: 0.38em;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cm);
  margin-top: 0.4em;
}
.cf-photo .cf-divider {
  width: 14px;
  height: 1px;
  background: var(--cac);
  margin: 0.4em 0;
}
.cf-photo span {
  font-size: 0.33em;
  color: var(--cm);
  line-height: 1.4;
  display: block;
}


/* ═══════════════════════════════════════════
   FRONT CARD — GEOMETRIC LAYOUT
   ═══════════════════════════════════════════ */
.cf-geo {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 12%;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
  justify-content: flex-end;
}
.cf-geo-shape {
  position: absolute;
  top: 8%;
  right: 10%;
  width: 2.8em;
  height: 2.8em;
  border: 1.5px solid var(--cac);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.cf-geo-shape2 {
  position: absolute;
  top: 20%;
  right: 22%;
  width: 1.4em;
  height: 1.4em;
  border: 1.5px solid var(--cac);
  opacity: 0.1;
  pointer-events: none;
  transform: rotate(45deg);
}
.cf-geo-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.cf-geo .cf-company {
  font-size: 0.45em;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cm);
  margin-bottom: 0.4em;
}
.cf-geo .cf-name {
  font-size: 1em;
  font-weight: 700;
  line-height: 1.15;
}
.cf-geo .cf-title {
  font-size: 0.43em;
  color: var(--cm);
  margin-top: 0.2em;
}
.cf-geo .cf-divider {
  width: 18px;
  height: 1px;
  background: var(--cac);
  margin: 0.7em 0;
}
.cf-geo span {
  font-size: 0.37em;
  color: var(--cm);
  line-height: 1.45;
  display: block;
}


/* ═══════════════════════════════════════════
   BACK CARD LAYOUTS
   ═══════════════════════════════════════════ */

/* ── Back: Brand ── */
.cb-brand {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  text-align: center;
  padding: 12%;
  gap: 0.3em;
}
.cb-brand .cb-mono {
  font-size: 2.2em;
  font-weight: 800;
  color: var(--cac);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 0.2em;
}
.cb-brand .cb-company {
  font-size: 0.52em;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}
.cb-brand .cb-divider {
  width: 24px;
  height: 1px;
  background: var(--cac);
  opacity: 0.3;
}
.cb-brand .cb-tagline {
  font-size: 0.4em;
  color: var(--cm);
  font-style: italic;
}
.cb-brand .cb-web {
  font-size: 0.38em;
  color: var(--cm);
  margin-top: 0.3em;
}

/* ── Back: Info ── */
.cb-info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  text-align: center;
  padding: 12%;
  gap: 0.2em;
}
.cb-info .cb-logo {
  font-size: 1.4em;
  font-weight: 800;
  color: var(--cac);
  opacity: 0.2;
}
.cb-info .cb-company {
  font-size: 0.48em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cb-info .cb-divider {
  width: 20px;
  height: 1px;
  background: var(--cac);
  opacity: 0.25;
  margin: 0.3em 0;
}
.cb-info .cb-name {
  font-size: 0.55em;
  font-weight: 600;
}
.cb-info .cb-title {
  font-size: 0.4em;
  color: var(--cm);
  margin-bottom: 0.3em;
}
.cb-info .cb-contact {
  display: flex;
  flex-direction: column;
  gap: 0.1em;
}
.cb-info .cb-contact span {
  font-size: 0.36em;
  color: var(--cm);
}

/* ── Back: Minimal ── */
.cb-minimal {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  gap: 0.6em;
}
.cb-minimal .cb-mono {
  font-size: 2em;
  font-weight: 800;
  color: var(--cac);
  opacity: 0.12;
}
.cb-minimal .cb-web {
  font-size: 0.4em;
  color: var(--cm);
  letter-spacing: 0.08em;
}

/* ── Back: Pattern ── */
.cb-pattern {
  position: absolute;
  inset: 0;
  background: var(--cb);
  color: var(--ct);
  font-family: 'Inter', sans-serif;
  overflow: hidden;
}
.cb-pattern .cb-pattern-bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--cac) 0.5px, transparent 0.5px);
  background-size: 8px 8px;
  opacity: 0.05;
}
.cb-pattern .cb-corner-logo {
  position: absolute;
  bottom: 12%;
  right: 12%;
  font-size: 1em;
  font-weight: 800;
  color: var(--cac);
  opacity: 0.2;
}
.cb-pattern .cb-corner-web {
  position: absolute;
  bottom: 12%;
  left: 12%;
  font-size: 0.36em;
  color: var(--cm);
}


/* ═══════════════════════════════════════════
   PREVIEW MODAL
   ═══════════════════════════════════════════ */
.dsg-modal {
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  background: var(--paper-bright);
  color: var(--ink);
  box-shadow: 0 24px 80px rgba(10,17,40,0.2);
  width: min(960px, calc(100% - 32px));
  margin: auto;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.3s ease, transform 0.3s ease, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.dsg-modal[open] { opacity: 1; transform: scale(1); }
@starting-style { .dsg-modal[open] { opacity: 0; transform: scale(0.96); } }
.dsg-modal::backdrop {
  background: rgba(10,17,40,0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.dsg-modal[open]::backdrop { opacity: 1; }
@starting-style { .dsg-modal[open]::backdrop { opacity: 0; } }

.dsg-modal-content {
  position: relative;
  padding: clamp(24px, 4vw, 48px);
}
.dsg-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 10;
}
.dsg-modal-close:hover { background: var(--line); }

.dsg-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.dsg-modal-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dsg-modal-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 4px;
}
.dsg-tab {
  padding: 8px 24px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.dsg-tab.active { background: var(--paper-bright); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.dsg-tab:hover:not(.active) { color: var(--ink); }

.dsg-modal-card {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.dsg-modal-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dsg-modal-id {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #D4A017;
}
.dsg-modal-name {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 700;
  margin: 0;
  line-height: 1.2;
}
.dsg-modal-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dsg-modal-label {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.dsg-modal-value {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
}
.dsg-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.dsg-btn-wa {
  background: linear-gradient(135deg, #E8730E, #D4A017) !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(232, 115, 14, 0.25);
  position: relative;
  overflow: hidden;
}
.dsg-btn-wa::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}
.dsg-btn-wa:hover::after { left: 100%; }
.dsg-btn-wa:hover { background: linear-gradient(135deg, #D4650C, #C49315) !important; box-shadow: 0 8px 24px rgba(232, 115, 14, 0.35); }
.dsg-btn-enquiry {
  text-align: center;
}

@media (max-width: 768px) {
  .dsg-modal {
    margin-top: auto;
    margin-bottom: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    max-height: 92vh;
    overflow-y: auto;
    transform: translateY(100%);
  }
  .dsg-modal[open] { transform: translateY(0); }
  @starting-style { .dsg-modal[open] { transform: translateY(100%); } }
  .dsg-modal-grid { grid-template-columns: 1fr; }
  .dsg-modal-content { padding: 24px 20px 32px; }
  .dsg-modal-actions { flex-direction: column; }
}


/* ═══════════════════════════════════════════
   TRUST SECTION
   ═══════════════════════════════════════════ */
.dsg-trust {
  padding: clamp(60px, 10vw, 100px) 0;
  text-align: center;
}
.dsg-trust-header { margin-bottom: clamp(32px, 5vw, 56px); }
.dsg-trust-item {
  text-align: center;
  padding: 24px 16px;
}
.dsg-trust-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(232, 115, 14, 0.08), rgba(212, 160, 23, 0.06));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  color: #D4A017;
  border: 1px solid rgba(212, 160, 23, 0.12);
}
.dsg-trust-item .text-h4 { margin-bottom: 8px; }
.dsg-trust-item .text-body { font-size: 0.9rem; margin: 0; }


/* ═══════════════════════════════════════════
   FINAL CTA
   ═══════════════════════════════════════════ */
.dsg-final-cta {
  padding: clamp(60px, 10vw, 100px) 0;
  text-align: center;
}
.dsg-final-cta .text-lede { margin: 0 auto 32px; max-width: 600px; }


/* ═══════════════════════════════════════════
   HOVER / ANIMATION
   ═══════════════════════════════════════════ */
.dsg-item { will-change: transform; }
.card-mockup { will-change: transform; }


/* ═══════════════════════════════════════════
   NEW INDIAN COLOR SCHEMES
   ═══════════════════════════════════════════ */
.cs-saffron-cream   { --cb:#FFF8F0; --ct:#3d2010; --ca:#E8730E; --cm:#8b6b55; --cac:#E8730E; }
.cs-peacock-gold    { --cb:#0D3B3E; --ct:#f0f5ef; --ca:#D4A017; --cm:#8bbcaa; --cac:#D4A017; }
.cs-maroon-ivory    { --cb:#FFF8F0; --ct:#4a1c2c; --ca:#7B2D3B; --cm:#8b6b6b; --cac:#7B2D3B; }

/* ═══════════════════════════════════════════
   INDIAN DECORATIVE ELEMENTS & LOGO
   ═══════════════════════════════════════════ */
.cf-svg-logo {
  width: 1.8em;
  height: 1.8em;
  color: var(--ca);
  margin-bottom: 0.2em;
}
.cf-svg-logo svg {
  width: 100%;
  height: 100%;
}
.cb-logo .cf-svg-logo {
  margin: 0 auto 0.5em;
  width: 2.2em;
  height: 2.2em;
}
.cb-mono .cf-svg-logo {
  margin: 0 auto;
  width: 2.5em;
  height: 2.5em;
}

.card-deco-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background-image: var(--wave-svg);
  background-size: cover;
  background-position: top center;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.card-deco-mandala {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  padding-bottom: 60%;
  background-image: var(--mandala-dots);
  background-size: cover;
  opacity: 0.04;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

/* Ensure contents stay above decorators */
.cf > *:not(.card-deco-wave):not(.card-deco-mandala):not(.cf-deco) {
  position: relative;
  z-index: 1;
}
.cb > *:not(.card-deco-wave):not(.card-deco-mandala) {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════
   CUSTOM LAYOUTS (INSPIRATION)
   ═══════════════════════════════════════════ */

/* --- COLOR SCHEMES --- */
/* Retro Schemes */
.cs-retro-blue { --bg-dark: #6eb7e4; --bg-light: #f2efe9; --text-main: #000000; }
.cs-retro-pink { --bg-dark: #e88c9d; --bg-light: #fdf5f0; --text-main: #2a1a1a; }
.cs-retro-mint { --bg-dark: #81c784; --bg-light: #f0f7f4; --text-main: #1b3a2a; }

/* Topo Schemes */
.cs-topo-orange { --bg-dark: #fcf4ec; --bg-light: #ffffff; --accent: #e56b35; --text-main: #1a1a1a; }
.cs-topo-sage { --bg-dark: #f0f4ef; --bg-light: #ffffff; --accent: #6b8e6b; --text-main: #2d3b2d; }
.cs-topo-charcoal { --bg-dark: #f5f5f5; --bg-light: #ffffff; --accent: #333333; --text-main: #000000; }

/* Geo Schemes */
.cs-geo-blue { --bg-main: #0047a5; --bg-alt: #ffffff; --text-dark: #000000; --text-light: #ffffff; }
.cs-geo-navy { --bg-main: #0f1c2e; --bg-alt: #ffffff; --text-dark: #0f1c2e; --text-light: #e5cc98; }
.cs-geo-black { --bg-main: #111111; --bg-alt: #ffffff; --text-dark: #111111; --text-light: #ffffff; }

/* --- RETRO LAYOUT --- */
.cf-retro {
  position: absolute; inset: 0;
  display: flex; background: var(--bg-light); color: var(--text-main);
  font-family: 'Playfair Display', serif;
}
.cf-retro .retro-left {
  width: 40%; position: relative; display: flex; align-items: center; justify-content: center;
  background: var(--bg-dark); overflow: hidden;
}
/* A CSS-generated wavy background trick */
.cf-retro .retro-wave-bg, .cb-retro .retro-wave-bg-full {
  position: absolute; inset: -20%;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, var(--bg-light) 40px), repeating-linear-gradient(var(--bg-dark), var(--bg-dark));
  opacity: 0.8; filter: blur(3px) contrast(10); mix-blend-mode: overlay;
}
.cf-retro .retro-logo-box {
  position: relative; z-index: 1; text-align: center; background: var(--bg-light);
  padding: 10px 15px; border-radius: 20px;
}
.cf-retro .logo-txt { font-size: 1.5em; font-weight: 700; letter-spacing: 2px; }
.cf-retro .logo-sub { font-size: 0.5em; font-family: 'Inter', sans-serif; letter-spacing: 1px; }

.cf-retro .retro-right {
  width: 60%; padding: 12%; display: flex; flex-direction: column; justify-content: space-between; text-align: right;
  font-family: 'Inter', sans-serif;
}
.retro-name { font-size: 0.9em; font-weight: 600; letter-spacing: 1px; }
.retro-title { font-size: 0.5em; font-style: italic; font-family: 'Playfair Display', serif; }
.retro-contact-bottom { font-size: 0.45em; line-height: 1.6; }

.cb-retro {
  position: absolute; inset: 0; background: var(--bg-dark);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.cb-retro .retro-logo-pill {
  position: relative; z-index: 1; background: var(--bg-light);
  padding: 20px 40px; border-radius: 40px; text-align: center;
  color: var(--text-main);
}
.cb-retro .logo-txt { font-size: 2.2em; font-family: 'Playfair Display', serif; font-weight: 700; }
.cb-retro .logo-sub { font-size: 0.6em; font-family: 'Inter', sans-serif; letter-spacing: 2px; display: block; margin-top: 5px; }


/* --- TOPO LAYOUT --- */
.cf-topo {
  position: absolute; inset: 0; background: var(--bg-light); color: var(--text-main);
  font-family: 'Inter', sans-serif; overflow: hidden;
}
.topo-blob {
  position: absolute; width: 60%; height: 80%; background: var(--accent); border-radius: 50%; opacity: 1;
}
.topo-blob-tr { top: -40%; right: -20%; }
.topo-blob-bl { bottom: -40%; left: -20%; border-radius: 40% 60% 70% 30%; }

.topo-front-content {
  position: absolute; inset: 12%; display: flex; justify-content: space-between; align-items: center; z-index: 2;
}
.topo-left { width: 45%; text-align: center; }
.topo-left svg { width: 40px; height: 40px; color: var(--text-main); margin-bottom: 5px;}
.topo-company { font-weight: 800; font-size: 0.8em; letter-spacing: 1px; text-transform: uppercase; }
.topo-tagline { font-size: 0.4em; text-transform: uppercase; letter-spacing: 1px; opacity: 0.8; }

.topo-right { width: 50%; text-align: left; }
.topo-name { font-size: 1.1em; font-weight: 800; color: var(--accent); }
.topo-title { font-size: 0.5em; margin-bottom: 15px; }
.topo-contact { font-size: 0.45em; line-height: 1.8; }

.cb-topo {
  position: absolute; inset: 0; background: var(--bg-dark); color: var(--text-main); overflow: hidden;
}
.topo-bg-lines {
  position: absolute; inset: -50%;
  background-image: repeating-radial-gradient(circle at 0 0, transparent 0, var(--accent) 1px, transparent 1px, transparent 15px);
  opacity: 0.3;
}
.topo-company-large {
  position: absolute; bottom: 15%; left: 10%; font-size: 2.8em; font-weight: 900; font-family: 'Inter', sans-serif;
  letter-spacing: -1px; z-index: 2; line-height: 1; width: 80%; color: var(--text-main);
}


/* --- GEO LAYOUT --- */
.cf-geo, .cb-geo {
  position: absolute; inset: 0; background: var(--bg-main); color: var(--text-light);
  font-family: 'Inter', sans-serif; overflow: hidden;
}
.geo-corner {
  position: absolute; width: 30%; height: 45%; border: 3px solid var(--text-light); opacity: 0.8;
}
/* Overlapping square effect */
.geo-corner::after {
  content: ''; position: absolute; inset: 10px; border: 3px solid var(--text-light);
}
.geo-corner.tl { top: -10%; left: -10%; transform: rotate(45deg); }
.geo-corner.tr { top: -10%; right: -10%; transform: rotate(45deg); }
.geo-corner.bl { bottom: -10%; left: -10%; transform: rotate(45deg); }
.geo-corner.br { bottom: -10%; right: -10%; transform: rotate(45deg); }

.cf-geo { background: var(--bg-alt); color: var(--text-dark); }
.cf-geo .geo-corner { border-color: var(--bg-main); }
.cf-geo .geo-corner::after { border-color: var(--bg-main); }

.geo-front-content {
  position: absolute; inset: 15%; display: flex; align-items: center; justify-content: space-between; z-index: 2;
}
.geo-left { text-align: center; width: 40%; }
.geo-left svg { width: 40px; height: 40px; margin-bottom: 5px; }
.geo-company { font-weight: 800; font-size: 0.8em; letter-spacing: 1px; text-transform: uppercase; }
.geo-tagline { font-size: 0.4em; text-transform: uppercase; letter-spacing: 1px; }

.geo-right { width: 50%; text-align: left; }
.geo-name { font-size: 1.2em; font-weight: 800; color: var(--bg-main); }
.geo-title { font-size: 0.5em; margin-bottom: 10px; }
.geo-contact { font-size: 0.45em; line-height: 1.8; }

.cb-geo .geo-center-logo {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; z-index: 2;
}
.cb-geo .geo-center-logo svg { width: 80px; height: 80px; }
