/* =============================================================
   ceritakita.id — Catalog / Landing Page Styles
   Uses ONLY var() tokens from styles.css (maroon · ivory · gold)
   ============================================================= */

/* ============================================================
   NAVBAR
   ============================================================ */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 60;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.nav-wrap.scrolled {
  background: rgba(251,246,236,.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
  box-shadow: var(--shadow-2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: var(--sp-6);
  background: transparent;
}

/* brand */
.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
  text-decoration: none;
}

.brand-logo {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--maroon-700), var(--maroon-900));
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  flex-shrink: 0;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: 22px;
  letter-spacing: .01em;
  color: var(--maroon-700);
  line-height: 1;
}
.brand .dot {
  color: var(--gold-600);
  font-weight: var(--fw-black);
  font-size: 16px;
}

/* nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
  margin-inline: var(--sp-8);
}
.nav-links a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--ink-soft);
  letter-spacing: .01em;
  transition: color var(--dur-fast);
}
.nav-links a:hover { color: var(--maroon-700); }

/* nav cta */
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
/* On mobile the top bar = brand + hamburger only. The "Lihat Tema" ghost link
   and the "Buat Undangan" CTA are hidden here (the drawer + floating WA button
   carry them) and shown again ≥900px below. */
.nav-cta .btn-ghost-nav { display: none; }
.nav-cta .btn-primary { display: none; }

/* hamburger */
.nav-toggle {
  display: inline-flex;
  background: none;
  border: 0;
  color: var(--maroon-700);
  padding: 6px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
.nav-toggle:hover { background: var(--rose-100); }

/* mobile drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-3);
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  flex-direction: column;
  gap: var(--sp-1);
  z-index: 59;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  display: block;
  padding: var(--sp-3) var(--sp-4);
  border-radius: var(--r-md);
  font-weight: var(--fw-medium);
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  transition: all var(--dur-fast);
}
.mobile-drawer a:hover { background: var(--paper-2); color: var(--maroon-700); }
.mobile-drawer .btn { margin-top: var(--sp-3); width: 100%; justify-content: center; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
  .nav-cta .btn-ghost-nav { display: inline-flex; }
  .nav-cta .btn-primary { display: inline-flex; }
}


/* ============================================================
   HERO
   ============================================================ */
.glow-top {
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1100px 520px at 78% -8%, rgba(194,160,90,.18), transparent 60%),
    radial-gradient(800px 460px at 6% 4%, rgba(168,71,90,.08), transparent 60%);
}

.hero {
  padding: clamp(40px, 6vw, 84px) 0 var(--sp-24);
  padding-top: calc(clamp(40px, 6vw, 84px) + 76px);
  margin-top: -76px;
  position: relative;
  z-index: 1;
  overflow-x: clip;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.hero-copy { max-width: 580px; }

.hero-copy .eyebrow { margin-bottom: var(--sp-5); }

.hero h1 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-hero);
  line-height: var(--lh-tight);
  letter-spacing: .004em;
  margin: 0 0 var(--sp-5);
  color: var(--ink);
}
.hero h1 .ital {
  font-style: italic;
  color: var(--maroon-700);
}

.hero-lead {
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--ink-soft);
  margin: 0 0 var(--sp-8);
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  color: var(--ink-mute);
  font-size: var(--fs-xs);
}
.hero-trust .ti {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-trust svg { width: 15px; height: 15px; color: var(--gold-600); flex-shrink: 0; }
.hero-trust .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--cream-deep); }

