/* =========================================================
   RANCHO JIMBO — Dark Western Premium Studio
   ========================================================= */

:root {
  /* base */
  --bg-0:  #0B0604;
  --bg-1:  #120A06;
  --bg-2:  #1F130A;
  --bg-3:  #2A1810;
  --bg-4:  #3A2415;
  --bg-5:  #4A2D1A;

  /* warm accents */
  --rust:  #782D1A;
  --o-1:   #C9531A;
  --o-2:   #E8742A;
  --o-3:   #F6902F;
  --gold:  #E0A23C;
  --gold-dim: #8A6A2E;

  /* text */
  --sand:  #D8BD98;
  --cream: #F3E6D0;
  --mute:  #9C8466;
  --mute-2:#6E5A40;

  /* telegram limited use */
  --tg:    #2AABEE;
  --tg-2:  #229ED9;

  /* surfaces */
  --card-bg: linear-gradient(180deg, rgba(58,36,21,.66) 0%, rgba(31,19,10,.92) 100%);
  --card-stroke: rgba(224, 162, 60, .22);
  --card-stroke-hi: rgba(246, 144, 47, .55);

  /* shadows */
  --shadow-card: 0 2px 0 rgba(255, 200, 130, .04) inset,
                 0 -1px 0 rgba(0,0,0,.6) inset,
                 0 30px 60px -30px rgba(0,0,0,.8),
                 0 6px 14px rgba(0,0,0,.35);
  --shadow-soft: 0 20px 40px -20px rgba(0,0,0,.7);
  --glow-warm: 0 0 0 1px rgba(246,144,47,.35),
               0 12px 40px -10px rgba(232,116,42,.4);

  /* radii */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  /* type */
  --f-display: "Russo One", "Bebas Neue", Impact, sans-serif;
  --f-ui:      "Oswald", "Inter", system-ui, sans-serif;
  --f-body:    "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }

/* selection */
::selection { background: var(--o-3); color: #1a0d05; }

/* subtle film grain across the page */
.grain {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .22;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.7  0 0 0 0 0.45  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: linear-gradient(180deg, rgba(11,6,4,.92) 0%, rgba(18,10,6,.78) 70%, rgba(18,10,6,0) 100%);
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-bottom: 1px solid transparent;
  transition: background .25s, border-color .25s, box-shadow .25s;
}
.site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(11,6,4,.96) 0%, rgba(18,10,6,.94) 100%);
  border-bottom-color: rgba(224, 162, 60, .14);
  box-shadow: 0 10px 30px -16px rgba(0,0,0,.8);
}
.header-inner {
  max-width: 1380px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px 32px;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  flex: 0 0 auto;
}
.brand-mark {
  width: 58px; height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 4px 14px rgba(232,116,42,.4)) drop-shadow(0 0 6px rgba(232,116,42,.15));
}
.brand-wordmark {
  display: flex; flex-direction: column;
  line-height: .93;
  font-family: var(--f-display);
  letter-spacing: .04em;
}
.brand-top {
  font-size: 14px;
  color: var(--sand);
  letter-spacing: .1em;
}
.brand-bot {
  font-size: 22px;
  color: var(--cream);
  display: inline-flex; align-items: center; gap: 6px;
}
.brand-star {
  color: var(--o-3);
  font-style: normal;
  font-size: 11px;
  transform: translateY(-2px);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
  padding: 6px;
  background: linear-gradient(180deg, rgba(44,26,12,.72) 0%, rgba(22,12,6,.68) 100%);
  border: 1px solid rgba(224,162,60,.22);
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.12),
    inset 0 -1px 0 rgba(0,0,0,.45),
    0 2px 0 rgba(255,200,130,.04),
    0 6px 24px rgba(0,0,0,.55),
    0 0 0 1px rgba(0,0,0,.3);
}
.nav-link {
  font-family: var(--f-ui);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 13px;
  color: var(--sand);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all .2s;
  position: relative;
}
.nav-link:hover {
  color: var(--cream);
  background: rgba(246, 144, 47, .08);
}
.nav-link.is-active {
  color: var(--cream);
  background: linear-gradient(180deg, rgba(246,144,47,.16), rgba(122,45,26,.4));
  box-shadow: inset 0 1px 0 rgba(255,200,130,.18);
}

.header-right { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--f-ui);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 13px 22px;
  border-radius: 12px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s, background .2s, border-color .2s;
  position: relative;
  user-select: none;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  color: #26100A;
  background:
    linear-gradient(180deg, #FFD070 0%, #F89030 28%, #E06520 70%, #C04010 100%);
  border-color: rgba(255, 230, 155, .62);
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.52),
    inset 0 -2px 0 rgba(100, 28, 6, .62),
    0 0 0 1px rgba(180,70,15,.3),
    0 12px 32px -8px rgba(232,100,30,.75),
    0 2px 0 rgba(100, 28, 6, .4);
}
.btn-primary:hover {
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.65),
    inset 0 -2px 0 rgba(100, 28, 6, .7),
    0 0 0 1px rgba(200,90,20,.4),
    0 16px 40px -8px rgba(232,100,30,.9),
    0 2px 0 rgba(100, 28, 6, .4);
  transform: translateY(-2px);
}

.btn-secondary {
  color: var(--cream);
  background:
    linear-gradient(180deg, rgba(62,38,20,.9) 0%, rgba(28,16,8,.96) 100%);
  border-color: rgba(224,162,60,.38);
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.13),
    inset 0 -1px 0 rgba(0,0,0,.4),
    0 0 0 1px rgba(0,0,0,.25),
    0 8px 24px -8px rgba(0,0,0,.75);
}
.btn-secondary:hover {
  border-color: rgba(246,144,47,.6);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.2),
    inset 0 -1px 0 rgba(0,0,0,.4),
    0 0 0 1px rgba(180,80,20,.2),
    0 12px 32px -8px rgba(232,116,42,.5);
  transform: translateY(-2px);
}

.btn-telegram {
  color: var(--cream);
  background: linear-gradient(180deg, rgba(26,70,120,.75) 0%, rgba(14,42,82,.88) 100%);
  border-color: rgba(60,130,210,.4);
  box-shadow:
    inset 0 1px 0 rgba(100,180,255,.14),
    inset 0 -1px 0 rgba(0,0,0,.45),
    0 8px 24px -8px rgba(15,50,100,.65);
}
.btn-telegram svg { color: #6AADDE; }
.btn-telegram:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(30,85,145,.82) 0%, rgba(16,50,100,.9) 100%);
  border-color: rgba(80,160,240,.55);
  box-shadow:
    inset 0 1px 0 rgba(120,200,255,.2),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 10px 30px -8px rgba(15,50,100,.8);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--sand);
  background: transparent;
  border: 1px dashed rgba(224,162,60,.35);
}
.btn-ghost:hover { color: var(--cream); border-color: var(--o-3); }

