/* congelo2 - modern SPA-feel static site (no framework) */

:root {
  --font: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji",
    "Segoe UI Emoji";

  --bg: #070b14;
  --panel: rgba(255, 255, 255, 0.06);
  --panel2: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.64);

  --primary: #7c3aed; /* violet */
  --primary2: #22d3ee; /* cyan */

  --shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  --radius: 18px;

  --container: 1120px;

  color-scheme: dark;
}

[data-theme='light'] {
  --bg: #f6f7fb;
  --panel: rgba(255, 255, 255, 0.7);
  --panel2: rgba(255, 255, 255, 0.95);
  --border: rgba(7, 11, 20, 0.12);
  --text: rgba(7, 11, 20, 0.92);
  --muted: rgba(7, 11, 20, 0.64);
  --shadow: 0 10px 30px rgba(7, 11, 20, 0.12);

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.bg__mesh {
  position: absolute;
  inset: -200px;
  background:
    radial-gradient(900px 600px at 15% 15%, rgba(124, 58, 237, 0.35), transparent 60%),
    radial-gradient(700px 500px at 85% 10%, rgba(34, 211, 238, 0.25), transparent 60%),
    radial-gradient(900px 700px at 70% 85%, rgba(124, 58, 237, 0.24), transparent 60%);
  filter: blur(18px);
  opacity: 0.9;
}

.bg__grain {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 180 180"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/></filter><rect width="180" height="180" filter="url(%23n)" opacity="0.35"/></svg>');
  mix-blend-mode: overlay;
  opacity: 0.35;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(7, 11, 20, 0.55);
  border-bottom: 1px solid var(--border);
}

[data-theme='light'] .topbar {
  background: rgba(246, 247, 251, 0.75);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand__mark {
  width: 96px;
  height: 96px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

/* In light theme, remove the white tile so it blends with the UI */
[data-theme='light'] .brand__mark {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

.brand__logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@media (max-width: 920px) {
  .brand__mark {
    width: 72px;
    height: 72px;
    padding: 10px;
    border-radius: 18px;
  }
}

.brand__title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand__subtitle {
  font-size: 12px;
  color: var(--muted);
}

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

.nav__link {
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: 160ms ease;
}

.nav__link:hover {
  color: var(--text);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.nav__link.is-active {
  color: var(--text);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.22), rgba(34, 211, 238, 0.16));
  border-color: rgba(124, 58, 237, 0.28);
}

.icon-btn {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  box-shadow: var(--shadow);
}

.icon-btn__dot {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--primary2), var(--primary));
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--text);
  border-radius: 999px;
}

.hamburger span + span {
  margin-top: 6px;
}

.mobile-menu {
  border-top: 1px solid var(--border);
  background: rgba(7, 11, 20, 0.7);
  backdrop-filter: blur(14px);
}

[data-theme='light'] .mobile-menu {
  background: rgba(246, 247, 251, 0.85);
}

.mobile-menu__inner {
  display: grid;
  gap: 10px;
  padding: 12px 0 18px;
}

.mobile-menu__link {
  display: block;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 600;
}

.view {
  padding: 28px 0 10px;
  animation: fadeIn 240ms ease;
}

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

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
  padding-top: 14px;
}

.hero__content {
  padding: 18px 0;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.pill__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--primary2), var(--primary));
}

.hero__title {
  margin: 18px 0 0;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero__titleAccent {
  display: block;
  margin-top: 8px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  margin: 16px 0 0;
  font-size: 16px;
  color: var(--muted);
  max-width: 62ch;
}

.hero__cta {
  display: flex;
  gap: 12px;
  margin-top: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: 160ms ease;
  user-select: none;
}

.btn--primary {
  border-color: rgba(124, 58, 237, 0.35);
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.85), rgba(34, 211, 238, 0.65));
  color: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  filter: saturate(1.1);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.07);
}

.btn-row {
  margin-top: 18px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.stat {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.stat__kpi {
  font-weight: 800;
  letter-spacing: -0.02em;
}

.stat__label {
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

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

.shot {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.shot img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.shot--wide {
  grid-column: span 2;
}

.shot--wide img {
  height: 220px;
}

.section {
  margin-top: 34px;
  padding-bottom: 20px;
}

.section__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

.section__title {
  margin: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

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

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

.card {
  border: 1px solid var(--border);
  background: var(--panel);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card--padded {
  padding: 18px;
}

.card__title {
  margin: 0;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.card__text {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.card__link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  opacity: 0.9;
}

.list {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.list li {
  margin: 8px 0;
  line-height: 1.6;
}

.inline {
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(124, 58, 237, 0.35);
}

.inline:hover {
  border-bottom-color: rgba(34, 211, 238, 0.55);
}

.card__link:hover {
  opacity: 1;
}

.card__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 700;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
}

.price {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.price__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  font-size: 13px;
}

.price__row > * {
  min-width: 0;
  overflow-wrap: anywhere;
}

.muted {
  color: var(--muted);
}

.page-title {
  padding-top: 10px;
}

.page-title__h1 {
  margin: 14px 0 0;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.page-title__p {
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 70ch;
}

.rules {
  margin: 0;
  padding-left: 20px;
  color: var(--text);
}

.rules > li {
  margin: 12px 0;
  color: var(--text);
}

.rules li {
  line-height: 1.65;
}

.rules ol {
  margin-top: 10px;
  color: var(--muted);
}

.faq {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.faq__item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px 12px;
}

.faq__item summary {
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: '▾';
  float: right;
  color: var(--muted);
  transition: 160ms ease;
}

.faq__item[open] summary::after {
  transform: rotate(180deg);
}

.faq__content {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.6;
}

.map {
  margin-top: 12px;
}

.map__iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.footer {
  padding: 26px 0 32px;
  color: var(--muted);
}

.footer__inner {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer__logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.72);
}

.lightbox__figure {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(980px, calc(100vw - 26px));
  max-height: calc(100vh - 26px);
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 18, 30, 0.92);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}

[data-theme='light'] .lightbox__figure {
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(7, 11, 20, 0.14);
}

.lightbox__img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 100px);
  object-fit: contain;
  display: block;
}

.lightbox__caption {
  padding: 12px 14px;
  font-size: 13px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
  font-size: 22px;
}

/* Responsive */
@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .nav {
    display: none;
  }

  .hamburger {
    display: inline-grid;
    place-items: center;
  }
}
