*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #FFFFFF;
  color: #111114;
  font-family: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: #111114; text-decoration: none; }
img { max-width: 100%; display: block; }

@keyframes alitaMarquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes alitaZoom { from { transform: scale(1.02); } to { transform: scale(1.12); } }
@keyframes alitaSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* Header */
.header {
  position: relative;
  padding: 18px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo { width: clamp(170px, 20vw, 270px); height: auto; margin: -20px 0; }
.header-side {
  position: absolute;
  right: clamp(20px, 4vw, 56px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.lang { font-size: 13px; color: #5E5E66; letter-spacing: 0.08em; }
.lang a { color: #5E5E66; }
.lang .on { color: #111114; font-weight: 700; }
.actions { display: flex; align-items: center; gap: 8px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  padding: 10px 18px;
  border-radius: 999px;
  background: #111114;
  color: #FFFFFF;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid rgba(17, 17, 20, 0.2);
}

/* Intro */
.intro {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 56px) 0;
}
.spin-a {
  position: absolute;
  right: -140px;
  top: -100px;
  width: 440px;
  height: 440px;
  border-radius: 50%;
  border: 1px solid rgba(17, 17, 20, 0.1);
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: alitaSpin 40s linear infinite;
  pointer-events: none;
}
.intro-text {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: clamp(32px, 4vw, 48px);
}
h1 {
  margin: 0;
  font-family: 'Unbounded', sans-serif;
  font-weight: 500;
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.intro p { margin: 0; max-width: 620px; font-size: 15px; color: #4A4A52; line-height: 1.75; }

/* Ticker */
.ticker {
  border-top: 1px solid rgba(17, 17, 20, 0.08);
  border-bottom: 1px solid rgba(17, 17, 20, 0.08);
  padding: 16px 0;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  gap: 40px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #2A2A30;
  white-space: nowrap;
  animation: alitaMarquee 38s linear infinite;
}
.ticker-track span { display: inline-flex; align-items: center; gap: 40px; }
.ticker-track span::after {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #B8924A;
}

/* Cover */
.cover-wrap { max-width: 1440px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 56px) clamp(24px, 3vw, 44px); }
.cover {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  aspect-ratio: 1585 / 992;
  border-radius: 28px;
  overflow: hidden;
}
.cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  /* лек матов филтър върху самата снимка */
  filter: contrast(0.94) brightness(1.04) saturate(0.88) sepia(0.07);
  animation: alitaZoom 18s ease-in-out infinite alternate;
}
.cover::after { content: ''; position: absolute; inset: 0; background: rgba(255, 250, 244, 0.07); pointer-events: none; }

/* Gallery */
.gallery { padding: clamp(40px, 5vw, 72px) 0; display: flex; flex-direction: column; gap: 10px; }
.gallery-row { position: relative; }
.gallery-viewport {
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  cursor: grab;
  outline: none;
}
.gallery-viewport::-webkit-scrollbar { display: none; }
.gallery-viewport.dragging { cursor: grabbing; }
.gallery-track { display: flex; width: max-content; gap: 10px; }
.tile img { -webkit-user-drag: none; user-select: none; }
.gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 16px rgba(17, 17, 20, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s;
}
.gal-prev { left: clamp(12px, 3vw, 40px); }
.gal-next { right: clamp(12px, 3vw, 40px); }
.gallery-row:hover .gal-btn, .gallery-row:focus-within .gal-btn { opacity: 1; }
@media (hover: none) { .gal-btn { display: none; } }
.tile {
  flex: 0 0 auto;
  height: clamp(150px, 15vw, 220px);
  width: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #F4F2EE;
}
.tile img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }

/* Clients */
.clients { padding: 0 0 clamp(48px, 6vw, 88px); display: flex; flex-direction: column; gap: 18px; }
.logo-divider { width: 40px; height: 1px; margin: 14px auto; background: #B8924A; opacity: 0.7; }
.clients h2 {
  margin: 0 0 6px;
  text-align: center;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4A4A52;
}
.logo-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-track {
  display: flex;
  align-items: center;
  gap: clamp(28px, 3.4vw, 48px);
  width: max-content;
  padding-right: clamp(28px, 3.4vw, 48px);
  animation: alitaMarquee 140s linear infinite;
}
.logo-track.rev { animation-direction: reverse; animation-duration: 160s; }
.logo-track img { flex: 0 0 auto; opacity: 0.72; }

/* Contact */
.contact {
  position: relative;
  padding: clamp(56px, 7vw, 96px) clamp(20px, 4vw, 56px);
  background: #F6F5F2;
  overflow: hidden;
}
.spin-b {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 74, 0.4);
  border-top-color: transparent;
  border-right-color: transparent;
  animation: alitaSpin 40s linear infinite;
  pointer-events: none;
}
.contact-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.contact h2 { margin: 0; font-weight: 600; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; color: #4A4A52; }
.emails { display: flex; flex-direction: column; gap: 6px; font-size: clamp(15px, 1.3vw, 17px); font-weight: 500; }

/* Footer */
.footer {
  padding: 20px clamp(20px, 4vw, 56px) 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #5E5E66;
}
.footer a { font-weight: 700; }

/* Само за телефон: скрити на компютър (трябва да е след .btn/.icon-btn) */
.m-ig, .m-lang { display: none; }
.contact-btn { margin-top: 6px; }

/* Phone */
@media (max-width: 640px) {
  .header { flex-direction: column; gap: 14px; }
  .header-side { position: static; transform: none; }
  .header-side { display: none; }
  .m-ig { display: inline-flex; position: absolute; left: 20px; top: 20px; }
  .m-lang { display: block; position: absolute; right: 20px; top: 30px; }
  .spin-a { width: 300px; height: 300px; right: -120px; top: -60px; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track, .cover img, .spin-a, .spin-b, .logo-track { animation: none; }
}
