/* =========================================================
   JYOTIRNEX TECHNOLOGIES — Design tokens
   ========================================================= */
:root {
  --bg: #0a0a0d;
  --bg-soft: #101014;
  --panel: #17171d;
  --panel-2: #1e1e26;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #f4f3ef;
  --muted: #9b9aa5;
  --muted-2: #6c6b76;
  --gold: #f0a825;
  --gold-light: #ffd166;
  --gold-dark: #a86a0c;
  --gold-glow: rgba(240, 168, 37, .35);
  --paper: #f7f4ee;
  --paper-ink: #17171d;

  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-s: 10px;
  --radius-m: 18px;
  --radius-l: 28px;

  --ease: cubic-bezier(.16, .84, .44, 1);
  --container: 1240px;
}

/* ---------- Light mode overrides ---------- */
html[data-theme="light"] {
  --bg: #f7f6f2;
  --bg-soft: #ffffff;
  --panel: #ffffff;
  --panel-2: #f0eee7;
  --line: rgba(20, 20, 25, .10);
  --line-strong: rgba(20, 20, 25, .18);
  --text: #17171d;
  --muted: #55545e;
  --muted-2: #79787f;
  --paper: #ffffff;
  --paper-ink: #17171d;
}

html[data-theme="light"] .site-header {
  background: rgba(247, 246, 242, .82);
}

html[data-theme="light"] .site-footer {
  background: #efeee8;
}

html[data-theme="light"] .cta-band {
  background: linear-gradient(120deg, #fdfcf8, #f0eee7 60%);
}

html[data-theme="light"] .grid-glow {
  opacity: .35;
}

html {
  transition: background var(--ease) .3s;
}

body {
  transition: background-color .3s var(--ease), color .3s var(--ease);
}

/* ---------- Theme toggle button ---------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: none;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}

.theme-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.theme-toggle svg {
  width: 19px;
  height: 19px;
}

.theme-toggle .icon-sun {
  display: none;
}

html[data-theme="light"] .theme-toggle .icon-moon {
  display: none;
}

html[data-theme="light"] .theme-toggle .icon-sun {
  display: block;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -.01em;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: var(--gold);
  color: #161616;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.wrap-narrow {
  max-width: 820px;
  margin: 0 auto;
}

/* background texture: faint circuit grid */
.grid-glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(240, 168, 37, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240, 168, 37, .045) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 85%);
  opacity: .5;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  white-space: nowrap;
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .35s var(--ease);
}

.btn:hover svg {
  transform: translateX(4px);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: #1a1205;
  box-shadow: 0 10px 30px -12px var(--gold-glow);
}

.btn-gold:hover {
  box-shadow: 0 16px 38px -10px var(--gold-glow);
}

.btn-outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(240, 168, 37, .08);
}

.btn-dark {
  background: var(--paper-ink);
  color: var(--paper);
  border-color: var(--paper-ink);
}

.btn-dark:hover {
  background: transparent;
  color: var(--paper-ink);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 13, .72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  position: relative;
  flex: none;
  transform-style: preserve-3d;
  animation: brandSpin 9s linear infinite;
}

.brand-mark svg {
  width: 100%;
  height: 100%;
}

@keyframes brandSpin {

  0%,
  85% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(360deg);
  }
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-name strong {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: .02em;
}

.brand-name strong span {
  color: var(--gold);
}

.brand-name em {
  font-style: normal;
  font-size: 10px;
  letter-spacing: .32em;
  color: var(--text);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--muted);
  position: relative;
  padding: 6px 0;
  transition: color .25s;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width .3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
@media (max-width: 700px) {
  .nav-cta {
    display: none;


  }

}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line-strong);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex: none;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  position: relative;
  transition: transform .3s, opacity .3s;
}

.nav-toggle span::before {
  position: absolute;
  top: -6px;
}

.nav-toggle span::after {
  position: absolute;
  top: 6px;
}

.nav-toggle.open span {
  background: transparent;
}

.nav-toggle.open span::before {
  top: 0;
  transform: rotate(45deg);
  background: var(--gold);
}

.nav-toggle.open span::after {
  top: 0;
  transform: rotate(-45deg);
  background: var(--gold);
}

/* =========================================================
   MOBILE NAV DRAWER
   ========================================================= */