.btn-large { padding: 17px 28px; font-size: 15px; border-radius: 14px; }
.btn-block { width: 100%; padding: 15px; }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  background: rgba(31,19,10,.7);
  border: 1px solid rgba(224,162,60,.25);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
}
.menu-btn span {
  display: block;
  width: 18px; height: 2px;
  background: var(--cream);
  transition: transform .2s, opacity .2s;
}
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 24px;
  background: linear-gradient(180deg, rgba(11,6,4,.98), rgba(18,10,6,.98));
  border-bottom: 1px solid rgba(224,162,60,.18);
}
.mobile-nav.is-open { display: flex; }
.m-link {
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 15px;
  color: var(--sand);
  padding: 14px 16px;
  border-radius: 10px;
}
.m-link:hover, .m-link:focus { background: rgba(246,144,47,.08); color: var(--cream); }
.m-cta {
  margin-top: 10px;
  text-align: center;
  font-family: var(--f-ui);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: 14px;
  border-radius: 12px;
  color: var(--cream);
  background: linear-gradient(180deg, rgba(42, 171, 238, .2), rgba(34, 158, 217, .3));
  border: 1px solid rgba(42,171,238,.5);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  padding: 48px 0 0;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 78% 28%, rgba(232,116,42,.22), transparent 58%),
    radial-gradient(ellipse 75% 65% at 18% 80%, rgba(122,45,26,.4), transparent 62%),
    url("../images/hero-bg.webp") center 30% / cover no-repeat,
    var(--bg-1);
  filter: saturate(1.0) brightness(.72);
}
.hero-vignette {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 100% 65% at 50% 100%, rgba(11,6,4,.98), transparent 58%),
    radial-gradient(ellipse 80% 65% at 50% 0%, rgba(11,6,4,.9), transparent 62%),
    radial-gradient(ellipse 55% 85% at 0% 50%, rgba(8,4,2,.72), transparent 55%),
    linear-gradient(180deg, rgba(11,6,4,.6) 0%, rgba(11,6,4,.1) 28%, rgba(11,6,4,.08) 60%, rgba(11,6,4,.96) 100%),
    linear-gradient(90deg, rgba(11,6,4,.45) 0%, transparent 45%);
}
.hero-embers { position: absolute; inset: 0; pointer-events: none; }
.hero-embers span {
  position: absolute;
  width: 3px; height: 3px; border-radius: 50%;
  background: radial-gradient(circle, #FFC773 0%, rgba(246,144,47,.6) 60%, transparent 100%);
  box-shadow: 0 0 8px rgba(246,144,47,.7);
  animation: ember 9s linear infinite;
  opacity: 0;
}
.hero-embers span:nth-child(1){ left: 12%; bottom: -10px; animation-delay: 0s; }
.hero-embers span:nth-child(2){ left: 22%; bottom: -10px; animation-delay: 1.4s; width:2px; height:2px; }
.hero-embers span:nth-child(3){ left: 38%; bottom: -10px; animation-delay: 2.8s; }
.hero-embers span:nth-child(4){ left: 47%; bottom: -10px; animation-delay: .9s; width:2px; height:2px; }
.hero-embers span:nth-child(5){ left: 58%; bottom: -10px; animation-delay: 3.6s; }
.hero-embers span:nth-child(6){ left: 64%; bottom: -10px; animation-delay: 5s; width:2px; height:2px; }
.hero-embers span:nth-child(7){ left: 72%; bottom: -10px; animation-delay: 4.1s; }
.hero-embers span:nth-child(8){ left: 80%; bottom: -10px; animation-delay: 6.2s; }
.hero-embers span:nth-child(9){ left: 88%; bottom: -10px; animation-delay: 7.4s; width:2px; height:2px; }
.hero-embers span:nth-child(10){ left: 92%; bottom: -10px; animation-delay: 2.2s; }
@keyframes ember {
  0%   { transform: translateY(0) translateX(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: .7; }
  100% { transform: translateY(-110vh) translateX(40px); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-embers { display: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1380px;
  margin: 0 auto;
  padding: 56px 28px 88px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: 11px;
  color: var(--gold);
  padding: 9px 18px;
  border: 1px solid rgba(224,162,60,.38);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(42,24,12,.68) 0%, rgba(20,11,5,.72) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.1),
    inset 0 -1px 0 rgba(0,0,0,.3),
    0 4px 14px rgba(0,0,0,.4);
  margin-bottom: 28px;
}
.eyebrow--center { display: inline-flex; }
.eyebrow-star { color: var(--o-3); font-size: 9px; }

.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(40px, 5.8vw, 84px);
  line-height: .93;
  letter-spacing: -.01em;
  margin: 0 0 24px;
  color: var(--cream);
  text-shadow: 0 4px 20px rgba(0,0,0,.65), 0 12px 40px rgba(0,0,0,.4);
}
.ht-line { display: block; }
.ht-line-1 em {
  font-style: normal;
  background: linear-gradient(180deg, #FFC773 0%, var(--o-3) 55%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ht-divider {
  display: flex; align-items: center; gap: 14px;
  margin: 10px 0;
  font-size: 18px;
  color: var(--gold-dim);
}
.ht-divider i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(224,162,60,.45), transparent); }
.ht-divider b { font-weight: 400; color: var(--o-3); font-family: var(--f-ui); letter-spacing: .4em; font-size: 13px; }
.ht-line-2, .ht-line-3 { font-size: .52em; letter-spacing: .05em; color: var(--sand); }
.ht-accent {
  background: linear-gradient(180deg, var(--cream) 0%, var(--gold) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub {
  max-width: 460px;
  color: #CDB48A;
  font-size: 17px;
  line-height: 1.65;
  margin: 0 0 36px;
  text-wrap: pretty;
  text-shadow: 0 2px 12px rgba(0,0,0,.55);
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }

.hero-meta {
  display: flex; align-items: center; gap: 28px;
  padding: 18px 28px;
  background: linear-gradient(180deg, rgba(28,15,8,.72) 0%, rgba(14,7,3,.86) 100%);
  border: 1px solid rgba(224,162,60,.26);
  border-radius: 18px;
  width: fit-content;
  max-width: 100%;
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.1),
    inset 0 -1px 0 rgba(0,0,0,.4),
    0 0 0 1px rgba(0,0,0,.28),
    0 14px 32px -12px rgba(0,0,0,.75);
}
.hm-item { display: flex; flex-direction: column; line-height: 1; }
.hm-num {
  font-family: var(--f-display);
  font-size: 30px;
  letter-spacing: .02em;
  background: linear-gradient(180deg, #FFC870 0%, var(--o-3) 60%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hm-num i { color: inherit; font-style: normal; -webkit-text-fill-color: inherit; }
.hm-lab {
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  color: var(--mute);
  margin-top: 8px;
}
.hm-sep { width: 1px; height: 36px; background: linear-gradient(180deg, transparent, rgba(224,162,60,.32), transparent); }

.hero-mascot {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 520px;
}
.mascot-glow {
  position: absolute;
  width: 90%; height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,116,42,.4) 0%, rgba(180,80,20,.2) 30%, rgba(100,40,10,.1) 55%, transparent 70%);
  filter: blur(24px);
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: .7; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.06); }
}
.mascot-ring {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  animation: spin 90s linear infinite;
  opacity: .65;
}
.mascot-ring svg { width: min(580px, 94%); height: auto; }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .mascot-glow, .mascot-ring { animation: none; }
}
.mascot-img {
  position: relative; z-index: 2;
  width: min(520px, 92%);
  height: auto;
  filter:
    drop-shadow(0 20px 40px rgba(0,0,0,.75))
    drop-shadow(0 0 20px rgba(232,116,42,.18));
  animation: float 6s ease-in-out infinite;
  border-radius: 18px;
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.mascot-frame {
  position: relative;
  z-index: 2;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(224,162,60,.38);
  box-shadow:
    inset 0 1px 0 rgba(255,210,130,.18),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 0 0 1px rgba(0,0,0,.45),
    0 0 0 4px rgba(10,5,2,.35),
    0 30px 70px -15px rgba(0,0,0,.9),
    0 0 50px rgba(200,90,30,.18),
    0 0 80px rgba(150,60,15,.1);
  max-width: min(520px, 92%);
  width: min(520px, 92%);
  background: var(--bg-2);
  flex-shrink: 0;
  animation: float 6s ease-in-out infinite;
}
.mascot-frame .mascot-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0;
  filter: saturate(1.04) brightness(1.02);
  animation: none;
}
/* orange corner accent marks */
.mf-corner {
  position: absolute;
  width: 20px; height: 20px;
  z-index: 5;
  pointer-events: none;
}
.mf-tl { top: 0; left: 0;
  border-top: 2px solid rgba(246,144,47,.85); border-left: 2px solid rgba(246,144,47,.85);
  border-radius: 22px 0 0 0; }
