/* ===================== VARIABLES ===================== */
/* Colour themes: default (green) and ?colors=2 (marigold).
   --mk-* are the logo mark colours; the blends are the exact
   multiply results of --mk-l over --mk-d. */
:root {
  --fh: "Phudu", sans-serif;
  --fb: "Instrument Sans", sans-serif;
  --a1: #a1c120;
  --a2: #cad62c;
  --a1-rgb: 161, 193, 32;
  --a2-rgb: 202, 214, 44;
  --sh-rgb: 120, 155, 10;
  --a3: #ff6b6b;
  --a4: #ffa500;
  --g1: linear-gradient(135deg, #89ae19 0%, #cad62c 100%);
  /* logo mark */
  --mk-l: #cad62c;
  --mk-d: #7d8a1a;
  --mk-ld: #637404;
  --mk-ll: #a0b408;
  --mk-dd: #3d4b03;
  --g2: linear-gradient(135deg, #ff6b6b 0%, #ffa500 100%);
  --g3: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --bg: #ffffff;
  --bg2: #ececec;
  --bgc: #fff;
  --tp: #0e1604;
  --t1: #161a06;
  --t2: #5a5a80;
  --tm: #9090b5;
  --bc: rgba(var(--a1-rgb), 0.13);
  --sh: 0 8px 36px rgba(var(--sh-rgb), 0.09);
  --shh: 0 22px 64px rgba(var(--sh-rgb), 0.19);
  --nav: rgba(255, 255, 255, 0.95);
  --nt: #16162a;
  --mb: #fff;
  --radius: 0px;
}
/* Marigold - ?colors=2 */
:root[data-colors="2"] {
  --a1: #b8850a;
  --a2: #f0c250;
  --a1-rgb: 184, 133, 10;
  --a2-rgb: 240, 194, 80;
  --sh-rgb: 173, 101, 3;
  --g1: linear-gradient(135deg, #ad6503 0%, #f0c250 100%);
  --t1: #2a1c02;
  --nt: #2a1c02;
  --mk-l: #f0c250;
  --mk-d: #b8850a;
  --mk-ld: #ad6503;
  --mk-ll: #e29419;
  --mk-dd: #854500;
}
[data-theme="dark"] {
  --bg: #07070f;
  --bg2: #10101f;
  --bgc: rgba(255, 255, 255, 0.04);
  --tp: #040408;
  --t1: #e5e5ff;
  --t2: #9090bb;
  --tm: #60608a;
  --bc: rgba(var(--a1-rgb), 0.18);
  --sh: 0 8px 36px rgba(0, 0, 0, 0.44);
  --shh: 0 22px 64px rgba(var(--sh-rgb), 0.28);
  --nav: rgba(7, 7, 15, 0.97);
  --nt: #e5e5ff;
  --mb: #0c0c1c;
}

/* ===================== RESET / BASE ===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html, :root {
  scroll-behavior: auto !important;
}
body {
  font-family: var(--fb);
  background: var(--bg);
  color: var(--t1);
  transition: background 0.4s, color 0.4s;
  overflow-x: hidden;
  line-height: 1.65;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--fh);
  color: var(--t1);
}
a {
  text-decoration: none;
  color: inherit;
}
img {
  display: block;
  max-width: 100%;
}
section {
  padding: 96px 0;
}
::-webkit-scrollbar {
  width: 5px;
}
::-webkit-scrollbar-track {
  background: var(--bg2);
}
::-webkit-scrollbar-thumb {
  background: var(--a1);
  border-radius: 0;
}
::selection {
  background: var(--a1);
  color: #fff;
}

/* ===================== UTILITIES ===================== */
.brand-mark {
  display: block;
  height: 34px;
  width: auto;
  flex: none;
}
/* logo mark fills (themeable) */
.mk-l {
  fill: var(--mk-l);
}
.mk-d {
  fill: var(--mk-d);
}
.mk-ld {
  fill: var(--mk-ld);
}
.mk-ll {
  fill: var(--mk-ll);
}
.mk-dd {
  fill: var(--mk-dd);
}
.gtext {
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fb);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--a1);
  background: rgba(var(--a1-rgb), 0.08);
  border: 1px solid rgba(var(--a1-rgb), 0.22);
  padding: 6px 18px;
  border-radius: 0;
  margin-bottom: 16px;
}
.stag::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--a1);
  border-radius: 0;
  animation: dp 1.6s ease infinite;
}
@keyframes dp {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(0.65);
  }
}
.stitle {
  font-family: var(--fh);
  font-size: clamp(1.85rem, 4vw, 2.9rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 13px;
}
.sdesc {
  font-size: 1rem;
  color: var(--t2);
  line-height: 1.77;
  max-width: 540px;
}
.cb {
  background: var(--bgc);
  border: 1px solid var(--bc);
  border-radius: var(--radius);
  transition: transform 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.cb:hover {
  transform: translateY(-7px);
  box-shadow: var(--shh);
  border-color: rgba(var(--a1-rgb), 0.3);
}

/* Buttons */
.bg {
  background: var(--g1);
  border: none;
  color: #fff;
  padding: 12px 28px;
  border-radius: 0;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  text-decoration: none;
}
.bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.22),
    transparent
  );
  transition: left 0.5s;
}
.bg:hover::before {
  left: 100%;
}
.bg:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(var(--a1-rgb), 0.38);
  color: #fff;
}
.bo {
  background: transparent;
  border: 2px solid var(--a1);
  color: var(--a1);
  padding: 10px 28px;
  border-radius: 0;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
  text-decoration: none;
}
.bo:hover {
  background: var(--a1);
  color: #fff;
  transform: translateY(-2px);
}

