/* ==========================================================================
   MARIOSIEBERT-IT — Stylesheet
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0b0f16;
  --bg-elev: #111826;
  --panel: rgba(13, 18, 28, 0.66);
  --panel-border: rgba(255, 255, 255, 0.09);
  --text: #eef2f7;
  --text-muted: #a8b3c2;
  --accent: #4da3ff;
  --accent-strong: #2f8bff;
  --accent-soft: rgba(77, 163, 255, 0.14);
  --radius: 18px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  --container: 1200px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: #7dbcff; }

::selection { background: var(--accent); color: #06101f; }

/* ------------------------------------------------------------------ layout */

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section { padding: clamp(72px, 10vw, 130px) 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; font-weight: 800; letter-spacing: -0.02em; }

h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  color: var(--text-muted);
  max-width: 62ch;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(9, 13, 20, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 2px;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: 0.06em;
  color: var(--text);
  white-space: nowrap;
}
.brand:hover { color: var(--text); }
.brand .brand-accent { color: var(--accent); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}
.main-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.main-nav a.nav-cta {
  color: #06101f;
  background: var(--accent);
  margin-left: 8px;
}
.main-nav a.nav-cta:hover { background: #7dbcff; color: #06101f; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--panel-border);
  border-radius: 12px;
  background: rgba(13, 18, 28, 0.6);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.8s ease-in-out, transform 7.5s linear;
}
.slideshow .slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.media-section .media-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(7, 10, 16, 0.55), rgba(7, 10, 16, 0.35) 40%, rgba(11, 15, 22, 0.92)),
    radial-gradient(1200px 600px at 20% 80%, rgba(47, 139, 255, 0.16), transparent 60%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to bottom, rgba(7, 10, 16, 0.6), rgba(7, 10, 16, 0.38) 45%, rgba(11, 15, 22, 0.94)),
    radial-gradient(1200px 600px at 78% 30%, rgba(47, 139, 255, 0.12), transparent 60%);
}

.hero-panel {
  max-width: 640px;
  margin: calc(var(--header-h) + 40px) 0 90px;
}
.hero-panel h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  margin-bottom: 0.45em;
}
.hero-panel > p { color: var(--text-muted); }
.hero-panel .btn-row { margin-top: 32px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #06101f; }
.btn-primary:hover { background: #7dbcff; color: #06101f; }
.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); color: var(--text); }

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.scroll-hint::after {
  content: "";
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.7), transparent);
  animation: drip 2.2s ease-in-out infinite;
}
@keyframes drip {
  0% { transform: scaleY(0); transform-origin: top; }
  45% { transform: scaleY(1); transform-origin: top; }
  55% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* --------------------------------------------------------- services intro */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.service-card {
  display: block;
  padding: 28px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-border);
  color: var(--text);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 163, 255, 0.45);
  color: var(--text);
}
.service-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.service-card .icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.service-card p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

/* ----------------------------------------------------------- media section */

.media-section {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(90px, 12vw, 140px) 0;
}

.media-section .container {
  display: flex;
}
.media-section.align-right .container { justify-content: flex-end; }

.glass-panel {
  max-width: 560px;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--panel-border);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}
.glass-panel p { color: var(--text-muted); }

.check-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text);
  font-weight: 500;
}
.check-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234da3ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ------------------------------------------------------------- passcircle */

.pc-banner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding: clamp(30px, 4.5vw, 56px);
  border-radius: var(--radius);
  border: 1px solid rgba(77, 163, 255, 0.3);
  background:
    radial-gradient(700px 320px at 85% 15%, rgba(47, 139, 255, 0.16), transparent 70%),
    linear-gradient(160deg, rgba(47, 139, 255, 0.08), rgba(255, 255, 255, 0.02));
}
.pc-text h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
.pc-text > p { color: var(--text-muted); }
.pc-text .btn-row { margin-top: 30px; }

