:root {
  --yellow: #ffcc00;
  --yellow-dark: #e2b700;
  --black: #101010;
  --white: #ffffff;
  --gray-100: #f8f8f8;
  --gray-200: #e8e8e8;
  --gray-700: #333333;
  --bg: #ffffff;
  --bg-soft: #f8f8f8;
  --text: #101010;
  --text-muted: #333333;
  --surface: #ffffff;
  --surface-strong: #101010;
  --border: #e8e8e8;
  --header-bg: rgba(255, 255, 255, 0.96);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

body.dark-mode {
  --bg: #0f0f0f;
  --bg-soft: #181818;
  --text: #f7f7f7;
  --text-muted: #d2d2d2;
  --surface: #1c1c1c;
  --surface-strong: #0a0a0a;
  --border: #303030;
  --header-bg: rgba(16, 16, 16, 0.95);
  --shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--yellow);
  display: grid;
  place-items: center;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--yellow);
  transition: width 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: var(--yellow);
  color: #101010;
  border: none;
  font-weight: 700;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

.theme-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--yellow-dark);
}

.theme-icon {
  position: absolute;
  font-size: 1.2rem;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.sun-icon {
  color: #f4b400;
  opacity: 1;
  transform: scale(1);
}

.moon-icon {
  color: #cfd6ff;
  opacity: 0;
  transform: scale(0.72);
}

body.dark-mode .sun-icon {
  opacity: 0;
  transform: scale(0.72);
}

body.dark-mode .moon-icon {
  opacity: 1;
  transform: scale(1);
}

.slideshow {
  position: relative;
  height: clamp(260px, 52vh, 500px);
  overflow: hidden;
  background: var(--surface-strong);
}

.slideshow-track {
  height: 100%;
  position: relative;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(0, 0, 0, 0.63), rgba(0, 0, 0, 0.24));
}

.slide-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  left: clamp(1rem, 4vw, 4rem);
  bottom: clamp(1.2rem, 6vh, 3rem);
  color: #ffffff;
  z-index: 2;
  max-width: min(90%, 720px);
}

.slide-overlay h2 {
  margin: 0.3rem 0 0;
  color: #ffffff;
}

.slide-tag {
  margin: 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--yellow);
  font-weight: 700;
}

.slide-controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.slide-btn {
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(0, 0, 0, 0.4);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
}

.slide-dots {
  display: flex;
  gap: 0.45rem;
}

.slide-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.slide-dot.active {
  background: var(--yellow);
}

.hero {
  background: linear-gradient(140deg, #fffdf5 0%, #ffffff 40%, #f7f7f7 100%);
  padding: 5rem 0 4rem;
}

body.dark-mode .hero {
  background: linear-gradient(140deg, #141414 0%, #151515 50%, #1f1f1f 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  font-weight: 700;
  color: var(--yellow-dark);
  letter-spacing: 1.1px;
  font-size: 0.8rem;
}

h1 {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  line-height: 1.15;
  margin: 0.2rem 0 1rem;
}

.lead {
  color: var(--text-muted);
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  font-weight: 700;
  padding: 0.8rem 1.2rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--yellow);
  color: #101010;
}

.btn-primary:hover {
  box-shadow: 0 8px 18px rgba(255, 204, 0, 0.35);
}

.btn-outline {
  border-color: var(--text);
  color: var(--text);
}

.hero-card {
  background: var(--surface-strong);
  color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin-top: 0;
}

.hero-card ul {
  margin: 0;
  padding-left: 1.2rem;
}

.section {
  padding: 4.4rem 0;
}

.section-alt {
  background: var(--bg-soft);
}

h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  margin: 0 0 1.4rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.3rem;
  box-shadow: var(--shadow);
}

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.project span {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 700;
  color: var(--yellow-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.gallery-item {
  margin: 0;
  min-height: 180px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--gray-200);
  background: linear-gradient(135deg, #181818 0%, #2b2b2b 100%);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  display: block;
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06) 20%, rgba(0, 0, 0, 0.62) 100%);
}

.gallery-item span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  color: var(--white);
  font-weight: 600;
}

.section-intro {
  margin-top: -0.2rem;
  color: var(--text-muted);
}

.partners-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.partner {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 6px solid var(--yellow);
  border-radius: 10px;
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.contact-form {
  display: grid;
  gap: 0.55rem;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem;
  font: inherit;
  background: var(--bg);
  color: var(--text);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(255, 204, 0, 0.35);
  border-color: var(--yellow-dark);
}

.form-status {
  min-height: 1.1rem;
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
}

.site-footer {
  background: var(--surface-strong);
  color: #ffffff;
  padding: 1.2rem 0;
  text-align: center;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards-3,
  .gallery-grid,
  .partners-grid,
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .nav-wrap {
    flex-wrap: wrap;
  }

  .theme-toggle {
    margin-left: auto;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    right: 4%;
    top: 102px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.9rem;
    min-width: 220px;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .hero-grid,
  .cards-3,
  .gallery-grid,
  .partners-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 4rem;
  }

  .slideshow {
    height: 290px;
  }

  .slide-overlay h2 {
    font-size: 1.2rem;
  }
}
