/* ═══════════════════════════════════════
   ElysiumForge — style.css
   Dark premium theme: black + crimson red
═══════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #0a0a0a;
  --surface:    #111111;
  --surface2:   #181818;
  --border:     #222222;
  --red:        #c0392b;
  --red-mid:    #922b21;
  --red-dark:   #5c1a14;
  --red-glow:   rgba(192,57,43,.25);
  --white:      #ffffff;
  --off-white:  #f0eeec;
  --muted:      #888888;
  --tag-bg:     #1e1e1e;
  --tag-border: #2e2e2e;
  --radius:     10px;
  --font-display: 'Sora', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 18px !important;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 30px;
  border-radius: 50px;
  transition: opacity .2s, transform .2s;
  cursor: pointer;
  border: none;
}
.btn-primary:hover { opacity: .85; transform: translateY(-1px); }

/* ── Navbar ────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 32px;
  /* translucent, dark at the very top for logo/nav legibility, fading so the
     hero's red glow bleeds through the strip like the design mockup */
  background: linear-gradient(180deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.5) 55%, rgba(0,0,0,0) 100%);
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 66px;
  gap: 40px;
}
.logo {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  flex-shrink: 0;
}
.logo-img {
  height: 56px;
  width: auto;
  display: block;
}
.nav-links {
  display: flex;
  gap: 32px;
  flex: 1;
}
.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--white); }
.btn-contact {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  padding: 9px 22px;
  border-radius: 50px;
  margin-left: auto;
  transition: border-color .2s, background .2s;
  flex-shrink: 0;
}
.btn-contact:hover { border-color: #555; background: rgba(255,255,255,.05); }

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 60px 32px 80px;
}

/* real design background image — the red glowing waves (stays fixed while slides move).
   full-quality PNG, scaled with `cover`; sits BEHIND everything and never intercepts
   clicks (pointer-events:none) so the navbar buttons stay fully clickable. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.png') center top / cover no-repeat, var(--black);
  z-index: 0;
  pointer-events: none;
}

/* Hero slider */
.hero-slider {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1180px;
  overflow: hidden;
}
.hero-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
}
.hero-slide {
  min-width: 100%;
  display: flex;
  justify-content: center;
  padding: 0 40px;
}
.hero-content {
  position: relative;
  z-index: 2;
  margin-top: 0;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.35;
  letter-spacing: -.02em;
  margin-bottom: 18px;
  text-shadow: 0 2px 40px rgba(0,0,0,.6);
}
.hero-sub {
  font-size: 24px !important;
  font-weight: 400;
  color: rgba(255,255,255,.9);
  line-height: 1.6 !important;
  margin-bottom: 34px;
}

/* Hero slider controls */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
  z-index: 3;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-arrow--prev { left: 4px; }
.hero-arrow--next { right: 4px; }
.hero-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 30px;
  position: relative;
  z-index: 4;
  padding-bottom: 6px;
}
.hero-dots button {
  width: 10px; height: 10px;
  box-shadow: 0 0 0 2px rgba(10,10,10,.55);
  border-radius: 50%;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255,255,255,.55);
  transition: background .2s, transform .2s;
}
.hero-dots button.active { background: var(--red); transform: scale(1.35); }

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: 14px;
  color: rgba(255,255,255,.45);
  letter-spacing: .04em;
  transition: color .2s;
}
.hero-scroll:hover { color: var(--white); }

/* ── Services (dark — blends into the black sections around it) ── */
.services {
  background: var(--black);
  color: var(--white);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 42%, rgba(140,30,20,.24) 0%, transparent 70%);
  pointer-events: none;
}
.services .container { position: relative; z-index: 1; }

.section-label {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin-bottom: 34px;
}

