@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('/assets/fonts/Roboto-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --color-dark:   #111827;
  --color-dark2:  #374151;
  --color-body:   #4b5563;
  --color-muted:  #6b7280;
  --color-border: #e5e7eb;
  --color-bg:     #fff;
  --section-pad:  80px 0 100px;
  --radius-card:  16px;
  --radius-img:   24px;
  --transition:   0.2s ease;
}

/* ── GLOBAL ────────────────────────────────────────────────── */
body {
  font-family: 'Roboto', sans-serif;
  color: var(--color-dark);
  position: relative;
}

/* ── CONTAINER ─────────────────────────────────────────────── */
.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HEADER ────────────────────────────────────────────────── */
.header {
  padding: 28px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-bg);
  transition: box-shadow 0.3s ease;
}

.header.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  font-size: 28px;
  font-weight: 700;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 18px;
}

.nav__list a {
  position: relative;
  padding-bottom: 4px;
}

.nav__list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: currentColor;
  transition: width 0.25s ease;
}

.nav__list a:hover::after,
.nav__list a.active::after { width: 100%; }

.nav__list a.active { font-weight: 700; }

/* ── BUTTON ────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-dark);
  color: var(--color-bg);
  font-size: 15px;
  font-weight: 700;
  border-radius: 100px;
  letter-spacing: 0.5px;
  text-align: center;
  align-self: flex-start;
  transition: background var(--transition), transform var(--transition);
}

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

.btn--submit {
  padding: 14px 36px;
  font-size: 16px;
}

/* ── SHARED LABEL ──────────────────────────────────────────── */
.label-italic {
  font-size: 15px;
  font-style: italic;
  color: var(--color-muted);
}

/* ── HERO (index) ──────────────────────────────────────────── */
.hero {
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}

.hero__heading { margin-bottom: 48px; }

.hero__heading h1 {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero__h1-main {
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.1;
}

.hero__h1-sub {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 600;
  line-height: 1.2;
}

.hero__h1-area {
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 400;
  color: var(--color-muted);
  line-height: 1.3;
}

/* Hero blobs */
.hero__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Базовый блоб — hero */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(160px);
  opacity: 0.45;
}

.blob--pink {
  width: 1300px; height: 1300px;
  top: -700px; left: -600px;
  background: radial-gradient(circle, #f9a8d4, #c084fc);
}

.blob--teal {
  width: 1300px; height: 1300px;
  bottom: -700px; right: -600px;
  background: radial-gradient(circle, #86efac, #67e8f9);
}

.blob--red {
  width: 1000px; height: 1000px;
  top: 50%; left: -500px;
  transform: translateY(-50%);
  background: radial-gradient(circle, #fca5a5, #fb7185);
  opacity: 0.3;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* ── CARDS (index) ─────────────────────────────────────────── */
.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: var(--color-bg);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14);
}

.card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-border);
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.card__title {
  font-size: 26px;
  font-weight: 700;
}

.card__text {
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-dark2);
}

/* ── PAGE BLOBS (service pages) ────────────────────────────── */
.page-blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.page-blobs .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}

main {
  position: relative;
  z-index: 1;
}