.mf-tr { top: 0; right: 0;
  border-top: 2px solid rgba(246,144,47,.85); border-right: 2px solid rgba(246,144,47,.85);
  border-radius: 0 22px 0 0; }
.mf-bl { bottom: 0; left: 0;
  border-bottom: 2px solid rgba(246,144,47,.85); border-left: 2px solid rgba(246,144,47,.85);
  border-radius: 0 0 0 22px; }
.mf-br { bottom: 0; right: 0;
  border-bottom: 2px solid rgba(246,144,47,.85); border-right: 2px solid rgba(246,144,47,.85);
  border-radius: 0 0 22px 0; }
/* inner top rim highlight on frame */
.mf-rim {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 5%, rgba(255,200,120,.22) 30%, rgba(255,200,120,.35) 50%, rgba(255,200,120,.22) 70%, transparent 95%);
  z-index: 4;
  pointer-events: none;
}
/* HUD scan-line for premium depth */
.mf-scan {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(180deg, transparent, transparent 2px, rgba(0,0,0,.05) 2px, rgba(0,0,0,.05) 4px);
  pointer-events: none; z-index: 3;
  mix-blend-mode: multiply;
  opacity: .5;
}
.mascot-tag {
  position: absolute;
  bottom: 12px;
  right: 16px;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 13px;
  background: rgba(8,4,1,.88);
  border: 1px solid rgba(224,162,60,.35);
  border-radius: 999px;
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .25em;
  font-size: 9px;
  color: var(--sand);
  backdrop-filter: blur(8px);
  z-index: 10;
}
.mt-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 8px #4ade80;
  animation: pulseDot 2s infinite;
}
@keyframes pulseDot { 50% { opacity: .4; } }

.hero-strip {
  position: relative;
  z-index: 2;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(100,36,16,.62) 0%, rgba(62,22,8,.92) 100%);
  border-top: 1px solid rgba(224,162,60,.3);
  border-bottom: 1px solid rgba(0,0,0,.55);
  padding: 15px 0;
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.12),
    inset 0 -1px 0 rgba(0,0,0,.5),
    0 -8px 20px -10px rgba(0,0,0,.4);
}
.strip-track {
  display: flex; gap: 32px;
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--sand);
  letter-spacing: .14em;
  white-space: nowrap;
  animation: marquee 38s linear infinite;
  width: max-content;
}
.strip-track span:nth-child(odd) { color: var(--cream); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section {
  position: relative;
  padding: 110px 28px;
}
.section-head {
  max-width: 900px;
  margin: 0 auto 64px;
  text-align: center;
}
.sh-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .35em;
  font-size: 11px;
  color: var(--gold);
  padding: 7px 16px;
  border: 1px solid rgba(224,162,60,.28);
  border-radius: 999px;
  background: rgba(31,19,10,.55);
  margin-bottom: 22px;
}
.sh-kicker i { color: var(--o-3); font-style: normal; font-size: 9px; }
.sh-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -.005em;
  margin: 0 0 18px;
  color: var(--cream);
}
.sh-title em {
  font-style: normal;
  background: linear-gradient(180deg, #FFC773 0%, var(--o-3) 60%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sh-sub {
  color: var(--sand);
  font-size: 17px;
  max-width: 660px;
  margin: 0 auto;
  text-wrap: pretty;
}

/* ============================================================
   SERVICES
   ============================================================ */
.services {
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(122,45,26,.18), transparent 60%),
    var(--bg-1);
}
.svc-grid {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
}
.svc-card {
  position: relative;
  grid-column: span 2;
  padding: 32px 28px 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s, box-shadow .25s;
  isolation: isolate;
}
.svc-card::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232,116,42,.18), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(122,45,26,.25), transparent 70%);
  z-index: -1;
  opacity: .7;
  transition: opacity .3s;
}
.svc-card::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: var(--r-lg);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='1.2'/><feColorMatrix values='0 0 0 0 0.95  0 0 0 0 0.7  0 0 0 0 0.45  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .18;
  pointer-events: none;
  mix-blend-mode: overlay;
  z-index: -1;
}
.svc-card--wide { grid-column: span 3; }
.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-stroke-hi);
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.1),
    0 30px 50px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(246,144,47,.3);
}
.svc-card:hover::before { opacity: 1; }

.svc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,200,130,.18), transparent 65%),
    linear-gradient(180deg, rgba(58,36,21,.95), rgba(31,19,10,.95));
  border: 1px solid rgba(224,162,60,.35);
  color: var(--o-3);
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.18),
    0 6px 16px -6px rgba(232,116,42,.4);
}
.svc-icon svg { width: 34px; height: 34px; }

.svc-num {
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--f-display);
  color: var(--mute-2);
  font-size: 16px;
  letter-spacing: .12em;
  opacity: .7;
}

.svc-title {
  font-family: var(--f-display);
  font-size: 26px;
  color: var(--cream);
  margin: 0 0 10px;
  letter-spacing: .01em;
}
.svc-desc {
  margin: 0;
  color: var(--sand);
  font-size: 15px;
  line-height: 1.55;
}

.svc-tags {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-top: 18px;
}
.svc-tags span {
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(122,45,26,.45);
  border: 1px solid rgba(224,162,60,.22);
  color: var(--sand);
}

.svc-corner {
  position: absolute;
  top: 0; right: 0;
  width: 22px; height: 22px;
  background:
    linear-gradient(135deg, transparent 50%, rgba(246,144,47,.5) 50%);
  border-top-right-radius: var(--r-lg);
}

/* ---- "more services" closing banner card ---- */
.svc-card--more {
  grid-column: span 6;
  text-align: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  border-style: dashed;
  border-color: rgba(224,162,60,.4);
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(232,116,42,.16), transparent 65%),
    var(--card-bg);
}
.svc-card--more .svc-icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,200,130,.25), transparent 65%),
    linear-gradient(180deg, var(--gold), var(--o-2));
  color: #2a1207;
  border-color: rgba(255,210,130,.5);
}
.svc-card--more .svc-title { font-size: 22px; }
.svc-card--more .svc-desc { max-width: 560px; }
@media (max-width: 1100px) {
  .svc-card--more { grid-column: span 2; }
}
@media (max-width: 720px) {
  .svc-card--more { grid-column: span 1; }
}

/* ---- dynamic service cards price tag ---- */
.svc-price-tag {
  display: inline-block; margin-top: 14px;
  font-family: var(--f-ui); font-size: 12px; font-weight: 600;
  color: var(--gold); background: rgba(246,144,47,.12);
  border: 1px solid rgba(246,144,47,.3); border-radius: 999px;
  padding: 4px 12px; letter-spacing: .06em;
}

/* ---- category filter bar (services section) ---- */
.svc-cat-bar {
  display: flex; gap: 8px; flex-wrap: wrap;
  max-width: 1380px; margin: 0 auto 28px; padding: 0 4px;
}
.svc-cat-btn {
  font-family: var(--f-ui); font-size: 11px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--sand); background: rgba(11,6,4,.6); border: 1px solid rgba(224,162,60,.25);
  border-radius: 999px; padding: 8px 18px; cursor: pointer; transition: all .18s;
}
.svc-cat-btn:hover { color: var(--cream); border-color: rgba(246,144,47,.45); }
.svc-cat-btn.is-active {
  color: var(--cream); background: linear-gradient(180deg,rgba(246,144,47,.25),rgba(122,45,26,.4));
  border-color: rgba(246,144,47,.55);
}