/* Pill / tag */
.ptag {
  display: inline-block;
  background: rgba(var(--a1-rgb), 0.09);
  color: var(--a1);
  padding: 3px 12px;
  border-radius: 0;
  font-size: 0.73rem;
  font-weight: 700;
  border: 1px solid rgba(var(--a1-rgb), 0.18);
}

/* ===================== PRELOADER ===================== */
#preloader {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  transition: opacity 0.6s, visibility 0.6s;
}
#preloader.go {
  opacity: 0;
  visibility: hidden;
}
.pre-logo {
  font-family: var(--fh);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--t1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.pre-logo span {
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.pre-mark {
  width: 62px;
  height: auto;
  display: block;
}
.pre-mark .pm-move {
  transform: translate(-20px, 20px);
  animation: preMarkShift 1.1s cubic-bezier(0.65, 0, 0.2, 1) forwards;
}
@keyframes preMarkShift {
  0%,
  40% {
    transform: translate(-20px, 20px);
  }
  100% {
    transform: translate(0, 0);
  }
}

/* Back to top */
#btt {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 44px;
  height: 44px;
  background: var(--g1);
  border: none;
  border-radius: 0;
  color: #fff;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 22px rgba(var(--a1-rgb), 0.36);
}
#btt.show {
  opacity: 1;
  visibility: visible;
}
#btt:hover {
  transform: translateY(-3px);
}

/* ===================== NAVBAR ===================== */
#mnav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--nav);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--bc);
  padding: 12px 0;
  transition: padding 0.4s, box-shadow 0.4s;
}
#mnav.sc {
  padding: 8px 0;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.12);
}
.brand {
  font-family: var(--fh);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--t1);
  display: flex;
  align-items: center;
  gap: 1px;
  text-decoration: none;
}
.brand .brand-mark {
  margin-right: 12px;
}
.brand span {
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.nlc {
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--nt) !important;
  padding: 6px 12px !important;
  border-radius: 0;
  position: relative;
  transition: color 0.3s;
  text-decoration: none;
  display: block;
}
.nlc::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--a1);
  border-radius: 0;
  transition: width 0.3s, left 0.3s;
}
.nlc:hover,
.nlc.act {
  color: var(--a1) !important;
}
.nlc:hover::after,
.nlc.act::after {
  width: 68%;
  left: 16%;
}
.tpill {
  width: 46px;
  height: 25px;
  background: var(--a1);
  border: none;
  border-radius: 0;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s;
}
.tpill::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  background: #fff;
  border-radius: 0;
  transition: transform 0.35s;
}
[data-theme="dark"] .tpill::before {
  transform: translateX(21px);
}
#mob-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 12px 0 6px;
  border-top: 1px solid var(--bc);
  margin-top: 10px;
  animation: mmopen 0.3s ease;
}
@keyframes mmopen {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
#mob-menu.open {
  display: flex;
}
.hmb {
  background: none;
  border: none;
  color: var(--t1);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 6px;
}

