:root {
  color-scheme: light dark;
  --black: #0b0b0f;
  --dark: #13131a;
  --red: #ff1a2d;
  --red-soft: rgba(255, 26, 45, 0.2);
  --text: #f7f7f8;
  --muted: #a2a2b3;
  --border: rgba(255, 255, 255, 0.08);
  --surface: rgba(11, 11, 15, 0.9);
  --background: radial-gradient(circle at top, #1c0b10, var(--black) 45%);
}

body[data-theme="light"] {
  --black: #f4f4f7;
  --dark: #ffffff;
  --text: #101017;
  --muted: #5d5d74;
  --border: rgba(16, 16, 23, 0.12);
  --surface: rgba(255, 255, 255, 0.92);
  --background: radial-gradient(circle at top, #fff3f4, #f4f4f7 55%);
}

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

body {
  font-family: "Space Grotesk", sans-serif;
  background: var(--background);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  width: min(1100px, 90%);
  margin: 0 auto;
}

/* HEADER */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(14px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 0;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(140deg, #ff1a2d, #8b0000);
  font-weight: 700;
}

.brand-title {
  font-weight: 600;
  font-size: 1.1rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.85rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

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

.toggle-group {
  display: inline-flex;
  gap: 0.4rem;
  padding: 0.3rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
}

.toggle-button {
  border: none;
  background: transparent;
  color: var(--text);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.toggle-button.active {
  background: var(--red);
  color: #fff;
}

.outline-button {
  border: 1px solid rgba(255, 26, 45, 0.5);
  color: var(--text);
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s ease, border 0.2s ease;
}

.outline-button:hover {
  background: rgba(255, 26, 45, 0.12);
  border-color: var(--red);
}

/* HERO */
.hero {
  padding: 5.5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  color: var(--red);
  letter-spacing: 0.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-copy h1 {
  font-size: clamp(2.4rem, 3vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
}

.lead {
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2rem;
}

.certified {
  font-weight: 600;
  color: var(--red);
  margin-bottom: 1.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
}

.stats h3 {
  font-size: 1.5rem;
  color: var(--red);
}

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

.hero-visual {
  display: flex;
  justify-content: center;
}

.image-card {
  position: relative;
  width: min(420px, 94%);
  aspect-ratio: 4 / 5;
  border-radius: 38px;
  background: linear-gradient(160deg, rgba(255, 26, 45, 0.15), var(--black) 55%);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: 0 40px 70px rgba(0, 0, 0, 0.4);
}

.image-glow {
  position: absolute;
  inset: -30% -30% 0;
  background: radial-gradient(circle at top, rgba(255, 26, 45, 0.35), transparent 60%);
}

.image-frame {
  position: absolute;
  inset: 12px;
  border-radius: 26px;
  border: 1px solid rgba(255, 26, 45, 0.35);
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PROCESS */
.process {
  padding: 3rem 0 4rem;
  background: var(--dark);
}

.section-heading {
  margin-bottom: 2.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
}

.section-heading p {
  color: var(--muted);
  max-width: 520px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.process-grid article {
  padding: 1.8rem;
  border-radius: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.step {
  color: var(--red);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.2rem;
}

.process-grid h3 {
  margin: 0.8rem 0;
}

.process-grid p {
  color: var(--muted);
  font-size: 0.92rem;
}

/* MOTIVATION */
.motivation {
  padding: 2rem 0 1rem;
}

.motivation-card {
  padding: 1.6rem 2rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 26, 45, 0.18), rgba(11, 11, 15, 0.85));
  border: 1px solid rgba(255, 26, 45, 0.3);
  text-align: center;
  font-weight: 500;
}

.motivation-card p {
  color: var(--text);
}

/* SLIDESHOW */
.gallery {
  padding: 3rem 0;
}

.gallery-title {
  margin-bottom: 1.5rem;
  font-size: clamp(1.8rem, 2.4vw, 2.5rem);
}

.slideshow {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 600px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.35);
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide.active {
  opacity: 1;
}

.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slide-prev {
  left: 16px;
}

.slide-next {
  right: 16px;
}

/* CTA */
.cta {
  padding: 4rem 0 6rem;
}

.cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.5rem;
  border-radius: 28px;
  background: linear-gradient(140deg, rgba(255, 26, 45, 0.15), rgba(11, 11, 15, 0.9));
  border: 1px solid rgba(255, 26, 45, 0.4);
  flex-wrap: wrap;
}

.cta-tag {
  margin-top: 1rem;
  color: var(--red);
  font-weight: 600;
  letter-spacing: 0.2rem;
}

.cta-actions {
  display: grid;
  gap: 0.8rem;
  min-width: 220px;
}

.cta-actions .outline-button {
  display: block;
  text-align: center;
}

.cta-button {
  display: block;
  border: none;
  background: var(--red);
  color: var(--text);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-size: inherit;
  font-weight: 600;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 26, 45, 0.4);
}

/* IG BUTTON */
.scroll-ig {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid rgba(255, 26, 45, 0.6);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: 0 0 25px rgba(255, 26, 45, 0.4);
}

.scroll-ig.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-ig svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* HAMBURGER — hidden on desktop */
.nav-toggle {
  display: none;
}

/* MOBILE */
@media (max-width: 720px) {
  .header-content {
    padding: 0.9rem 0;
    flex-wrap: wrap;
    gap: 0;
  }

  .brand {
    flex: 1;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
  }

  .nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform-origin: center;
  }

  .site-header.open .nav-toggle span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .site-header.open .nav-toggle span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }

  .site-header.open .nav-toggle span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .header-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0 0.75rem;
    margin-top: 0.6rem;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }

  .site-header.open .header-actions {
    display: flex;
  }

  .slideshow {
    height: auto;
    aspect-ratio: 3 / 4;
    border-radius: 16px;
  }

  .slide-btn {
    width: 38px;
    height: 38px;
    font-size: 22px;
  }

  .cta-card {
    align-items: flex-start;
  }

  .cta-button {
    width: 100%;
  }
}

body[data-lang] [data-lang] {
  display: none;
}

body[data-lang="en"] [data-lang="en"],
body[data-lang="mk"] [data-lang="mk"] {
  display: block;
}