:root {
  --color-primary: #2AA8D6;
  --color-primary-dark: #1C7FA3;
  --color-primary-light: #E9F7FC;
  --color-white: #FFFFFF;
  --color-text: #1E2A32;
  --color-text-muted: #6B7B84;
  --color-border: #DCEEF5;
  --shadow-sm: 0 2px 10px rgba(24, 100, 130, 0.08);
  --shadow-md: 0 10px 30px rgba(24, 100, 130, 0.12);
  --radius: 16px;
  --container-width: 1140px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-text);
  background: var(--color-white);
  line-height: 1.6;
}

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

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

.eyebrow {
  display: inline-block;
  color: var(--color-primary-dark);
  background: var(--color-primary-light);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.text-muted { color: var(--color-text-muted); font-size: 0.9rem; }

h1, h2, h3 { font-weight: 600; line-height: 1.25; }

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; margin-bottom: 8px; }

p { color: var(--color-text-muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 2px solid transparent;
}

.btn--stacked {
  display: inline-block;
  text-align: center;
  line-height: 1.35;
}

/* Прекъсването на реда важи само за мобилната версия */
.btn__break { display: none; }

.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: var(--shadow-sm);
}

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

.btn--outline {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-white);
}

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

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
  color: var(--color-text);
}

.logo__mark {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
}

.logo strong { color: var(--color-primary-dark); }

.nav {
  display: flex;
  gap: 32px;
}

.nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
  transition: color 0.15s ease;
}

.nav a:hover { color: var(--color-primary-dark); }

.header__cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

/* Hero */
.hero { padding: 90px 0 60px; background: linear-gradient(180deg, var(--color-primary-light) 0%, var(--color-white) 100%); }

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero__content p { margin: 20px 0 28px; font-size: 1.05rem; max-width: 480px; }

.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* Sections */
section { padding: 80px 0; }

.section-heading { text-align: center; max-width: 600px; margin: 0 auto 48px; }

/* Trust badges */
.trust { padding: 56px 0; border-bottom: 1px solid var(--color-border); }

.trust__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.trust__item { text-align: center; }

.trust__icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 50%;
}

.trust__item h3 { font-size: 1rem; margin-bottom: 6px; }
.trust__item p { font-size: 0.88rem; }

/* About */
.about__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.placeholder-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  aspect-ratio: 4 / 3;
  background: var(--color-primary-light);
  border: 2px dashed var(--color-border);
  border-radius: var(--radius);
  color: var(--color-primary-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.about__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 30%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.about__content h2 { margin-bottom: 18px; }
.about__content p { margin-bottom: 14px; }

/* Programs */
.programs { background: var(--color-primary-light); }

.programs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--color-white);
  padding: 32px 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.program-card__icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  border-radius: 12px;
  margin-bottom: 18px;
}

.program-card p { font-size: 0.92rem; }

.program-card__price {
  color: var(--color-primary-dark);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.programs__note { text-align: center; margin-top: 32px; }

/* Gallery */
.gallery__carousel {
  position: relative;
}

.gallery__track {
  --gallery-visible: 4;
  --gallery-gap: 24px;
  display: flex;
  gap: var(--gallery-gap);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.gallery__track::-webkit-scrollbar { display: none; }

.gallery__item {
  flex: 0 0 calc(
    (100% - (var(--gallery-visible) - 1) * var(--gallery-gap)) / var(--gallery-visible)
  );
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  scroll-snap-align: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery__item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.gallery__item img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  background: var(--color-white);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.gallery__arrow:hover { background: var(--color-primary-light); }

.gallery__arrow:disabled {
  opacity: 0;
  pointer-events: none;
}

.gallery__arrow--prev { left: -22px; }
.gallery__arrow--next { right: -22px; }

/* Video */
.video { background: var(--color-primary-light); }

.scroll-arrow {
  display: flex;
  justify-content: center;
  margin-top: 14px;
  color: var(--color-primary);
  animation: scroll-arrow-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-arrow-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-arrow { animation: none; }
}

.video__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.video__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--color-text);
}

.video__item video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  background: var(--color-text);
}

/* Contact */
.contact__inner {
  display: flex;
  justify-content: center;
  text-align: center;
}

.contact__info h2 { margin-bottom: 24px; }

.contact__list {
  display: inline-flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.contact__list li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
}

.contact__list svg { color: var(--color-primary); flex-shrink: 0; }

.contact__list a:hover { color: var(--color-primary-dark); }

/* Brand band */
.brand-band {
  display: flex;
  justify-content: center;
  padding: 0 24px 64px;
  margin-top: -48px;
}

.brand-band img {
  width: 100%;
  max-width: 260px;
  height: auto;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: var(--color-white);
  padding: 28px 0;
}

.footer__inner { text-align: center; font-size: 0.85rem; opacity: 0.8; }

/* Mobile call bar */
.call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 20px rgba(24, 100, 130, 0.1);
}

.call-bar__btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.call-bar__btn--call { background: var(--color-primary); color: var(--color-white); }

.call-bar__btn--wa {
  background: var(--color-white);
  color: var(--color-primary-dark);
  border: 2px solid var(--color-primary);
}

/* Responsive */
@media (max-width: 900px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .header__cta { display: none; }

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
  }

  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content p { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .hero__visual { max-width: 320px; margin: 0 auto; }

  .about__inner { grid-template-columns: 1fr; }
  .about__visual { max-width: 360px; margin: 0 auto; }

  .programs__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__grid { grid-template-columns: repeat(2, 1fr); }
  .video__grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .gallery__track { --gallery-visible: 2; --gallery-gap: 16px; }
  .gallery__arrow { display: none; }
  .hero__visual { max-width: 480px; }

  .call-bar { display: flex; }
  .footer { padding-bottom: 84px; }

  .btn__break { display: inline; }

}

@media (max-width: 560px) {
  .programs__grid { grid-template-columns: 1fr; }
  .gallery__track { --gallery-visible: 1.15; }
  .video__grid { grid-template-columns: 1fr; max-width: 320px; }
}