/* Service categories — 3×2 grid (unchanged layout), dark-red cards */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.cat-card {
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(160deg, #2a0d09 0%, #180605 60%, #100303 100%);
  border: 1px solid rgba(192,57,43,.30);
  box-shadow: 0 18px 40px rgba(0,0,0,.45), inset 0 0 60px rgba(192,57,43,.05);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.cat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(192,57,43,.6);
  box-shadow: 0 26px 50px rgba(0,0,0,.55), inset 0 0 60px rgba(192,57,43,.12);
}
.cat-card--dark {
  background: linear-gradient(160deg, #3a1410 0%, #220806 60%, #140404 100%);
  border-color: rgba(192,57,43,.5);
}
.cat-head {
  width: 100%;
  min-height: 240px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  font-family: var(--font-display);
}
.cat-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #ffffff;
  text-align: center;
  line-height: 1.4;
}
.cat-toggle {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 24px;
  font-weight: 300;
  color: rgba(255,255,255,.55);
  transition: transform .3s ease, color .2s;
}
.cat-head[aria-expanded="true"] { min-height: 0; padding-bottom: 18px; }
.cat-head[aria-expanded="true"] .cat-toggle { transform: rotate(45deg); color: #fff; }
.cat-panel {
  display: none;
  padding: 0 24px 28px;
}
.cat-card.open .cat-panel { display: block; }
.cat-desc {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.9) !important;
  line-height: 1.6;
  margin-bottom: 14px;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.tag {
  font-size: 14px;
  font-weight: 500;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.92);
  border-radius: 50px;
  padding: 5px 13px;
}
/* Clickable, filled-in service (vs. the muted "[ Add service ]" placeholder) */
.tag--service {
  font-family: var(--font-body);
  cursor: pointer;
  background: rgba(192,57,43,.16);
  border-color: rgba(192,57,43,.55);
  color: #fff;
  transition: background .2s, border-color .2s, transform .2s;
}
.tag--service:hover {
  background: rgba(192,57,43,.32);
  border-color: var(--red);
  transform: translateY(-1px);
}
.tag--service:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* Trending services — horizontal slider */
.trending { margin-top: 64px; }
.trending-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}
.trending-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -.01em;
  color: var(--white);
}
.slider-controls { display: flex; gap: 12px; }
.slider-btn {
  width: 46px; height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
}
.slider-btn:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

.trend-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 14px;
  scrollbar-width: none;
}
.trend-track::-webkit-scrollbar { display: none; }
.trend-card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  background: linear-gradient(160deg, #1f0a07 0%, #140505 100%);
  border: 1px solid rgba(192,57,43,.28);
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform .2s, border-color .2s;
}
.trend-card:hover { transform: translateY(-4px); border-color: rgba(192,57,43,.6); }
.trend-card h4 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 19px;
  line-height: 1.35;
  color: #fff;
  margin-bottom: 8px;
}
.trend-card p {
  font-size: 18px !important;
  font-weight: 500 !important;
  color: rgba(255,255,255,.9) !important;
  line-height: 1.6;
}

/* ── Mission ───────────────────────────────────────── */
.mission {
  background: var(--black);
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 80%, rgba(130,20,10,.5) 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% 60%, rgba(100,15,8,.3) 0%, transparent 60%);
}
.mission-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.mission-statement {
  max-width: 860px;
  margin-bottom: 80px;
}
.mission-italic {
  font-size: clamp(24px, 3.4vw, 36px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,.6);
  margin-bottom: 18px;
}
.mission-bold {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.35;
  letter-spacing: -.03em;
  color: var(--white);
}
.mission-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
}
.pillar h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.3;
  letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--white);
}
.pillar p {
  font-size: 20px !important;
  color: rgba(255,255,255,.85);
  line-height: 1.6;
}

/* ── FAQ ───────────────────────────────────────────── */
.faq {
  background: var(--black);
  color: var(--white);
  padding: 80px 0;
}
.faq-list {
  display: flex;
  flex-direction: column;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 22px !important;
  font-weight: 600;
  color: var(--white);
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  gap: 16px;
  transition: color .2s;
}
.faq-question:hover { color: rgba(255,255,255,.7); }
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  flex-shrink: 0;
  transition: transform .3s;
  color: rgba(255,255,255,.5);
}
.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  color: var(--white);
}
.faq-answer {
  display: none;
  padding-bottom: 20px;
}
.faq-answer.open { display: block; }
.faq-answer p {
  font-size: 18px !important;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  max-width: 720px;
}

