/* ============ Paintball Melee — модерен редизайн ============ */
:root {
  --bg: #0e1013;
  --bg-soft: #15181d;
  --bg-card: #1b1f26;
  --text: #e8eaed;
  --text-muted: #9aa3ad;
  --accent: #f97316;
  --accent-dark: #ea580c;
  --accent-2: #a3e635;
  --border: #262b33;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .35);
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-2); }

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

/* ---------- Top bar ---------- */
.topbar {
  background: var(--accent);
  color: #111;
  font-weight: 600;
  font-size: .9rem;
  padding: 7px 16px;
}
.topbar a { color: #111; text-decoration: underline; }
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.lang-switch { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.lang-switch a {
  color: #111;
  text-decoration: none;
  font-weight: 800;
  opacity: .55;
  padding: 0 3px;
  transition: opacity .2s;
}
.lang-switch a:hover { opacity: .85; }
.lang-switch a.active { opacity: 1; text-decoration: underline; }
.lang-switch span { opacity: .4; }
@media (max-width: 420px) {
  .topbar { font-size: .8rem; }
  .topbar-inner { gap: 8px; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 16, 19, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  max-width: var(--container);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); }
.brand img { height: 48px; width: auto; border-radius: 8px; }
.brand-name { font-weight: 800; font-size: 1.15rem; letter-spacing: .5px; }
.brand-name span { color: var(--accent); }

.main-nav ul { list-style: none; display: flex; gap: 4px; }
.main-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  font-weight: 600;
  font-size: .95rem;
  border-radius: 8px;
  transition: background .2s, color .2s;
}
.main-nav a:hover { background: var(--bg-card); color: var(--accent); }
.main-nav a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10, 11, 14, .92) 25%, rgba(10, 11, 14, .55) 60%, rgba(10, 11, 14, .25));
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding: 80px 0; }
.hero-badge {
  display: inline-block;
  background: rgba(249, 115, 22, .15);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 28px; }

/* Small page hero */
.page-hero {
  position: relative;
  padding: 70px 0 55px;
  background-size: cover;
  background-position: center;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 14, .85), rgba(14, 16, 19, .95));
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; }
.page-hero p { color: var(--text-muted); max-width: 720px; margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: transform .15s, box-shadow .15s, background .2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent); color: #111; }
.btn-primary:hover { background: var(--accent-dark); color: #111; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249, 115, 22, .35); }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); background: transparent; }
.btn-outline:hover { background: var(--accent); color: #111; }
.btn-group { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-soft); }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.2rem);
  font-weight: 800;
}
.section-title h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
  margin: 14px auto 0;
}
.section-title p { color: var(--text-muted); max-width: 680px; margin: 14px auto 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  display: flex;
  flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.06); }
.card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.card-body h3 { font-size: 1.1rem; font-weight: 700; }
.card-body p { color: var(--text-muted); font-size: .95rem; flex: 1; }
.card-link { font-weight: 700; font-size: .95rem; }