/* ===================== HERO ===================== */
.hero {
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0 60px;
}
.hgrid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      rgba(var(--a1-rgb), 0.045) 1px,
      transparent 1px
    ),
    linear-gradient(90deg, rgba(var(--a1-rgb), 0.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 35%, transparent 88%);
}
.hgl {
  position: absolute;
  border-radius: 0;
  filter: blur(65px);
  pointer-events: none;
}
.hg1 {
  width: 500px;
  height: 500px;
  background: rgba(var(--a1-rgb), 0.18);
  top: -100px;
  right: -80px;
  animation: gd 7s ease-in-out infinite;
}
.hg2 {
  width: 360px;
  height: 360px;
  background: rgba(var(--a2-rgb), 0.14);
  bottom: -60px;
  left: 2%;
  animation: gd 9s ease-in-out infinite reverse;
}
.hg3 {
  width: 220px;
  height: 220px;
  background: rgba(var(--a1-rgb), 0.1);
  top: 40%;
  right: 30%;
  animation: gd 6s ease-in-out infinite 2s;
}
@keyframes gd {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-26px) scale(1.06);
  }
}
.hcont {
  position: relative;
  z-index: 2;
}
.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(var(--a1-rgb), 0.08);
  border: 1px solid rgba(var(--a1-rgb), 0.22);
  padding: 7px 19px;
  border-radius: 0;
  color: var(--t1);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  margin-bottom: 26px;
}
.hbd {
  width: 6px;
  height: 6px;
  background: var(--a2);
  border-radius: 0;
  animation: dp 1.5s infinite;
}
.htitle {
  font-family: var(--fh);
  font-size: clamp(2.7rem, 6vw, 5.4rem);
  font-weight: 900;
  color: var(--t1);
  line-height: 1.04;
  margin-bottom: 20px;
}
.htitle .hl {
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hdesc {
  font-size: 1.04rem;
  color: var(--t2);
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: 36px;
}
.himg {
  width: 100%;
  /* Quelle ist hochformatig (1000x1405) - quadratisch beschneiden,
     unten verankert, damit oben abgeschnitten wird */
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center bottom;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
}
/* Swiss-Game-Hub-Bild: standardmaessig sichtbar (data-sgh wird vom Kopf-Skript
   gesetzt); mit ?sgh=false bleibt der Text zentriert */
.hero-img {
  display: none;
}
:root[data-sgh="true"] .hero-img {
  display: block;
}
@media (min-width: 992px) {
  :root[data-sgh="true"] .hero-txt {
    width: 50%;
    margin-left: 0;
    margin-right: 0;
  }
}

/* ===================== CLIENTS TICKER ===================== */
.ctick {
  background: var(--bg2);
  padding: 34px 0;
  overflow: hidden;
  border-top: 1px solid var(--bc);
  border-bottom: 1px solid var(--bc);
}
.ctrack {
  display: flex;
  gap: 54px;
  animation: tick 24s linear infinite;
  width: max-content;
}
@keyframes tick {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.clogo {
  font-family: var(--fh);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--t1);
  opacity: 0.25;
  filter: grayscale(1);
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.3s;
  cursor: default;
}
.clogo:hover {
  opacity: 0.7;
  filter: none;
  color: var(--a1);
}


/* ===================== ABOUT ===================== */
#about {
  background: var(--bg2);
}
.tmc-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: var(--bgc);
  border: 1px solid var(--bc);
}
.tmc-row + .tmc-row {
  margin-top: 14px;
}
.tmc-row .tmig {
  width: 62px;
  height: 62px;
  flex: none;
}
.tmc-row .tmig-init {
  font-size: 1.3rem;
}
.tmc-row .tmig-slot {
  padding: 0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tmc-row .tmig-slot i {
  font-size: 1.15rem;
}
.tmc-row .tmi {
  padding: 0;
  text-align: left;
  background: transparent;
  flex: 1;
}
.tmc-row .tsos {
  background: rgba(var(--a1-rgb), 0.1);
  color: var(--a1);
}
.tmc-row .tsos:hover {
  background: rgba(var(--a1-rgb), 0.22);
}

/* ===================== SERVICES ===================== */
#services {
  background: var(--bg2);
}
.svc {
  cursor: default;
  padding: 32px 24px;
  height: 100%;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.svc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--g1);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.svc:hover::after {
  opacity: 0.04;
}
.svc > * {
  position: relative;
  z-index: 1;
}
.svnum {
  font-family: var(--fh);
  font-size: 3rem;
  font-weight: 900;
  color: var(--a1);
  opacity: 0.1;
  line-height: 1;
  margin-bottom: 8px;
}
.svem {
  font-size: 1.8rem;
  margin-bottom: 12px;
}
.svc h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 9px;
}
.svc p {
  color: var(--t2);
  font-size: 0.86rem;
  line-height: 1.72;
  margin: 0;
}
.svarr {
  width: 36px;
  height: 36px;
  border-radius: 0;
  background: rgba(var(--a1-rgb), 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--a1);
  margin-top: 16px;
  transition: all 0.3s;
  font-size: 0.8rem;
}
.svc:hover .svarr {
  background: var(--a1);
  color: #fff;
  transform: translateX(4px);
}