/* hero phone stage */
.hero-stage {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-stage::before {
  content: "";
  position: absolute;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(194,160,90,.22), transparent 68%);
  filter: blur(8px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: var(--pw, 280px);
  aspect-ratio: 9 / 19.3;
  background: linear-gradient(145deg, #2a2024, #14100f);
  border-radius: var(--r-phone);
  padding: 9px;
  box-shadow: var(--shadow-phone);
}
.phone::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: var(--r-phone);
  pointer-events: none;
  box-shadow: inset 0 0 0 1.5px rgba(212,185,120,.18);
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  container-type: inline-size;
  background: var(--maroon-900);
}

.notch {
  position: absolute;
  top: 9px; left: 50%;
  transform: translateX(-50%);
  width: 34%; height: 18px;
  background: #14100f;
  border-radius: 0 0 12px 12px;
  z-index: 5;
}

/* invitation cover inside phone */
.cover {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  padding: 9cqw 7cqw;
}
.cover-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(168,71,90,.30), transparent 60%),
    repeating-linear-gradient(45deg,  rgba(212,185,120,.05) 0 2px, transparent 2px 13px),
    repeating-linear-gradient(-45deg, rgba(212,185,120,.05) 0 2px, transparent 2px 13px),
    linear-gradient(165deg, #5a1924, #2c0f17 70%);
}
.cover-vig   { position: absolute; inset: 0; z-index: 0; box-shadow: inset 0 0 18cqw rgba(20,8,12,.6); }
.cover-frame { position: absolute; inset: 5cqw; border: 1px solid rgba(212,185,120,.42); z-index: 1; pointer-events: none; }
.cover-frame::after { content: ""; position: absolute; inset: 1.6cqw; border: 1px solid rgba(212,185,120,.22); }
.cover-corner { position: absolute; width: 17cqw; height: 17cqw; color: var(--gold-400); z-index: 2; }
.cover-corner.tl { top: 3cqw; left: 3cqw; }
.cover-corner.tr { top: 3cqw; right: 3cqw; transform: scaleX(-1); }
.cover-corner.bl { bottom: 3cqw; left: 3cqw; transform: scaleY(-1); }
.cover-corner.br { bottom: 3cqw; right: 3cqw; transform: scale(-1); }

.cover-inner { position: relative; z-index: 3; display: flex; flex-direction: column; align-items: center; }
.cover-eyebrow { font-family: var(--font-title); font-size: 3.2cqw; letter-spacing: .42em; text-transform: uppercase; color: var(--gold-400); margin: 0 0 4cqw; padding-left: .42em; }
.cover-orn { color: var(--gold-400); width: 22cqw; height: 5cqw; margin-bottom: 3cqw; }
.cover-names { font-family: var(--font-display); color: var(--paper); margin: 0; line-height: .98; display: flex; flex-direction: column; align-items: center; gap: .4cqw; }
.cover-names .nm { font-size: 16cqw; font-weight: 500; font-style: italic; }
.cover-names .amp { font-size: 7cqw; color: var(--gold-400); font-style: italic; margin: -.5cqw 0; }
.cover-rule { width: 30cqw; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-400), transparent); margin: 4cqw 0 3cqw; }
.cover-date { font-family: var(--font-title); font-size: 3.6cqw; letter-spacing: .14em; color: var(--on-dark); margin: 0; }
.cover-spacer { height: 9cqw; }
.cover-to-label { font-size: 2.7cqw; letter-spacing: .12em; color: var(--rose-300); text-transform: uppercase; margin: 0 0 1.4cqw; }
.cover-to { font-size: 3cqw; color: var(--on-dark-soft); margin: 0 0 1cqw; }
.cover-guest { font-family: var(--font-display); font-style: italic; font-size: 5.4cqw; color: var(--gold-400); margin: 0 0 6cqw; }
.cover-btn {
  font-family: var(--font-body); font-weight: 600; font-size: 3cqw; letter-spacing: .04em;
  color: var(--maroon-900);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  border: 0; border-radius: 999px;
  padding: 3cqw 6cqw;
  display: inline-flex; align-items: center; gap: 2cqw;
  white-space: nowrap;
  box-shadow: 0 4cqw 10cqw rgba(0,0,0,.3);
}
.cover-btn svg { width: 3.6cqw; height: 3.6cqw; }