@media (max-width: 980px) {
  .nav-links {
    position: fixed;
    inset: 73px 0 0 0;
    z-index: 90;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--bg-soft);
    padding: 10px 28px 30px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links a {
    width: 100%;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 16px;
  }

  .nav-cta .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }
}

/* =========================================================
   HERO — 3D scene
   ========================================================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 76px 0 90px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(240, 168, 37, .08);
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px var(--gold-glow);
}

.hero h1 {
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1.06;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero h1 .accent {
  color: var(--gold);
}

.hero h1 .outline {
  -webkit-text-stroke: 1.5px var(--line-strong);
  color: transparent;
}

.hero p.lead {
  color: var(--muted);
  font-size: 17px;
  max-width: 52ch;
  margin-bottom: 34px;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 34px;
}

.hero-stats .stat {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-stats .stat svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex: none;
}

.hero-stats .stat strong {
  display: block;
  font-size: 14px;
}

.hero-stats .stat span {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

/* --- 3D booth scene --- */
.scene-stage {
  perspective: 1400px;
  height: 520px;
  position: relative;
}

.scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(8deg) rotateY(-18deg);
  transition: transform .25s ease-out;
  animation: sceneFloat 7s ease-in-out infinite;
}

@keyframes sceneFloat {

  0%,
  100% {
    transform: rotateX(8deg) rotateY(-18deg) translateY(0);
  }

  50% {
    transform: rotateX(6deg) rotateY(-14deg) translateY(-14px);
  }
}

.booth {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 230px;
  height: 260px;
  transform: translate(-50%, -50%) translateZ(0);
  transform-style: preserve-3d;
}

.booth-face {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
}

.booth-face.front {
  transform: translateZ(60px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 20px;
  text-align: center;
}

.booth-face.right {
  width: 120px;
  transform: rotateY(90deg) translateZ(115px);
  left: 0;
}

.booth-face.top {
  height: 120px;
  transform: rotateX(90deg) translateZ(60px);
  top: 0;
  background: linear-gradient(160deg, #23232c, var(--panel));
}

.booth-icon {
    width: 113px;
    height: 155px;
    /* border-radius: 12px; */
    /* background: radial-gradient(circle at 30% 30%, var(--gold-light), var(--gold-dark)); */
    /* display: flex; */
    align-items: center;
    justify-content: center;
    /* box-shadow: 0 8px 20px -6px var(--gold-glow);
}

.booth-icon img {
  width: 24px;
  height: 24px;
  /* color: #1a1205; */
}

.booth-face.front strong {
  font-family: var(--font-display);
  font-size: 14px;
}

.booth-face.front span {
  font-size: 11px;
  color: var(--gold-light);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.orbit-card {
      /* height: 154px; */
    position: absolute;
    width: 120px;
  position: absolute;
  /* width: 112px; */
  padding: 5px 3px;
  border-radius: 14px;
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .75);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transform-style: preserve-3d;
  animation: orbitFloat 6s ease-in-out infinite;
}

.orbit-card svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.orbit-card span {
  font-size: 11px;
  font-weight: 600;
  color: var(--text);
}

.orbit-card.c1 {
  top: 2%;
  left: 0%;
  transform: translateZ(90px);
  animation-delay: .2s;
}

.orbit-card.c2 {
  top: 6%;
  right: 0%;
  transform: translateZ(70px);
  animation-delay: 1.1s;
}

.orbit-card.c3 {
  bottom: 6%;
  left: -4%;
  transform: translateZ(80px);
  animation-delay: .6s;
}

.orbit-card.c4 {
  bottom: 0%;
  right: -2%;
  transform: translateZ(60px);
  animation-delay: 1.6s;
}

@keyframes orbitFloat {

  0%,
  100% {
    translate: 0 0;
  }

  50% {
    translate: 0 -12px;
  }
}

.scene-glow {
  position: absolute;
  left: 50%;
  top: 60%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, var(--gold-glow), transparent 68%);
  transform: translate(-50%, -50%);
  filter: blur(10px);
  z-index: -1;
}

.scene-base {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 260px;
  height: 20px;
  background: radial-gradient(ellipse, rgba(0, 0, 0, .55), transparent 70%);
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .scene-stage {
    height: 380px;
    order: -1;
  }
}

/* =========================================================
   SECTION HEADERS
   ========================================================= */
.section {
  position: relative;
  z-index: 1;
  padding: 96px 0;
}

.section.alt {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head h2 {
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 600;
  margin-top: 14px;
}

.section-head h2 .accent {
  color: var(--gold);
}

.section-head p {
  color: var(--muted);
  margin-top: 14px;
  font-size: 16px;
}

.eyebrow-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow-line::before,
.eyebrow-line::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--gold-dark);
}