/* ===================== PORTFOLIO ===================== */
#portfolio {
  background: var(--bg);
}
.pff {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 38px;
}
.pfb {
  padding: 6px 18px;
  border-radius: 0;
  border: 1px solid var(--bc);
  background: transparent;
  color: var(--t2);
  font-family: var(--fb);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}
.pfb.act,
.pfb:hover {
  background: var(--g1);
  border-color: transparent;
  color: #fff;
}
.pfc {
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: var(--bgc);
  border: 1px solid var(--bc);
}
.pfimg {
  width: 100%;
  height: 228px;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.pfc:hover .pfimg {
  transform: scale(1.08);
}
.pfov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 7, 20, 0.95) 0%,
    rgba(7, 7, 20, 0.38) 55%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
}
.pfc:hover .pfov {
  opacity: 1;
}
.pfov h5 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.pfov span {
  color: var(--a2);
  font-size: 0.76rem;
}
.pfeye {
  position: absolute;
  top: 13px;
  right: 13px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.78rem;
  transform: scale(0);
  transition: transform 0.3s;
}
.pfc:hover .pfeye {
  transform: scale(1);
}
.pfi {
  padding: 16px 18px;
}
.pfi h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

/* ===================== TEAM ===================== */
#team {
  background: var(--bg2);
}
.tmc {
  border-radius: 0;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
  background: var(--bgc);
  border: 1px solid var(--bc);
  transition: transform 0.4s, box-shadow 0.4s;
}
.tmc:hover {
  transform: translateY(-7px);
  box-shadow: var(--shh);
}
.tmw {
  position: relative;
  overflow: hidden;
}
.tmig {
  width: 100%;
  height: 258px;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.tmc:hover .tmig {
  transform: scale(1.06);
}
.tmig-init {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--g1);
  color: #fff;
  font-family: var(--fh);
  font-weight: 900;
  font-size: 3rem;
  letter-spacing: 1px;
}
.tmig-slot {
  background: var(--g1);
  color: #fff;
  text-align: center;
  padding: 0 24px;
}
.tmig-slot i {
  display: block;
  font-size: 2rem;
}
.tmhov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(var(--a1-rgb), 0.94) 0%,
    transparent 55%
  );
  display: flex;
  align-items: flex-end;
  padding: 16px;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.4s;
}
.tmc:hover .tmhov {
  opacity: 1;
}
.tsos {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.74rem;
  text-decoration: none;
  backdrop-filter: blur(5px);
  transition: background 0.3s;
}
.tsos:hover {
  background: rgba(255, 255, 255, 0.32);
  color: #fff;
}
.tmi {
  padding: 16px 18px;
  text-align: center;
  background: var(--bgc);
}
.tmi h5 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 3px;
}
.trole {
  font-size: 0.78rem;
  color: var(--a1);
  font-weight: 600;
}