.pc-window {
  border-radius: 16px;
  background: rgba(11, 16, 26, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.pc-titlebar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.03);
}
.pc-titlebar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
}
.pc-titlebar span:first-child { background: rgba(255, 107, 107, 0.55); }
.pc-titlebar span:nth-child(2) { background: rgba(255, 200, 90, 0.55); }
.pc-titlebar span:nth-child(3) { background: rgba(90, 210, 130, 0.55); }
.pc-titlebar em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}
.pc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.pc-row svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }
.pc-row div { display: flex; flex-direction: column; min-width: 0; }
.pc-row strong { font-size: 0.92rem; }
.pc-row div span { color: var(--text-muted); font-size: 0.8rem; letter-spacing: 2px; }
.pc-badge {
  margin-left: auto;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(77, 163, 255, 0.3);
}
.pc-badge-team {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  border-color: rgba(74, 222, 128, 0.3);
}
.pc-lockline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(47, 139, 255, 0.07);
}
.pc-lockline svg { width: 16px; height: 16px; color: var(--accent); }

@media (max-width: 900px) {
  .pc-banner { grid-template-columns: 1fr; }
  .pc-visual { max-width: 440px; }
}

/* ---------------------------------------------------------------- partner */

.partner-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.partner-card {
  padding: 34px 30px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.partner-card:hover { border-color: rgba(77, 163, 255, 0.45); transform: translateY(-4px); }

.partner-logo {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.partner-logo img {
  max-height: 52px;
  width: auto;
  max-width: 220px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: filter 0.3s ease, opacity 0.3s ease;
}
.partner-card:hover .partner-logo img { filter: none; opacity: 1; }

.partner-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.partner-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

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

/* ---------------------------------------------------------------- gallery */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 48px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-elev);
  cursor: zoom-in;
  padding: 0;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease, opacity 0.3s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 8, 13, 0.5), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-item.is-video::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 58px;
  height: 58px;
  z-index: 2;
  border-radius: 50%;
  background: rgba(9, 13, 20, 0.68) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") 55% center / 26px no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.35);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: transform 0.25s ease;
}
.gallery-item.is-video:hover::before { transform: scale(1.08); }

.gallery-item.is-hidden { display: none; }

.video-tile {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 18px;
  background:
    radial-gradient(420px 220px at 30% 20%, rgba(47, 139, 255, 0.22), transparent 70%),
    linear-gradient(160deg, #16202f 0%, #0b111c 100%);
}
.video-tile .video-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-more { margin-top: 34px; text-align: center; }

/* ---------------------------------------------------------------- lightbox */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 10, 0.94);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.lightbox.is-open { display: flex; }

