/* ==========================================================================
   NEGA – public website
   ========================================================================== */

:root {
  --bg: #0b0c10;
  --bg-2: #111318;
  --surface: #161920;
  --surface-2: #1d2029;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --text: #eef0f4;
  --muted: #9aa1ad;
  --accent: #e5140a;
  --accent-2: #ff5a36;
  --accent-soft: rgba(229, 20, 10, .14);
  --ok: #22c55e;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --container: 1180px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fa, .fas, .far, .fab { line-height: 1; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .8em 1.5em; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 700; font-size: .95rem; cursor: pointer; transition: .2s;
  white-space: nowrap;
}
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; box-shadow: 0 10px 30px -10px rgba(229, 20, 10, .7); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(229, 20, 10, .8); }
.btn-ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: var(--accent); color: #fff; }
.btn-sm { padding: .5em 1.1em; font-size: .85rem; }
.btn-block { width: 100%; }

/* ---------- Demo bar ---------- */
.demo-bar {
  background: linear-gradient(90deg, #2a0705, #150708); border-bottom: 1px solid rgba(229, 20, 10, .35);
  font-size: .85rem; color: #ffd9d6; text-align: center; padding: .45em 16px;
}
.demo-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 12, 16, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo img { height: 40px; width: auto; }
.nav-links { display: flex; gap: 4px; margin-inline-start: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { display: block; padding: .5em .9em; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255, 255, 255, .06); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
  display: inline-flex; align-items: center; gap: .4em; padding: .45em .9em; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: .85rem; font-weight: 700; color: var(--text);
}
.lang-switch:hover { border-color: var(--accent); color: #fff; }
.lang-switch .fa-globe { color: var(--accent-2); }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); width: 42px; height: 42px; border-radius: 12px; cursor: pointer; font-size: 1.1rem; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .nav-links {
    position: absolute; inset-inline: 0; top: 72px; flex-direction: column; padding: 12px 16px 20px;
    background: rgba(11, 12, 16, .98); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-actions { margin-inline-start: auto; }
  .nav-actions .btn-primary { display: none; }
}

/* ---------- Sections ---------- */
section { padding-block: 96px; position: relative; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5em; margin-bottom: 14px;
  color: var(--accent-2); font-weight: 800; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } section { padding-block: 72px; } }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(229, 20, 10, .45); box-shadow: var(--shadow); }

/* ---------- Hero ---------- */
.hero { padding-block: 110px 120px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(circle, rgba(229, 20, 10, .28), transparent 60%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5vw, 4rem); line-height: 1.08; margin-bottom: 22px; }
.hero h1 .grad { background: linear-gradient(135deg, #fff 30%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 22px; flex-wrap: wrap; margin-top: 40px; color: var(--muted); font-size: .9rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5em; }
.hero-badges i { color: var(--accent-2); }
.hero-visual { position: relative; }
.hero-visual .frame {
  border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(229, 20, 10, .45);
  transform: perspective(1200px) rotateY(-8deg) rotateX(4deg);
}
.float-card {
  position: absolute; background: rgba(22, 25, 32, .92); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); backdrop-filter: blur(8px);
}
.float-card i { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.float-card b { display: block; font-size: 1.1rem; }
.float-card small { color: var(--muted); }
.float-card.one { inset-block-end: -24px; inset-inline-start: -24px; }
.float-card.two { inset-block-start: 24px; inset-inline-end: -20px; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 560px; } .float-card.two { inset-inline-end: 8px; } .float-card.one { inset-inline-start: 8px; } }

/* ---------- Services ---------- */
.service { padding: 30px; }
.service .icon {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; font-size: 1.35rem;
  background: linear-gradient(135deg, var(--accent-soft), rgba(255, 90, 54, .08)); color: var(--accent-2); border: 1px solid rgba(229, 20, 10, .3);
}
.service h3 { font-size: 1.2rem; }
.service p { color: var(--muted); margin: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-img { position: relative; }
.about-img img { border-radius: 24px; border: 1px solid var(--line-2); }
.about-img .since {
  position: absolute; inset-block-end: -28px; inset-inline-end: 28px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  border-radius: 20px; padding: 18px 24px; text-align: center; box-shadow: var(--shadow);
}
.about-img .since b { display: block; font-size: 2rem; line-height: 1; }
.about-text p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 10px; }
.checks li { display: flex; gap: .7em; align-items: flex-start; }
.checks i { color: var(--accent-2); margin-top: .35em; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; gap: 56px; } }