/* ===================== REVIEWS ===================== */
#reviews {
  background: var(--bg2);
}
.rvc {
  padding: 28px 24px;
}
.rvq {
  font-family: Georgia, serif;
  font-size: 2.8rem;
  color: var(--a1);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}
.rvt {
  font-size: 0.9rem;
  line-height: 1.77;
  color: var(--t2);
  margin-bottom: 18px;
}
.rvs {
  color: #ffa500;
  font-size: 0.78rem;
  letter-spacing: 2px;
}
.rva {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 13px;
}
.rva img {
  width: 44px;
  height: 44px;
  border-radius: 0;
  object-fit: cover;
}
.rvaname {
  font-size: 0.88rem;
  font-weight: 700;
  display: block;
}
.rvarole {
  font-size: 0.76rem;
  color: var(--t2);
}

/* ===================== FAQ ===================== */
#faq {
  background: var(--bg);
}
.facc .accordion-item {
  background: var(--bgc) !important;
  border: 1px solid var(--bc) !important;
  border-radius: 0 !important;
  margin-bottom: 9px;
  overflow: hidden;
}
.facc .accordion-button {
  background: var(--bgc) !important;
  color: var(--t1) !important;
  font-family: var(--fb);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: none !important;
}
.facc .accordion-button:not(.collapsed) {
  color: var(--a1) !important;
}
[data-theme="dark"] .facc .accordion-button::after {
  filter: invert(1);
}
.facc .accordion-body {
  background: var(--bgc) !important;
  color: var(--t2);
  font-size: 0.87rem;
  line-height: 1.72;
}

/* ===================== NEWS ===================== */
#news {
  background: var(--bg2);
}
.nwc {
  border-radius: 0;
  overflow: hidden;
  height: 100%;
  background: var(--bgc);
  border: 1px solid var(--bc);
  transition: transform 0.4s, box-shadow 0.4s;
}
.nwc:hover {
  transform: translateY(-7px);
  box-shadow: var(--shh);
}
.nwi-wrap {
  overflow: hidden;
}
.nwi {
  width: 100%;
  height: 194px;
  object-fit: cover;
  transition: transform 0.5s;
  display: block;
}
.nwc:hover .nwi {
  transform: scale(1.06);
}
.nwb {
  padding: 20px;
}
.nwcat {
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--a1);
  margin-bottom: 7px;
  display: block;
}
.nwb h5 {
  font-size: 1.04rem;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.38;
}
.nwb h5 a {
  color: var(--t1);
  transition: color 0.3s;
  text-decoration: none;
}
.nwb h5 a:hover {
  color: var(--a1);
}
.nwmeta {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 0.77rem;
  color: var(--tm);
}

/* ===================== CONTACT ===================== */
#contact {
  background: var(--bg);
}
.ci {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 24px;
}
.cii {
  width: 44px;
  height: 44px;
  border-radius: 0;
  background: rgba(var(--a1-rgb), 0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--a1);
  font-size: 1rem;
  flex-shrink: 0;
}
.cid h6 {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--tm);
  margin-bottom: 2px;
}
.cid p {
  font-size: 0.9rem;
  margin: 0;
  color: var(--t1);
}
.cf-in {
  background: var(--bgc) !important;
  border: 1px solid var(--bc) !important;
  border-radius: 0;
  color: var(--t1) !important;
  padding: 12px 15px;
  font-family: var(--fb);
  font-size: 0.87rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  outline: none;
}
.cf-in:focus {
  border-color: var(--a1) !important;
  box-shadow: 0 0 0 3px rgba(var(--a1-rgb), 0.12) !important;
}
.cf-in::placeholder {
  color: var(--tm);
}