.lightbox figure {
  margin: 0;
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox img,
.lightbox video {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  border-radius: 12px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-btn {
  position: absolute;
  z-index: 210;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(15, 21, 32, 0.65);
  color: var(--text);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease;
}
.lightbox-btn:hover { background: rgba(47, 139, 255, 0.5); }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

.lightbox-counter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

/* ------------------------------------------------------------------- about */

.about {
  position: relative;
  overflow: hidden;
  background: #000;
}
.about .about-bg {
  position: absolute;
  inset: 0;
  background: url("../img/IMG_6764.jpg") left center / cover no-repeat;
}
.about .about-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.55) 55%, rgba(0, 0, 0, 0.92) 78%);
}
.about .container {
  position: relative;
  min-height: 88svh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.about-text { max-width: 520px; text-align: left; }
.about-text .name { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.about-text .role {
  color: var(--accent);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 22px;
}
.about-text p { color: var(--text-muted); }

/* ----------------------------------------------------------------- contact */

.contact { background: linear-gradient(180deg, var(--bg) 0%, #0d1421 100%); }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.contact-card {
  padding: 30px 26px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--panel-border);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.contact-card:hover { border-color: rgba(77, 163, 255, 0.45); transform: translateY(-4px); }
.contact-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 16px;
}
.contact-card .icon svg { width: 24px; height: 24px; }
.contact-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.contact-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.contact-card a { font-weight: 600; }

.support-banner {
  margin-top: 26px;
  padding: clamp(28px, 4vw, 42px);
  border-radius: var(--radius);
  border: 1px solid rgba(77, 163, 255, 0.3);
  background:
    radial-gradient(600px 200px at 90% 20%, rgba(47, 139, 255, 0.18), transparent 70%),
    linear-gradient(160deg, rgba(47, 139, 255, 0.1), rgba(255, 255, 255, 0.02));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.support-banner h3 { margin-bottom: 6px; }
.support-banner p { margin: 0; color: var(--text-muted); max-width: 56ch; }

/* ------------------------------------------------------------------ footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 38px 0;
  background: #080b11;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.footer-inner p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.footer-nav a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; }
.footer-nav a:hover { color: var(--text); }

/* --------------------------------------------------------------- subpages */

.page-hero {
  padding: calc(var(--header-h) + clamp(56px, 8vw, 96px)) 0 clamp(40px, 6vw, 64px);
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(47, 139, 255, 0.16), transparent 65%),
    linear-gradient(180deg, #0d1421 0%, var(--bg) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.page-hero h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); margin-bottom: 10px; }
.page-hero p { color: var(--text-muted); max-width: 70ch; margin: 0; }

.page-content { padding: clamp(48px, 7vw, 88px) 0; }
.page-content .prose { max-width: 820px; }

.prose h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  margin: 2.2em 0 0.6em;
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.12rem; margin: 1.8em 0 0.5em; }
.prose p, .prose li { color: var(--text-muted); }
.prose strong { color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 8px; }

.info-box {
  margin: 1.4em 0;
  padding: 22px 26px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--panel-border);
}
.info-box p { margin: 4px 0; }

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 32px 0;
  display: grid;
  gap: 16px;
}
.steps li {
  counter-increment: step;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--panel-border);
}
.steps li::before {
  content: counter(step);
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}
.steps h3 { margin: 4px 0 6px; font-size: 1.05rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* ------------------------------------------------------------ ticket form */

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.92rem; color: var(--text); }

.ticket-form input,
.ticket-form select,
.ticket-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--panel-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ticket-form input::placeholder,
.ticket-form textarea::placeholder { color: rgba(168, 179, 194, 0.55); }
.ticket-form input:focus,
.ticket-form select:focus,
.ticket-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.ticket-form select { color-scheme: dark; }
.ticket-form select option { background: var(--bg-elev); color: var(--text); }
.ticket-form textarea { resize: vertical; min-height: 140px; }

.form-note { font-size: 0.88rem; color: var(--text-muted); margin: 18px 0 22px; }

.form-success {
  margin-top: 26px;
  padding: 22px 26px;
  border-radius: 14px;
  border: 1px solid rgba(77, 163, 255, 0.35);
  background: rgba(47, 139, 255, 0.08);
}
.form-success p { margin: 4px 0; }

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

/* ---------------------------------------------------------------- reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .slideshow .slide { transition: opacity 0.5s ease; transform: none; }
  .scroll-hint::after { animation: none; }
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 24px 26px;
    background: rgba(9, 13, 20, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s;
  }
  .main-nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .main-nav a { padding: 14px 16px; font-size: 1.05rem; }
  .main-nav a.nav-cta { margin-left: 0; text-align: center; justify-content: center; display: flex; }

  .media-section .container,
  .media-section.align-right .container { justify-content: center; }
  .glass-panel { max-width: 100%; }

  .about .about-bg { background-position: 28% center; }
  .about .about-fade {
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.15) 20%, rgba(0, 0, 0, 0.88) 60%);
  }
  .about .container { align-items: flex-end; padding-bottom: 56px; }
  .about-text { max-width: 100%; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .services-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { flex-direction: column; }
  .support-banner .btn { width: auto; }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