/* ── CTA ───────────────────────────────────────────── */
.cta-section {
  background: var(--black);
  padding: 120px 32px;
  text-align: center;
}
.cta-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}
.cta-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.3;
  letter-spacing: -.03em;
  color: var(--white);
}

/* ── Footer ────────────────────────────────────────── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px 32px 0;
  position: relative;
  overflow: hidden;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 40px;
}
.footer-stat {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--white);
  max-width: 300px;
}
.footer-nav-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
  margin-bottom: 14px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  font-size: 15px;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--white); }

/* Giant wordmark */
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(80px, 18vw, 200px);
  line-height: 1;
  letter-spacing: -.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.06);
  background: linear-gradient(180deg, rgba(200,50,30,.55) 0%, rgba(180,40,20,.2) 60%, transparent 100%);
  -webkit-background-clip: text;
  background-clip: text;
  text-align: center;
  padding: 0 32px;
  user-select: none;
  display: block;
}
.footer-copy {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.2);
  padding: 16px 0 24px;
}

/* ── Service Detail Panel (slide-in drawer) ────────── */
.service-panel-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,.6);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity .3s ease;
}
.service-panel-overlay.open { opacity: 1; }

.service-panel {
  position: fixed;
  top: 0; right: 0;
  z-index: 201;
  width: min(440px, 92vw);
  height: 100%;
  overflow-y: auto;
  padding: 76px 40px 48px;
  background: linear-gradient(160deg, #2a0d09 0%, #180605 55%, #100303 100%);
  border-left: 1px solid rgba(192,57,43,.4);
  box-shadow: -30px 0 60px rgba(0,0,0,.6);
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.service-panel.open { transform: translateX(0); }

.sp-close {
  position: absolute;
  top: 22px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.04);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s;
}
.sp-close:hover { background: var(--red); border-color: var(--red); }
.sp-close:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.sp-cat {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 14px;
}
.sp-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 20px;
}
.sp-desc {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,.88);
  line-height: 1.7;
  margin-bottom: 32px;
}
.sp-cta { align-self: flex-start; }

/* ── Service detail pages (generated per service) ──── */
.svc-page {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 100px;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(140,30,20,.35) 0%, transparent 65%),
    var(--black);
}
.svc-page .container { max-width: 820px; }
.svc-back {
  display: inline-block;
  font-size: 15px;
  color: rgba(255,255,255,.55);
  margin-bottom: 30px;
  transition: color .2s;
}
.svc-back:hover { color: var(--white); }
.svc-cat {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red);
  margin-bottom: 14px;
}
.svc-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.2;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: 18px;
}
.svc-tagline {
  font-size: 22px;
  font-weight: 500;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
  margin-bottom: 34px;
}
.svc-body {
  font-size: 18px;
  color: rgba(255,255,255,.82);
  line-height: 1.75;
  margin-bottom: 20px;
}
.svc-features {
  display: grid;
  gap: 12px;
  margin: 28px 0 40px;
}
.svc-features li {
  position: relative;
  padding-left: 30px;
  font-size: 17px;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.svc-features li::before {
  content: '';
  position: absolute;
  left: 6px;
  top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 10px var(--red-glow);
}
.svc-cta { margin-top: 8px; }

/* ── Responsive ────────────────────────────────────── */
@media (max-width: 900px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .mission-pillars { grid-template-columns: 1fr; gap: 36px; }
}
@media (max-width: 640px) {
  .cat-grid { grid-template-columns: 1fr; }
  .cat-head { min-height: 170px; }
  .nav-links { display: none; }
  .hero-arrow { display: none; }
  .hero-slide { padding: 0 20px; }
  .footer-inner { flex-direction: column; }
  .footer-wordmark { font-size: 60px; }
}

/* ═══════════ Two ways to start (service pages) ═══════════ */
.svc-start {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.start-card {
  background: linear-gradient(160deg, var(--red-dark), rgba(10,10,10,.9));
  border: 1px solid rgba(192,57,43,.35);
  border-radius: 14px;
  padding: 26px 24px 28px;
}
.start-card--alt { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.start-kicker {
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.45); margin-bottom: 8px;
}
.start-card h3 { font-family: 'Sora', sans-serif; font-size: 20px; margin-bottom: 8px; }
.start-card p { font-size: 14px; color: rgba(255,255,255,.65); margin-bottom: 18px; }
.btn-ghost {
  display: inline-block; padding: 12px 22px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.35); color: var(--white);
  font-size: 14px; font-weight: 600; transition: background .2s, border-color .2s;
}
.btn-ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }

/* ═══════════ Recent-builds marquee ═══════════ */
.showcase { margin-top: 72px; padding: 48px 0 64px; background: rgba(255,255,255,.02); overflow: hidden; }
.showcase-title { font-family: 'Sora', sans-serif; font-size: 26px; margin-bottom: 6px; }
.showcase-sub { font-size: 14px; color: rgba(255,255,255,.55); margin-bottom: 28px; }
.marquee { overflow: hidden; position: relative; }
.marquee-track {
  display: flex; gap: 22px; width: max-content;
  animation: marquee-scroll 36s linear infinite;
}
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .marquee { overflow-x: auto; }
}
.marquee-item {
  flex: 0 0 auto; width: min(420px, 78vw);
  border-radius: 12px; overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.03);
  box-shadow: 0 14px 34px rgba(0,0,0,.45);
}
.marquee-item img { display: block; width: 100%; height: auto; }

/* ═══════════ Payment / request panels ═══════════ */
.pay-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.65);
  backdrop-filter: blur(2px); z-index: 60;
}
.pay-panel {
  position: fixed; top: 0; right: 0; height: 100dvh;
  width: min(460px, 100vw); z-index: 61;
  background: #121212; border-left: 1px solid rgba(192,57,43,.4);
  padding: 30px 26px 40px; overflow-y: auto;
  transform: translateX(102%); transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.pay-panel.open { transform: translateX(0); }
.pay-close {
  position: absolute; top: 14px; right: 16px;
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 28px; cursor: pointer; line-height: 1;
}
.pay-close:hover { color: var(--white); }
.pay-panel h3 { font-family: 'Sora', sans-serif; font-size: 22px; margin-bottom: 10px; }
.pay-note { font-size: 13px; color: rgba(255,255,255,.55); margin-bottom: 20px; }
.pay-type { border: 1px solid rgba(255,255,255,.12); border-radius: 8px; padding: 10px 14px 12px; margin-bottom: 16px; display: flex; gap: 18px; }
.pay-type legend { font-size: 12px; color: rgba(255,255,255,.5); padding: 0 6px; }
.pay-type label { font-size: 14px; display: flex; gap: 6px; align-items: center; }
.pay-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 14px; }
.pay-grid label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; color: rgba(255,255,255,.6); }
.pay-grid .pay-full { grid-column: 1 / -1; }
.pay-grid input, .pay-grid textarea {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-radius: 7px; color: var(--white); padding: 10px 11px;
  font: inherit; font-size: 16px;
}
.pay-grid input:focus-visible, .pay-grid textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 1px; }
.pay-submit { width: 100%; margin-top: 18px; }
.pay-status { font-size: 13px; margin-top: 12px; min-height: 18px; }
.pay-status.ok { color: #7fd48a; }
.pay-status.err { color: #e6837a; }
.hp { position: absolute; left: -9999px; }
.tag--request { cursor: pointer; border-style: dashed; }
.pay-grid input[readonly] {
  background: rgba(192,57,43,.14);
  border-color: rgba(192,57,43,.4);
  color: rgba(255,255,255,.85);
  font-weight: 600;
  cursor: default;
}