/* floating chips */
.float-chip {
  position: absolute; z-index: 4;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
  padding: 9px 15px 9px 11px;
  display: inline-flex; align-items: center; gap: 9px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--ink);
}
.float-chip svg { width: 16px; height: 16px; }
.float-chip .ic { width: 27px; height: 27px; border-radius: 50%; display: grid; place-items: center; color: #fff; flex-shrink: 0; }
.float-chip small { display: block; font-weight: 500; font-size: 10.5px; color: var(--ink-mute); letter-spacing: .02em; }
.fc-rsvp { top: 14%; left: -32px; }
.fc-wa   { bottom: 20%; right: -36px; }
.fc-rsvp .ic { background: var(--maroon-700); }
.fc-wa .ic   { background: #1ebe5d; }

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-stage { display: flex; }
}
@media (max-width: 899px) {
  .hero-copy { text-align: center; margin-inline: auto; max-width: none; }
  .hero-lead { margin-inline: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-stage { display: none; }
}


/* ============================================================
   SECTION HEAD
   ============================================================ */
.sec { padding: var(--sp-24) 0; }
.sec-sm { padding: var(--sp-16) 0; }

.sec-head { text-align: center; max-width: 640px; margin: 0 auto var(--sp-16); }
.sec-head.left { text-align: left; margin-inline: 0; }

.sec-head h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  margin: 16px 0 0;
  color: var(--ink);
  letter-spacing: .006em;
}
.sec-head h2 .ital { font-style: italic; color: var(--maroon-700); }
.sec-head p {
  color: var(--ink-soft);
  font-size: var(--fs-lead);
  margin: 14px auto 0;
  max-width: 540px;
  line-height: var(--lh-relaxed);
}


/* ============================================================
   FEATURES
   ============================================================ */
.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}

.feat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--cream-deep); }

.feat-ic {
  width: 50px; height: 50px;
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--maroon-700);
  background: radial-gradient(circle at 30% 25%, var(--rose-100), var(--cream));
  border: 1px solid var(--gold-200);
  margin-bottom: 18px;
}
.feat-ic svg { width: 24px; height: 24px; }

.feat h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 19px;
  margin: 0 0 7px;
  color: var(--ink);
  line-height: var(--lh-snug);
}
.feat p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin: 0;
  line-height: var(--lh-relaxed);
}

@media (max-width: 1080px) { .feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .feat-grid { grid-template-columns: 1fr; } }


/* ============================================================
   CARA KERJA
   ============================================================ */
.how {
  background: linear-gradient(165deg, var(--maroon-800), var(--maroon-900));
  color: var(--on-dark);
  position: relative;
  overflow: hidden;
}
.how-glow {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: radial-gradient(700px 360px at 88% 110%, rgba(194,160,90,.22), transparent 60%);
}
.how .sec-head h2       { color: var(--paper); }
.how .sec-head h2 .ital { color: var(--gold-400); }
.how .sec-head p        { color: var(--on-dark-soft); }
.how .eyebrow           { color: var(--gold-400); }
.how .eyebrow::before   { background: var(--gold-500); }
.how .eyebrow.center::after { background: var(--gold-500); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--sp-6);
  position: relative;
  z-index: 1;
}

.step { text-align: center; position: relative; padding: 0 8px; }

.step-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  font-weight: var(--fw-medium);
  color: var(--gold-400);
  line-height: 1;
}

.step-dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  background: var(--gold-500);
  margin: 18px auto 0;
  box-shadow: 0 0 0 6px rgba(194,160,90,.16);
  position: relative; z-index: 2;
}

.step-line {
  position: absolute;
  top: 71px; left: 50%;
  width: 100%; height: 1px;
  background: linear-gradient(90deg, var(--gold-600), rgba(194,160,90,.2));
  z-index: 0;
}
.step:last-child .step-line { display: none; }