/* =========================================================
   SERVICE CARDS — 3D tilt
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.tilt-card {
  perspective: 900px;
}

.tilt-card-inner {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px 26px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .35s;
  position: relative;
  overflow: hidden;
}

.tilt-card-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 168, 37, .12), transparent 60%);
  opacity: 0;
  transition: opacity .35s;
}

.tilt-card:hover .tilt-card-inner::before {
  opacity: 1;
}

.tilt-card:hover .tilt-card-inner {
  border-color: var(--gold-dark);
  box-shadow: 0 26px 50px -22px rgba(0, 0, 0, .7);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--panel-2), var(--bg));
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transform: translateZ(40px);
  transition: transform .45s var(--ease), background .35s;
}

.tilt-card:hover .card-icon {
  transform: translateZ(60px) rotate(-6deg);
  background: linear-gradient(150deg, var(--gold-dark), var(--panel-2));
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--gold);
}

.tilt-card-inner h3 {
  font-size: 19px;
  margin-bottom: 10px;
  transform: translateZ(30px);
}

.tilt-card-inner p {
  color: var(--muted);
  font-size: 14.5px;
  margin-bottom: 20px;
  transform: translateZ(20px);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gold-light);
  transform: translateZ(20px);
}

.card-link svg {
  width: 14px;
  height: 14px;
  transition: transform .3s var(--ease);
}

.tilt-card:hover .card-link svg {
  transform: translateX(5px);
}

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

@media (max-width: 620px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   WHY CHOOSE US — dark strip
   ========================================================= */
.why-strip {
  background: linear-gradient(180deg, #0d0d10, #000);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 22px;
  margin-top: 50px;
}

.why-item {
  text-align: left;
}

.why-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(240, 168, 37, .1);
  border: 1px solid var(--gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform .4s var(--ease);
}

.why-item:hover .why-icon {
  transform: translateY(-6px) rotate(-4deg);
}

.why-icon svg {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.why-item strong {
  display: block;
  font-size: 15px;
  margin-bottom: 6px;
}

.why-item span {
  display: block;
  font-size: 13.5px;
  color: var(--muted);
}

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

@media (max-width:560px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PORTFOLIO / PROJECTS
   ========================================================= */
.portfolio-layout {
  display: grid;
  grid-template-columns:
    minmax(0, 1.3fr) minmax(300px, .9fr);

  gap: 40px;

  align-items: center;

  width: 100%;
  max-width: 100%;
  min-width: 0;
}


.portfolio-layout>* {
  min-width: 0;
}
.slider {
  position: relative;
}

.slider-track {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
  scrollbar-width: none;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

.slide {
  scroll-snap-align: start;
  flex: 0 0 auto;
  width: 280px;
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transform-style: preserve-3d;
  transition: transform .5s var(--ease);
}

.slide:hover {
  transform: translateY(-8px) rotateX(4deg);
}

.slide-visual {
  height: 180px;
  background: linear-gradient(150deg, var(--panel-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.slide-visual svg {
  width: 56px;
  height: 56px;
  color: var(--gold);
  opacity: .85;
}

.slide-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, var(--gold-glow) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 5s ease-in-out infinite;
}

@keyframes sheen {

  0%,
  80% {
    transform: translateX(-120%);
  }

  95% {
    transform: translateX(120%);
  }

  100% {
    transform: translateX(120%);
  }
}

.slide-label {
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 600;
}

.slider-nav {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}

.slider-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s;
}

.slider-nav button:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #1a1205;
}

.slider-nav svg {
  width: 18px;
  height: 18px;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.stat-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: transform .4s var(--ease), border-color .3s;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
}

.stat-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  flex: none;
  background: rgba(240, 168, 37, .12);
  display: flex;
  align-items: center;
  justify-content: center;
}

.stat-card .icon-badge svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.stat-card strong {
  display: block;
  font-size: 24px;
  font-family: var(--font-display);
}

.stat-card span {
  display: block;
  font-size: 12.5px;
  color: var(--muted);
}

/* @media (max-width:980px) {
  .portfolio-layout {
    grid-template-columns: 1fr;
  }
} */

@media (max-width: 600px) {

  .portfolio-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .slide {
    flex-basis: 260px;
    width: 260px;
  }

  .slide-visual {
    height: 160px;
  }
}



/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testi-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 30px;
  position: relative;
  transition: transform .4s var(--ease), border-color .3s;
}

.testi-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dark);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

.testi-card p {
  font-size: 14.5px;
  color: var(--muted);
  margin-bottom: 22px;
}

.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(150deg, var(--gold-light), var(--gold-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #1a1205;
  font-size: 15px;
}

.testi-person strong {
  display: block;
  font-size: 14px;
}

.testi-person span {
  display: block;
  font-size: 12px;
  color: var(--muted-2);
}

.quote-mark {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 26px;
  height: 26px;
  color: var(--gold-dark);
  opacity: .5;
}

@media (max-width:980px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CTA BAND
   ========================================================= */
.cta-band {
  border-radius: var(--radius-l);
  background: linear-gradient(120deg, #141418, #0a0a0d 60%);
  border: 1px solid var(--line-strong);
  padding: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, var(--gold-glow), transparent 70%);
}

.cta-band h3 {
  font-size: clamp(22px, 3vw, 30px);
  margin-bottom: 8px;
}

.cta-band p {
  color: var(--muted);
  font-size: 15px;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 17px;
}

.cta-phone svg {
  width: 20px;
  height: 20px;
  color: var(--gold);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #050506;
  border-top: 1px solid var(--line);
  padding: 70px 0 26px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 34px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--line);
}

.footer-about p {
  color: var(--muted);
  font-size: 13.5px;
  margin: 16px 0 20px;
}

.social-row {
  display: flex;
  gap: 10px;
}

.social-row a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s, border-color .3s, transform .3s;
}

.social-row a:hover {
  background: var(--gold);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.social-row svg {
  width: 16px;
  height: 16px;
}

.footer-col h4 {
  font-size: 14px;
  margin-bottom: 18px;
  color: var(--text);
}

.footer-col ul li {
  margin-bottom: 11px;
}

.footer-col ul li a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color .25s, padding-left .25s;
}

.footer-col ul li a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 14px;
}

