:root {
  --ink: #0f172a;
  --ink-2: #1e293b;
  --muted: #475569;
  --faint: #64748b;
  --paper: #f8fafc;
  --card: #ffffff;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --accent: #0d9488;
  --accent-2: #14b8a6;
  --accent-soft: #ccfbf1;
  --dark: #020617;
  --dark-2: #0b1220;
  --dark-3: #101a2e;
  --rose: #e11d48;
  --grad: linear-gradient(120deg, #0d9488 0%, #14b8a6 100%);
  --grad-soft: linear-gradient(120deg, rgba(13, 148, 136, 0.12), rgba(20, 184, 166, 0.12));
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 8px 30px rgba(15, 23, 42, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);
  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", Consolas, monospace;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

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

.wrap {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}

@media (min-width: 768px) {
  .wrap {
    padding-inline: 2rem;
  }
}

.section {
  padding-block: 4rem;
  position: relative;
}

@media (min-width: 768px) {
  .section {
    padding-block: 6rem;
  }
}

.section-dark {
  background: var(--dark);
  color: #e2e8f0;
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: #f8fafc;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.kicker::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.section-dark .kicker {
  color: var(--accent-2);
}

.h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 46rem;
}

.section-dark .lead, .section-dark p.lead {
  color: #94a3b8;
}

.section-dark .panel, .bg-video .panel { color: var(--ink); }
.section-dark .panel h1, .section-dark .panel h2, .section-dark .panel h3, .section-dark .panel h4,
.bg-video .panel h1, .bg-video .panel h2, .bg-video .panel h3, .bg-video .panel h4 {
  color: var(--ink);
}
.section-dark .panel p, .section-dark .panel li,
.bg-video .panel p, .bg-video .panel li { color: var(--muted); }
.section-dark .panel .lead, .bg-video .panel .lead { color: var(--muted); }

p + p { margin-top: 0.85rem; }

.tlink {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(13, 148, 136, 0.35);
  text-underline-offset: 3px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.tlink:hover {
  color: #0f766e;
  text-decoration-color: #0f766e;
}

.section-dark .tlink { color: #5eead4; }
.section-dark .tlink:hover { color: #99f6e4; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.92rem;
  line-height: 1;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:active { transform: translateY(1px) scale(0.98); }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 10px 24px rgba(13, 148, 136, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 14px 32px rgba(13, 148, 136, 0.45);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-light {
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover { background: var(--dark-3); transform: translateY(-2px); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: #115e59;
  border: 1px solid rgba(13, 148, 136, 0.18);
}

.chip-dark {
  background: rgba(148, 163, 184, 0.12);
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.25);
}

.chip-rose {
  background: rgba(225, 29, 72, 0.08);
  color: var(--rose);
  border-color: rgba(225, 29, 72, 0.2);
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.glass {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.glass-dark {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.bg-photo {
  position: relative;
  background-size: cover;
  background-position: center;
  color: #f8fafc;
  overflow: hidden;
}

.bg-photo h1, .bg-photo h2, .bg-photo h3 { color: #fff; }
.bg-photo p { color: #cbd5e1; }
.bg-photo .lead { color: #cbd5e1; }

.bg-photo .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5eead4;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  background: rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(8px);
}

.bg-video {
  position: relative;
  overflow: hidden;
  color: #f8fafc;
}

.bg-video video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(2, 6, 23, 0.72), rgba(2, 6, 23, 0.55));
  z-index: 1;
}

.bg-video > * { position: relative; z-index: 2; }
.bg-video h1, .bg-video h2, .bg-video h3 { color: #fff; }
.bg-video p { color: #cbd5e1; }

.grid-texture {
  background-image:
    linear-gradient(rgba(13, 148, 136, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 148, 136, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

.dot-texture {
  background-image: radial-gradient(rgba(13, 148, 136, 0.14) 1px, transparent 1px);
  background-size: 22px 22px;
}

.noise-dark {
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(20, 184, 166, 0.14), transparent 60%),
    radial-gradient(900px 420px at 10% 110%, rgba(13, 148, 136, 0.12), transparent 55%),
    var(--dark);
}

.crt {
  position: relative;
}

.crt::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.09);
  background: rgba(255, 255, 255, 0.92);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted);
  padding-block: 0.4rem;
  border-bottom: 1px solid var(--line);
}

.topbar span { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar i { color: var(--accent); font-size: 0.7rem; }
.topbar a { color: var(--muted); text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--accent); }

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.7rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img { height: 42px; width: auto; display: block; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: inline-flex;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.main-nav a:hover {
  background: var(--accent-soft);
  color: #115e59;
}

.main-nav a.nav-cta {
  background: var(--grad);
  color: #fff;
  margin-left: 0.5rem;
  box-shadow: 0 8px 20px rgba(13, 148, 136, 0.3);
}

.main-nav a.nav-cta:hover { background: var(--grad); color: #fff; transform: translateY(-1px); }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: 1.1rem;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.burger:hover { border-color: var(--accent); color: var(--accent); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 6, 23, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.mobile-menu.open { opacity: 1; pointer-events: auto; }

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(86vw, 380px);
  background: #fff;
  box-shadow: -20px 0 60px rgba(15, 23, 42, 0.25);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.mobile-menu.open .mobile-menu-panel { transform: translateX(0); }

.mobile-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.mobile-menu-close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-nav { padding: 1rem 1.25rem; flex: 1; }

.mobile-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.2rem; }

.mobile-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 0.9rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink-2);
  text-decoration: none;
}

.mobile-nav a:hover, .mobile-nav a:active { background: var(--accent-soft); color: #115e59; }
.mobile-nav a i { font-size: 0.75rem; color: var(--faint); }

.mobile-contacts {
  border-top: 1px solid var(--line);
  padding: 1.1rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.mobile-contacts span { display: flex; align-items: flex-start; gap: 0.55rem; }
.mobile-contacts i { color: var(--accent); margin-top: 0.2rem; }

@media (max-width: 1180px) {
  .main-nav { display: none; }
  .burger { display: inline-flex; }
}

@media (max-width: 640px) {
  .topbar .topbar-hide { display: none; }
  .topbar { justify-content: center; gap: 0.9rem; flex-wrap: wrap; }
}

.site-footer {
  background: var(--dark);
  color: #94a3b8;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 260px at 85% 0%, rgba(20, 184, 166, 0.1), transparent 60%),
    radial-gradient(500px 240px at 5% 100%, rgba(13, 148, 136, 0.1), transparent 55%);
  pointer-events: none;
}

.site-footer a { color: #cbd5e1; text-decoration: none; transition: color 0.2s ease; }
.site-footer a:hover { color: #5eead4; }

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-block: 3.5rem 2.5rem;
}

.footer-brand img { height: 46px; width: auto; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; max-width: 22rem; }

.footer-title {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #f8fafc;
  margin-bottom: 1.1rem;
}

.footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.55rem; font-size: 0.88rem; }
.footer-list a { display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-list a i { font-size: 0.6rem; color: var(--accent-2); }

.footer-contact { display: flex; flex-direction: column; gap: 0.75rem; font-size: 0.88rem; }
.footer-contact div { display: flex; align-items: flex-start; gap: 0.6rem; }
.footer-contact i { color: var(--accent-2); margin-top: 0.2rem; }

.footer-socials { display: flex; gap: 0.6rem; margin-top: 1.25rem; }
.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.25);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #cbd5e1;
  transition: all 0.2s ease;
}
.footer-socials a:hover { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-2px); }

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(148, 163, 184, 0.15);
  padding-block: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  justify-content: space-between;
  font-size: 0.78rem;
}

.footer-legal-line { line-height: 1.8; }

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

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

.hero-slider {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  background: var(--dark);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s ease, visibility 0.9s ease;
  display: flex;
  align-items: center;
}

.hero-slide.active { opacity: 1; visibility: visible; }

.hero-slide .slide-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-slide .slide-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 6, 23, 0.85) 15%, rgba(2, 6, 23, 0.45) 60%, rgba(2, 6, 23, 0.25) 100%);
}

.hero-slide video.slide-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-slide .slide-overlay-video {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(2, 6, 23, 0.82) 15%, rgba(2, 6, 23, 0.5) 60%, rgba(2, 6, 23, 0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 7rem 6rem;
}

.hero-content .tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #5eead4;
  padding: 0.4rem 1rem;
  border: 1px solid rgba(94, 234, 212, 0.35);
  border-radius: 999px;
  margin-bottom: 1.5rem;
  background: rgba(2, 6, 23, 0.35);
  backdrop-filter: blur(8px);
}

.hero-title {
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.04;
  color: #fff;
  max-width: 20ch;
  margin-bottom: 1.25rem;
}

.hero-title .grad {
  background: linear-gradient(120deg, #5eead4, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 40rem;
  margin-bottom: 2.25rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(148, 163, 184, 0.25);
  max-width: 42rem;
}

.hero-meta div b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: #fff;
}

.hero-meta div span { font-size: 0.78rem; color: #94a3b8; letter-spacing: 0.06em; text-transform: uppercase; }

.slider-ui {
  position: absolute;
  z-index: 5;
  bottom: 2rem;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.slider-dots { display: flex; gap: 0.55rem; pointer-events: auto; }

.slider-dots button {
  width: 34px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, width 0.3s ease;
}

.slider-dots button.active { background: #2dd4bf; width: 52px; }

.slider-arrows { display: flex; gap: 0.6rem; pointer-events: auto; }

.slider-arrows button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(2, 6, 23, 0.4);
  color: #fff;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.slider-arrows button:hover { background: var(--grad); border-color: transparent; }

.marquee {
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee 42s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.75rem;
  font-size: 0.85rem;
  white-space: nowrap;
}

.marquee-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-2);
  flex: none;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.bento-cell {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}

.bento-7 { grid-column: span 7; }
.bento-5 { grid-column: span 5; }
.bento-4 { grid-column: span 4; }
.bento-3 { grid-column: span 3; }
.bento-6 { grid-column: span 6; }
.bento-8 { grid-column: span 8; }
.bento-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .bento-7, .bento-5, .bento-4, .bento-3, .bento-6, .bento-8 { grid-column: span 12; }
}

.card-hover {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(13, 148, 136, 0.35);
}

.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.img-zoom:hover img { transform: scale(1.06); }

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--grad-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex: none;
}

.icon-box-dark {
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-2);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.num-badge {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 8px;
  padding: 0.25rem 0.6rem;
}

.acc-item { border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; }
.acc-item + .acc-item { margin-top: 0.7rem; }

.acc-head {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.25rem;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.2s ease;
}

.acc-head:hover { color: var(--accent); }

.acc-head .acc-ico {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex: none;
  transition: transform 0.3s ease, background 0.3s ease;
}

.acc-item.open .acc-ico { transform: rotate(45deg); background: var(--grad); color: #fff; }

.acc-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.acc-body > div {
  padding: 0 1.25rem 1.2rem;
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-dark .acc-item { background: var(--dark-3); border-color: rgba(148, 163, 184, 0.18); }
.section-dark .acc-head { color: #e2e8f0; }
.section-dark .acc-body > div { color: #94a3b8; }

.tabs-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
}

.tab-btn {
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover { border-color: var(--accent); color: var(--accent); }
.tab-btn.active { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 6px 18px rgba(13, 148, 136, 0.3); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp 0.45s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.progress-line {
  height: 8px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.2);
  overflow: hidden;
}

.progress-line > span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--grad);
  width: 0;
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.tier-row {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.tier-label {
  width: 64px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: #fff;
}

.tier-s { background: linear-gradient(160deg, #0d9488, #0f766e); }
.tier-a { background: linear-gradient(160deg, #14b8a6, #0d9488); }
.tier-b { background: linear-gradient(160deg, #64748b, #475569); }
.tier-c { background: linear-gradient(160deg, #94a3b8, #64748b); }
.tier-d { background: linear-gradient(160deg, #cbd5e1, #94a3b8); }

.tier-items {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0.8rem;
  background: #f8fafc;
}

.tier-card {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.tier-card i { color: var(--accent); font-size: 0.95rem; }
.tier-card:hover { border-color: var(--accent-2); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.tier-card.open { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.tier-card .tier-name { white-space: nowrap; }
.tier-card .tier-games {
  display: none;
  font-weight: 400;
  color: var(--faint);
  font-size: 0.78rem;
  border-left: 1px solid var(--line);
  padding-left: 0.55rem;
}
.tier-card.open .tier-games { display: inline; }

.split-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  user-select: none;
}

.split-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.split-layer.after-layer { clip-path: inset(0 0 0 50%); }

.split-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #fff;
  cursor: ew-resize;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.15);
}

.split-handle::after {
  content: "\f337";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
}

.split-tag {
  position: absolute;
  top: 1rem;
  z-index: 4;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(2, 6, 23, 0.55);
  color: #fff;
  backdrop-filter: blur(6px);
}

.split-tag-a { left: 1rem; }
.split-tag-b { right: 1rem; }

.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(13, 148, 136, 0.1));
  border-radius: 2px;
}

.tl-item { position: relative; padding-bottom: 2rem; }
.tl-item:last-child { padding-bottom: 0; }

.tl-item::before {
  content: "";
  position: absolute;
  left: -2rem;
  top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.15);
}

.tl-date {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.3rem;
}

.timeline-dark .tl-item::before { background: var(--dark-3); }
.timeline-dark .tl-item h4 { color: #f8fafc; }
.timeline-dark .tl-item p { color: #94a3b8; }

.bracket {
  display: grid;
  grid-auto-flow: column;
  gap: 2rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
  scrollbar-width: thin;
}

.bracket-col { display: flex; flex-direction: column; justify-content: space-around; gap: 1rem; min-width: 210px; }

.bracket-match {
  background: var(--dark-3);
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 12px;
  overflow: hidden;
}

.bracket-team {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.84rem;
  color: #cbd5e1;
}

.bracket-team + .bracket-team { border-top: 1px solid rgba(148, 163, 184, 0.12); }
.bracket-team img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; }
.bracket-team .score { margin-left: auto; font-family: var(--font-display); font-weight: 700; color: #f8fafc; }
.bracket-team.winner .score { color: #2dd4bf; }
.bracket-team.winner { background: rgba(20, 184, 166, 0.08); }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1;
}

.quote-mark {
  font-family: var(--font-display);
  font-size: 4rem;
  line-height: 0.6;
  color: var(--accent);
  opacity: 0.5;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
}

.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  border: 1px solid var(--line-2);
  background: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(13, 148, 136, 0.12);
}

.field input.invalid, .field textarea.invalid {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.1);
}

.field .err {
  display: none;
  font-size: 0.74rem;
  color: var(--rose);
  font-weight: 500;
}

.field.show-err .err { display: block; }

.consent {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.6;
}

.consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.consent a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.city-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 40;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: none;
}

.city-list.open { display: block; animation: fadeUp 0.25s ease; }

.city-opt {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  color: var(--ink-2);
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
  font-family: var(--font-body);
}

.city-opt:hover { background: var(--accent-soft); color: var(--accent); }
.city-opt i { color: var(--faint); font-size: 0.75rem; }

.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  pointer-events: none;
}

.msform-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 2rem;
}

.msform-step-dot {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid var(--line-2);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--faint);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
}

.msform-step-dot.active { border-color: var(--accent); background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(13, 148, 136, 0.35); }
.msform-step-dot.done { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.msform-bar { flex: 1; height: 3px; background: var(--line); position: relative; z-index: 1; margin: 0 -2px; }
.msform-bar > span { position: absolute; inset: 0; background: var(--grad); transform-origin: left; transform: scaleX(0); transition: transform 0.4s ease; }
.msform-bar.done > span { transform: scaleX(1); }

.msform-pane { display: none; }
.msform-pane.active { display: block; animation: fadeUp 0.4s ease; }

.topic-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  text-align: left;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  border: 1.5px solid var(--line);
  background: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.topic-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.topic-card.selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12); }

.topic-card i {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--grad-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex: none;
}

.topic-card b { display: block; font-size: 0.88rem; color: var(--ink); }
.topic-card small { font-size: 0.72rem; color: var(--faint); }

.spinner {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%) translateY(140%);
  z-index: 200;
  background: var(--dark);
  color: #f8fafc;
  padding: 1rem 1.5rem;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.9rem;
  max-width: min(92vw, 480px);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.toast.show { transform: translateX(-50%) translateY(0); }
.toast i { color: #2dd4bf; font-size: 1.1rem; }
.toast.error i { color: var(--rose); }

.iti { width: 100%; }
.iti__country-list { z-index: 100; }

.cookie-card {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  width: min(94vw, 560px);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(13, 148, 136, 0.18);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.2);
  padding: 1.15rem 1.25rem;
  display: none;
  align-items: center;
  gap: 1rem;
}

.cookie-card.show { display: flex; animation: cookieIn 0.5s cubic-bezier(0.22, 1, 0.36, 1); }

@keyframes cookieIn {
  from { opacity: 0; transform: translateX(-50%) translateY(30px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.cookie-ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--grad);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex: none;
}

.cookie-card p { font-size: 0.8rem; line-height: 1.55; color: var(--muted); margin: 0; }
.cookie-card p a { color: var(--accent); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.cookie-btns { display: flex; gap: 0.5rem; flex: none; }

.cookie-btns button {
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--line-2);
  background: #fff;
  color: var(--ink-2);
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.cookie-btns button:hover { border-color: var(--accent); color: var(--accent); }
.cookie-btns button:last-child { background: var(--grad); border-color: transparent; color: #fff; }
.cookie-btns button:last-child:hover { color: #fff; box-shadow: 0 8px 20px rgba(13, 148, 136, 0.35); }

@media (max-width: 560px) {
  .cookie-card { flex-direction: column; align-items: flex-start; padding: 1rem; }
  .cookie-btns { width: 100%; }
  .cookie-btns button { flex: 1; }
}

.count-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  max-width: 460px;
}

.count-cell {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 14px;
  padding: 0.9rem 0.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
}

.count-cell b {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
  line-height: 1;
}

.count-cell span { font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b8; }

.read-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--grad);
  z-index: 90;
  width: 0;
  transition: width 0.1s linear;
}

.toc-sticky { position: sticky; top: 96px; }

.toc-link {
  display: block;
  padding: 0.5rem 0.9rem;
  border-left: 2px solid var(--line);
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.toc-link:hover { color: var(--accent); }
.toc-link.active { border-left-color: var(--accent); color: var(--accent); font-weight: 600; background: linear-gradient(90deg, rgba(13, 148, 136, 0.08), transparent); }

.vote-bar { display: flex; height: 14px; border-radius: 999px; overflow: hidden; background: rgba(148, 163, 184, 0.15); }
.vote-bar > span { display: block; height: 100%; transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }

.heat-cell {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.heat-cell:hover { transform: scale(1.12); z-index: 2; position: relative; }

.live-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  background: var(--rose);
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
}

.live-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  animation: pulse-dot 1.4s ease infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.pulse-ring {
  position: relative;
}

.pulse-ring::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: inherit;
  border: 2px solid rgba(20, 184, 166, 0.4);
  animation: ring 2s ease-out infinite;
  pointer-events: none;
}

@keyframes ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.15); opacity: 0; }
}

.float-slow { animation: floatY 7s ease-in-out infinite; }
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.scroll-x {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 0.75rem;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.scroll-x > * { scroll-snap-align: start; flex: none; }

.scroll-x::-webkit-scrollbar { height: 6px; }
.scroll-x::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 999px; }

.article-body > p { font-size: 1.02rem; line-height: 1.85; color: var(--ink-2); margin-bottom: 1.4rem; }
.article-body > h2 { font-size: 1.6rem; font-weight: 700; margin: 2.4rem 0 1rem; }
.article-body > h3 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.8rem; }
.article-body ul { margin: 0 0 1.4rem 1.25rem; list-style: disc; line-height: 1.8; color: var(--ink-2); }
.article-body li { margin-bottom: 0.4rem; }
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 2rem 0;
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.6;
}

.article-body figure { margin: 2rem 0; }
.article-body figure img { border-radius: var(--r-md); width: 100%; }
.article-body figcaption { font-size: 0.8rem; color: var(--faint); margin-top: 0.6rem; text-align: center; }

.price-badge {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.price-badge small { font-size: 0.8rem; font-weight: 500; color: var(--faint); }

.check-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-size: 0.92rem; line-height: 1.6; }
.check-list li i { color: var(--accent); margin-top: 0.25rem; font-size: 0.8rem; flex: none; }

.minus-list li i { color: var(--rose); }

.footer-input {
  display: flex;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.footer-input input {
  flex: 1;
  background: transparent;
  border: 0;
  padding: 0.8rem 1.2rem;
  color: #f8fafc;
  font-size: 0.85rem;
  min-width: 0;
}

.footer-input input::placeholder { color: #64748b; }
.footer-input input:focus { outline: none; }

.footer-input button {
  background: var(--grad);
  color: #fff;
  border: 0;
  padding: 0 1.3rem;
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
  transition: filter 0.2s ease;
}

.footer-input button:hover { filter: brightness(1.1); }

.map-frame {
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
  border-radius: var(--r-md);
  filter: saturate(0.85);
}

@media (max-width: 640px) {
  .hero-meta { gap: 1.25rem; }
  .hero-content { padding-block: 6rem 8rem; }
  .count-box { grid-template-columns: repeat(2, 1fr); }
  .slider-ui { bottom: 1.25rem; }
  .hero-slider { min-height: 88svh; }
  html, body{
    overflow-x: hidden;
  }
}