.step h3 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 22px;
  color: var(--paper);
  margin: 20px 0 6px;
}
.step p {
  font-size: var(--fs-sm);
  color: var(--on-dark-soft);
  margin: 0;
  line-height: var(--lh-relaxed);
}

@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .step-line { display: none; }
}
@media (max-width: 480px) {
  .steps { grid-template-columns: 1fr; }
}


/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
  padding: var(--sp-24) 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-6);
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.price-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }

.price-card.featured {
  background: linear-gradient(170deg, var(--maroon-700), var(--maroon-900));
  border: 1px solid var(--gold-500);
  box-shadow: var(--shadow-3);
  transform: scale(1.035);
}
.price-card.featured:hover { transform: scale(1.035) translateY(-5px); }

.badge-laris {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, var(--gold-400), var(--gold-600));
  color: var(--maroon-900);
  font-size: 11px; font-weight: var(--fw-bold);
  letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 18px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-gold);
  white-space: nowrap;
}

.price-tier {
  font-family: var(--font-title);
  font-size: 14px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-700);
}
.price-card.featured .price-tier { color: var(--gold-400); }

.price-amt {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 16px 0 4px;
}
.price-now {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 50px;
  color: var(--ink);
  line-height: 1;
}
.price-card.featured .price-now { color: var(--paper); }

.price-cur {
  font-size: 17px;
  font-weight: var(--fw-semibold);
  color: var(--ink-soft);
  align-self: flex-start;
  margin-top: 6px;
}
.price-card.featured .price-cur { color: var(--on-dark-soft); }

.price-sub {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  margin: 0 0 22px;
}
.price-card.featured .price-sub { color: var(--on-dark-soft); }

.price-feats {
  list-style: none;
  margin: 0 0 26px; padding: 22px 0 0;
  border-top: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 12px;
  flex-grow: 1;
}
.price-card.featured .price-feats { border-color: rgba(212,185,120,.28); }

.price-feats li {
  display: flex; gap: 11px;
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  line-height: 1.4;
}
.price-card.featured .price-feats li { color: var(--on-dark); }

.price-feats svg { width: 17px; height: 17px; color: var(--gold-600); flex-shrink: 0; margin-top: 1px; }
.price-card.featured .price-feats svg { color: var(--gold-400); }

.price-feats li.muted { color: var(--ink-mute); }
.price-feats li.muted svg { color: var(--cream-deep); }

.price-feats li.addon-item { color: var(--ink-mute); }
.price-card.featured .price-feats li.addon-item { color: var(--on-dark-soft); opacity: .7; }
.price-feats li.addon-item svg { color: var(--gold-500); }
.price-card.featured .price-feats li.addon-item svg { color: var(--gold-400); }

.addon-tag {
  font-size: 10px;
  font-weight: var(--fw-bold);
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--cream);
  color: var(--gold-700);
  border: 1px solid var(--gold-200);
  border-radius: var(--r-pill);
  padding: 2px 7px;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
}
.price-card.featured .addon-tag {
  background: rgba(194,160,90,.15);
  color: var(--gold-400);
  border-color: rgba(194,160,90,.3);
}

.price-old {
  font-size: 15px;
  color: var(--ink-mute);
  text-decoration: line-through;
  font-weight: var(--fw-medium);
  align-self: flex-end;
  padding-bottom: 8px;
}
.price-card.featured .price-old { color: var(--on-dark-soft); }

.addon-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
}
.addon-list li {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 7px;
}
.addon-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold-500);
  flex-shrink: 0;
}

.price-addon {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
  margin-top: var(--sp-8);
}
.price-addon-text h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-h3);
  color: var(--ink);
  margin: 0 0 6px;
}
.price-addon-text p {
  font-size: var(--fs-sm);
  color: var(--ink-soft);
  margin: 0;
  line-height: var(--lh-relaxed);
  max-width: 560px;
}