/* ---- gaming service cards ---- */
.svc-card--gaming {
  border-color: rgba(246,144,47,.32);
  background:
    linear-gradient(145deg, rgba(58,36,21,.88) 0%, rgba(31,19,10,.96) 55%, rgba(10,4,2,.92) 100%);
}
.svc-card--gaming::before {
  background:
    radial-gradient(ellipse 70% 55% at 15% 20%, rgba(246,144,47,.14), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 90%, rgba(192,80,40,.12), transparent 60%);
  opacity: 1;
}
.svc-card--gaming:hover {
  border-color: rgba(246,144,47,.55);
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.12),
    0 30px 50px -20px rgba(0,0,0,.7),
    0 0 0 1px rgba(246,144,47,.4),
    0 0 40px -12px rgba(232,116,42,.25);
}
.svc-card--gaming .svc-icon {
  background:
    radial-gradient(circle at 30% 20%, rgba(255,200,130,.22), transparent 65%),
    linear-gradient(180deg, rgba(80,42,16,.98), rgba(42,24,8,.98));
  border-color: rgba(246,144,47,.48);
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.22),
    0 6px 20px -6px rgba(232,116,42,.55);
}
.svc-tags--gaming span {
  background: rgba(180,70,20,.35);
  border-color: rgba(246,144,47,.35);
  color: rgba(246,144,47,.88);
  letter-spacing: .16em;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(122,45,26,.18), transparent 60%),
    var(--bg-0);
}
.price-grid {
  max-width: 1180px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-tile {
  display: flex; flex-direction: column; gap: 10px;
  padding: 24px 22px;
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-card);
  transition: transform .22s ease, border-color .22s;
}
.price-tile:hover { transform: translateY(-3px); border-color: var(--card-stroke-hi); }
.pt-name {
  font-family: var(--f-ui);
  font-size: 13px;
  color: var(--sand);
  line-height: 1.35;
}
.pt-price {
  font-family: var(--f-display);
  font-size: 22px;
  background: linear-gradient(180deg, #FFC773 0%, var(--o-3) 55%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.price-note {
  max-width: 640px; margin: 36px auto 0;
  text-align: center;
}
.price-note p { margin: 0; color: var(--mute); font-size: 14px; }
.price-note a { color: var(--o-3); font-weight: 600; }
.price-note a:hover { color: var(--gold); }

/* ============================================================
   PROCESS
   ============================================================ */
.process { background: var(--bg-1); }
.process-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.process-item {
  position: relative;
  padding: 30px 26px;
  background: linear-gradient(180deg, rgba(42,24,16,.7), rgba(18,10,6,.92));
  border: 1px solid rgba(224,162,60,.18);
  border-radius: 18px;
  transition: border-color .2s, transform .2s;
}
.process-item:hover { transform: translateY(-3px); border-color: rgba(246,144,47,.4); }
.process-no {
  display: block;
  font-family: var(--f-display);
  font-size: 34px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #FFC773 0%, var(--o-3) 55%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: .85;
}
.process-item h4 {
  font-family: var(--f-display);
  font-size: 18px;
  color: var(--cream);
  margin: 0 0 8px;
}
.process-item p { margin: 0; color: var(--sand); font-size: 14px; line-height: 1.55; }

/* ============================================================
   WHY US
   ============================================================ */
.why {
  background:
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-0) 50%, var(--bg-1) 100%);
}
.why-grid {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.why-item {
  position: relative;
  grid-column: span 2;
  padding: 26px 28px 26px 26px;
  background: linear-gradient(180deg, rgba(42,24,16,.7), rgba(18,10,6,.9));
  border: 1px solid rgba(224,162,60,.18);
  border-radius: 18px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  transition: border-color .2s, transform .2s, background .3s;
  overflow: hidden;
}
.why-item--wide { grid-column: span 3; }
.why-item:hover { transform: translateY(-3px); border-color: rgba(246,144,47,.4); }
.why-ico {
  flex: 0 0 auto;
  width: 54px; height: 54px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--o-3);
  background: rgba(11,6,4,.7);
  border: 1px solid rgba(224,162,60,.3);
  box-shadow: inset 0 1px 0 rgba(255,200,130,.08);
}
.why-ico svg { width: 28px; height: 28px; }
.why-body { flex: 1; }
.why-body h4 {
  font-family: var(--f-display);
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--cream);
  letter-spacing: .01em;
}
.why-body p { margin: 0; color: var(--sand); font-size: 14px; line-height: 1.55; }
.why-no {
  font-family: var(--f-display);
  color: var(--mute-2);
  font-size: 16px;
}

/* ============================================================
   STATS
   ============================================================ */
.stats { padding: 0 28px 110px; }
.stats-frame {
  position: relative;
  max-width: 1380px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  padding: 44px 56px;
  background:
    radial-gradient(ellipse 70% 100% at 50% 0%, rgba(122,45,26,.4), transparent 70%),
    linear-gradient(180deg, #2A1810 0%, #1A0F08 100%);
  border: 1px solid rgba(224,162,60,.28);
  border-radius: 24px;
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.08),
    0 30px 60px -30px rgba(0,0,0,.8);
}
.stats-frame::before {
  content: "";
  position: absolute; inset: 8px;
  border-radius: 18px;
  border: 1px dashed rgba(224,162,60,.18);
  pointer-events: none;
}
.stats-corner {
  position: absolute;
  width: 16px; height: 16px;
  background: var(--o-3);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><polygon points='0,0 16,0 0,16'/></svg>") no-repeat center / contain;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><polygon points='0,0 16,0 0,16'/></svg>") no-repeat center / contain;
  filter: drop-shadow(0 0 6px rgba(246,144,47,.6));
}
.stats-corner--tl { top: 0; left: 0; transform: rotate(0deg); }
.stats-corner--tr { top: 0; right: 0; transform: rotate(90deg); }
.stats-corner--br { bottom: 0; right: 0; transform: rotate(180deg); }
.stats-corner--bl { bottom: 0; left: 0; transform: rotate(-90deg); }

