:root {
  --color-bg: #ffffff;
  --color-surface: #ffffff;
  --color-surface-alt: #f7fafc;
  --color-text: #111827;
  --color-text-muted: #6b7280;
  --yellow: #ffd93b;
  --orange: #ff8a3c;
  --green: #2fd17c;
  --danger: #dc2626;
  --border-soft: #e5e7eb;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft-sm: 0 10px 25px rgba(15, 23, 42, 0.08);
  --container-width: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

section {
  position: relative;
  overflow: hidden;
}

.container {
  width: min(100% - 32px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background:
    radial-gradient(circle at top left, rgba(255, 217, 59, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(47, 209, 124, 0.16), transparent 55%),
    #f9fafb;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(30px, 3.4vw, 38px);
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.section-header p {
  max-width: 560px;
  margin-inline: auto;
  color: var(--color-text-muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--orange));
  color: #111827;
  box-shadow: 0 10px 22px rgba(249, 115, 22, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.6);
}

.btn-ghost {
  background: #ffffff;
  color: var(--color-text);
  border: 1px solid var(--border-soft);
}

.btn-ghost:hover {
  background: #f3f4f6;
  transform: translateY(-1px);
}

.btn-block {
  width: 100%;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--color-text-muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.tag--yellow {
  border-color: rgba(255, 217, 59, 0.7);
}

.tag--green {
  border-color: rgba(47, 209, 124, 0.7);
}

.tag--orange {
  border-color: rgba(255, 138, 60, 0.8);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
  gap: 32px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
}

.logo-block {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(15, 23, 42, 0.16);
}

.logo-block--yellow {
  background: var(--yellow);
}

.logo-block--green {
  background: var(--green);
}

.logo-block--orange {
  background: var(--orange);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px;
  border-radius: 999px;
  background: #f3f4f6;
  border: 1px solid rgba(209, 213, 219, 0.9);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.lang-btn.is-active {
  background: linear-gradient(135deg, var(--yellow), var(--green));
  color: #052e16;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 14px;
}

.nav-list a {
  color: var(--color-text-muted);
  padding-block: 4px;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--green));
  transition: width 0.18s ease;
}

.nav-list a:hover {
  color: var(--color-text);
}

.nav-list a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(15, 23, 42, 0.96);
  cursor: pointer;
  padding: 0 10px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 999px;
  transition: transform 0.16s ease, opacity 0.16s ease;
}

.nav-toggle.is-open span:first-child {
  transform: translateY(3px) rotate(45deg);
}

.nav-toggle.is-open span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

.hero {
  padding: 72px 0 90px;
  background:
    radial-gradient(circle at top left, rgba(255, 217, 59, 0.24), transparent 55%),
    radial-gradient(circle at bottom right, rgba(45, 212, 191, 0.16), transparent 55%),
    #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(32px, 4vw, 42px);
  line-height: 1.15;
  margin: 14px 0 12px;
}

.hero-subtitle {
  color: var(--color-text-muted);
  max-width: 520px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-visual {
  position: relative;
  min-height: 260px;
}

.tetris-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 22px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #ffffff, #e5f3ff);
  box-shadow: var(--shadow-soft);
}

.tetris-block {
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}

.tetris-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
  mix-blend-mode: screen;
}

.tetris-block--l {
  grid-column: span 2;
  height: 80px;
  background: linear-gradient(135deg, var(--yellow), #ffe876);
}

.tetris-block--z {
  grid-column: span 2;
  height: 80px;
  background: linear-gradient(135deg, var(--green), #52e89a);
}

.tetris-block--square {
  grid-column: span 2;
  height: 80px;
  background: linear-gradient(135deg, var(--orange), #ffb26c);
}

.tetris-block--line {
  grid-column: span 4;
  height: 22px;
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(148, 163, 184, 0.45),
    rgba(148, 163, 184, 0.45) 12px,
    rgba(209, 213, 219, 0.7) 12px,
    rgba(209, 213, 219, 0.7) 24px
  );
}

.hero-card {
  position: absolute;
  right: -10px;
  bottom: -30px;
  padding: 14px 16px;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft-sm);
  max-width: 240px;
}

.hero-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.hero-card-text {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.hero-card-date {
  font-size: 12px;
  color: var(--yellow);
  font-weight: 600;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card {
  padding: 20px 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft-sm);
}

.card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: var(--color-text-muted);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stat-card {
  padding: 22px 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, #ffffff, #f3f4ff);
  border: 1px solid rgba(209, 213, 219, 0.9);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    linear-gradient(90deg, rgba(255, 217, 59, 0.12), transparent 35%, transparent 65%, rgba(47, 209, 124, 0.12)),
    linear-gradient(180deg, rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.98));
  opacity: 0.8;
  mix-blend-mode: screen;
  pointer-events: none;
}

.stat-card > * {
  position: relative;
}

.stat-value {
  font-size: 30px;
  font-weight: 700;
  margin-bottom: 6px;
}

.stat-label {
  font-size: 13px;
  color: var(--color-text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.benefit {
  display: flex;
  gap: 14px;
  padding: 18px 18px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-soft);
}

.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.benefit-icon::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 255, 255, 0.25), transparent 55%);
  mix-blend-mode: screen;
}