/* ---------- Feature banner (детски РД) ---------- */
.feature-banner {
  background: linear-gradient(120deg, rgba(249, 115, 22, .12), rgba(163, 230, 53, .07));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.feature-banner h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.feature-banner p { color: var(--text-muted); }

/* ---------- About / two-column ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; }
.split-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; margin-bottom: 18px; }
.split h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
  margin-top: 12px;
}
.split p { color: var(--text-muted); margin-bottom: 14px; }

/* ---------- Article (SEO текстове) ---------- */
.article { max-width: 820px; margin: 0 auto; }
.article h2 { font-size: 1.6rem; font-weight: 800; margin: 36px 0 14px; }
.article h3 { font-size: 1.2rem; font-weight: 700; margin: 28px 0 12px; color: var(--accent); }
.article p { color: var(--text-muted); margin-bottom: 14px; }
.article ul { color: var(--text-muted); margin: 0 0 14px 22px; }
.article li { margin-bottom: 6px; }
.article strong { color: var(--text); }

/* ---------- Pricing ---------- */
.pricing-card { text-align: center; padding: 34px 26px; position: relative; }
.pricing-card .plan { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
.pricing-card h3 { font-size: 1.25rem; margin: 8px 0 4px; }
.pricing-card .price { font-size: 2.4rem; font-weight: 800; color: var(--text); }
.pricing-card .price-lv { color: var(--text-muted); font-size: .95rem; margin-bottom: 18px; }
.pricing-card ul { list-style: none; margin: 18px 0; text-align: left; }
.pricing-card ul li { padding: 8px 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.pricing-card ul li::before { content: "✔"; color: var(--accent-2); margin-right: 10px; font-weight: 700; }
.pricing-card .note { font-size: .88rem; color: var(--text-muted); margin-top: 14px; }
.pricing-featured { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent) inset; }
.pricing-featured::before {
  content: "Промо";
  position: absolute;
  top: 14px;
  right: -34px;
  transform: rotate(45deg);
  background: var(--accent);
  color: #111;
  font-size: .75rem;
  font-weight: 800;
  padding: 4px 40px;
}

/* ---------- Gallery ---------- */
.gallery-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 34px; }
.gallery-filters button {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, border-color .2s;
}
.gallery-filters button:hover { border-color: var(--accent); }
.gallery-filters button.active { background: var(--accent); border-color: var(--accent); color: #111; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery-grid a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
}
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.gallery-grid a:hover img { transform: scale(1.07); }
.gallery-grid a.hidden { display: none; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
  padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  font-size: 1.6rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--accent); color: #111; }
.lightbox-close { top: 22px; right: 22px; }
.lightbox-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Terrain sections ---------- */
.teren-section { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--border); }
.teren-section:last-child { border-bottom: none; }
.teren-section img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.teren-section h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.teren-section h2 span { color: var(--accent); }
.teren-section p { color: var(--text-muted); margin-bottom: 12px; }
.teren-section:nth-child(even) .teren-media { order: 2; }

/* ---------- Contact ---------- */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
}
.contact-card h3 { font-size: 1.2rem; margin-bottom: 16px; color: var(--accent); }
.contact-list { list-style: none; }
.contact-list li { padding: 10px 0; border-bottom: 1px dashed var(--border); color: var(--text-muted); }
.contact-list li strong { color: var(--text); display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; }
.contact-list li a { font-size: 1.15rem; font-weight: 700; }

/* ---------- Info list (детски РД) ---------- */
.check-list { list-style: none; margin: 14px 0; }
.check-list li { padding: 7px 0 7px 30px; position: relative; color: var(--text-muted); }
.check-list li::before { content: "✔"; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }

.price-highlight {
  background: linear-gradient(120deg, rgba(249, 115, 22, .12), rgba(163, 230, 53, .07));
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 22px 0;
}
.price-highlight strong { color: var(--accent); font-size: 1.15rem; }

/* ---------- CTA strip ---------- */
.cta-strip { background: linear-gradient(120deg, var(--accent), var(--accent-dark)); color: #111; text-align: center; padding: 56px 20px; }
.cta-strip h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; margin-bottom: 10px; }
.cta-strip p { font-weight: 600; margin-bottom: 22px; }
.cta-strip .btn { background: #111; color: #fff; }
.cta-strip .btn:hover { background: #000; transform: translateY(-2px); }
.cta-strip a.tel-link { color: #111; text-decoration: underline; font-weight: 800; }

/* ---------- Footer ---------- */
.site-footer { background: #0a0c0e; border-top: 1px solid var(--border); padding: 48px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; margin-bottom: 32px; }
.site-footer h4 { font-size: 1rem; margin-bottom: 14px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.site-footer p, .site-footer li { color: var(--text-muted); font-size: .95rem; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 8px; }
.site-footer ul a { color: var(--text-muted); }
.site-footer ul a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 20px; text-align: center; color: var(--text-muted); font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .split, .teren-section { grid-template-columns: 1fr; }
  .teren-section:nth-child(even) .teren-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 0;
    right: -280px;
    width: 260px;
    height: 100vh;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    padding: 80px 20px 20px;
    transition: right .3s;
    z-index: 90;
  }
  .main-nav.open { right: 0; box-shadow: -10px 0 40px rgba(0, 0, 0, .5); }
  .main-nav ul { flex-direction: column; }
  .main-nav a { font-size: 1.05rem; padding: 13px 14px; }
  .nav-toggle { position: relative; z-index: 95; }
  .hero { min-height: 60vh; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 52px 0; }
  .feature-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 1rem; }
}