.stat { text-align: center; padding: 0 12px; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1;
  letter-spacing: -.01em;
  background: linear-gradient(180deg, #FFC773 0%, var(--o-3) 55%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 30px rgba(232,116,42,.25);
}
.snum-small { font-size: .55em; color: var(--sand); -webkit-text-fill-color: var(--sand); }
.stat-lab {
  margin-top: 12px;
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 12px;
  color: var(--mute);
}
.stat-div {
  width: 1px; height: 70px;
  background: linear-gradient(180deg, transparent, rgba(224,162,60,.3), transparent);
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio {
  background:
    radial-gradient(ellipse 60% 40% at 50% 100%, rgba(122,45,26,.2), transparent 60%),
    var(--bg-1);
}

.cases-grid {
  max-width: 1280px; margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

/* ---- card ---- */
.case-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--bg-2);
  border: 1px solid var(--card-stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2), border-color .3s, box-shadow .3s;
  outline: none;
}
.case-card:hover,
.case-card:focus-visible {
  transform: translateY(-6px);
  border-color: var(--card-stroke-hi);
  box-shadow:
    0 2px 0 rgba(255,200,130,.07) inset,
    0 -1px 0 rgba(0,0,0,.6) inset,
    0 24px 60px -18px rgba(0,0,0,.85),
    0 8px 22px rgba(0,0,0,.45),
    0 0 0 1px rgba(246,144,47,.3),
    0 0 50px -12px rgba(232,116,42,.22);
}

/* ---- card image ---- */
.case-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  flex-shrink: 0;
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .5s cubic-bezier(.22,.68,0,1.2), filter .4s;
  filter: saturate(.88) brightness(.9);
}
.case-card:hover .case-img img {
  transform: scale(1.07);
  filter: saturate(1.0) brightness(1.0);
}
.case-img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, transparent 35%, rgba(11,6,4,.82) 100%),
    radial-gradient(ellipse at 95% 0%, rgba(11,6,4,.28), transparent 48%);
  pointer-events: none;
}
.case-num {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--f-display);
  font-size: 44px;
  line-height: 1;
  color: rgba(255,255,255,.06);
  letter-spacing: -1px;
  user-select: none;
  transition: color .3s;
  pointer-events: none;
}
.case-card:hover .case-num { color: rgba(246,144,47,.2); }
.case-cat-pill {
  position: absolute; bottom: 14px; left: 14px;
  font-family: var(--f-ui);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(246,144,47,.92);
  background: rgba(11,6,4,.75);
  border: 1px solid rgba(246,144,47,.28);
  border-radius: 4px;
  padding: 5px 10px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

/* ---- card body ---- */
.case-body {
  flex: 1;
  padding: 22px 24px 24px;
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(224,162,60,.1);
  background: linear-gradient(180deg, rgba(42,24,16,.55) 0%, rgba(31,19,10,.96) 100%);
}
.case-title {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 400;
  letter-spacing: .025em;
  color: var(--cream);
  margin: 0 0 10px;
  line-height: 1.15;
}
.case-desc {
  flex: 1;
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--sand);
  margin: 0 0 18px;
}
.case-btn {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--o-2) 0%, var(--o-1) 100%);
  border: none;
  border-radius: var(--r-sm);
  padding: 10px 18px;
  cursor: pointer;
  transition: filter .22s, transform .18s;
  box-shadow: 0 4px 16px rgba(232,116,42,.3), inset 0 1px 0 rgba(255,200,130,.25);
}
.case-btn:hover { filter: brightness(1.18); transform: translateX(2px); }
.case-btn svg { flex-shrink: 0; transition: transform .2s; }
.case-btn:hover svg { transform: translateX(3px); }

.case-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.case-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--sand);
  background: transparent;
  border: 1px solid rgba(224,162,60,.35);
  border-radius: var(--r-sm);
  padding: 10px 18px;
  cursor: pointer;
  transition: color .2s, border-color .2s, transform .18s;
}
.case-link:hover { color: var(--cream); border-color: rgba(246,144,47,.6); transform: translateX(2px); }
.case-link svg { flex-shrink: 0; transition: transform .2s; }
.case-link:hover svg { transform: translate(1px,-1px); }

.cm-link {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--f-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, var(--o-2) 0%, var(--o-1) 100%);
  border: none;
  border-radius: var(--r-sm);
  padding: 12px 22px;
  cursor: pointer;
  transition: filter .22s, transform .18s;
  box-shadow: 0 4px 16px rgba(232,116,42,.3), inset 0 1px 0 rgba(255,200,130,.25);
}
.cm-link:hover { filter: brightness(1.18); transform: translateX(2px); }
.cm-link svg { flex-shrink: 0; transition: transform .2s; }
.cm-link:hover svg { transform: translate(1px,-1px); }

/* ============================================================
   CASE MODALS
   ============================================================ */
.case-overlay {
  position: fixed; inset: 0;
  z-index: 1000;
  background: rgba(8,4,2,.88);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.case-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}
.case-modal {
  position: relative;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  background: var(--bg-2);
  border: 1px solid rgba(224,162,60,.35);
  border-radius: var(--r-xl);
  box-shadow:
    0 0 0 1px rgba(246,144,47,.1),
    0 40px 100px rgba(0,0,0,.85),
    inset 0 1px 0 rgba(255,200,130,.1);
  transform: translateY(22px) scale(.97);
  transition: transform .35s cubic-bezier(.22,.68,0,1.2);
  scrollbar-width: thin;
  scrollbar-color: rgba(246,144,47,.3) transparent;
}
.case-overlay.is-open .case-modal {
  transform: translateY(0) scale(1);
}
.case-modal::-webkit-scrollbar { width: 4px; }
.case-modal::-webkit-scrollbar-thumb { background: rgba(246,144,47,.3); border-radius: 2px; }
.case-modal-close {
  position: sticky; top: 16px;
  float: right;
  margin: 16px 16px -52px auto;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(31,19,10,.92);
  border: 1px solid rgba(224,162,60,.3);
  border-radius: 50%;
  color: var(--sand);
  cursor: pointer;
  z-index: 10;
  transition: background .2s, color .2s, border-color .2s;
  flex-shrink: 0;
}
.case-modal-close:hover {
  background: rgba(246,144,47,.15);
  border-color: rgba(246,144,47,.6);
  color: var(--cream);
}
.case-modal-body { padding: 36px 38px 40px; }

/* modal content (injected by JS) */
.cm-header { margin-bottom: 18px; }
.cm-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.cm-num {
  font-family: var(--f-display);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--o-3);
  background: rgba(246,144,47,.1);
  border: 1px solid rgba(246,144,47,.25);
  border-radius: 4px;
  padding: 3px 9px;
}
.cm-cat {
  font-family: var(--f-ui);
  font-size: 12px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--mute);
}
.cm-title {
  font-family: var(--f-display);
  font-size: clamp(24px, 3.5vw, 34px);
  font-weight: 400;
  letter-spacing: .02em;
  color: var(--cream);
  margin: 0;
  line-height: 1.1;
}
.cm-img {
  margin: 22px 0;
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid rgba(224,162,60,.18);
  box-shadow: 0 12px 40px rgba(0,0,0,.6);
}
.cm-img img { width: 100%; height: auto; display: block; filter: saturate(.95) brightness(.96); }
.cm-content { display: flex; flex-direction: column; gap: 22px; }
.cm-desc { font-size: 15px; line-height: 1.72; color: var(--sand); margin: 0; }
.cm-done-title {
  font-family: var(--f-ui);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--o-3);
  margin: 0 0 12px;
}
.cm-done-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.cm-done-list li {
  display: flex; align-items: center; gap: 11px;
  font-size: 14px; line-height: 1.5;
  color: var(--cream);
}
.cm-done-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--o-3);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(246,144,47,.5);
}
.cm-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-tag {
  font-family: var(--f-ui);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--mute);
  background: rgba(58,36,21,.85);
  border: 1px solid rgba(224,162,60,.2);
  border-radius: 4px;
  padding: 4px 10px;
}