.price-note {
  text-align: center;
  margin-top: var(--sp-6);
  color: var(--ink-mute);
  font-size: var(--fs-xs);
}

@media (max-width: 1080px) {
  .price-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .price-card.featured { transform: none; order: -1; }
  .price-card.featured:hover { transform: translateY(-5px); }
}


/* ============================================================
   CATALOG SECTION
   ============================================================ */
.catalog-sec {
  background: var(--paper-2);
  border-block: 1px solid var(--line-soft);
  padding: var(--sp-24) 0;
}

/* tabs */
.catalog-tabs {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-bottom: var(--sp-8);
}
.catalog-tabs::-webkit-scrollbar { display: none; }

.catalog-tabs__list {
  display: flex;
  gap: var(--sp-2);
  width: max-content;
  padding-bottom: var(--sp-1);
}

.catalog-tab {
  padding: 10px 20px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--ink-soft);
  background: var(--surface);
  border: 1.5px solid var(--line);
  transition: all var(--dur-fast);
  white-space: nowrap;
  cursor: pointer;
}
.catalog-tab:hover {
  border-color: var(--rose-300);
  color: var(--maroon-700);
  background: var(--rose-100);
}
.catalog-tab.active {
  background: var(--maroon-700);
  color: var(--paper);
  border-color: var(--maroon-700);
}

/* grid */
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
}
@media (max-width: 1080px) { .catalog-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .catalog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .catalog-grid { grid-template-columns: 1fr; } }

/* template card */
.template-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.template-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-3); }

.tc-thumb {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(160deg, var(--rose-100), var(--cream));
}
.tc-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
  padding: var(--sp-4);
  transition: transform var(--dur-slow) var(--ease), opacity var(--dur) var(--ease);
}
.template-card:hover .tc-thumb img { transform: scale(1.04); }

.tc-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: var(--sp-3);
  color: var(--rose-500);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.tc-disc {
  position: absolute;
  top: var(--sp-3); right: var(--sp-3);
  background: var(--maroon-700);
  color: var(--paper);
  font-size: 11px; font-weight: var(--fw-bold);
  padding: 5px 9px;
  border-radius: var(--r-pill);
  letter-spacing: .04em;
}

.tc-hover {
  position: absolute; inset: 0;
  background: rgba(56,16,26,0);
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  transition: all var(--dur);
}
.template-card:hover .tc-hover {
  background: rgba(56,16,26,.28);
  opacity: 1;
}
.tc-hover a {
  background: var(--surface);
  color: var(--ink);
  font-size: var(--fs-xs); font-weight: var(--fw-bold);
  padding: 9px 20px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-2);
  transition: transform var(--dur-fast);
  text-decoration: none;
}
.tc-hover a:hover { transform: scale(1.04); }

.tc-body {
  padding: var(--sp-4) var(--sp-5);
  display: flex; flex-direction: column;
  gap: var(--sp-3);
  flex: 1;
}

.tc-meta { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--sp-2); }

.tc-name {
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  color: var(--ink);
  line-height: var(--lh-snug);
}

.tc-cat {
  font-size: 11px;
  font-weight: var(--fw-semibold);
  color: var(--gold-700);
  background: var(--cream);
  padding: 4px 9px;
  border-radius: var(--r-sm);
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: .02em;
}

.tc-pricing { display: flex; align-items: center; gap: var(--sp-2); }

.tc-price-old {
  font-size: var(--fs-xs);
  color: var(--ink-mute);
  text-decoration: line-through;
  text-decoration-color: var(--rose-500);
}

.tc-price {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--maroon-700);
}

.tc-actions {
  display: flex;
  gap: var(--sp-2);
  margin-top: auto;
}
.tc-actions .btn {
  flex: 1;
  padding-inline: var(--sp-2);
  font-size: 12px;
}

.catalog-empty {
  text-align: center;
  padding: var(--sp-16);
  color: var(--ink-mute);
  font-size: var(--fs-lead);
  grid-column: 1 / -1;
}