.counters { margin-top: 80px; }
.counter { padding: 26px; text-align: center; }
.counter i { font-size: 1.4rem; color: var(--accent-2); margin-bottom: 12px; }
.counter b { display: block; font-size: 2.4rem; font-weight: 900; line-height: 1.1; }
.counter span { color: var(--muted); font-size: .92rem; }

/* ---------- Portfolio ---------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button {
  font: inherit; font-weight: 700; font-size: .9rem; padding: .55em 1.2em; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--muted); border: 1px solid var(--line-2);
}
.filters button.active, .filters button:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.work { overflow: hidden; }
.work .thumb { aspect-ratio: 16/10; overflow: hidden; }
.work .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work:hover .thumb img { transform: scale(1.06); }
.work .body { padding: 20px 22px 24px; }
.work .tag { font-size: .78rem; font-weight: 800; color: var(--accent-2); text-transform: uppercase; letter-spacing: .08em; }
.work h3 { font-size: 1.08rem; margin: 6px 0; }
.work p { color: var(--muted); font-size: .93rem; margin: 0; }
.work.hide { display: none; }

/* ---------- Video ---------- */
.video-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; }
.video-box { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 16/9; background: #000; }
.video-box img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.video-box iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-consent {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  text-align: center; padding: 20px; background: linear-gradient(0deg, rgba(0, 0, 0, .75), rgba(0, 0, 0, .25));
}
.play {
  width: 84px; height: 84px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); box-shadow: 0 0 0 12px rgba(229, 20, 10, .2);
}
.play:hover { transform: scale(1.06); }
.video-consent small { color: #d3d6dc; max-width: 420px; font-size: .8rem; }
@media (max-width: 980px) { .video-grid { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.price { padding: 34px 30px; display: flex; flex-direction: column; position: relative; }
.price.popular { border-color: rgba(229, 20, 10, .6); background: linear-gradient(180deg, rgba(229, 20, 10, .12), var(--surface) 40%); }
.price .badge {
  position: absolute; inset-block-start: -13px; inset-inline-start: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); padding: .3em 1em; border-radius: 999px; font-size: .78rem; font-weight: 800;
}
.price h3 { font-size: 1.3rem; margin-bottom: 4px; }
.price .sub { color: var(--muted); font-size: .92rem; }
.price .amount { font-size: 2.6rem; font-weight: 900; margin: 18px 0 4px; }
.price .amount small { font-size: .9rem; color: var(--muted); font-weight: 600; }
.price ul { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; flex: 1; }
.price li { display: flex; gap: .7em; align-items: flex-start; color: #d7dae0; font-size: .95rem; }
.price li i { color: var(--ok); margin-top: .35em; }

/* ---------- Testimonials ---------- */
.quote { padding: 28px; }
.quote .stars { color: #fbbf24; font-size: .85rem; margin-bottom: 14px; display: flex; gap: 3px; }
.quote p { color: #d7dae0; font-size: 1rem; }
.person { display: flex; gap: 12px; align-items: center; margin-top: 18px; }
.person img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 2px solid var(--line-2); }
.person b { display: block; }
.person small { color: var(--muted); }

/* ---------- Blog cards ---------- */
.post { overflow: hidden; display: flex; flex-direction: column; }
.post .thumb { aspect-ratio: 16/10; overflow: hidden; position: relative; }
.post .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.post:hover .thumb img { transform: scale(1.05); }
.post .cat {
  position: absolute; inset-block-start: 14px; inset-inline-start: 14px; background: rgba(11, 12, 16, .8); backdrop-filter: blur(6px);
  padding: .25em .8em; border-radius: 999px; font-size: .78rem; font-weight: 700; border: 1px solid var(--line-2);
}
.post .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post h3 { font-size: 1.15rem; }
.post p { color: var(--muted); font-size: .94rem; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); font-size: .84rem; }
.meta i { color: var(--accent-2); margin-inline-end: .35em; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; }
.contact-info { padding: 34px; }
.info-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.info-row:last-of-type { border-bottom: 0; }
.info-row i { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-2); }
.info-row small { color: var(--muted); display: block; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--muted); }
.socials a:hover { color: #fff; border-color: var(--accent); background: var(--accent-soft); }
.form-card { padding: 34px; }
@media (max-width: 980px) { .contact-grid { grid-template-columns: 1fr; } }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 6px; }
.input, .field input, .field textarea, .field select {
  width: 100%; font: inherit; color: var(--text); background: var(--bg-2); border: 1px solid var(--line-2);
  border-radius: var(--radius-sm); padding: .8em 1em; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 10px; }
input[type="email"], input[type="url"] { direction: ltr; }

.alert { padding: 14px 18px; border-radius: 14px; margin-bottom: 20px; font-weight: 600; display: flex; gap: .6em; align-items: flex-start; }
.alert-ok { background: rgba(34, 197, 94, .12); border: 1px solid rgba(34, 197, 94, .35); color: #b8f5cc; }
.alert-err { background: rgba(229, 20, 10, .12); border: 1px solid rgba(229, 20, 10, .4); color: #ffc9c4; }
.alert i { margin-top: .3em; }

/* ---------- Newsletter / CTA ---------- */
.cta {
  border-radius: 28px; padding: 56px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center;
  background: radial-gradient(circle at 10% 10%, rgba(255, 90, 54, .35), transparent 50%), linear-gradient(135deg, #3a0906, #140708);
  border: 1px solid rgba(229, 20, 10, .35);
}
.cta h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; }
.cta p { color: #f3c9c5; margin: 0; }
.cta form { display: flex; gap: 10px; }
.cta .input { background: rgba(0, 0, 0, .35); border-color: rgba(255, 255, 255, .2); }
@media (max-width: 980px) { .cta { grid-template-columns: 1fr; padding: 34px; } .cta form { flex-direction: column; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 64px 0 28px; background: #08090c; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-grid a, .footer-grid li { color: var(--muted); font-size: .93rem; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: 72px 56px; border-bottom: 1px solid var(--line); background: radial-gradient(ellipse at top, rgba(229, 20, 10, .18), transparent 60%); text-align: center; }
.page-head h1 { font-size: clamp(2rem, 4vw, 3rem); }
.breadcrumb { display: flex; gap: .6em; justify-content: center; color: var(--muted); font-size: .9rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: #fff; }

/* ---------- Blog list / detail ---------- */
.blog-layout { display: grid; grid-template-columns: 1fr 320px; gap: 40px; align-items: start; padding-block: 64px 96px; }
@media (max-width: 980px) { .blog-layout { grid-template-columns: 1fr; } }
.sidebar { display: grid; gap: 24px; position: sticky; top: 96px; }
.widget { padding: 24px; }
.widget h4 { font-size: 1rem; margin-bottom: 14px; display: flex; align-items: center; gap: .5em; }
.widget h4 i { color: var(--accent-2); }
.cat-list { list-style: none; padding: 0; margin: 0; }
.cat-list a { display: flex; justify-content: space-between; padding: .55em .2em; border-bottom: 1px solid var(--line); color: var(--muted); }
.cat-list li:last-child a { border-bottom: 0; }
.cat-list a:hover, .cat-list a.active { color: #fff; }
.cat-list .count { background: var(--surface-2); border-radius: 999px; padding: 0 .7em; font-size: .8rem; }
.mini-post { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.mini-post img { width: 64px; height: 48px; object-fit: cover; border-radius: 10px; flex: none; }
.mini-post b { font-size: .9rem; line-height: 1.4; display: block; }
.mini-post small { color: var(--muted); font-size: .78rem; }
.search-box { display: flex; gap: 8px; }
.search-box .input { padding: .65em 1em; }
.search-box button { flex: none; width: 46px; border-radius: 12px; border: 0; background: var(--accent); color: #fff; cursor: pointer; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line-2); font-weight: 700;
}
.pagination .current { background: var(--accent); border-color: var(--accent); }
.pagination a:hover { border-color: var(--accent); color: #fff; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty i { font-size: 2.4rem; margin-bottom: 14px; color: var(--accent-2); }

.article { overflow: hidden; }
.article .cover { aspect-ratio: 16/10; height: auto; object-fit: cover; width: 100%; }
.article .body { padding: 36px 40px 44px; }
@media (max-width: 640px) { .article .body { padding: 24px 20px 30px; } }
.article h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin: 16px 0 12px; }
.article .summary { font-size: 1.12rem; color: #c9ccd3; border-inline-start: 3px solid var(--accent); padding-inline-start: 16px; margin: 24px 0; }
.prose { font-size: 1.05rem; color: #d9dce2; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; color: #fff; }
.prose ul { padding-inline-start: 1.3em; }
.prose li { margin-bottom: .4em; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; margin-top: 32px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .92rem; }
.share { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 24px; color: var(--muted); font-size: .9rem; }
.share a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line-2); }
.share a:hover { border-color: var(--accent); }

.comments { margin-top: 40px; }
.comment { padding: 22px; margin-bottom: 16px; }
.comment-head { display: flex; gap: 12px; align-items: center; margin-bottom: 10px; }
.avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: none; display: grid; place-items: center; font-weight: 800; font-size: .9rem;
  background: linear-gradient(135deg, #2a2d38, #1b1d25); border: 1px solid var(--line-2); overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-head small { color: var(--muted); display: block; }
.comment p { margin: 0; color: #d7dae0; }
.replies { margin-top: 14px; margin-inline-start: 22px; padding-inline-start: 18px; border-inline-start: 2px solid var(--line-2); display: grid; gap: 12px; }
.reply-item .comment-head { margin-bottom: 4px; }
.team-badge { background: var(--accent-soft); color: var(--accent-2); border-radius: 999px; font-size: .72rem; padding: .1em .6em; font-weight: 800; margin-inline-start: .4em; }
details.reply-form { margin-top: 12px; }
details.reply-form summary { cursor: pointer; color: var(--accent-2); font-weight: 700; font-size: .88rem; list-style: none; }
details.reply-form summary::-webkit-details-marker { display: none; }
details.reply-form form { margin-top: 12px; }

/* ---------- Package detail ---------- */
.pkg-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; padding-block: 64px; align-items: start; }
.pkg-hero img { border-radius: 24px; border: 1px solid var(--line-2); }
.pkg-box { padding: 32px; position: sticky; top: 96px; }
@media (max-width: 980px) { .pkg-hero { grid-template-columns: 1fr; } }

/* ---------- Legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding-block: 64px 96px; }
.legal h2 { font-size: 1.3rem; margin-top: 2em; }
.legal p, .legal li { color: #cfd2d8; }

/* ---------- Misc ---------- */
.to-top {
  position: fixed; inset-block-end: 24px; inset-inline-end: 24px; width: 46px; height: 46px; border-radius: 14px; border: 0; cursor: pointer;
  background: var(--accent); color: #fff; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: .25s; z-index: 40;
}
.to-top.show { opacity: 1; pointer-events: auto; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
.error-page { text-align: center; padding-block: 120px; }
.error-page .code { font-size: clamp(5rem, 16vw, 9rem); font-weight: 900; line-height: 1; background: linear-gradient(135deg, var(--accent), var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ltr { direction: ltr; unicode-bidi: isolate; display: inline-block; }