/* ---- legacy selectors kept for scrolling grid ---- */
.rail-wrap, .rail, .work, .work-img, .work-overlay,
.work-body, .work-tag, .work-name, .work-desc, .work-cta,
.work-num, .rail-arrow, .rail-foot, .rail-dots, .dot { display: none; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews {
  background: var(--bg-1);
  background-image:
    radial-gradient(ellipse 50% 30% at 50% 0%, rgba(122,45,26,.2), transparent 60%);
}
.reviews-grid {
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.review {
  margin: 0;
  padding: 30px 28px;
  background: var(--card-bg);
  border: 1px solid var(--card-stroke);
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
}
.review--featured {
  background:
    radial-gradient(ellipse 80% 100% at 0% 0%, rgba(232,116,42,.18), transparent 60%),
    linear-gradient(180deg, rgba(78,30,16,.7), rgba(31,19,10,.95));
  border-color: rgba(246,144,47,.5);
}
.r-stars { color: var(--o-3); letter-spacing: .14em; font-size: 16px; }
.r-stars--big { font-size: 32px; letter-spacing: .18em; margin: 8px 0; }
.review blockquote {
  margin: 0;
  font-size: 17px;
  line-height: 1.55;
  color: var(--cream);
  text-wrap: pretty;
}
.review figcaption {
  display: flex; align-items: center; gap: 12px;
  padding-top: 18px;
  border-top: 1px dashed rgba(224,162,60,.2);
}
.r-ava {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-family: var(--f-display);
  font-size: 18px;
  color: #2a1207;
  background: linear-gradient(180deg, var(--gold) 0%, var(--o-2) 100%);
  border: 1px solid rgba(255,200,130,.4);
}
.r-meta { display: flex; flex-direction: column; gap: 2px; line-height: 1.2; }
.r-meta b { color: var(--cream); font-size: 14px; }
.r-meta i {
  font-style: normal;
  color: var(--mute);
  font-family: var(--f-ui);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .16em;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--bg-0); }
.faq-list {
  max-width: 880px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 12px;
}
.faq-item {
  background: linear-gradient(180deg, rgba(42,24,16,.7), rgba(18,10,6,.92));
  border: 1px solid rgba(224,162,60,.18);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color .2s, background .2s;
}
.faq-item[open] { border-color: rgba(246,144,47,.45); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 26px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  font-family: var(--f-display);
  color: var(--cream);
  font-size: 18px;
  letter-spacing: .01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  position: relative;
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(224,162,60,.4);
  flex: 0 0 auto;
  transition: background .2s, transform .3s;
}
.faq-plus::before, .faq-plus::after {
  content: ""; position: absolute;
  top: 50%; left: 50%;
  width: 9px; height: 1.5px;
  background: var(--o-3);
  transform: translate(-50%,-50%);
  transition: transform .25s;
}
.faq-plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq-item[open] .faq-plus::after { transform: translate(-50%,-50%) rotate(0); }
.faq-item[open] .faq-plus { background: rgba(246,144,47,.16); }
.faq-body {
  padding: 0 26px 24px;
  color: var(--sand);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
  position: relative;
  overflow: hidden;
  padding: 110px 28px;
}
.cta-bg {
  position: absolute; inset: 0;
  background: url("../images/cta-bg.webp") center center / cover no-repeat;
  filter: saturate(.95);
}
.cta-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(232,116,42,.25), transparent 60%),
    linear-gradient(90deg, rgba(11,6,4,.92) 0%, rgba(11,6,4,.65) 50%, rgba(11,6,4,.92) 100%),
    linear-gradient(180deg, rgba(11,6,4,.65) 0%, rgba(11,6,4,.6) 100%);
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
}
.cta-mascot {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  padding: 12px 8px;
}
.cta-mascot-glow {
  position: absolute; inset: -10px;
  background: radial-gradient(circle, rgba(232,116,42,.38) 0%, rgba(122,45,26,.14) 40%, transparent 68%);
  filter: blur(28px);
  animation: glowPulse 5s ease-in-out infinite;
}
.cta-mascot img {
  position: relative; z-index: 2;
  width: 100%;
  max-width: 248px;
  height: auto;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,.72));
}
.cta-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(38px, 5vw, 68px);
  line-height: 1;
  margin: 18px 0 18px;
  color: var(--cream);
}
.cta-title em {
  font-style: normal;
  background: linear-gradient(180deg, #FFC773 0%, var(--o-3) 60%, var(--o-1) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta-sub {
  margin: 0 0 32px;
  font-size: 18px;
  color: var(--sand);
  max-width: 560px;
  text-wrap: pretty;
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  position: relative;
  background: var(--bg-0);
  padding: 70px 28px 30px;
  border-top: 1px solid rgba(224,162,60,.18);
  overflow: hidden;
}
.footer-bg {
  position: absolute; inset: 0;
  background: url("../images/footer-bg.webp") center bottom / cover no-repeat;
  opacity: .5;
  mask: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
  -webkit-mask: linear-gradient(180deg, transparent 0%, #000 35%, #000 100%);
}
.footer-inner {
  position: relative; z-index: 2;
  max-width: 1380px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 56px;
  padding-bottom: 50px;
  border-bottom: 1px dashed rgba(224,162,60,.18);
}
.f-brand { display: flex; gap: 18px; align-items: flex-start; }
.f-brand img { width: 76px; height: 76px; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(232,116,42,.3)); }
.f-name {
  font-family: var(--f-display);
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--cream);
}
.f-star { color: var(--o-3); margin-left: 8px; font-size: 11px; vertical-align: super; }
.f-tag {
  margin: 8px 0 0;
  font-size: 14px;
  color: var(--sand);
  max-width: 280px;
}

.f-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; align-items: start; }
.f-col:last-child { display: flex; flex-direction: column; }
.f-col:last-child .f-socials { margin-top: auto; padding-top: 14px; }
.f-col h5 {
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 11px;
  color: var(--gold);
  margin: 0 0 14px;
}
.f-col a {
  display: block;
  font-size: 14px;
  color: var(--sand);
  padding: 4px 0;
  transition: color .15s, transform .15s;
}
.f-col a:hover { color: var(--o-3); transform: translateX(2px); }

.f-socials { display: flex; gap: 10px; margin-top: 2px; }
.f-col:last-child h5 { margin-bottom: 10px; }
.f-soc {
  width: 38px; height: 38px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(31,19,10,.7);
  border: 1px solid rgba(224,162,60,.25);
  color: var(--sand);
  transition: all .2s;
}
.f-soc:hover {
  color: var(--o-3);
  border-color: rgba(246,144,47,.55);
  background: rgba(122,45,26,.4);
  transform: translateY(-2px) !important;
}

.footer-bottom {
  position: relative; z-index: 2;
  max-width: 1380px; margin: 24px auto 0;
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .18em;
  font-size: 11px;
  color: var(--mute);
}
.footer-bottom a { color: var(--mute); transition: color .15s; }
.footer-bottom a:hover { color: var(--o-3); }
.f-dash { color: var(--mute-2); }

/* ============================================================
   MODAL
   ============================================================ */
.modal {
  position: fixed; inset: 0;
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: 24px;
}
.modal.is-open { display: flex; animation: fadeIn .25s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(11,6,4,.78);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.modal-card {
  position: relative;
  width: 100%; max-width: 480px;
  background: linear-gradient(180deg, var(--bg-3) 0%, var(--bg-1) 100%);
  border: 1px solid rgba(246,144,47,.4);
  border-radius: 22px;
  padding: 28px;
  box-shadow:
    inset 0 1px 0 rgba(255,200,130,.1),
    0 40px 80px -20px rgba(0,0,0,.85);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  background: rgba(11,6,4,.7);
  border: 1px solid rgba(224,162,60,.25);
  border-radius: 10px;
  color: var(--cream);
  font-size: 20px;
  display: grid; place-items: center;
  line-height: 1;
}
.modal-close:hover { color: var(--o-3); border-color: var(--o-3); }
.modal-head { display: flex; gap: 14px; align-items: center; margin-bottom: 24px; }
.modal-logo { width: 56px; height: 56px; object-fit: contain; }
.modal-head h3 { font-family: var(--f-display); font-size: 22px; margin: 0 0 4px; color: var(--cream); }
.modal-head p { margin: 0; color: var(--sand); font-size: 13px; }

.modal-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span {
  font-family: var(--f-ui);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 11px;
  color: var(--gold);
}
.field input, .field select, .field textarea {
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--cream);
  background: rgba(11,6,4,.6);
  border: 1px solid rgba(224,162,60,.22);
  border-radius: 10px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s, background .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--o-3);
  background: rgba(11,6,4,.85);
}
.field textarea { resize: vertical; min-height: 100px; }