.footer-contact svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: none;
  margin-top: 2px;
}

.news-form {
  display: flex;
  margin-top: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  overflow: hidden;
}

.news-form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  padding: 12px 16px;
  font-size: 13.5px;
}

.news-form button {
  background: var(--gold);
  border: none;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-form button svg {
  width: 16px;
  height: 16px;
  color: #1a1205;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 12.5px;
  color: var(--muted-2);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a {
  color: var(--muted-2);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

.footer-legal {
  display: flex;
  gap: 20px;
}

@media (max-width:980px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PAGE HERO (inner pages)
   ========================================================= */
.page-hero {
  padding: 64px 0 70px;
  text-align: center;
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  margin: 16px 0 14px;
}

.page-hero p {
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
}

.crumbs {
  margin-top: 22px;
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 13px;
  color: var(--muted-2);
}

.crumbs a {
  color: var(--gold-light);
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: .08s;
}

.reveal-delay-2 {
  transition-delay: .16s;
}

.reveal-delay-3 {
  transition-delay: .24s;
}

.reveal-delay-4 {
  transition-delay: .32s;
}

.reveal-delay-5 {
  transition-delay: .4s;
}

/* =========================================================
   ABOUT PAGE
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  perspective: 1200px;
  height: 420px;
  position: relative;
}

.stack-3d {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateY(-14deg) rotateX(6deg);
  animation: sceneFloat 8s ease-in-out infinite;
}

.stack-panel {
  position: absolute;
  border-radius: var(--radius-m);
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .75);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 20px;
}

.stack-panel.p1 {
  width: 230px;
  height: 290px;
  left: 10%;
  top: 10%;
  transform: translateZ(70px);
}

.stack-panel.p2 {
  width: 200px;
  height: 250px;
  right: 0;
  bottom: 0;
  transform: translateZ(30px);
  background: linear-gradient(160deg, #201a0d, var(--panel));
}

.stack-panel svg {
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.stack-panel strong {
  font-family: var(--font-display);
  font-size: 15px;
}

.stack-panel span {
  font-size: 12px;
  color: var(--muted);
}

.timeline {
  position: relative;
  padding-left: 34px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--gold), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 34px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(240, 168, 37, .15);
}

.timeline-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
  margin-bottom: 4px;
}

.timeline-item span {
  font-size: 13.5px;
  color: var(--muted);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width:980px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

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

@media (max-width:560px) {
  .value-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   SERVICES PAGE — detail list
   ========================================================= */
.service-detail {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 56px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse>* {
  direction: ltr;
}

.service-visual {
  perspective: 1000px;
  height: 280px;
  position: relative;
}

.service-visual .panel-main {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 220px;
  height: 220px;
  transform-style: preserve-3d;
  transform: rotateX(10deg) rotateY(-16deg);
  border-radius: 24px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 30px 60px -22px rgba(0, 0, 0, .75);
  animation: sceneFloat 7s ease-in-out infinite;
}

.service-visual .panel-main svg {
  width: 70px;
  height: 70px;
  color: var(--gold);
}

.service-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.service-detail h3 {
  font-size: 26px;
  margin-bottom: 14px;
}

.service-detail p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 15px;
}

.check-list {
  display: grid;
  gap: 12px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
}

.check-list svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  flex: none;
}

@media (max-width:900px) {

  .service-detail,
  .service-detail.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-visual {
    order: -1;
    height: 220px;
  }
}

/* =========================================================
   PROCESS STEPS
   ========================================================= */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
}

.process-card {
  position: relative;
  padding: 30px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
}

.process-card .num {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--gold-dark);
  opacity: .5;
  margin-bottom: 14px;
}

.process-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.process-card p {
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width:900px) {
  .process-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PRICING (services page)
   ========================================================= */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.pricing-card li svg.x-icon {
    stroke: #ff4d4d !important;
    color: #ff4d4d !important;
}
.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: transform .4s var(--ease), border-color .3s;
}

.price-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-dark);
}