/* ===================== CTA ===================== */
.ctas {
  background: linear-gradient(135deg, #0f0822 0%, #091530 50%, #0a1c0e 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.ctas::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse at 28% 50%,
      rgba(var(--a1-rgb), 0.22) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse at 74% 44%,
      rgba(0, 212, 255, 0.1) 0%,
      transparent 55%
    );
}
.ctas h2 {
  font-family: var(--fh);
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 13px;
}
.ctas p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
}

/* ===================== FOOTER ===================== */
.foot {
  background: #040408;
  /* side padding replaces the removed .container (cancels .row's -12px margins) */
  padding: 0 24px;
}
.flogo {
  font-family: var(--fh);
  font-size: 1.85rem;
  font-weight: 900;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 13px;
  text-decoration: none;
}
.flogo span {
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.fdesc {
  color: rgba(255, 255, 255, 0.42);
  font-size: 0.84rem;
  line-height: 1.72;
  margin-bottom: 20px;
}
.fsoc a {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.07);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.52);
  margin-right: 6px;
  font-size: 0.72rem;
  transition: all 0.3s;
  text-decoration: none;
}
.fsoc a:hover {
  background: var(--a1);
  color: #fff;
  transform: translateY(-3px);
}
.foot h6 {
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.foot ul {
  list-style: none;
  padding: 0;
}
.foot ul li {
  margin-bottom: 8px;
}
.foot ul li a {
  color: rgba(255, 255, 255, 0.44);
  font-size: 0.83rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s;
  text-decoration: none;
}
.foot ul li a:hover {
  color: var(--a1);
}
.fbot {
  padding: 20px 0;
}
.fbot p {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.79rem;
  margin: 0;
}
.fleg a {
  color: rgba(255, 255, 255, 0.34);
  font-size: 0.79rem;
  text-decoration: none;
  transition: color 0.3s;
  margin-left: 16px;
}
.fleg a:hover {
  color: var(--a1);
}

/* ===================== MODALS ===================== */
.cmodal .modal-content {
  background: var(--mb);
  border: 1px solid var(--bc);
  border-radius: 0;
  color: var(--t1);
}
.cmodal .modal-header {
  border-bottom: 1px solid var(--bc);
  padding: 20px 24px;
}
.cmodal .modal-title {
  font-family: var(--fh);
  font-size: 1.4rem;
  font-weight: 800;
}
.cmodal .modal-body {
  padding: 24px;
}
[data-theme="dark"] .cmodal .btn-close {
  filter: invert(1);
}
.mtag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--a1);
  background: rgba(var(--a1-rgb), 0.09);
  padding: 3px 11px;
  border-radius: 0;
  border: 1px solid rgba(var(--a1-rgb), 0.18);
  margin-bottom: 3px;
}
.subrow {
  padding: 12px;
  background: var(--bg2);
  border-radius: 0;
  margin-bottom: 7px;
  border-left: 3px solid var(--a1);
}
.subrow strong {
  font-size: 0.86rem;
  display: block;
  margin-bottom: 2px;
}
.subrow span {
  font-size: 0.79rem;
  color: var(--t2);
}
.ttag {
  display: inline-block;
  background: rgba(var(--a1-rgb), 0.09);
  color: var(--a1);
  padding: 3px 10px;
  border-radius: 0;
  font-size: 0.74rem;
  font-weight: 600;
  border: 1px solid rgba(var(--a1-rgb), 0.16);
  margin: 3px;
}
.rli {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 5px 0;
  font-size: 0.85rem;
}
.rli .ck {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--a1);
  flex: 0 0 auto;
  margin-top: 8px;
}
.infop {
  background: var(--bg2);
  border-radius: 0;
  padding: 13px 16px;
  margin-bottom: 12px;
}
.iplbl {
  font-size: 0.69rem;
  color: var(--tm);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: block;
}
.ipval {
  font-weight: 700;
  font-size: 0.88rem;
  margin-top: 2px;
}
.modal-backdrop {
  z-index: 1049;
}
.cmodal {
  z-index: 1050;
}