/* ── Custom service dropdown ── */
.svc-dd { position: relative; }
.svc-dd-trigger {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  font-family: var(--f-body); font-size: 14px; color: var(--sand);
  background: rgba(11,6,4,.7);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  cursor: pointer;
  text-align: left;
  transition: border-color .15s, background .15s;
}
.svc-dd-trigger:hover, .svc-dd[data-open] .svc-dd-trigger {
  border-color: var(--o-3);
  background: rgba(11,6,4,.85);
}
.svc-dd-trigger[aria-expanded="true"] .svc-dd-arrow { transform: rotate(180deg); }
.svc-dd-arrow { flex-shrink: 0; color: var(--mute); transition: transform .2s; }
#svcDdLabel { flex: 1; }
#svcDdLabel.has-value { color: var(--cream); }

.svc-dd-panel {
  position: absolute; z-index: 999; left: 0; right: 0; top: calc(100% + 6px);
  background: #1a0e06;
  border: 1px solid rgba(246,144,47,.25);
  border-radius: var(--r-sm);
  box-shadow: 0 12px 40px rgba(0,0,0,.7);
  max-height: 340px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(246,144,47,.3) transparent;
  animation: ddSlideIn .15s ease;
}
@keyframes ddSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.svc-dd-panel:not([hidden]) { display: block; }
.svc-dd-panel[hidden] { display: none; }

.svc-dd-group-label {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px 6px;
  font-family: var(--f-ui); font-size: 10px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--gold);
  border-top: 1px solid rgba(255,255,255,.06);
}
.svc-dd-group-label:first-child { border-top: none; }
.svc-dd-item {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 9px 14px 9px 32px;
  font-size: 13px; color: var(--sand);
  cursor: pointer;
  transition: background .1s, color .1s;
  border-radius: 0;
}
.svc-dd-item:hover, .svc-dd-item[aria-selected="true"] {
  background: rgba(246,144,47,.1);
  color: var(--cream);
}
.svc-dd-item[aria-selected="true"] { color: var(--o-3); }
.svc-dd-price {
  font-size: 11px; color: var(--mute); white-space: nowrap; flex-shrink: 0;
}
.svc-dd-other {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px;
  font-size: 13px; color: var(--mute);
  cursor: pointer;
  border-top: 1px solid rgba(255,255,255,.06);
  transition: background .1s, color .1s;
}
.svc-dd-other:hover { background: rgba(246,144,47,.08); color: var(--sand); }

.form-note {
  margin: 4px 0 0;
  font-size: 11px;
  color: var(--mute);
  text-align: center;
}

.modal-success {
  display: none;
  text-align: center;
  padding: 12px 0;
}
.modal.is-success .modal-form { display: none; }
.modal.is-success .modal-success { display: block; }
.success-badge {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 30px;
  color: #2a1207;
  background: linear-gradient(180deg, var(--gold), var(--o-2));
  box-shadow: 0 0 30px rgba(232,116,42,.5);
}
.modal-success h3 { font-family: var(--f-display); margin: 0 0 10px; color: var(--cream); font-size: 22px; }
.modal-success p { margin: 0; color: var(--sand); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 36px 22px 64px; }
  .hero-mascot { min-height: 380px; order: -1; }
  .mascot-img { width: min(360px, 70%); }
  .hero-meta { width: 100%; justify-content: space-between; }

  .stats-frame { grid-template-columns: 1fr 1fr; row-gap: 28px; padding: 36px 24px; }
  .stat-div { display: none; }

  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr 1fr; }

  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card--wide { grid-column: span 1; }

  .why-grid { grid-template-columns: 1fr 1fr; }
  .why-item, .why-item--wide { grid-column: span 1; }

  .reviews-grid { grid-template-columns: 1fr; }

  .cases-grid { gap: 20px; }

  .cta-inner { grid-template-columns: 200px 1fr; gap: 36px; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 720px) {
  section { padding: 72px 18px; }
  .header-inner { padding: 12px 16px; gap: 8px; }
  .header-right .btn-telegram { display: none; }

  .hero { padding-top: 28px; min-height: auto; }
  .hero-inner { padding: 24px 16px 56px; gap: 14px; }
  .hero-mascot { min-height: 300px; }
  .mascot-img { width: 300px; }
  .mascot-tag { font-size: 9px; padding: 6px 12px; }

  .hero-title { font-size: 44px; }
  .hero-sub { font-size: 15px; margin-bottom: 28px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta {
    gap: 14px; padding: 14px 16px;
    flex-wrap: wrap;
  }
  .hm-num { font-size: 22px; }
  .strip-track { font-size: 14px; }

  .section-head { margin-bottom: 40px; }
  .sh-title { font-size: 32px; }
  .sh-sub { font-size: 15px; }

  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card--wide { grid-column: span 1; }

  .price-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  .why-grid { grid-template-columns: 1fr; }
  .why-item, .why-item--wide { grid-column: span 1; }

  .stats { padding: 0 18px 72px; }
  .stats-frame { grid-template-columns: 1fr 1fr; padding: 30px 18px; }
  .stat-num { font-size: 38px; }

  .cases-grid { grid-template-columns: 1fr; gap: 20px; }
  .case-modal-body { padding: 28px 22px 30px; }
  .case-overlay { padding: 14px; }
  .case-modal { max-height: 93vh; border-radius: var(--r-lg); }

  .cta { padding: 72px 18px; }
  .cta-inner { grid-template-columns: 1fr; text-align: center; gap: 24px; }
  .cta-mascot img { max-width: 180px; }
  .cta-actions { justify-content: center; }
  .cta-actions .btn { flex: 1 1 auto; }

  .footer { padding: 56px 18px 24px; }
  .f-cols { grid-template-columns: 1fr 1fr; }

  .footer-bottom { font-size: 10px; justify-content: center; text-align: center; }
}

@media (max-width: 440px) {
  .hero-title { font-size: 38px; }
  .ht-line-2, .ht-line-3 { font-size: 22px; }
  .f-cols { grid-template-columns: 1fr; gap: 24px; }
}

/* ── Reviews page ── */
.rp-hero {
  padding: 100px 24px 40px;
  text-align: center;
}
.rp-stats {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 28px auto 0;
  padding: 22px 36px;
  max-width: 420px;
  background: rgba(11,6,4,.7);
  border: 1px solid rgba(246,144,47,.25);
  border-radius: 20px;
  backdrop-filter: blur(12px);
}
.rp-stat-stars {
  color: var(--gold); font-size: 22px; letter-spacing: .12em;
}
.rp-stat-avg {
  font-family: var(--f-display); font-size: 42px; line-height: 1;
  color: var(--cream);
}
.rp-stat-count {
  font-family: var(--f-ui); font-size: 13px; text-transform: uppercase;
  letter-spacing: .1em; color: var(--sand);
}
.rp-grid-section {
  padding: 20px 24px 60px;
  max-width: 1428px; margin: 0 auto;
}
.rp-form-section {
  padding: 0 24px 100px;
  max-width: 1428px; margin: 0 auto;
}

/* ── Reviews CTA (главная) ── */
.reviews-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  max-width: 1380px; margin: 32px auto 0;
  padding: 22px 32px;
  background: rgba(11,6,4,.6);
  border: 1px solid rgba(246,144,47,.2);
  border-radius: 16px;
  flex-wrap: wrap;
}
.reviews-cta-text {
  margin: 0;
  font-family: var(--f-ui); font-size: 14px; color: var(--sand);
}
.reviews-cta-btn { flex-shrink: 0; }