.benefit-icon--yellow {
  background: linear-gradient(135deg, var(--yellow), #ffe876);
}

.benefit-icon--green {
  background: linear-gradient(135deg, var(--green), #55e49e);
}

.benefit-icon--orange {
  background: linear-gradient(135deg, var(--orange), #ffb571);
}

.benefit-body h3 {
  font-size: 16px;
  margin: 0 0 4px;
}

.benefit-body p {
  font-size: 14px;
  color: var(--color-text-muted);
  margin: 0;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.date-card {
  padding: 18px 18px 16px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid rgba(209, 213, 219, 1);
  position: relative;
}

.date-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px dashed rgba(148, 163, 184, 0.35);
  opacity: 0.6;
  pointer-events: none;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f9fafb;
  border: 1px solid rgba(209, 213, 219, 0.9);
  margin-bottom: 8px;
}

.date-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--green);
}

.date-name {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.date-meta {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.date-note {
  font-size: 12px;
  color: rgba(226, 232, 240, 0.9);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.3fr;
  grid-template-rows: repeat(2, 190px);
  gap: 22px;
  margin-top: 12px;
  position: relative;
}

.gallery-item--large {
  grid-row: span 2;
}

.gallery-placeholder {
  height: 100%;
  border-radius: 22px;
  border: 1px solid rgba(229, 231, 235, 1);
  background:
    linear-gradient(145deg, #ffffff, #f9fafb);
  display: flex;
  align-items: flex-end;
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.gallery-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(120deg, rgba(255, 217, 59, 0.18), transparent 55%),
    linear-gradient(-135deg, rgba(45, 212, 191, 0.12), transparent 50%);
  pointer-events: none;
}

.gallery-placeholder span {
  font-size: 14px;
  font-weight: 600;
}

.gallery-placeholder--yellow {
  background-image:
    linear-gradient(145deg, #ffffff, #fff8e6);
}

.gallery-placeholder--green {
  background-image:
    linear-gradient(145deg, #ffffff, #ecfff6);
}

.gallery-placeholder--orange {
  background-image:
    linear-gradient(145deg, #ffffff, #fff2e6);
}

/* subtle tetris accents in gallery */
#gallery .gallery-grid::before,
#gallery .gallery-grid::after {
  content: "";
  position: absolute;
  border-radius: 10px;
  opacity: 0.25;
  pointer-events: none;
}

#gallery .gallery-grid::before {
  width: 74px;
  height: 74px;
  background: var(--yellow);
  top: -18px;
  right: 18%;
  box-shadow: 0 10px 26px rgba(250, 204, 21, 0.35);
}

#gallery .gallery-grid::after {
  width: 54px;
  height: 110px;
  background: var(--green);
  bottom: -26px;
  left: 8%;
  box-shadow: 0 10px 26px rgba(34, 197, 94, 0.3);
}

.form-wrapper {
  max-width: 520px;
}

.apply-form {
  padding: 24px 22px 22px;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.form-field {
  margin-bottom: 16px;
}

.form-field label {
  display: block;
  font-size: 13px;
  margin-bottom: 4px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 10px 11px;
  border-radius: 9px;
  border: 1px solid rgba(209, 213, 219, 1);
  background: #ffffff;
  color: var(--color-text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}

.form-field input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 1px rgba(47, 209, 124, 0.6);
}

.field-error {
  margin: 4px 0 0;
  font-size: 12px;
  min-height: 16px;
  color: var(--danger);
}

.form-note {
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-text-muted);
}

.form-success {
  margin-top: 10px;
  font-size: 13px;
  color: var(--green);
  min-height: 18px;
}

.site-footer {
  padding: 32px 0 20px;
  background: #f3f4f6;
  border-top: 1px solid rgba(209, 213, 219, 1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.4fr 1.2fr;
  gap: 24px;
  margin-bottom: 20px;
}

.footer-brand {
  font-weight: 700;
  margin-bottom: 6px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-text {
  font-size: 13px;
  color: var(--color-text-muted);
  margin: 0 0 4px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 13px;
}

.footer-links li {
  margin-bottom: 4px;
}

.footer-links a {
  color: var(--color-text-muted);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-bottom {
  border-top: 1px solid rgba(209, 213, 219, 1);
  padding-top: 8px;
  font-size: 12px;
  color: var(--color-text-muted);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-card,
.gallery-placeholder,
.benefit,
.card,
.date-card {
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.stat-card:hover,
.gallery-placeholder:hover,
.benefit:hover,
.card:hover,
.date-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(148, 163, 184, 0.3);
  border-color: rgba(156, 163, 175, 0.9);
}

/* staggered reveal for gallery items */
#gallery.reveal.is-visible .gallery-item:nth-child(1) .gallery-placeholder {
  transition-delay: 0.02s;
}

#gallery.reveal.is-visible .gallery-item:nth-child(2) .gallery-placeholder {
  transition-delay: 0.06s;
}

#gallery.reveal.is-visible .gallery-item:nth-child(3) .gallery-placeholder {
  transition-delay: 0.1s;
}

#gallery.reveal.is-visible .gallery-item:nth-child(4) .gallery-placeholder {
  transition-delay: 0.14s;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr);
    gap: 40px;
  }

  .hero-visual {
    max-width: 420px;
    margin-inline: auto;
  }

  .hero-card {
    right: 10px;
  }

  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .benefits-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .dates-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: repeat(3, 190px);
    gap: 18px;
  }

  .gallery-item--large {
    grid-row: span 1;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 64px 0;
  }

  .header-inner {
    padding-block: 10px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-list {
    position: absolute;
    top: 100%;
    right: 16px;
    margin-top: 8px;
    padding: 10px 14px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(209, 213, 219, 1);
    box-shadow: var(--shadow-soft-sm);
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    transform-origin: top right;
    transform: scale(0.9);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .nav-list.is-open {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  .hero {
    padding-top: 70px;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .about-grid,
  .numbers-grid,
  .dates-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-grid {
    grid-template-rows: repeat(4, 170px);
  }

  .apply-form {
    padding: 20px 18px 18px;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