/* dot bg pattern */
.dbg {
  position: relative;
}
.dbg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--a1) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.022;
  pointer-events: none;
}

/* Swiper */
.swiper-pagination-bullet-active {
  background: var(--a1) !important;
}
.swiper-pagination-bullet {
  background: var(--tm) !important;
}

/* Responsive */
@media (max-width: 991px) {
  section {
    padding: 70px 0;
  }
}
@media (max-width: 768px) {
  section {
    padding: 58px 0;
  }
  .htitle {
    font-size: 2.3rem;
  }
}
@media (max-width: 576px) {
  .htitle {
    font-size: 1.95rem;
  }
  .stitle {
    font-size: 1.7rem;
  }
  .pff {
    justify-content: center;
  }
}

/* portfolio modal gallery */
.pgal {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.pgi {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg2);
}
.pgi img,
.pgi iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
  display: block;
}

.pgi.ytp {
  cursor: pointer;
}
.pgi .ytb {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  background: rgba(0, 0, 0, 0.34);
  transition: background 0.2s ease;
}
.pgi.ytp:hover .ytb {
  background: rgba(0, 0, 0, 0.16);
}

/* portfolio modal media */
.pmstage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 14px;
  background: var(--bg2);
}
.pmstage > img,
.pmstage .pgi {
  width: 100%;
  height: 100%;
  border-radius: 14px;
}
.pmstage > img {
  object-fit: cover;
  display: block;
}
.pmthumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
  margin-top: 10px;
}
.pmth {
  position: relative;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg2);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.18s ease, box-shadow 0.18s ease;
}
.pmth img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pmth:hover {
  opacity: 0.9;
}
.pmth.on {
  opacity: 1;
  box-shadow: 0 0 0 2px var(--a1);
}
.ytb.sm {
  font-size: 0.7rem;
  background: rgba(0, 0, 0, 0.28);
}

.tmc-row .tmig-photo {
  padding: 0;
  overflow: hidden;
  border-radius: 50%;
}
.tmig-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* contact form */
.cform {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cfrow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 575px) {
  .cfrow {
    grid-template-columns: 1fr;
  }
}
.cfg {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cfg label {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t2);
}
.cform input,
.cform textarea {
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  font-size: 0.92rem;
  color: var(--t1);
  background: var(--bgc);
  border: 1px solid var(--bc);
  border-radius: 0;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.cform textarea {
  resize: vertical;
  min-height: 130px;
}
.cform input:focus,
.cform textarea:focus {
  border-color: var(--a1);
  box-shadow: 0 0 0 3px rgba(var(--a1-rgb), 0.16);
}
.cform input:user-invalid,
.cform textarea:user-invalid {
  border-color: #d05353;
}
.cfhp {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
}
.cfsub {
  align-self: flex-start;
  border: 0;
  cursor: pointer;
}
.cfsub[disabled] {
  opacity: 0.55;
  cursor: default;
}
.cfmsg {
  margin: 0;
  font-size: 0.86rem;
  min-height: 1.2em;
}
.cfmsg.ok {
  color: var(--a1);
}
.cfmsg.err {
  color: #d05353;
}

/* links inside portfolio modal copy */
#pm-body a:not(.bo):not(.bg) {
  color: var(--a1);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.18s ease, text-decoration-color 0.18s ease;
}
#pm-body a:not(.bo):not(.bg):hover {
  color: var(--a2);
  text-decoration-thickness: 2px;
}
#pm-body a:not(.bo):not(.bg):focus-visible {
  outline: 2px solid var(--a1);
  outline-offset: 2px;
}

.pfph {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg2);
  color: var(--t2);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