/* ── Review submit form ── */
.review-submit-wrap {
  max-width: 640px; margin: 56px auto 0;
  padding: 36px; border-radius: 16px;
  background: rgba(11,6,4,.7);
  border: 1px solid rgba(246,144,47,.2);
  backdrop-filter: blur(12px);
}
.review-submit-title {
  font-family: var(--f-head); font-size: 22px; letter-spacing: .06em;
  color: var(--cream); margin: 0 0 20px;
  text-transform: uppercase;
}
.review-submit-form { display: flex; flex-direction: column; gap: 12px; }
.rsf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rsf-row--bottom { display: flex; align-items: center; justify-content: space-between; }
.rsf-input {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,.05); border: 1px solid rgba(224,162,60,.25);
  border-radius: 8px; padding: 10px 14px;
  font-family: var(--f-ui); font-size: 14px; color: var(--cream);
  transition: border-color .18s;
}
.rsf-input:focus { outline: none; border-color: rgba(246,144,47,.55); }
.rsf-input::placeholder { color: var(--mute); }
.rsf-textarea { resize: vertical; min-height: 96px; }
.rsf-stars { display: flex; gap: 4px; }
.rsf-star {
  background: none; border: none; cursor: pointer;
  font-size: 26px; color: rgba(224,162,60,.3);
  transition: color .12s; padding: 0; line-height: 1;
}
.rsf-star.is-active { color: var(--gold); }
.rsf-submit { flex-shrink: 0; }
.rsf-order-label {
  display: flex; flex-direction: column; gap: 6px;
  font-family: var(--f-ui); font-size: 12px; text-transform: uppercase;
  letter-spacing: .08em; color: var(--sand);
}
.rsf-select { cursor: pointer; }
.r-order-tag {
  display: inline-block; margin: 8px 0 4px;
  font-family: var(--f-ui); font-size: 11px; letter-spacing: .07em;
  color: var(--gold); background: rgba(246,144,47,.1);
  border: 1px solid rgba(246,144,47,.25); border-radius: 999px;
  padding: 3px 10px;
}
.rsf-msg {
  margin: 4px 0 0; font-size: 13px; border-radius: 6px; padding: 8px 12px;
}
.rsf-msg--ok { color: #4ade80; background: rgba(74,222,128,.1); border: 1px solid rgba(74,222,128,.25); }
.rsf-msg--err { color: #ff7a7a; background: rgba(255,80,80,.08); border: 1px solid rgba(255,80,80,.2); }
@media (max-width: 560px) {
  .rsf-row { grid-template-columns: 1fr; }
  .rsf-row--bottom { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* =========================================================
   PAGE LOADER — desert sunrise splash screen
   ========================================================= */
#pageLoader {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  overflow: hidden;
  transition: opacity .65s ease, visibility .65s ease;
}
#pageLoader.pl-done {
  opacity: 0; visibility: hidden; pointer-events: none;
}

/* — sky gradient that shifts from pitch black to desert sunset — */
.pl-sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #000000 0%, #0B0604 30%, #2A100A 58%, #6B2A12 80%, #C1652E 100%);
  animation: plSkyReveal 1.8s ease-out forwards;
}
@keyframes plSkyReveal {
  0%  { background: linear-gradient(180deg, #000000 0%, #000000 100%); }
  100%{ background: linear-gradient(180deg, #000000 0%, #0B0604 30%, #2A100A 58%, #6B2A12 80%, #C1652E 100%); }
}

/* — sun orb rising — */
.pl-sun {
  position: absolute; left: 50%;
  width: 200px; height: 200px; border-radius: 50%;
  transform: translateX(-50%) translateY(100px);
  background: radial-gradient(circle, #FFEAB8 0%, #F6C460 35%, rgba(246,144,47,.5) 60%, transparent 75%);
  filter: blur(4px);
  opacity: 0;
  box-shadow: 0 0 100px 40px rgba(246,144,47,.35);
  animation: plSunRise 2s cubic-bezier(.22,.61,.36,1) .1s forwards;
}
@keyframes plSunRise {
  0%   { transform: translateX(-50%) translateY(120px); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: translateX(-50%) translateY(-50px); opacity: 1; }
}

/* — brand block — */
.pl-content {
  position: relative; z-index: 4;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0;
  animation: plFadeUp 1s ease-out .6s forwards;
}
@keyframes plFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pl-logo {
  width: 80px; height: 80px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(224,162,60,.4), 0 0 40px rgba(224,162,60,.3);
  animation: plLogoPulse 2.4s ease-in-out 1.6s infinite alternate;
}
@keyframes plLogoPulse {
  from { box-shadow: 0 0 0 2px rgba(224,162,60,.4), 0 0 40px rgba(224,162,60,.3); }
  to   { box-shadow: 0 0 0 6px rgba(224,162,60,.15), 0 0 70px rgba(224,162,60,.5); }
}
.pl-name {
  margin: 0;
  font-family: var(--f-display);
  font-size: clamp(30px, 6vw, 48px);
  letter-spacing: 5px;
  color: var(--cream);
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.pl-name span { display: inline-block; }
.pl-name span:first-child {
  animation: plWordSlide 1s ease-out .7s both;
}
.pl-name span:last-child {
  animation: plWordSlide 1s ease-out .85s both;
  color: var(--gold);
}
@keyframes plWordSlide {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.pl-star-line {
  margin: 0;
  font-size: 14px; letter-spacing: 6px;
  color: var(--o-3);
  animation: plStarFade 1s ease-out 1.1s both;
}
@keyframes plStarFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* — mountain silhouette — */
.pl-mountains {
  position: absolute; left: 0; right: 0; bottom: 20%; height: 42%; z-index: 2;
  background: #1A0A05;
  clip-path: polygon(0% 100%, 0% 65%, 7% 42%, 16% 60%, 26% 24%, 38% 55%, 50% 33%, 62% 62%, 74% 28%, 86% 56%, 100% 40%, 100% 100%);
  opacity: 0;
  animation: plFadeIn .9s ease-out .25s forwards;
}
.pl-mountains::after {
  content: ''; position: absolute; inset: 0;
  clip-path: polygon(0% 100%, 0% 78%, 14% 55%, 26% 72%, 38% 44%, 52% 68%, 64% 48%, 76% 74%, 88% 46%, 100% 63%, 100% 100%);
  background: #0D0503;
}
@keyframes plFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* — sand dunes — */
.pl-dunes {
  position: absolute; left: 0; right: 0; bottom: 0; height: 24%; z-index: 3;
  background: linear-gradient(180deg, #4A1E0C, #2A1009 70%);
  clip-path: polygon(0% 50%, 14% 30%, 32% 52%, 56% 20%, 76% 48%, 100% 16%, 100% 100%, 0% 100%);
  opacity: 0;
  animation: plFadeIn 1s ease-out .35s forwards;
}

/* — gold progress bar at bottom — */
.pl-bar {
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px; z-index: 5;
  background: rgba(243,230,208,.08);
}
.pl-bar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--rust), var(--o-3), var(--gold));
  box-shadow: 0 0 12px var(--gold);
  animation: plBar 2.2s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes plBar {
  0%  { width: 0%; }
  55% { width: 72%; }
  88% { width: 93%; }
  100%{ width: 100%; }
}