.price-card.feat {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--panel-2), var(--panel));
  position: relative;
}

.price-card.feat::after {
  content: "POPULAR";
  position: absolute;
  top: -13px;
  right: 26px;
  background: var(--gold);
  color: #1a1205;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .08em;
  padding: 5px 12px;
  border-radius: 999px;
}

.price-name {
  font-size: 14px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.price-value {
  font-family: var(--font-display);
  font-size: 38px;
  margin-bottom: 6px;
}

.price-value span {
  font-size: 14px;
  color: var(--muted);
  font-family: var(--font-body);
}

.price-card p.desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
}

.price-list {
  display: grid;
  gap: 12px;
  margin-bottom: 28px;
  flex: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13.5px;
}

.price-list svg {
  width: 16px;
  height: 16px;
  color: var(--gold);
  flex: none;
}

@media (max-width:900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PORTFOLIO PAGE — filter grid
   ========================================================= */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
}

.filter-bar button {
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  transition: all .3s;
}

.filter-bar button.active,
.filter-bar button:hover {
  background: var(--gold);
  color: #1a1205;
  border-color: var(--gold);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius-m);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: transform .5s var(--ease);
  perspective: 800px;
}

.project-card:hover {
  transform: translateY(-8px);
}

.project-visual {
  height: 200px;
  background: linear-gradient(150deg, var(--panel-2), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-visual svg {
  width: 52px;
  height: 52px;
  color: var(--gold);
}

.project-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, var(--gold-glow) 50%, transparent 60%);
  transform: translateX(-120%);
  animation: sheen 6s ease-in-out infinite;
}

.project-body {
  padding: 22px;
}

.project-cat {
  font-size: 11.5px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .1em;
  font-weight: 700;
  margin-bottom: 8px;
  display: block;
}

.project-body h4 {
  font-size: 17px;
  margin-bottom: 8px;
}

.project-body p {
  font-size: 13.5px;
  color: var(--muted);
}

@media (max-width:980px) {
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:600px) {
  .project-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
.contact-layout {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 50px;
}

.contact-info-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  padding: 32px;
  margin-bottom: 18px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform .35s var(--ease), border-color .3s;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-dark);
}

.contact-info-card .icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(240, 168, 37, .12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-info-card .icon-badge svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
}

.contact-info-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.contact-info-card span {
  font-size: 13.5px;
  color: var(--muted);
}