/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { padding: var(--sp-24) 0; }

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(40px, 6vw, 76px);
  text-align: center;
  background: linear-gradient(150deg, var(--maroon-700), var(--maroon-900));
  color: var(--paper);
  box-shadow: var(--shadow-3);
}
.cta-card .ornglow {
  position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background:
    radial-gradient(500px 300px at 12% -10%, rgba(194,160,90,.32), transparent 60%),
    radial-gradient(500px 300px at 100% 120%, rgba(168,71,90,.4), transparent 60%);
}
.cta-card .inner { position: relative; z-index: 1; }

.cta-card h2 {
  font-family: var(--font-display);
  font-weight: var(--fw-medium);
  font-size: var(--fs-h1);
  margin: 14px 0 0;
  line-height: var(--lh-snug);
}
.cta-card h2 .ital { font-style: italic; color: var(--gold-400); }
.cta-card p  { color: var(--on-dark-soft); font-size: var(--fs-lead); margin: 16px auto 28px; max-width: 480px; }
.cta-card .eyebrow { color: var(--gold-400); }
.cta-card .eyebrow::before { background: var(--gold-500); }

.cta-actions { display: flex; flex-wrap: wrap; gap: var(--sp-4); justify-content: center; }


/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--maroon-900);
  color: var(--on-dark-soft);
  padding: var(--sp-20) 0 var(--sp-8);
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-10);
}

.foot-brand .brand     { color: var(--paper); }
.foot-brand .brand .dot { color: var(--gold-400); }
.foot-logo-mark { color: var(--gold-400); }

.foot-tag {
  margin: 16px 0 var(--sp-5);
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  max-width: 280px;
  color: var(--on-dark-soft);
}

.foot-socials { display: flex; gap: var(--sp-3); }
.foot-social {
  width: 36px; height: 36px;
  background: rgba(212,185,120,.12);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--on-dark-soft);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.foot-social:hover { background: var(--gold-500); color: var(--maroon-900); }

.foot-col h4 {
  font-family: var(--font-title);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin: 4px 0 18px;
}
.foot-col li + li { margin-top: 12px; }
.foot-col a {
  font-size: var(--fs-sm);
  color: var(--on-dark-soft);
  transition: color var(--dur-fast);
}
.foot-col a:hover { color: var(--gold-400); }

.foot-hours { display: flex; flex-direction: column; gap: 10px; }
.foot-hour-row {
  display: flex; justify-content: space-between;
  font-size: var(--fs-sm); color: var(--on-dark-soft);
  gap: var(--sp-4);
}
.foot-hour-val { color: var(--on-dark); font-weight: var(--fw-medium); }

.foot-bottom {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
  margin-top: var(--sp-16);
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(212,185,120,.18);
  font-size: var(--fs-xs);
  color: var(--on-dark-soft);
}

@media (max-width: 1080px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 620px)  { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }


/* ============================================================
   FLOAT WA + SCROLL-TOP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 50;
  display: flex; flex-direction: column; align-items: flex-end; gap: var(--sp-3);
}

.wa-float a {
  display: flex; align-items: center; gap: var(--sp-2);
  background: #25D366; color: #fff;
  padding: 12px 20px;
  border-radius: var(--r-pill);
  font-size: var(--fs-sm); font-weight: var(--fw-bold);
  box-shadow: var(--shadow-3);
  transition: all var(--dur);
  text-decoration: none;
}
.wa-float a:hover { background: #128C7E; transform: scale(1.04); }

.scroll-top {
  width: 44px; height: 44px;
  background: var(--surface);
  color: var(--maroon-700);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-2);
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: all var(--dur);
  cursor: pointer;
}
.scroll-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top:hover { background: var(--paper-2); transform: translateY(-2px); }


/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */
@media (max-width: 620px) {
  .sec { padding: var(--sp-16) 0; }
  .float-chip { display: none; }
}