/* kids-parties */
.blobs--kids .blob:nth-child(1) { width: 500px; height: 500px; top: 5%;  left: -80px; background: radial-gradient(circle, #fda4af, #fff); }
.blobs--kids .blob:nth-child(2) { width: 350px; height: 350px; top: 30%; right: 5%;   background: radial-gradient(circle, #fde68a, #fff); }
.blobs--kids .blob:nth-child(3) { width: 420px; height: 420px; top: 60%; left: 30%;   background: radial-gradient(circle, #fda4af, #fff); }
.blobs--kids .blob:nth-child(4) { width: 300px; height: 300px; bottom: 5%; right: -60px; background: radial-gradient(circle, #fbbf24, #fff); }

/* foam-party */
.blobs--foam .blob:nth-child(1) { width: 480px; height: 480px; top: 3%;  right: -80px; background: radial-gradient(circle, #7dd3fc, #fff); }
.blobs--foam .blob:nth-child(2) { width: 360px; height: 360px; top: 40%; left: -60px;  background: radial-gradient(circle, #6ee7b7, #fff); }
.blobs--foam .blob:nth-child(3) { width: 400px; height: 400px; top: 65%; right: 15%;   background: radial-gradient(circle, #38bdf8, #fff); }
.blobs--foam .blob:nth-child(4) { width: 280px; height: 280px; bottom: 5%; left: 10%;  background: radial-gradient(circle, #34d399, #fff); }

/* laser-tag */
.blobs--laser .blob:nth-child(1) { width: 500px; height: 500px; top: 2%;  left: -100px; background: radial-gradient(circle, #c4b5fd, #fff); }
.blobs--laser .blob:nth-child(2) { width: 350px; height: 350px; top: 45%; right: -70px; background: radial-gradient(circle, #818cf8, #fff); }
.blobs--laser .blob:nth-child(3) { width: 380px; height: 380px; top: 70%; left: 20%;   background: radial-gradient(circle, #93c5fd, #fff); }
.blobs--laser .blob:nth-child(4) { width: 300px; height: 300px; bottom: 4%; right: 5%; background: radial-gradient(circle, #c4b5fd, #fff); }

/* nerf-battles */
.blobs--nerf .blob:nth-child(1) { width: 460px; height: 460px; top: 4%;  right: -80px; background: radial-gradient(circle, #fdba74, #fff); }
.blobs--nerf .blob:nth-child(2) { width: 380px; height: 380px; top: 35%; left: -60px;  background: radial-gradient(circle, #fca5a5, #fff); }
.blobs--nerf .blob:nth-child(3) { width: 420px; height: 420px; top: 62%; right: 10%;   background: radial-gradient(circle, #fb923c, #fff); }
.blobs--nerf .blob:nth-child(4) { width: 300px; height: 300px; bottom: 4%; left: 5%;   background: radial-gradient(circle, #f87171, #fff); }

/* uv-paint */
.blobs--uv .blob:nth-child(1) { width: 500px; height: 500px; top: 3%;  left: -90px;  background: radial-gradient(circle, #d8b4fe, #fff); }
.blobs--uv .blob:nth-child(2) { width: 360px; height: 360px; top: 38%; right: -70px; background: radial-gradient(circle, #86efac, #fff); }
.blobs--uv .blob:nth-child(3) { width: 400px; height: 400px; top: 65%; left: 25%;    background: radial-gradient(circle, #a855f7, #fff); }
.blobs--uv .blob:nth-child(4) { width: 300px; height: 300px; bottom: 4%; right: -50px; background: radial-gradient(circle, #4ade80, #fff); }

/* ── PAGE HERO (service pages) ─────────────────────────────── */
.page-hero { padding: var(--section-pad); }

.page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.page-hero__text {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.page-hero__title {
  font-size: 64px;
  font-weight: 700;
  line-height: 1.1;
}

.page-hero__desc {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-body);
  max-width: 540px;
}

.page-hero__image {
  border-radius: var(--radius-img);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── GALLERY ───────────────────────────────────────────────── */
.gallery-section { padding: 60px 0 100px; }

.gallery {
  columns: 3;
  column-gap: 8px;
}

.gallery__item {
  break-inside: avoid;
  margin-bottom: 8px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery__item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

/* ── ABOUT ─────────────────────────────────────────────────── */
.about { padding: var(--section-pad); }

.about__inner {
  max-width: 800px;
  margin: 0 auto;
}

.about__title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 48px;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-body);
}

/* ── CONTACT ───────────────────────────────────────────────── */
.contact { padding: var(--section-pad); }

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: flex-start;
}

.contact__title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.1;
}

.contact__sub {
  font-size: 17px;
  color: var(--color-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.contact__email {
  font-size: 15px;
  color: var(--color-muted);
}

.contact__email a {
  color: var(--color-dark);
  font-weight: 600;
  text-decoration: underline;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark2);
}

.form-field label span { color: #ef4444; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--color-border);
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  color: var(--color-dark);
  background: var(--color-bg);
  transition: border-color var(--transition);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-dark);
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-status {
  font-size: 15px;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  display: none;
}

.form-status--ok  { display: block; background: #f0fdf4; color: #166534; }
.form-status--err { display: block; background: #fff1f2; color: #be123c; }

/* ── ADAPTIVE ───────────────────────────────────────────────── */

.nav__home { display: none; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav__burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger--open span:nth-child(2) { opacity: 0; }
.nav__burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* 1280px */
@media (max-width: 1280px) {
  .nav__list { gap: 20px; font-size: 16px; }
  .nav__logo  { font-size: 24px; }
}

/* 1024px */
@media (max-width: 1024px) {
  .page-hero__inner { gap: 48px; }
  .page-hero__title { font-size: 42px; }
  .page-hero__desc  { font-size: 16px; }
  .contact__inner   { grid-template-columns: 1fr 1.5fr; gap: 48px; }
  .contact__title   { font-size: 38px; }
  .about__title     { font-size: 44px; }
  .gallery          { columns: 3; }
  .card__title      { font-size: 22px; }
  .card__text       { font-size: 16px; }
}

/* 900px */
@media (max-width: 900px) {
  .page-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .page-hero__image { order: -1; }
  .page-hero__title { font-size: 38px; }
  .contact__inner   { grid-template-columns: 1fr; gap: 32px; }
  .contact__title   { font-size: 34px; }
  .about__title     { font-size: 40px; }
  .about__inner     { max-width: 100%; }
  .cards            { grid-template-columns: 1fr 1fr; gap: 20px; }
}

/* 768px */
@media (max-width: 768px) {
  .nav__burger { display: flex; }
  .nav__home   { display: block; }
  .nav__logo   { font-size: 20px; }

  .nav__list {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 28px;
    z-index: 99;
  }
  .nav__list--open        { display: flex; }
  .nav__list li           { width: 100%; }
  .nav__list a            { display: block; padding: 16px 0; font-size: 22px; }
  .nav__list a::after     { display: none; }

  .hero                   { padding: 40px 0; }
  .hero__heading          { margin-bottom: 32px; }
  .page-hero              { padding: 40px 0 56px; }
  .page-hero__title       { font-size: 32px; }
  .about                  { padding: 40px 0 56px; }
  .about__title           { font-size: 34px; }
  .about__content p       { font-size: 16px; }
  .contact                { padding: 40px 0 56px; }
  .contact__title         { font-size: 30px; }
  .form-row               { grid-template-columns: 1fr; }
  .cards                  { grid-template-columns: 1fr; gap: 16px; }
  .card__title            { font-size: 20px; }
  .card__text             { font-size: 15px; }
  .gallery                { columns: 2; gap: 6px; }
  .gallery-section        { padding: 40px 0 60px; }
}

/* 600px */
@media (max-width: 600px) {
  .header                 { padding: 20px 0; }
  .page-hero__title       { font-size: 28px; }
  .page-hero__desc        { font-size: 15px; }
  .about__title           { font-size: 28px; }
  .contact__title         { font-size: 26px; }
}

/* 480px */
@media (max-width: 480px) {
  .gallery                { columns: 1; }
  .page-hero__title       { font-size: 24px; }
  .about__title           { font-size: 24px; }
  .contact__title         { font-size: 22px; }
  .nav__list a            { font-size: 20px; }
}