.form-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-l);
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.field input,
.field textarea,
.field select {
  background: var(--bg-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 13px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14.5px;
  outline: none;
  transition: border-color .3s, box-shadow .3s;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(240, 168, 37, .15);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.form-success.show {
  display: block;
}

.form-success svg {
  width: 56px;
  height: 56px;
  color: var(--gold);
  margin: 0 auto 16px;
}

.form-success h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--muted);
  font-size: 14px;
}

.map-frame {
  margin-top: 56px;
  border-radius: var(--radius-l);
  border: 1px solid var(--line);
  overflow: hidden;
  height: 340px;
  position: relative;
  background:
    radial-gradient(circle at 30% 30%, rgba(240, 168, 37, .14), transparent 55%),
    linear-gradient(160deg, var(--panel-2), var(--bg));
}

.map-pin {
  position: absolute;
  left: 38%;
  top: 44%;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 10px rgba(240, 168, 37, .15), 0 0 0 22px rgba(240, 168, 37, .08);
  animation: pinPulse 2.4s ease-in-out infinite;
}

.map-pin svg {
  width: 24px;
  height: 24px;
  color: #1a1205;
}

@keyframes pinPulse {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.map-lines {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(240, 168, 37, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(240, 168, 37, .06) 1px, transparent 1px);
  background-size: 40px 40px;
}

@media (max-width:980px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

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

/* =========================================================
   FAQ
   ========================================================= */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 15px;
}

.faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--gold);
  transition: transform .35s var(--ease);
  flex: none;
  margin-left: 14px;
}

.faq-item.open .faq-q svg {
  transform: rotate(45deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}

.faq-a p {
  padding: 0 24px 20px;
  color: var(--muted);
  font-size: 14px;
}

/* =========================================================
   BACK TO TOP + LOADER
   ========================================================= */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: #1a1205;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px -10px var(--gold-glow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .3s, visibility .3s, transform .3s;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top svg {
  width: 20px;
  height: 20px;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity .5s var(--ease), visibility .5s;
}

.page-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-cube {
  width: 54px;
  height: 54px;
  position: relative;
  transform-style: preserve-3d;
  animation: loaderSpin 1.1s linear infinite;
}

.loader-cube span {
  position: absolute;
  inset: 0;
  border: 2px solid var(--gold);
  border-radius: 8px;
}

.loader-cube span:nth-child(1) {
  transform: rotateY(0deg) translateZ(27px);
}

.loader-cube span:nth-child(2) {
  transform: rotateY(90deg) translateZ(27px);
}

.loader-cube span:nth-child(3) {
  transform: rotateX(90deg) translateZ(27px);
}

@keyframes loaderSpin {
  0% {
    transform: rotateX(0) rotateY(0);
  }

  100% {
    transform: rotateX(360deg) rotateY(360deg);
  }
}

/* utility */
.text-center {
  text-align: center;
}

.mt-60 {
  margin-top: 60px;
}

/* =========================================================
   LEGAL PAGES (Terms & Conditions, Privacy Policy)
   ========================================================= */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}

.legal-content .updated-note {
  color: var(--muted-2);
  font-size: 13.5px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 600;
  margin: 44px 0 14px;
  color: var(--text);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p {
  color: var(--muted);
  margin: 0 0 16px;
  line-height: 1.75;
}

.legal-content ul {
  color: var(--muted);
  margin: 0 0 16px;
  padding-left: 22px;
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text);
}

.legal-content a {
  color: var(--gold-light);
}

.legal-toc {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 26px;
  margin-bottom: 44px;
}

.legal-toc strong {
  display: block;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.legal-toc li {
  margin-bottom: 6px;
}

.legal-toc a {
  color: inherit;
  text-decoration: none;
}

.legal-toc a:hover {
  color: var(--gold-light);
}

/* =========================================================
   BLOG
   ========================================================= */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}

.blog-card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 24px;
  text-decoration: none;
  transition: transform .25s var(--ease), border-color .25s var(--ease);
}

.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
}

.blog-date {
  font-size: 12px;
  color: var(--muted-2);
  letter-spacing: .3px;
}

.blog-card h3 {
  font-size: 19px;
  margin: 10px 0 10px;
  color: var(--text);
}

.blog-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 16px;
}

.blog-card .card-link {
  font-size: 13.5px;
}